TL;DR
SCENES (Subpixel Correspondence EstimatioN with Epipolar Supervision) allows deep image matching networks to be fine-tuned for new environments without requiring ground-truth 3D structures or exact point correspondences. By leveraging epipolar geometry as a weaker supervisory signal—derived either from rough camera poses or bootstrapped directly from the model's own predictions—it significantly boosts generalization and relative pose estimation accuracy in challenging new domains.
What Problem Does This Paper Address?
Finding corresponding points across different views of a scene (feature matching) is a cornerstone of computer vision, underpinning tasks like Structure-from-Motion (SfM) and SLAM. While modern deep learning matchers achieve spectacular results on their training datasets, they are notoriously brittle when deployed in novel environments (e.g., transitioning from handheld indoor photos to drone footage).
To adapt these models, practitioners typically rely on fine-tuning with ground-truth 3D data like depth maps or point clouds. However, this creates a chicken-and-egg dilemma: you need highly accurate feature matching to build a 3D reconstruction of a new environment, but you need that 3D reconstruction to train the matcher. SCENES breaks this cycle by eliminating the need for 3D ground truth entirely, relying instead on camera poses or geometric consensus.
Methods
Instead of traditional correspondence losses that require knowing the exact matching pixel, SCENES introduces epipolar losses as drop-in replacements for detector-free matching architectures (like MatchFormer or ASpanFormer). Epipolar geometry dictates that a point in one image must lie along a specific line (the epipolar line) in the second image.
The method operates in two distinct stages:
- Epipolar Classification Loss (Coarse Stage): Naively supervising an entire epipolar line diffuses the network's probability mass, causing it to make ambiguous predictions. SCENES solves this by dynamically assigning the "ground truth" label to the single pixel along the epipolar line that currently has the highest predicted confidence.
- Epipolar Regression Loss (Fine Stage): To achieve subpixel accuracy, the fine-level refinement stage minimizes the perpendicular distance between the network's predicted match and the true epipolar line.
Bootstrapping (Unsupervised Fine-Tuning)
When camera poses are completely unavailable, SCENES introduces a bootstrapping strategy. The un-tuned base model generates an initial set of noisy matches. A robust estimator (RANSAC) filters these matches to find a globally consistent geometric consensus and estimates a fundamental matrix. The resulting epipolar lines are then used as pseudo-supervision to fine-tune the network on the fly.
Datasets
The authors evaluated SCENES on several highly demanding datasets representing significant domain shifts from standard training data:
- EuRoC-MAV: An indoor drone dataset featuring industrial machinery, rapid camera movements, motion blur, and severe lighting variations.
- San Francisco Landmark: An outdoor dataset consisting of city views captured from vehicles and mobile phones, characterized by highly inaccurate GPS data (used to test the unsupervised bootstrapping approach).
- Aachen Day-Night v1.1: A standard visual localization benchmark used to evaluate the pipeline's performance under extreme day-to-night illumination changes.
- ScanNet & MegaDepth: Existing large-scale datasets mixed into the training batches to act as regularizers, preventing the models from overfitting to the new environments.
Key Insights and Ideas
- The Sufficiency of Weak Supervision: Epipolar constraints reduce a 2D pixel search space into a 1D line search. Even though this loss doesn't penalize a wrong match along the correct line, enforcing this simple geometric consistency is powerful enough to successfully adapt deep networks to entirely new domains.
- The Argmax Strategy is Crucial: Forcing a network to treat an entire line as a correct match destroys its discriminative capability. Selecting the maximum probability point along the line acts as a stable anchor for the coarse matching stage.
- RANSAC as a Teacher: In bootstrapping mode, even if a pre-trained model makes a majority of incorrect matches, RANSAC can successfully isolate the clean geometric signal. The network then uses this signal to correct its own unaligned matches, adapting to the unique traits of the new environment.
Key Results
- Pose-Only Supervision (EuRoC-MAV): Fine-tuning MatchFormer-lite with SCENES yielded massive performance leaps. At a strict 5° pose estimation threshold, the Area Under the Curve (AUC) jumped from 3.0% to 9.1%, while the matching precision skyrocketed from 35.0% to 63.8%.
- Unsupervised Bootstrapping (San Francisco): Even without any pose or 3D data, bootstrapping improved ASpanFormer's pose estimation AUC @ 5° from 20.1% to 21.2%, proving that the model can successfully self-correct in entirely unfamiliar environments.
Limitations and Future Work
- Limitations: Because epipolar supervision is inherently weaker than full correspondence supervision, a predicted match that is misplaced along the correct epipolar line incurs no penalty. Additionally, the epipolar classification loss can occasionally entrench existing biases already present in the pre-trained model.
- Future Work: The authors propose making the bootstrapping framework iterative, re-estimating the fundamental matrices every few epochs as the model improves. Other promising directions include integrating pose uncertainty directly into the loss functions and bounding the epipolar lines using epipoles and points at infinity to further restrict the search space.
Summary updated