ETO:Efficient Transformer-based Local Feature Matching by Organizing Multiple Homography Hypotheses
Junjie Ni, Guofeng Zhang, Guanglin Li, Yijin Li, Xinyang Liu, Zhaoyang Huang, Hujun Bao
TL;DR
ETO introduces an efficient transformer-based local feature matching framework by organizing multiple homography hypotheses to cover planar scene structure and employing a single, uni-directional cross-attention refinement. This approach reduces the number of patch tokens fed to the transformer and accelerates refinement while preserving high matching accuracy, achieving up to roughly 4x speedups over LoFTR on challenging outdoor datasets and maintaining competitive performance on Megadepth, YFCC100M, ScanNet, and HPatches. Key contributions include (i) a hypothesis-based coarse matching strategy that segments patches by local homographies, (ii) a segmentation-guided re-selection mechanism, and (iii) a streamlined refinement stage with uni-directional attention. The method offers practical gains for downstream tasks like SLAM, 3D reconstruction, and visual localization by delivering fast, accurate local feature matching with reduced computational burden.
Abstract
We tackle the efficiency problem of learning local feature matching. Recent advancements have given rise to purely CNN-based and transformer-based approaches, each augmented with deep learning techniques. While CNN-based methods often excel in matching speed, transformer-based methods tend to provide more accurate matches. We propose an efficient transformer-based network architecture for local feature matching. This technique is built on constructing multiple homography hypotheses to approximate the continuous correspondence in the real world and uni-directional cross-attention to accelerate the refinement. On the YFCC100M dataset, our matching accuracy is competitive with LoFTR, a state-of-the-art transformer-based architecture, while the inference speed is boosted to 4 times, even outperforming the CNN-based methods. Comprehensive evaluations on other open datasets such as Megadepth, ScanNet, and HPatches demonstrate our method's efficacy, highlighting its potential to significantly enhance a wide array of downstream applications.
