Lune

CVPR2024Top-tier venue

SD4Match: Learning to Prompt Stable Diffusion Model for Semantic Matching

Xinghui Li, Jingyi Lu, Kai Han, Victor Adrian Prisacariu

Abstract

In this paper, we address the challenge of matching semantically similar keypoints across image pairs. Existing research indicates that the intermediate output of the UNet within the Stable Diffusion (SD) can serve as robust image feature maps for such a matching task. We demonstrate that by employing a basic prompt tuning technique, the inherent potential of Stable Diffusion can be harnessed, resulting in a significant enhancement in accuracy over previous approaches. We further introduce a novel conditional prompting module that conditions the prompt on the local details of the input image pairs, leading to a further improvement in performance. We designate our approach as SD4Match, short for Stable Diffusion for Semantic Matching. Comprehensive evaluations of SD4Match on the PF-Pascal, PF-Willow, and SPair-71k datasets show that it sets new benchmarks in accuracy across all these datasets. Particularly, SD4Match outperforms the previous state-of-theart by a margin of 12 percentage points on the challenging SPair-71k dataset. Code is available at the project website: https://sd4match.active.vision/ .

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.

23 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 Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • Explore In-Context Segmentation via Latent Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Explore In-Context Segmentation via Latent Diffusion Models cites Denoising Diffusion Probabilistic Models
  • Explore In-Context Segmentation via Latent Diffusion Models cites Denoising Diffusion Implicit Models
  • Not All Diffusion Model Activations Have Been Evaluated as Discriminative Features cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Not All Diffusion Model Activations Have Been Evaluated as Discriminative Features cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Not All Diffusion Model Activations Have Been Evaluated as Discriminative Features cites Denoising Diffusion Probabilistic Models
  • Unleashing Diffusion Transformers for Visual Correspondence by Modulating Massive Activations cites High-Resolution Image Synthesis with Latent Diffusion Models
  • SemFlow: Binding Semantic Segmentation and Image Synthesis via Rectified Flow cites High-Resolution Image Synthesis with Latent Diffusion Models
  • SemFlow: Binding Semantic Segmentation and Image Synthesis via Rectified Flow cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • SemFlow: Binding Semantic Segmentation and Image Synthesis via Rectified Flow cites Explore In-Context Segmentation via Latent Diffusion Models
  • SemFlow: Binding Semantic Segmentation and Image Synthesis via Rectified Flow cites Denoising Diffusion Probabilistic Models
  • SemFlow: Binding Semantic Segmentation and Image Synthesis via Rectified Flow cites Denoising Diffusion Implicit Models
  • Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
  • GenColor: Generative Color-Concept Association in Visual Design cites High-Resolution Image Synthesis with Latent Diffusion Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers23

  1. Not All Diffusion Model Activations Have Been Evaluated as Discriminative FeaturesBenyuan Meng, Qianqian Xu, Zitai Wang, Xiaochun Cao et al.NeurIPS 2024 · 26 citations
  2. SemFlow: Binding Semantic Segmentation and Image Synthesis via Rectified FlowChaoyang Wang, Xiangtai Li, Lu Qi, Henghui Ding et al.NeurIPS 2024 · 25 citations
  3. Unleashing Diffusion Transformers for Visual Correspondence by Modulating Massive ActivationsChaofan Gan, Yuanpeng Tu, Xi Chen, Tieyuan Chen et al.NeurIPS 2025 · 22 citations
  4. Explore In-Context Segmentation via Latent Diffusion ModelsChaoyang Wang, Xiangtai Li, Henghui Ding, Lu Qi et al.AAAI 2025 · 17 citations
  5. GenColor: Generative Color-Concept Association in Visual DesignYihan Hou, Xingchen Zeng, Yusong Wang, Manling Yang et al.CHI 2025 · 10 citations

Builds on27

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  3. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  4. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  5. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations

Related papers

  1. Unsupervised Semantic Correspondence Using Stable DiffusionEric Hedlin, Gopal Sharma, Shweta Mahajan, Hossam Isack et al.NeurIPS 2023 · 152 citations
  2. A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic CorrespondenceJunyi Zhang, Charles Herrmann, Junhwa Hur, Luisa Polania Cabrera et al.NeurIPS 2023 · 371 citations
  3. Diffusion Hyperfeatures: Searching Through Time and Space for Semantic CorrespondenceGrace Luo, Lisa Dunlap, Dong Huk Park, Aleksander Holynski et al.NeurIPS 2023 · 261 citations
  4. Emergent Correspondence from Image DiffusionLuming Tang, Menglin Jia, Qianqian Wang, Cheng Perng Phoo et al.NeurIPS 2023 · 555 citations
  5. Fuse2Match: Training-Free Fusion of Flow, Diffusion, and Contrastive Models for Zero-Shot Semantic MatchingJing Zuo, Jiaqi Wang, Yonggang Qi, Yi-Zhe SongNeurIPS 2025
Dusk over the sea between two cliffs drawn in fine vertical lines