Abstract
Finding dense semantic correspondence is a fundamental problem in computer vision, which remains challenging in complex scenes due to background clutter, extreme intra-class variation, and a severe lack of ground truth. In this paper, we aim to address the challenge of label sparsity in semantic correspondence by enriching supervision signals from sparse keypoint annotations. To this end, we first propose a teacher-student learning paradigm for generating dense pseudo-labels and then develop two novel strategies for denoising pseudo-labels. In particular, we use spatial priors around the sparse annotations to suppress the noisy pseudo-labels. In addition, we introduce a loss-driven dynamic label selection strategy for label denoising. Our approach achieves notable improvements on three challenging benchmarks for semantic correspondence and establishes the new state-of-the-art.
The Challenge of Semantic Correspondence
In computer vision, semantic correspondence involves finding matching pixels between two different images belonging to the same category (e.g., matching the wing of one airplane to the wing of another). This task is significantly more complex than standard optical flow because different instances within a category can vary wildly in appearance, pose, and viewpoint.
The primary bottleneck is data availability. Annotating every pixel for correspondence is prohibitively expensive. Consequently, most datasets provide only sparse keypoints (typically 8-10 points per image). Training a model to produce a dense (pixel-wise) flow field from such limited data is a major hurdle. Previous methods attempted to bridge this gap with complex architectures like 4D convolutions or Transformers, but they still struggled with the lack of dense supervision.
Proposed Methodology
The researchers propose a two-pronged solution: a streamlined architecture and a robust training paradigm.
1. Efficient Architecture
- Spatial Context Encoder (SCE): To understand pixel neighborhoods without the computational cost of dense sampling, the model uses a "criss-cross" and diagonal sampling pattern, reducing complexity from $O(K^2)$ to $O(K)$.
- High-Resolution Correlation: Instead of upsampling features, the model upsamples the 4D correlation map itself, preserving fine-grained matching details while remaining memory-efficient.
2. Teacher-Student Densification
To overcome label sparsity, the framework employs a Teacher-Student approach. A "Teacher" model, initially trained on sparse points, predicts dense matches across the entire image. These predictions serve as "pseudo-labels" for a "Student" model. To prevent the Student from inheriting the Teacher's errors, two denoising strategies are introduced:
- Spatial-Prior Filtering: Matches are assumed to be more accurate near known sparse keypoints. By dilating the sparse label mask, the model creates a "safe zone" for pseudo-labels, suppressing noisy background matches.
- Loss-driven Dynamic Label Selection (DLS): Based on the "small-loss" principle, the model prioritizes learning from pseudo-labels where the current prediction error is lowest, effectively filtering out outliers.
The authors evaluated two variants: Single Offline Teacher (ST) and Mutual Online Teachers (MT), where two models learn from each other simultaneously.
Experimental Results
The model was evaluated on three major benchmarks: SPair-71k, PF-PASCAL, and PF-WILLOW.
The approach established a new state-of-the-art (SOTA) across all benchmarks:
- SPair-71k: Achieved a 55.3% PCK (Percentage of Correct Keypoints), a 4.9% improvement over the previous best model.
- PF-PASCAL: Reached 93.3% PCK, nearing saturation for this dataset.
- Generalization: The model demonstrated strong performance on unseen categories in the PF-WILLOW dataset, proving its robustness.
Conclusion
By focusing on the quality of supervision through spatial priors and dynamic label selection rather than architectural complexity, this research demonstrates that sparse annotations can be effectively leveraged to learn dense semantic correspondences. The success of the Mutual Online Teacher variant highlights the value of real-time refinement in pseudo-labeling paradigms.
Summary updated