Zero-Shot Image Feature Consensus with Deep Functional Maps

Xinle Cheng, Congyue Deng, Adam W. Harley, Yixin Zhu, Leonidas J. Guibas

Introduction

Establishing dense correspondences between images—identifying matching pixels across different views—is a cornerstone of computer vision. While modern foundation models like DINOv2 and Stable Diffusion possess remarkable "emergent" matching capabilities, standard approaches typically rely on local nearest-neighbor (NN) searches in feature space. This often results in "jumpy," discontinuous maps that lack global geometric coherence. Adjacent pixels in one image might map to wildly different parts of another because the matching process is "structure-blind."

This paper introduces a novel zero-shot framework that brings the power of functional maps, a tool traditionally used in 3D geometry, to the world of 2D image correspondence. By lifting the matching problem from noisy pixel-wise comparisons to a structured function space, the authors achieve smoother, more globally coherent dense correspondences using pre-trained models without any additional training or fine-tuning.

Methodology: Feature Consensus via Deep Functional Maps

The core innovation of this work is the "Feature Consensus" approach, which represents images as manifolds and performs matching in the spectral domain rather than the spatial domain.

Overview of the Deep Functional Maps pipeline. The framework lifts pixel-wise features into a structured function space, optimizing a functional map matrix to achieve globally consistent matching. The right panel shows qualitative results for texture transfer and dense correspondence.

1. From Pixels to Functions

Instead of matching points directly, the images are represented as manifolds. A "function space" is defined on each image using the eigenfunctions of a Laplacian operator. These eigenfunctions serve as a basis for representing any signal (like color or features) on the image. By focusing on the lower-frequency eigenfunctions, the method naturally filters out high-frequency noise and focuses on the global structure.

2. Content-Aware Laplacian

To ensure the geometric basis respects object boundaries, the authors construct a graph where pixels are nodes. Edge weights are not merely based on spatial distance but on feature similarity (derived from DINOv2). This ensures that the resulting eigenfunctions—and thus the matching process—are aware of the semantic and structural boundaries within the image.

3. The Functional Map (C)

The correspondence between two images is represented by a small linear matrix C (typically 200 x 200) that maps functions from one image to the other. Because this matrix is compact, it acts as an inherent low-pass filter. Optimizing for C forces the resulting correspondence to be smooth and globally consistent across the entire object.

4. Feature Consensus Strategy

The framework leverages a "consensus" between two powerful pre-trained models:

  • DINOv2 is used to define the geometric basis (the "shape" and boundaries) of the object.
  • Stable Diffusion acts as a semantic regularizer, providing rich descriptors to ensure the functional map preserves high-level meaning.

5. Handling Partiality and Occlusion

Real-world images often contain occlusions. The authors incorporate a transformer-based refinement module to handle partial matching. This ensures the model correctly identifies when parts of an object are missing in one view, preventing the "warping" artifacts common in other dense correspondence methods.

Key Insights

  • Structure is Better than Better Features: Imposing a global mathematical structure (the functional map) is more effective than simply trying to find "perfect" local features. Even using the same features as prior work, this structured approach yields significantly better results.
  • The Power of Model Synergy: DINOv2 and Stable Diffusion have complementary strengths. DINOv2 provides the structural skeleton, while Stable Diffusion provides the semantic flesh, leading to a more robust consensus.
  • Spectral Smoothness: By optimizing in the spectral domain, the method naturally ignores the high-frequency noise that plagues standard pixel-matching algorithms, resulting in physically plausible maps.

Results and Evaluation

The authors evaluated their method on several standard benchmarks, including TSS (FG3DCar, JODS, PASCAL), SPair-71k, and the RGB-D Part Affordance Dataset.

  • State-of-the-Art Zero-Shot Performance: On the TSS dataset, the method achieved an average PCK (Percentage of Correct Keypoints) of 78.9, outperforming previous zero-shot feature fusion methods.
  • Qualitative Smoothness: The resulting correspondence maps are visibly smoother and more physically plausible than nearest-neighbor baselines, especially in cases with large viewpoint changes or deformations, such as an airplane turning or a bird stretching its wings.
  • Affordance Transfer: The framework successfully demonstrates "affordance transfer," accurately mapping functional regions (like where to grasp a tool) from one object instance to another.

Limitations and Future Work

The authors acknowledge that the manifold assumption works best for object-centric images. The method currently struggles with complex scenes containing many different objects or repetitive instances (e.g., a herd of horses). Additionally, computing eigenfunctions for every image pair is more computationally expensive than a simple NN search, though efficient algorithms are used to mitigate this.

Future Directions: Potential improvements include using image segmentation to break complex scenes into parts before matching or exploring "quotient spaces" to handle repetitive objects more gracefully.

Summary updated

BibTeX
@inproceedings{cheng2024zero,
  author = {Xinle Cheng and Congyue Deng and Adam W. Harley and Yixin Zhu and Leonidas J. Guibas},
  title = {{Zero-Shot Image Feature Consensus with Deep Functional Maps}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72970-6\_16},
}
Figure