Sliced Wasserstein embeddings + HNSW for color-scheme search over 48k paintings [P]

Reddit r/MachineLearning Papers

Summary

Palette Atlas 用 8×16 维 Sliced Wasserstein 嵌入加手写 HNSW,在 48,695 幅公有领域画作上实现按配色检索:L1 距离对精确 EMD 的 top-10 重合率达 78%,recall@10 在 ef=32 时达 1.000、延迟仅 0.25ms(暴力搜索需 14ms)。

Palette Atlas (https://itzik123.github.io/PaletteAtlas/) searches public-domain paintings by color scheme. Each image is reduced to 128 colors of equal weight, so the natural distance is the Earth Mover's Distance, which is too slow for nearest-neighbor search over 48,695 items (about 6 ms per pair). The embedding: project the colors (OKLab) onto 8 directions on a Fibonacci hemisphere, sort, and average into 16 quantiles. L1 between two vectors is the 1D W1 averaged over the directions, a lower bound on the true W1. Against the exact EMD on 240 queries (overlap with the exact top 10, and how much farther the top 10 lie): - sliced 8x16, L1: 78%, 1.8% - sliced 8x16, L2: 69%, 3.4% - soft color histogram, Hellinger: 45%, 13.5% - mean color: 3%, 161% The index is HNSW written from scratch (M=16, efConstruction=200): recall@10 of 1.000 at ef=32, 0.25 ms against 14 ms for brute force. The vectors' intrinsic dimension is about 11, so the hierarchy still helps (see Munyampirwa et al. 2025 on when it doesn't). One change from the paper: the top layer holds 8 k-means landmarks instead of randomly drawn nodes. The search cost is the same (2,558 vs 2,556 distance computations on average), and the top layer becomes one typical painting per color family. Write-up: https://github.com/itzik123/PaletteAtlas/blob/main/docs/searching-by-color.md Code: https://github.com/itzik123/PaletteAtlas
Original Article

Similar Articles

PaintBench: Deterministic Evaluation of Precise Visual Editing

Hugging Face Daily Papers

PaintBench is a new benchmark for evaluating precise visual editing in multimodal models, covering 20 operations across 4 categories with deterministic pixel-level evaluation. Testing 11 models reveals overall low performance, with the best model scoring only 17.1% mIoU.

Show HN: Giving Opus 5.5 a simulated paint canvas

Hacker News Top

stillwet.art is a Show HN project where LLM painters (Claude Opus, GPT-6.1 Sol, Gemini, MiMo v2.6 Pro) paint in Edward Hopper's and Caspar David Friedrich's style by writing programs against a physical simulation of oil paint on linen—no image models involved—revealing striking behavioral convergences among models and an odd affinity for dusk subjects.