Papers › LoFTR: Detector-Free Local Feature Matching with Transformers
LoFTR: Detector-Free Local Feature Matching with Transformers
Jiaming Sun, Zehong Shen, Yuang Wang, Hujun Bao, Xiaowei Zhou
We present a novel method for local image feature matching. Instead of performing image feature detection, description, and matching sequentially, we propose to first establish pixel-wise dense matches at a coarse level and later refine the good matches at a fine level. In contrast to dense methods that use a cost volume to search correspondences, we use self and cross attention layers in Transformer to obtain feature descriptors that are conditioned on both images. The global receptive field provided by Transformer enables our method to produce dense matches in low-texture areas, where feature detectors usually struggle to produce repeatable interest points. The experiments on indoor and outdoor datasets show that LoFTR outperforms state-of-the-art methods by a large margin. LoFTR also ranks first on two public benchmarks of visual localization among the published methods.
In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2104.00680")
Code
Syntology Ran 14 of 16 code samples harvested from 2 repositories linked to this paper; 2 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · our draft was wrong; 9 ran with no contract checked.
By repository: official repository: 4 samples from 1 repository, 4 ran; community (archive-listed): 12 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
16 samples harvested; 14 ran; 2 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.
Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.
Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.
Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.
Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.
67a8b79fd250e22b · report
fac5364e2f53c6db · report
616a327f53231192 · report
b8ae61b5c67462ca · report
ffe49e7d531de639 · report
0147cf74f675fd9a · report
48e8896da53462be · report
429b87e94184da3a · report
95375972575e25d1 · report
26afd24b657e30c6 · report
fbee5e0296e8b699 · report
73c2839d74b21b14 · report
8ba161d133fcc70b · report
0d5505bd782b4a89 · report
83ecec9f333726dc · report
7031281c61f439e7 · report
Tasks
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Image Matching | ZEB | LoFTR | Mean AUC@5° | 33.1 | #7 of 10 | Archive leaderboard | report |
| Pose Estimation | InLoc | LoFTR | DUC1-Acc@0.25m,10° | 47.5 | #6 of 6 | Archive leaderboard | report |
| Pose Estimation | InLoc | LoFTR | DUC1-Acc@0.5m,10° | 72.2 | #6 of 6 | Archive leaderboard | report |
| Pose Estimation | InLoc | LoFTR | DUC1-Acc@1.0m,10° | 84.8 | #6 of 6 | Archive leaderboard | report |
| Pose Estimation | InLoc | LoFTR | DUC2-Acc@0.25m,10° | 54.2 | #6 of 6 | Archive leaderboard | report |
| Pose Estimation | InLoc | LoFTR | DUC2-Acc@0.5m,10° | 74.8 | #6 of 6 | Archive leaderboard | report |
| Pose Estimation | InLoc | LoFTR | DUC2-Acc@1.0m,10° | 82.5 | #6 of 6 | Archive leaderboard | report |
| Visual Localization | Aachen Day-Night v1.1 Benchmark | LoFTR | Acc@0.25m, 2° | 78.5 | #2 of 7 | Archive leaderboard | report |
| Visual Localization | Aachen Day-Night v1.1 Benchmark | LoFTR | Acc@0.5m, 5° | 90.6 | #2 of 7 | Archive leaderboard | report |
| Visual Localization | Aachen Day-Night v1.1 Benchmark | LoFTR | Acc@5m, 10° | 99.0 | #2 of 7 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Methods
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections