Efficient LoFTR: Semi-Dense Local Feature Matching with Sparse-Like Speed

Yifan Wang, Xingyi He He, Sida Peng, Dongli Tan, Xiaowei Zhou
2/9/2026

No official code found. Best implementation: zju3dv/EfficientLoFTR (1,046 stars, Apache-2.0, last commit 2025-07-30). 1 more below.

Abstract

We present a novel method for efficiently producing semi-dense matches across images. Previous detector-free matcher LoFTR has shown remarkable matching capability in handling large-viewpoint change and texture-poor scenarios but suffers from low efficiency. We revisit its design choices and derive multiple improvements for both efficiency and accuracy. One key observation is that performing the transformer over the entire feature map is redundant due to shared local information, therefore we propose an aggregated attention mechanism with adaptive token selection for efficiency. Furthermore, we find spatial variance exists in LoFTR's fine correlation module, which is adverse to matching accuracy. A novel two-stage correlation layer is proposed to achieve accurate subpixel correspon-dences for accuracy improvement. Our efficiency optimized model is ~ 2.5 x faster than LoFTR which can even surpass state-of-the-art efficient sparse matching pipeline Super-Point + LightGlue. Moreover, extensive experiments show that our method can achieve higher accuracy compared with competitive semi-dense matchers, with considerable efficiency benefits. This opens up exciting prospects for large-scale or latency-sensitive applications such as image retrieval and 3D reconstruction. Project page: https://zju3dv.github.io/efficientloftr/.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

Code for "Efficient LoFTR: Semi-Dense Local Feature Matching with Sparse-Like Speed", CVPR 2024

1,046114Shell, PythonMar 7, 20241 years agoApache-2.0
Apache-2.0

Code for "Efficient LoFTR: Semi-Dense Local Feature Matching with Sparse-Like Speed", CVPR 2024

00Shell, PythonAug 8, 202511 months agoApache-2.0

Similar Papers

Cite this paper

@article{wang2026efficient,
  title  = {Efficient LoFTR: Semi-Dense Local Feature Matching with Sparse-Like Speed},
  author = {Yifan Wang and Xingyi He He and Sida Peng and Dongli Tan and Xiaowei Zhou},
  year   = {2026},
  eprint = {2403.04765},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2403.04765},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.04765.svg)](https://codeofpaper.com/paper/2403.04765)

Discussion