Jamais Vu: Exposing the Generalization Gap in Supervised Semantic Correspondence

Octave Mariotti, Zhipeng Du, Yash Sanjay Bhalgat, Oisin Mac Aodha, Hakan Bilen

Abstract

Supervised models for semantic correspondence (SC) have achieved remarkable performance on standard benchmarks. However, this paper identifies a critical "Jamais Vu" (never seen) phenomenon: these models often function as sparse keypoint detectors rather than learning true dense geometry. When evaluated on points not seen during training, their performance drops significantly. To address this, we introduce SPair-U, a benchmark designed to measure generalization to unseen keypoints, and propose a novel 3D-aware lifting method. By incorporating monocular depth and canonical 3D manifolds, our approach learns robust, dense correspondences that generalize across object surfaces and datasets.

Introduction: The "Jamais Vu" Phenomenon

Semantic Correspondence (SC) involves finding matching regions between different instances of the same category—for example, identifying the wing of a Boeing 747 and matching it to the wing of a Cessna. Recent advancements in foundation models, such as DINOv2 and Stable Diffusion, have pushed the state-of-the-art on benchmarks like SPair-71k to new heights.

Despite these gains, the authors identify a fundamental flaw in current supervised training paradigms. Because models are typically trained and evaluated on a fixed set of semantic keypoints (e.g., "front wheel" or "left eye"), they tend to overfit to these specific locations. In effect, they become specialized keypoint detectors. When these models are tasked with matching a point just a few pixels away from a training label—a point they have "never seen"—their accuracy craters. This generalization gap suggests that current models are not learning the underlying geometry of objects, but rather memorizing sparse labels.

The SPair-U Benchmark

To quantify this gap, the authors introduce SPair-U (Unseen). This benchmark builds upon the existing SPair-71k dataset by adding 1,272 new individual test keypoint annotations, resulting in approximately 20,000 new pairs. These points represent semantic locations that were strictly excluded from the training sets of supervised models (e.g., the "navel" on a human or the "midpoint of the bow" for a boat).

SPair-U serves as a rigorous test of a model's ability to interpolate and understand dense object surfaces. Initial evaluations reveal that while supervised models dominate standard leaderboards, they are often outperformed by unsupervised baselines on SPair-U, as unsupervised models lack the specific bias toward a narrow set of training labels.

Methodology: 3D-Aware Semantic Correspondence

To bridge the generalization gap, the authors propose a framework that moves beyond sparse 2D supervision by incorporating 3D geometric constraints. The method consists of four primary components:

  1. 3D Lifting: Using an off-the-shelf monocular depth estimator (MoGe) and Segment Anything Model (SAM) masks, the framework backprojects 2D image pixels into a 3D posed coordinate space.
  2. Canonical Manifold Alignment: The model learns a category-specific "canonical" 3D representation. For every object instance, a rigid transformation is computed using the Kabsch-Umeyama algorithm to align the instance's 3D points with this shared canonical space.
  3. Local Geometry Loss: To ensure the model learns more than just sparse points, a local geometry loss is introduced. By sampling neighborhoods of points in 3D space, the model is forced to preserve local geometric structures when mapping from the image to the canonical manifold. This acts as a powerful regularizer, encouraging the model to learn a continuous surface representation.
  4. Feature Predictor: A small MLP "head" is trained on top of frozen backbones (DINOv2 and Stable Diffusion) to predict descriptors that map pixels directly to their corresponding locations on the learned 3D canonical manifold.

Experimental Results

The proposed method demonstrates superior generalization capabilities across several metrics:

  • Generalization on SPair-U: On the unseen keypoints of the SPair-U benchmark, the proposed model achieves 66.1% [email protected], outperforming the previous supervised state-of-the-art (Geo-SC) by a significant 6.1%.
  • Performance Maintenance: Crucially, the addition of 3D geometric constraints does not degrade performance on standard tasks. On the original SPair-71k (seen points), the model remains highly competitive with a score of 85.4%.
  • Cross-Dataset Robustness: When trained on SPair-71k and evaluated on the AP-10K (animal poses) dataset, the model showed significantly better transferability than traditional supervised models, which struggled to adapt to the new distribution of keypoints.

Discussion and Limitations

While the 3D-aware approach significantly narrows the generalization gap, some challenges remain. The method currently assumes a global rigid transformation to align instances to the canonical space. This works well for many categories but struggles with extreme non-rigid deformations, such as a bird transitioning from folded wings to full flight. Additionally, while geometry is a strong proxy for semantics, it may not capture all nuances in complex categories with high topological variance, such as furniture with varying numbers of parts.

Conclusion

The "Jamais Vu" problem highlights a critical blind spot in supervised semantic correspondence. By shifting the focus from sparse keypoint detection to dense 3D-aware geometric alignment, researchers can develop models that truly understand the objects they are analyzing. The SPair-U benchmark provides a necessary tool for the community to measure this progress, ensuring that models learn to see the whole object, not just its labeled parts.

Summary updated

BibTeX
@inproceedings{mariotti2025jamais,
  author = {Octave Mariotti and Zhipeng Du and Yash Sanjay Bhalgat and Oisin Mac Aodha and Hakan Bilen},
  title = {{Jamais Vu: Exposing the Generalization Gap in Supervised Semantic Correspondence}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=qtPe7altLq},
}
Figure