Learning Probabilistic Coordinate Fields for Robust Correspondences

Weiyue Zhao, Hao Lu, Xinyi Ye, Zhiguo Cao, Xin Li · DOI

Abstract

Establishing robust correspondences between images is a fundamental challenge in computer vision, often hindered by geometric distortions and outliers. This paper introduces Probabilistic Coordinate Fields (PCFs), a novel representation that leverages barycentric coordinate systems to achieve affine invariance. By integrating a deep network, PCF-Net, which employs a constrained Gaussian Mixture Model (GMM), the method provides a reliable confidence measure for image matching. Experimental results demonstrate that PCFs significantly enhance the performance of both sparse and dense matching frameworks, such as SuperGlue and LoFTR, across diverse real-world benchmarks.

Introduction

The task of finding correspondences—identifying identical points across different views—is central to 3D reconstruction, SLAM, and autonomous navigation. Traditional methods rely on Cartesian $(x, y)$ coordinates, which are inherently sensitive to affine transformations like rotation, scaling, and perspective shifts. Furthermore, matching algorithms often struggle with "outliers" caused by occlusions, textureless regions, or dynamic objects, leading to failures in downstream geometric estimation.

To address these challenges, this work proposes Probabilistic Coordinate Fields (PCFs). PCFs move beyond absolute positioning by utilizing relative geometric relationships and probabilistic confidence estimation to ensure robust and interpretable matching.

Methodology

Barycentric Coordinate Fields (BCFs)

The core of the proposed representation is the Barycentric Coordinate System (BCS). Unlike Cartesian coordinates, barycentric coordinates define a point's position relative to three reference vertices within the image. This formulation is mathematically affine-invariant: if an image undergoes a linear transformation, the barycentric coordinates of a point relative to its transformed vertices remain constant. This property provides a consistent geometric signal that is far more resilient to viewpoint changes than raw pixel locations.

PCF-Net and Probabilistic Confidence

To implement this representation, the authors developed PCF-Net. The network operates as follows:

  1. Initialization: It utilizes an initial coarse flow (e.g., from GLU-Net) to establish correspondence-specific coordinate systems.
  2. Confidence Estimation: PCF-Net predicts a confidence map using a constrained two-component Gaussian Mixture Model (GMM). The GMM parameters ($\alpha, \sigma_+, \sigma_-$) are trained to distinguish between "reliable" pixels (geometrically coherent) and "unreliable" ones (occlusions or non-rigid motion).
  3. Optimization Constraints: To ensure the network makes definitive choices, a margin is enforced between the variances of the reliable and unreliable components.

Interestingly, the authors found that $\ell_2$ (Gaussian) loss outperformed the more common $\ell_1$ (Laplacian) loss. The $\ell_2$ loss penalizes large coordinate errors more severely, resulting in sharper and more discriminative boundaries in the confidence maps.

Experimental Results

The PCF-Net was evaluated as a "plug-in" module for several state-of-the-art matching pipelines. Training was conducted on synthetic datasets (DPED, CityScapes, ADE20K), while testing spanned massive real-world benchmarks including MegaDepth, ScanNet, and YFCC100M.

Performance Gains

  • Sparse Matching: Integrated with SuperGlue and RootSIFT, PCF-Net improved pose estimation accuracy (AUC@20°) by approximately 12% on the PhotoTourism dataset.
  • Dense Matching: When paired with LoFTR, it achieved a +2.5% AUC improvement on the MegaDepth benchmark.
  • Efficiency: The module is lightweight, adding only about 116 ms of latency on modern hardware, making it suitable for practical deployment.

Qualitative Insights

The learned confidence maps exhibit high semantic awareness. The network naturally learns to mask out non-rigid elements like pedestrians or transient features like the sky, as these regions do not adhere to the rigid geometric constraints of the scene. This capability was further demonstrated in novel applications such as multi-homography classification and seamless texture transfer.

Discussion and Limitations

While PCF-Net offers significant improvements, it remains dependent on the quality of the initial coarse flow. If the initial estimate is highly inaccurate due to extreme viewpoint shifts, the barycentric origin may be poorly placed. Although the authors include a re-selection strategy, this remains a potential bottleneck. Additionally, complex scenes may require multiple coordinate systems, increasing computational overhead.

Conclusion

Probabilistic Coordinate Fields represent a significant step toward more geometrically aware and robust image matching. By shifting from absolute Cartesian coordinates to relative, affine-invariant barycentric fields, and by explicitly modeling uncertainty through GMMs, PCF-Net provides a versatile and effective tool for modern computer vision pipelines.

Summary updated

BibTeX
@article{zhao2023learning,
  author = {Weiyue Zhao and Hao Lu and Xinyi Ye and Zhiguo Cao and Xin Li},
  title = {{Learning Probabilistic Coordinate Fields for Robust Correspondences}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2023.3284487},
}
Figure