CVDec 19, 2024

DiffSim: Taming Diffusion Models for Evaluating Visual Similarity

arXiv:2412.14580v116 citationsh-index: 16
Originality Highly original
AI Analysis

This provides a robust tool for assessing perceptual consistency in custom generation tasks, addressing limitations of existing metrics for researchers and practitioners in computer vision.

The paper tackled the problem of measuring visual similarity in generative models by introducing DiffSim, which uses pretrained diffusion models to evaluate appearance and style similarity, achieving state-of-the-art performance on multiple benchmarks.

Diffusion models have fundamentally transformed the field of generative models, making the assessment of similarity between customized model outputs and reference inputs critically important. However, traditional perceptual similarity metrics operate primarily at the pixel and patch levels, comparing low-level colors and textures but failing to capture mid-level similarities and differences in image layout, object pose, and semantic content. Contrastive learning-based CLIP and self-supervised learning-based DINO are often used to measure semantic similarity, but they highly compress image features, inadequately assessing appearance details. This paper is the first to discover that pretrained diffusion models can be utilized for measuring visual similarity and introduces the DiffSim method, addressing the limitations of traditional metrics in capturing perceptual consistency in custom generation tasks. By aligning features in the attention layers of the denoising U-Net, DiffSim evaluates both appearance and style similarity, showing superior alignment with human visual preferences. Additionally, we introduce the Sref and IP benchmarks to evaluate visual similarity at the level of style and instance, respectively. Comprehensive evaluations across multiple benchmarks demonstrate that DiffSim achieves state-of-the-art performance, providing a robust tool for measuring visual coherence in generative models.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes