[Paper Review] DreamSim: Learning New Dimensions of Human Visual Similarity using Synthetic Data
DreamSim presents a human-aligned perceptual similarity metric learned from synthetic data (NIGHTS) and ensemble vision-model features, achieving high agreement with human judgments and strong performance on retrieval and synthesis tasks.
Current perceptual similarity metrics operate at the level of pixels and patches. These metrics compare images in terms of their low-level colors and textures, but fail to capture mid-level similarities and differences in image layout, object pose, and semantic content. In this paper, we develop a perceptual metric that assesses images holistically. Our first step is to collect a new dataset of human similarity judgments over image pairs that are alike in diverse ways. Critical to this dataset is that judgments are nearly automatic and shared by all observers. To achieve this we use recent text-to-image models to create synthetic pairs that are perturbed along various dimensions. We observe that popular perceptual metrics fall short of explaining our new data, and we introduce a new metric, DreamSim, tuned to better align with human perception. We analyze how our metric is affected by different visual attributes, and find that it focuses heavily on foreground objects and semantic content while also being sensitive to color and layout. Notably, despite being trained on synthetic data, our metric generalizes to real images, giving strong results on retrieval and reconstruction tasks. Furthermore, our metric outperforms both prior learned metrics and recent large vision models on these tasks.
Motivation & Objective
- Move beyond pixel/patch-level similarity to mid-level, semantic and layout-based judgments.
- Create a large, cognitively impenetrable dataset (NIGHTS) of human similarity judgments from synthetic image triplets.
- Develop and fine-tune a neural perceptual metric that aligns with human judgments across diverse image variations.
- Demonstrate the metric's generalization to real images and downstream tasks like image retrieval and synthesis.
Proposed method
- Generate diverse synthetic image triplets using Stable Diffusion across a broad category set from ImageNet, CIFAR, and other datasets.
- Collect human 2AFC judgments on which distortion is more similar to a reference, ensuring unanimous votes across rounds.
- Collect JND judgments to corroborate 2AFC signals and provide complementary perceptual labels.
- Evaluate a range of candidate embeddings (LPIPS, DISTS, DINO, CLIP, OpenCLIP, MAE) as distance metrics on the 2AFC/JND data.
- Fine-tune and ensemble embeddings using Low-Rank Adaptation (LoRA) and feature concatenation to maximize human alignment, creating the DreamSim metric.
- Demonstrate DreamSim via image retrieval, feature inversion, and k-NN classification, comparing against baselines on real datasets.
Experimental results
Research questions
- RQ1How well do existing perceptual metrics align with human mid-level similarity judgments across diverse image perturbations?
- RQ2Can synthetic data with human judgments train a metric that better matches human perception than prior metrics?
- RQ3What image attributes most influence human judgments of similarity, and how does DreamSim respond to these attributes?
- RQ4Does a DreamSim-trained metric generalize to real images for retrieval and synthesis tasks?
- RQ5Does ensembling and tuning across large vision-model embeddings yield superior alignment with human judgments?
Key findings
- Existing metrics substantially diverge from human judgments on mid-level similarity tasks.
- DreamSim achieves 96.16% accuracy in predicting human judgments on the NIGHTS dataset.
- Fine-tuning with LoRA and ensembling OpenCLIP, CLIP, and DINO features yields the strongest human alignment among tested configurations.
- Foreground content and color/layout information critically influence similarity judgments captured by DreamSim.
- DreamSim generalizes to real image retrieval and inversion tasks, often outperforming prior learned metrics and large vision-model embeddings in alignment and retrieval user studies.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.