Semi-supervised Deep Large-baseline Homography Estimation with Progressive Equivalence Constraint

Hai Jiang, Haipeng Li, Yuhang Lu, Songchen Han, Shuaicheng Liu

TL;DR

This paper introduces a novel deep learning framework for homography estimation in "large-baseline" scenarios—where images have low overlap and significant viewpoint changes. By breaking down a single large transformation into a sequence of smaller, intermediate steps and employing a semi-supervised "homography identity loss," the authors achieve state-of-the-art alignment without relying on problematic photometric losses.

What Problem Does This Paper Address?

Homography estimation—calculating the geometric transformation between two images of the same scene—is a cornerstone of computer vision, essential for tasks like image stitching, SLAM, and video stabilization.

Traditional methods rely on matching keypoints (like SIFT), which often fail in low-texture or low-light environments. Modern deep learning approaches usually try to minimize "photometric loss" (making the pixels of the warped source image look like the target). However, these fail in large-baseline cases. When two images have very little overlap (e.g., 20-50%), a large portion of the warped image falls "out-of-bounds." Photometric losses struggle to handle these missing pixels, leading to erroneous estimations and "ghosting" artifacts. Furthermore, standard CNNs have limited receptive fields, making it difficult to "see" the relationship between distant matching regions.

Figure 1: Comparison of our method with an unsuper- vised learning-based method, i.e., BasesHomo. The first row shows two pairs of consecutive frames in different baseline cases, we highlight the overlap region in red boxes. In the second row, we superimpose the warped source image and the target image, where misaligned pixels are visualized as colored ghosts. Local details are enlarged in red and blue boxes, where the latter is an error heatmap, the darker the better. Our method can handle both situations, while Base- sHomo fails in the large-baseline scene.

Methods

The authors propose two primary innovations to bridge the large-baseline gap:

  1. Progressive Estimation Strategy: Instead of forcing the network to predict one massive transformation, the authors decompose the problem. They insert "intermediate" images generated by pre-defined homographies. The network learns to predict these smaller, easier steps. Because homographies are mathematically transitive, the final transformation is simply the cumulative product of these intermediate matrices.
  2. Semi-supervised Homography Identity Loss ($L_{HIL}$): To avoid the pitfalls of photometric loss, the authors use an "identity constraint." They train the network to ensure that the direct estimate of the large-baseline homography ($H_{st}$) is mathematically equivalent to the product of the intermediate estimates. This allows the network to optimize the homography matrices directly rather than comparing pixel intensities.
Figure 2: The left column (a) illustrates our proposed progressive estimation strategy, and right column (b) illustrates our proposed unsupervised objective function. Q denotes the accumulative multiplication operation.

Architecture: The model uses a multi-scale CNN encoder to extract pyramid features. It incorporates global and local correlation layers to expand the receptive field, allowing the network to find correspondences even when they are far apart in the image plane. A coarse-to-fine module then solves for the homography using a Direct Linear Transform (DLT) layer.

Figure 3: The overall pipeline of our proposed network. Firstly, we resize the original images into lower resolution ones and use a multi-scale CNN encoder to obtain the pyramid features. The correlation layers are used to improve the utilization of feature information and expand the receptive field. Finally, we use a coarse-to-fine homography estimation module to obtain homography flows and solve DLT to get the corresponding homography matrices.

Datasets

The authors identified a lack of diverse, large-baseline data and introduced a new benchmark:

  • LBHomo Dataset: A large-scale dataset containing ~78k image pairs across five challenging categories: Regular (RE-L), Low-Texture (LT-L), Low-Light (LL-L), Small-Foreground (SF-L), and Large-Foreground (LF-L).
  • Evaluation Set: 1.8k pairs with manually labeled ground-truth point correspondences (at least 6 points per pair) for precise quantitative evaluation.
  • Small-Baseline Dataset: They also validated their method on existing small-baseline datasets to ensure competitive performance in standard scenarios.
Examples from the five categories of the LBHomo dataset.

Key Insights and Ideas

  • Identity over Intensity: The most significant "aha" moment is that for large baselines, the math of the transformation is more reliable than the appearance of the pixels. By enforcing matrix consistency ($H_{st} \approx \prod H_i$), the model bypasses the "out-of-boundary" pixel problem entirely.
  • Divide and Conquer: Breaking a large displacement into smaller "phases" makes the learning objective much smoother for the optimizer, effectively acting as a form of curriculum learning.
  • Correlation is Key: While some unsupervised methods skip correlation layers, this paper demonstrates that global correlation is vital for handling the large spatial displacements inherent in wide-baseline photography.

Key Results

The proposed method achieved state-of-the-art (SOTA) results across all categories in the large-baseline dataset:

  • Robustness in Extremes: In Low-Texture (LT-L) scenes, the method reduced Point Matching Error (PME) by 66.44% compared to SIFT+MAGSAC.
  • Superior to Unsupervised SOTA: It outperformed UNSUPDIS by 53.03% in Low-Light (LL-L) scenarios.
  • Generalization: Even in small-baseline tests, the method remained competitive, slightly outperforming existing specialized models (reducing error from 0.50 to 0.44).
  • Qualitative Success: Visual results show significantly fewer "ghosting" artifacts in complex scenes with dynamic objects compared to photometric-based methods.

Limitations and Future Work

The authors acknowledge a fundamental limitation of homography itself: it assumes the scene is a single plane or that the camera only undergoes pure rotation. In scenes with multiple planes (significant depth variation), a single homography matrix cannot perfectly align the entire image. The authors suggest that extending this framework to handle multi-plane alignment is a promising direction for future research.

Summary updated

BibTeX
@inproceedings{jiang2023semi,
  author = {Hai Jiang and Haipeng Li and Yuhang Lu and Songchen Han and Shuaicheng Liu},
  title = {{Semi-supervised Deep Large-baseline Homography Estimation with Progressive Equivalence Constraint}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=eoJYDQEISpk},
}
Figure