[论文解读] DreamSim: Learning New Dimensions of Human Visual Similarity using Synthetic Data
DreamSim 提供一个与人类对齐的感知相似度度量,基于合成数据(NIGHTS)和集成视觉模型特征学习,在与人类判断的一致性方面表现出高水平,并在检索和合成任务上表现出强劲性能。
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.
研究动机与目标
- 超越像素/补丁级别的相似性,转向中级、语义和布局为基础的判断。
- 从合成图像三元组中创建一个大型、认知上不可渗透的人工相似性判断数据集(NIGHTS)。
- 开发并微调一个神经感知度量,使其在多样的图像变体中与人类判断保持一致。
- 展示该度量对真实图像及下游任务(如图像检索和合成)的泛化能力。
提出的方法
- 使用 Stable Diffusion 生成跨 ImageNet、CIFAR 及其他数据集的广泛类别集的多样化合成图像三元组。
- 收集人类对两选一对比(2AFC)判定,判断哪种畸变更接近参考图像,并确保各轮投票一致。
- 收集最小可觉差(JND)判断,以支持 2AFC 信号并提供互补的感知标签。
- 评估一系列候选嵌入(LPIPS、DISTS、DINO、CLIP、OpenCLIP、MAE)在 2AFC/JND 数据上的距离度量表现。
- 使用低秩自适应(LoRA)和特征拼接对嵌入进行微调和融合,以最大化与人类的一致性,创建 DreamSim 度量。
- 通过图像检索、特征反演和 k-NN 分类来展示 DreamSim,在真实数据集上与基线方法进行比较。
实验结果
研究问题
- RQ1在多种图像扰动下,现有感知度量与人类中级相似性判断的一致性有多高?
- RQ2是否可以用带有人类判断的合成数据训练出比以往度量更符合人类感知的度量?
- RQ3哪些图像属性最影响人类对相似性的判断,DreamSim 如何对这些属性作出响应?
- RQ4DreamSim 训练的度量是否能泛化到真实图像,用于检索和合成任务?
- RQ5在大规模视觉模型嵌入上进行融合与微调是否能获得更优的与人类判断的一致性?
主要发现
- 现有度量在中级相似性任务上与人类判断显著背离。
- DreamSim 在 NIGHTS 数据集上预测人类判断的准确率达到 96.16%。
- 使用 LoRA 微调并对 OpenCLIP、CLIP 与 DINO 特征进行融合,在测试配置中实现了最强的人类对齐。
- 前景内容与颜色/布局信息对 DreamSim 捕捉的相似性判断具有关键影响。
- DreamSim 能泛化到真实图像检索和反演任务,在对齐与检索用户研究中,常常优于以往的学习度量和大型视觉模型嵌入。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。