Two-View Geometry Scoring Without Correspondences

Axel Barroso-Laguna, Eric Brachmann, Victor Adrian Prisacariu, Gabriel J. Brostow, Daniyar Turmukhambetov

Introduction

Estimating the relative pose between two cameras is a foundational task in computer vision, essential for applications ranging from autonomous navigation to 3D reconstruction. The standard approach involves a RANSAC-based framework: identifying matching points between images, generating geometric hypotheses (such as the Fundamental Matrix), and selecting the best model based on the number of "inlier" matches. However, this traditional heuristic—consensus through inlier counting—is inherently limited. In environments with repetitive textures, low visual overlap, or sparse features, the initial match set is often dominated by outliers. In these scenarios, a "bad" hypothesis can easily align with more outliers than a "good" hypothesis aligns with true matches, leading to catastrophic estimation failure.

This paper introduces FSNet (Fundamental Scoring Network), a deep learning approach that reimagines hypothesis scoring. By bypassing the need for explicit point correspondences and instead scoring hypotheses directly from dense image features using epipolar geometry, FSNet achieves state-of-the-art robustness in challenging indoor and outdoor environments.

The "Inlier Trap"

The authors identify a critical bottleneck in modern pose estimation pipelines: the scoring heuristic. Even when a high-quality geometric hypothesis is generated within the RANSAC pool, standard methods often fail to select it. On the ScanNet dataset, current top-tier methods fail to select a valid model 42% of the time, even when one exists in the candidate pool. This "inlier trap" occurs because consensus-based metrics assume that the majority of matches agreeing with a model are correct—an assumption that breaks down in wide-baseline or low-texture scenes where outliers are structured and numerous.

FSNet: Correspondence-Free Scoring

FSNet is designed to predict the quality of a fundamental matrix hypothesis by looking at the images themselves, rather than a list of pre-computed matches. The architecture consists of several key components:

1. Feature Extraction and Contextualization

The network utilizes a ResNet-18 backbone to extract dense feature maps from both images. These maps are processed through a Transformer architecture utilizing both self-attention (to capture global context within an image) and cross-attention (to identify similarities between the two views).

2. Epipolar Cross-Attention

The core innovation of FSNet is the Epipolar Cross-Attention mechanism. Given a candidate fundamental matrix, the geometric relationship between the two views is fixed: any point in Image A must lie along a specific "epipolar line" in Image B. FSNet samples features along these lines; if the hypothesis is accurate, the features along the line in Image B should exhibit high coherence with the query point in Image A. This allows the network to verify the geometric consistency of the hypothesis directly from the dense feature space.

3. Direct Pose Supervision

Unlike previous attempts that might supervise networks using geometric distances (like Sampson error), the authors found that supervising FSNet directly with relative pose error—specifically the angular rotation and translation errors—yielded superior ranking performance. This ensures the network learns to prioritize hypotheses that lead to accurate camera poses rather than just mathematical alignment.

Hybrid Integration: The Candidate Filter

While FSNet is highly robust, it is computationally more intensive than simple inlier counting. To balance performance and speed, the authors propose a "Candidate Filter" approach. A fast, traditional method (like MAGSAC++) is used to generate and narrow down a large pool of hypotheses to the top 10–20 candidates. FSNet then acts as the final arbiter, selecting the winner from this refined set. This hybrid pipeline adds only approximately 150ms of overhead while significantly improving accuracy.

Experimental Results

FSNet was evaluated on major benchmarks including ScanNet (indoor RGB-D), MegaDepth (outdoor SfM), and PhotoTourism. The results demonstrate several key advantages:

  • Robustness in Sparse Scenarios: On ScanNet pairs with fewer than 100 matches, FSNet significantly outperformed RANSAC and MAGSAC++, proving its resilience when traditional correspondence-based methods fail.
  • State-of-the-Art Performance: The combination of MAGSAC++ and FSNet achieved the highest Mean Average Accuracy (mAA) across both indoor and outdoor datasets.
  • Reduction in Catastrophic Failures: By moving away from the "consensus" heuristic, FSNet is less likely to be deceived by clusters of outlier matches, leading to fewer instances of massive pose error.

Limitations and Future Outlook

FSNet currently operates on low-resolution feature maps (1/8th of the input size) to maintain computational efficiency. While this makes the network robust to small local misalignments, it lacks the pixel-perfect precision required for fine-grained refinement. Consequently, it is best utilized as a high-level selection tool rather than a final refiner.

Future work suggests a unified architecture where the feature extraction and transformer stages are shared between the matching network and the scoring network. Such a system would allow for a synergistic approach where matching and geometric verification inform one another, potentially leading to even greater efficiency and accuracy in autonomous vision systems.

Summary updated

BibTeX
@inproceedings{barrosolaguna2023two,
  author = {Axel Barroso-Laguna and Eric Brachmann and Victor Adrian Prisacariu and Gabriel J. Brostow and Daniyar Turmukhambetov},
  title = {{Two-View Geometry Scoring Without Correspondences}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
}
Figure