Correspondence Networks With Adaptive Neighbourhood Consensus

Shuda Li, Kai Han, Theo W. Costain, Henry Howard-Jenkins, Victor Prisacariu

Abstract: In this paper, we tackle the task of establishing dense visual correspondences between images containing objects of the same category. This is a challenging task due to large intra-class variations and a lack of dense pixel-level annotations. We propose a convolutional neural network architecture, called adaptive neighbourhood consensus network (ANC-Net), that can be trained end-to-end with sparse key-point annotations to handle this challenge. At the core of ANC-Net is our proposed non-isotropic 4D convolution kernel, which forms the building block for the adaptive neighbourhood consensus module for robust matching. We also introduce a simple and efficient multi-scale self-similarity module in ANC-Net to make the learned features robust to intra-class variations. Furthermore, we propose a novel orthogonal loss that can enforce the one-to-one matching constraint. We thoroughly evaluate the effectiveness of our method on various benchmarks, where it substantially outperforms state-of-the-art methods.

Introduction

Establishing pixel-level matches between images of different instances within the same category—known as semantic correspondence—is a fundamental challenge in computer vision. Unlike standard instance-level matching, semantic matching must overcome significant variations in color, scale, pose, and lighting. For example, matching the wing of a sparrow to the wing of a seagull requires a model to understand category-level features rather than just raw pixel values.

Existing methods often struggle with two primary issues: intra-class variation (where raw features differ significantly between objects of the same class) and scale ambiguity. Previous "neighborhood consensus" methods assumed that matching points should have neighborhoods of the same size, which fails when one object is significantly closer to the camera than the other.

The ANC-Net Architecture

The proposed Adaptive Neighbourhood Consensus Network (ANC-Net) addresses these challenges through three innovative components integrated into an end-to-end trainable pipeline.

Overview of the ANC-Net architecture, showing the flow from input images to the final correspondence map.

Multi-scale Self-Similarity Module

To handle appearance changes, ANC-Net moves beyond raw CNN features. The model calculates how a pixel relates to its neighbors, creating "self-similarity" maps. By stacking these maps at multiple scales, the network generates a descriptor that is robust to changes in color or lighting. This module proved powerful enough to stand on its own, simplifying the architecture by removing the need to fuse self-similarity with raw CNN features.

Non-isotropic 4D Convolutions

The "Adaptive" component of ANC-Net stems from its use of non-isotropic 4D convolution kernels. While previous state-of-the-art models utilized symmetric 4D kernels (e.g., $5 \times 5 \times 5 \times 5$), ANC-Net employs kernels with different dimensions for each image (e.g., $3 \times 3 \times 5 \times 5$).

Comparison between isotropic and non-isotropic 4D convolution kernels and their respective network blocks.

This flexibility allows the network to match a small neighborhood in one image to a larger neighborhood in another, effectively accounting for objects of different sizes and shapes. This geometric adaptability is a significant advancement over rigid isotropic kernels.

Orthogonal Loss

To ensure physically plausible results, the authors introduced a novel orthogonal loss. This loss function encourages one-to-one matching, preventing the model from mapping every pixel in the source image to a single "best" pixel in the target image. This regularization leads to cleaner, single-peak correlation maps and filters out false positives.

Experimental Results

ANC-Net was evaluated on three major benchmarks, demonstrating superior performance over previous state-of-the-art methods like NC-Net and DCCNet:

  • PF-PASCAL: Achieved a [email protected] (Percentage of Correct Keypoints) of 86.1% (using ResNet-101), a significant jump from the 78.9% achieved by NC-Net.
  • SPair-71k: Reached 28.7% on this challenging dataset characterized by large viewpoint and scale variations.
  • CUB: Achieved 72.4%, proving the model's effectiveness in fine-grained bird species matching.

Conclusion

ANC-Net represents a major step forward in semantic correspondence by acknowledging that geometric relationships between images involve complex deformations and scale changes. By utilizing non-isotropic 4D kernels and multi-scale self-similarity, the model achieves high accuracy using only sparse keypoint annotations for training. While 4D convolutions remain computationally intensive, the efficiency of the self-similarity module and the robustness of the adaptive consensus provide a strong foundation for future research in self-supervised dense matching.

Summary updated

BibTeX
@inproceedings{li2020correspondence,
  author = {Shuda Li and Kai Han and Theo W. Costain and Henry Howard-Jenkins and Victor Prisacariu},
  title = {{Correspondence Networks With Adaptive Neighbourhood Consensus}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=elTgwTnBiY},
}
Figure