Abstract
In this paper, we introduce a new framework for unsupervised deep homography estimation. Our contributions are 3 folds. First, unlike previous methods that regress 4 offsets for a homography, we propose a homography flow representation, which can be estimated by a weighted sum of 8 pre-defined homography flow bases. Second, considering a homography contains 8 Degree-of-Freedoms (DOFs) that is much less than the rank of the network features, we propose a Low Rank Representation (LRR) block that reduces the feature rank, so that features corresponding to the dominant motions are retained while others are rejected. Last, we propose a Feature Identity Loss (FIL) to enforce the learned image feature warp-equivariant, meaning that the result should be identical if the order of warp operation and feature extraction is swapped. With this constraint, the unsupervised optimization is achieved more effectively and more stable features are learned. Extensive experiments are conducted to demonstrate the effectiveness of all the newly proposed components, and results show that our approach outperforms the state-of-the-art on the homography benchmark datasets both qualitatively and quantitatively.
Introduction
Homography estimation—calculating the transformation between two images of the same scene—is a cornerstone of computer vision, used in applications ranging from panorama stitching to document scanning. Traditional methods typically rely on matching local features (like SIFT) and using RANSAC to ignore outliers. However, deep learning approaches have struggled to replicate this robustness in an unsupervised setting.
Current deep unsupervised models often attempt to regress four corner offsets to define the transformation. This approach is challenging because homography matrix elements have varying magnitudes, and unsupervised losses, such as photometric error, are easily compromised by dynamic objects (e.g., moving cars or people) or parallax caused by depth changes. This research introduces a deep learning framework mathematically grounded in homography geometry and designed to be inherently resistant to such "motion noise."
Methodology
The proposed framework introduces three primary innovations to address the limitations of existing deep homography estimation methods.
1. Homography Flow and Basis Formulation
Instead of predicting abstract corner offsets, the network predicts eight weights ($\alpha_i$). These weights are used to linearly combine eight pre-defined "flow bases," which are generated by perturbing the identity matrix one element at a time and converting the result into a flow field. This approach constrains the network's output to the 8-Degree-of-Freedom (DOF) subspace that defines a homography, baking geometric priors directly into the architecture.
2. Low Rank Representation (LRR) Block
A homography is a low-rank transformation. However, standard neural network features are high-rank and often contain noise from moving objects. The LRR block projects these features into a lower-rank subspace, acting as a differentiable filter. Features consistent with the dominant global motion (the homography) are retained, while inconsistent features (outliers) are rejected, effectively performing a role similar to RANSAC in feature space.
3. Feature Identity Loss (FIL)
To stabilize unsupervised training, the authors propose Feature Identity Loss (FIL) to enforce warp-equivariance. This ensures that extracting features from a warped image yields the same result as warping the features extracted from the original image ($f(W(I)) = W(f(I))$). This constraint prevents the network from "cheating" the loss function and leads to more reliable feature learning.
Experimental Results
The model was evaluated on a challenging real-world dataset comprising five categories: Regular (RE), Low-texture (LT), Low-light (LL), and Small/Large-foregrounds (SF/LF). The training set includes 4.2k samples, with labeled matching points provided for evaluation.
The proposed method significantly outperformed both traditional feature-based methods and previous deep learning state-of-the-art (SOTA) models. Quantitatively, the approach achieved a 20.63% reduction in error compared to the previous best unsupervised method (CA-Unsupervised). Notably, in the "Large Foreground" (LF) category—where moving objects typically confuse alignment—the error was reduced by approximately 12.77%. Ablation studies confirmed the importance of the LRR block, as its removal increased error by about 20%.
Conclusion
This work demonstrates that integrating geometric priors and low-rank constraints into deep networks can significantly improve unsupervised homography estimation. While the current linear approximation for flow bases works best for small-to-medium displacements, and the model assumes a single global homography, future work could extend these concepts to mesh-based estimation to better handle extreme parallax and large-baseline scenarios.
Summary updated