Lune

NeurIPS2023Top-tier venue

A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondence

Junyi Zhang, Charles Herrmann, Junhwa Hur, Luisa Polania Cabrera, Varun Jampani, Deqing Sun, Ming-Hsuan Yang

Abstract

Text-to-image diffusion models have made significant advances in generating and editing high-quality images. As a result, numerous approaches have explored the ability of diffusion model features to understand and process single images for downstream tasks, e.g., classification, semantic segmentation, and stylization. However, significantly less is known about what these features reveal across multiple, different images and objects. In this work, we exploit Stable Diffusion (SD) features for semantic and dense correspondence and discover that with simple post-processing, SD features can perform quantitatively similar to SOTA representations. Interestingly, the qualitative analysis reveals that SD features have very different properties compared to existing representation learning features, such as the recently released DINOv2: while DINOv2 provides sparse but accurate matches, SD features provide high-quality spatial information but sometimes inaccurate semantic matches. We demonstrate that a simple fusion of these two features works surprisingly well, and a zero-shot evaluation using nearest neighbors on these fused features provides a significant performance gain over state-of-the-art methods on benchmark datasets, e.g., SPair-71k, PF-Pascal, and TSS. We also show that these correspondences can enable interesting applications such as instance swapping in two images.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

155 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • High-Resolution Image Synthesis with Latent Diffusion Models cites Diffusion Models Beat GANs on Image Synthesis
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • TokenFlow: Consistent Diffusion Features for Consistent Video Editing cites High-Resolution Image Synthesis with Latent Diffusion Models
  • TokenFlow: Consistent Diffusion Features for Consistent Video Editing cites Diffusion Models Beat GANs on Image Synthesis
  • TokenFlow: Consistent Diffusion Features for Consistent Video Editing cites Denoising Diffusion Probabilistic Models
  • TokenFlow: Consistent Diffusion Features for Consistent Video Editing cites Denoising Diffusion Implicit Models
  • TokenFlow: Consistent Diffusion Features for Consistent Video Editing cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Zero-shot Image Editing with Reference Imitation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Zero-shot Image Editing with Reference Imitation cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • SeeSR: Towards Semantics-Aware Real-World Image Super-Resolution cites High-Resolution Image Synthesis with Latent Diffusion Models
  • SeeSR: Towards Semantics-Aware Real-World Image Super-Resolution cites Denoising Diffusion Probabilistic Models
  • SeeSR: Towards Semantics-Aware Real-World Image Super-Resolution cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Unsupervised Semantic Correspondence Using Stable Diffusion cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Unsupervised Semantic Correspondence Using Stable Diffusion cites Diffusion Models Beat GANs on Image Synthesis
  • Unsupervised Semantic Correspondence Using Stable Diffusion cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
  • Cross-Image Attention for Zero-Shot Appearance Transfer cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Cross-Image Attention for Zero-Shot Appearance Transfer cites TokenFlow: Consistent Diffusion Features for Consistent Video Editing
  • Cross-Image Attention for Zero-Shot Appearance Transfer cites Unsupervised Semantic Correspondence Using Stable Diffusion
  • Cross-Image Attention for Zero-Shot Appearance Transfer cites Denoising Diffusion Implicit Models
  • Cross-Image Attention for Zero-Shot Appearance Transfer cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Diffusion Models Beat GANs on Image Synthesis
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Probabilistic Models
  • Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites Denoising Diffusion Implicit Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers155

  1. TokenFlow: Consistent Diffusion Features for Consistent Video EditingMichal Geyer, Omer Bar-Tal, Shai Bagon, Tali DekelICLR 2024 · 439 citations
  2. Unsupervised Semantic Correspondence Using Stable DiffusionEric Hedlin, Gopal Sharma, Shweta Mahajan, Hossam Isack et al.NeurIPS 2023 · 152 citations
  3. SeeSR: Towards Semantics-Aware Real-World Image Super-ResolutionRongyuan Wu, Tao Yang, Lingchen Sun, Zhengqiang Zhang et al.CVPR 2024 · 119 citations
  4. Zero-shot Image Editing with Reference ImitationXi Chen, Yutong Feng, Mengting Chen, Yiyang Wang et al.NeurIPS 2024 · 80 citations
  5. Cross-Image Attention for Zero-Shot Appearance TransferYuval Alaluf, Daniel Garibi, Or Patashnik, Hadar Averbuch-Elor et al.SIGGRAPH 2024 · 72 citations

Builds on39

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
  3. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  4. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
  5. Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations

Related papers

  1. Fuse2Match: Training-Free Fusion of Flow, Diffusion, and Contrastive Models for Zero-Shot Semantic MatchingJing Zuo, Jiaqi Wang, Yonggang Qi, Yi-Zhe SongNeurIPS 2025
  2. Emergent Correspondence from Image DiffusionLuming Tang, Menglin Jia, Qianqian Wang, Cheng Perng Phoo et al.NeurIPS 2023 · 555 citations
  3. Bridging Viewpoint Gaps: Geometric Reasoning Boosts Semantic CorrespondenceQiyang Qian, Hansheng Chen, Masayoshi Tomizuka, Kurt Keutzer et al.CVPR 2025
  4. Diffusion Hyperfeatures: Searching Through Time and Space for Semantic CorrespondenceGrace Luo, Lisa Dunlap, Dong Huk Park, Aleksander Holynski et al.NeurIPS 2023 · 261 citations
  5. SD4Match: Learning to Prompt Stable Diffusion Model for Semantic MatchingXinghui Li, Jingyi Lu, Kai Han, Victor Adrian PrisacariuCVPR 2024
Dusk over the sea between two cliffs drawn in fine vertical lines