Learning Two-View Correspondences and Geometry Using Order-Aware Network

Jiahui Zhang, Dawei Sun, Zixin Luo, Anbang Yao, Lei Zhou, Tianwei Shen, Yurong Chen, Long Quan, Hongen LiaoICCV 2019 · DOI

Introduction

Two-view geometry estimation is a fundamental task in computer vision, essential for applications like Structure from Motion (SfM) and SLAM. The process typically begins by establishing correspondences (matches) between pixels in two images. However, these initial matches are frequently contaminated by outliers due to repetitive textures, motion blur, or illumination changes. While traditional robust estimators like RANSAC are effective, they are computationally intensive and do not leverage data-driven priors. Recent deep learning approaches, such as PointCN, treat correspondences as unordered point sets but often fail to capture local spatial context and complex global geometric relationships.

Methodology: The Order-Aware Network (OANet)

To address these limitations, the authors propose the Order-Aware Network (OANet). OANet is a hierarchical framework designed to filter outliers and recover relative camera poses with high precision. The core innovation lies in its ability to impose a learned structure on unordered correspondence sets, enabling the use of spatial operations typically reserved for structured data.

The OANet architecture features a hierarchical structure with differentiable pooling and unpooling layers to capture local and global contexts.

The architecture utilizes three primary operations:

  1. Differentiable Pooling (DiffPool): This layer clusters thousands of unordered matches into a smaller, fixed-size set (e.g., 500 clusters). It learns a soft assignment matrix that maps input matches into a canonical order, ensuring consistency regardless of input permutation.
  2. Order-Aware Filtering Block: With clusters in a canonical order, the network employs "Spatial Correlation" layers. These function similarly to 1D convolutions across clusters, allowing the model to learn global geometric relationships between different scene regions.
  3. Differentiable Unpooling (DiffUnpool): To produce per-match inlier probabilities, the network upsamples the clusters back to the original input size. The "Order-Aware" design ensures that upsampled features remain perfectly aligned with the original matches.

The entire pipeline is end-to-end differentiable, culminating in a weighted eight-point algorithm to solve for the Essential Matrix.

Experimental Evaluation

OANet was evaluated on two large-scale benchmarks: YFCC100M (outdoor landmarks) and SUN3D (indoor environments). The latter is particularly challenging due to low-texture surfaces and repetitive patterns.

The results demonstrate that OANet significantly outperforms previous state-of-the-art methods. On the YFCC100M "unknown" test sequences, OANet achieved a mean Average Precision (mAP) improvement of over 15% at a 5° threshold compared to PointCN (without RANSAC). Even when integrated with RANSAC as a post-processing step, OANet provides superior initial match sets, leading to more accurate final pose estimations.

Qualitative results across various datasets show OANet's ability to accurately identify inliers (green) and reject outliers (red) in complex scenes.

Discussion and Conclusion

The primary insight of OANet is that "sorting" unordered data into learned clusters unlocks the power of spatial operations for geometric reasoning. By capturing local coherence—where neighboring pixels move together—and global context through its hierarchical structure, OANet "sees the forest for the trees."

Despite its success, some limitations remain. The authors noted that learned feature extractors like SuperPoint occasionally underperform compared to SIFT in outdoor settings, likely due to less precise keypoint localization. Additionally, the hierarchical OANet++ variant introduces higher computational overhead. Future work may extend this "Order-Aware" logic to other tasks involving unordered sets, such as 3D point cloud registration or multi-view reconstruction.

Summary updated

BibTeX
@inproceedings{zhang2019learning,
  author = {Jiahui Zhang and Dawei Sun and Zixin Luo and Anbang Yao and Lei Zhou and Tianwei Shen and Yurong Chen and Long Quan and Hongen Liao},
  title = {{Learning Two-View Correspondences and Geometry Using Order-Aware Network}},
  booktitle = {ICCV},
  year = {2019},
  doi = {10.1109/iccv.2019.00594},
}
Figure