Demystifying Unsupervised Semantic Correspondence Estimation

Mehmet Aygün, Oisin Mac Aodha

Demystifying Unsupervised Semantic Correspondence Estimation

Abstract

Unsupervised semantic correspondence aims to match functional parts across different object instances (e.g., the left eye of two different cats) without relying on human-annotated labels. Despite its potential, the field has lacked standardized evaluation protocols, making it difficult to discern which algorithmic innovations truly drive progress. This paper addresses these inconsistencies by introducing a rigorous evaluation framework, a more rigorous performance metric ($PCK^\dagger$) that accounts for landmark "swaps," and a novel state-of-the-art method called ASYM. Our findings highlight the critical roles of Vision Transformer (ViT) backbones and pre-training data, while revealing that previous metrics significantly masked common failure modes.

Introduction

In computer vision, correspondence tasks vary in complexity. While optical flow matches pixels of the same object over time, semantic correspondence requires matching functionally equivalent parts across different instances of a category. Manually labeling these landmarks is prohibitively expensive, driving interest in unsupervised approaches.

However, research in this area has historically been fragmented, with studies using varied backbones, pre-training datasets, and evaluation metrics. This "Wild West" environment has obscured the actual impact of specific correspondence losses. This work seeks to "demystify" the landscape by providing a fair, head-to-head comparison of existing methods and introducing a more honest assessment of their performance.

Methodology

The authors propose three key contributions to stabilize and advance the field:

1. ASYM (Asymmetric Correspondence Loss)

Building upon the LEAD framework, which preserves feature distances through low-dimensional projections, the authors introduce ASYM. This method utilizes an asymmetric training objective with dual "temperatures" ($\tau_1$ and $\tau_2$). By applying a smaller temperature to the original feature space, the model is forced to "sharpen" its predictions. This sharpening effect makes correct matches more distinct from incorrect ones, significantly improving localization accuracy.

2. Standardized Projection and Diagnostic Framework

To ensure a fair comparison, the authors utilize frozen, pre-trained backbones and only train a simple linear projection layer for all methods. They also introduce a diagnostic framework to categorize matching errors into three types:

  • Miss: The predicted match falls on the background.
  • Jitter: The match is near the correct landmark but lacks precision.
  • Swap: The match is close to a different landmark (e.g., matching a left eye to a right eye).
Comparison of various unsupervised correspondence objectives, including the proposed ASYM method.

Experimental Setup

The study evaluates performance across five diverse datasets: AFLW (faces), SPair-71k (objects in context), CUB-200-2011 (birds), Stanford Dogs, and Awa-Pose (inter-class animals).

A central innovation is the introduction of $PCK^\dagger$. Standard Percentage of Correct Keypoints (PCK) metrics often count "swaps" (matching the wrong ear) as correct if they fall within a certain distance threshold. $PCK^\dagger$ explicitly penalizes these semantic errors, providing a more accurate reflection of a model's true understanding of object parts.

Key Insights and Results

  • The "Swap" Problem: The transition to $PCK^\dagger$ revealed that approximately 20% of "correct" matches in previous literature were actually swap errors. This highlights a significant hidden failure mode in existing unsupervised models.
  • ASYM as the New State-of-the-Art: ASYM consistently outperforms previous leaders like CL and LEAD. For instance, on the SPair-71k dataset with a Transformer backbone, ASYM achieved a PCK of 33.2, surpassing LEAD (32.7) and CL (30.5).
  • The Power of Transformers and Pre-training: Vision Transformers (ViTs), particularly those trained with self-supervision (e.g., DINO), significantly outperform traditional CNNs. Furthermore, the data used for pre-training (e.g., ImageNet) often exerts a greater influence on final performance than the specific correspondence loss used during fine-tuning.
  • Generalization: Unsupervised methods demonstrate superior generalization across different object categories compared to supervised models, which tend to overfit to their training classes.

Conclusion

While unsupervised semantic correspondence is making significant strides, a "supervision gap" remains, particularly in reducing "miss" errors where models fail to distinguish objects from backgrounds. Future research should move beyond human-defined landmarks toward dense correspondence and address the hyper-parameter sensitivity of sharpening techniques like ASYM. By providing a standardized benchmark and the $PCK^\dagger$ metric, this work establishes a more reliable foundation for future innovation in the field.

Summary updated

BibTeX
@inproceedings{aygun2022demystifying,
  author = {Mehmet Aygün and Oisin Mac Aodha},
  title = {{Demystifying Unsupervised Semantic Correspondence Estimation}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20056-4\_8},
}
Figure