Do It Yourself: Learning Semantic Correspondence from Pseudo-Labels

Olaf Dünkel, Thomas Wimmer, Christian Theobalt, Christian Rupprecht, Adam Kortylewski

TL;DR

This paper introduces DIY-SC, a novel method for learning semantic correspondence by generating and refining "pseudo-labels" from off-the-shelf foundation models. By employing a clever 3D-aware chaining and filtering strategy, DIY-SC significantly improves semantic matching accuracy without requiring manual annotations, setting a new state-of-the-art on challenging benchmarks.

What Problem Does This Paper Address?

Finding semantic correspondences – matching semantically similar parts across different images of the same object class (e.g., the front wheel of one car to the front wheel of another) – is a fundamental but challenging task in computer vision. While powerful pre-trained vision models (like DINO and Stable Diffusion) offer impressive zero-shot capabilities, they struggle with ambiguities arising from symmetric objects (like a car's left and right doors) or repeated object parts (like a chair's legs). Traditional supervised methods require extensive manual keypoint annotations, which are scarce and difficult to obtain, limiting scalability. This paper aims to bridge this gap by developing a method that leverages readily available foundation models and weak supervision to achieve high-quality semantic correspondence without manual labels.

Methods

The core of DIY-SC lies in its sophisticated pseudo-labeling pipeline. Instead of directly using raw outputs from foundation models, the authors propose a multi-stage process:

  1. 3D-Aware Pseudo-Label Generation: They start with zero-shot matching using features from foundation models (specifically SD and DINOv2). To improve label quality, they employ a "chaining" strategy: they sample image pairs with small viewpoint variations and propagate matches through a chain of such pairs. This is motivated by the observation that zero-shot performance degrades significantly with larger viewpoint changes.
  2. Filtering Wrong Labels: To further refine these pseudo-labels, two key filtering mechanisms are introduced:
  3. Relaxed Cyclic Consistency: Matches are checked for consistency by ensuring that if point A maps to point B, then point B should map back to point A (with a small tolerance). This helps remove inconsistent or spurious matches.
  4. 3D Spherical Prototype Rejection: A "spherical mapper" is used to project features onto a canonical sphere. This acts as a weak 3D geometric prior, allowing the rejection of matches that fall into significantly different regions on the sphere, effectively disambiguating symmetric or repeated object parts.
  5. Adapter Training: The high-quality pseudo-labels generated and filtered are then used to train a lightweight "adapter" network. This adapter refines the original foundation model features, making them more suitable for the semantic correspondence task. The training uses both a sparse contrastive loss and a dense loss to effectively learn from the pseudo-labels.

Datasets

  • SPair-71k: This dataset is used for training and evaluation. It's noted as a challenging benchmark with 18 categories and around 1,800 images, featuring significant variations in appearance, shape, and viewpoint.
  • ImageNet-3D: This dataset, with approximately 86k images, is used to demonstrate the scalability of the proposed method. It has more diverse classes and 3D object poses, allowing for pre-training and generalization studies.
  • AP-10k: This dataset is used for evaluation to showcase the generalization capabilities of the model to unseen categories.

Key Insights and Ideas

  • Pseudo-labels are powerful, but quality matters: The paper strongly emphasizes that while pseudo-labels can be effective, their quality is paramount. The proposed chaining and filtering techniques are crucial for transforming noisy initial matches into a robust supervision signal.
  • 3D-aware filtering is key for ambiguities: The 3D spherical prototype rejection is a critical component for handling symmetries and repeated parts, which are known weaknesses of standard feature matching.
  • Foundation models are a strong starting point, but refinement is necessary: The work highlights that even state-of-the-art foundation model features benefit significantly from fine-tuning with carefully curated pseudo-labels, leading to performance gains beyond simple concatenation or averaging.
  • Scalability without manual annotations: The method's reliance on weak supervision (3D poses, masks) rather than explicit keypoint labels makes it highly scalable to larger, more diverse datasets, a significant advantage for real-world applications.

Key Results

  • State-of-the-art performance: DIY-SC achieves a new state-of-the-art on the SPair-71k dataset, with an absolute gain of over 4% and 7% compared to previous methods with similar supervision requirements (measured by [email protected]).
  • Significant improvements on challenging categories: The method shows particularly large gains on categories with symmetric or repeated object parts (e.g., +15.7% for "bus" and +14.0% for "car").
  • Effective generalization: When pre-trained on ImageNet-3D, the model achieves competitive results on SPair-71k and even outperforms previous SOTA on AP-10k, demonstrating strong generalization capabilities.
  • Ablation studies confirm component effectiveness: Each proposed component (chaining, cyclic consistency, spherical rejection) contributes to the overall performance improvement, with the full pipeline yielding the best results.

Limitations and Future Work

  • Failure cases: The paper acknowledges that the method still struggles with certain challenging cases, such as objects that are upside-down or have extreme appearance changes.
  • Further reducing supervision: While the method significantly reduces the need for manual annotations, further reducing supervision requirements is an area for future work.
  • Improving spherical rejection: The spherical mapper's effectiveness is limited for objects not well-represented by a sphere, suggesting a need for more generalized geometric priors.
  • Broader impact: The authors hope that the improved correspondence features can enhance downstream tasks that rely on semantic understanding.

Summary updated

BibTeX
@inproceedings{dunkel2025do,
  author = {Olaf Dünkel and Thomas Wimmer and Christian Theobalt and Christian Rupprecht and Adam Kortylewski},
  title = {{Do It Yourself: Learning Semantic Correspondence from Pseudo-Labels}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
  url = {https://openreview.net/forum?id=yJUsHgg6yX},
}
Figure