Abstract
Homography estimation is a fundamental task in computer vision, essential for applications like image stitching and SLAM. While traditional pipelines rely on explicit outlier removal (e.g., RANSAC) to handle noise, many modern deep learning approaches treat the problem as a "black box," leading to brittleness under illumination changes or occlusions. This paper introduces the Self-Supervised Outlier Removal Network (SSORN), which integrates a differentiable outlier removal module into an end-to-end architecture. By treating feature matching as a denoising problem on cost volumes and leveraging a novel self-supervised geometric consistency loss, SSORN achieves state-of-the-art performance and significantly improved robustness.
Introduction
Homography estimation—the task of aligning two images of the same scene taken from different perspectives—is a cornerstone of augmented reality, image stitching, and SLAM. Historically, this was achieved via a four-step pipeline: feature detection, feature matching, outlier removal (typically using RANSAC), and transformation calculation.
Modern deep learning models often attempt to collapse this process into a single end-to-end network. While efficient, these "black box" models frequently skip explicit matching and outlier removal steps. This omission makes them brittle; in the presence of sudden glare or occlusions, the network struggles to distinguish valid geometric data from noise. SSORN addresses this by building a model that mimics the traditional pipeline while remaining entirely differentiable and trainable.
Architecture
The SSORN architecture is built on a Siamese structure consisting of four distinct components:
- Feature Extractor: A ResNet-34 backbone converts input images $I_a$ and $I_b$ into deep feature maps $F_a$ and $F_b$.
- Feature Matching Module: This module computes a cost volume $C$, a 3D tensor representing the correlation between every pixel in the first image and its potential matches in the second.
- Outlier Removal Module: This is the core innovation of the network. Raw cost volumes are often noisy due to repetitive textures or occlusions. SSORN treats this as a denoising problem, using a UNet architecture to "clean" the cost volume into $C'$.
- Homography Estimator: A final set of layers regresses the 8 parameters of the homography matrix $H_{ab}$ from the cleaned cost volume.
The Outlier Removal Module
The Outlier Removal Module $r(\cdot)$ is designed to suppress noise in the cost volume. By employing a UNet architecture, the network learns to identify and remove outliers while maintaining a dense flow of information. This "denoising" approach is superior to traditional "rejection" methods for neural networks, as it preserves differentiability and allows for more stable backpropagation.
Self-Supervised Training Strategy
To train the Outlier Removal Module without manual labels, the authors introduce a geometric consistency loss. The key insight is that if two different pairs of images share the same underlying homography, their "correct" matching patterns should be identical.
By taking two different image pairs that undergo the same geometric shift, the network is forced to produce nearly identical "clean" cost volumes for both. This effectively teaches the UNet to ignore image-specific noise (like local lighting or occlusions) and focus on the shared geometric truth. This self-supervised signal is combined with a standard supervised loss on the final homography parameters.
Experimental Results
The researchers evaluated SSORN on synthetic (S-COCO) and real-world (HPatches) datasets, as well as custom variants designed to test robustness against illumination (I-COCO) and occlusion (O-COCO).
- Accuracy: On S-COCO, SSORN achieved a Mean Average Corner Error (MACE) of 0.73, nearly doubling the performance of the previous state-of-the-art model, SRHEN (1.40).
- Robustness: In occlusion tests, SSORN’s error remained remarkably stable even as more of the image was covered, whereas competing models saw significant error spikes.
- Real-World Performance: On the HPatches viewpoint benchmark, SSORN achieved a MACE of 15.64, significantly outperforming SRHEN (26.30) and HomographyNet (60.67).
Conclusion
SSORN demonstrates that incorporating explicit outlier removal into deep learning architectures significantly enhances robustness and accuracy for geometric tasks. While the model still faces challenges with complex non-planar depth variations in real-world scenes—a common "sim-to-real" gap—its ability to denoise cost volumes via self-supervision marks a major step forward. Future work will focus on extending these methods to non-planar training data and unsupervised fine-tuning on real-world video sequences.
Summary updated