ResMatch: Residual Attention Learning for Feature Matching
Yuxin Deng, Kaining Zhang, Shihua Zhang, Yansheng Li, Jiayi Ma
Abstract
Attention-based graph neural networks have made great progress in feature matching. However, the literature lacks a comprehensive understanding of how the attention mechanism operates for feature matching. In this paper, we rethink cross- and self-attention from the viewpoint of traditional feature matching and filtering. To facilitate the learning of matching and filtering, we incorporate the similarity of descriptors into cross-attention and relative positions into self-attention. In this way, the attention can concentrate on learning residual matching and filtering functions with reference to the basic functions of measuring visual and spatial correlation. Moreover, we leverage descriptor similarity and relative positions to extract inter- and intra-neighbors. Then sparse attention for each point can be performed only within its neighborhoods to acquire higher computation efficiency. Extensive experiments, including feature matching, pose estimation and visual localization, confirm the superiority of the proposed method. Our codes are available at https://github.com/ACuOoOoO/ResMatch.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext e1e16734-1bc8-47d1-a878-d600b8544d97Cited by top-tier papers4
- Matching While Perceiving: Enhance Image Feature Matching with Applicable Semantic AmalgamationShihua Zhang, Zhenjie Zhu, Zizhuo Li, Tao Lu et al.AAAI 2025 · 6 citations
- ArgMatch: Adaptive Refinement Gathering for Efficient Dense MatchingYuxin Deng, Kaining Zhang, Linfeng Tang, Jiaqi Yang et al.ICCV 2025 · 1 citation
- CoMatch: Dynamic Covisibility-Aware Transformer for Bilateral Subpixel-Level Semi-Dense Image MatchingZizhuo Li, Yifan Lu, Linfeng Tang, Shihua Zhang et al.ICCV 2025 · 1 citation
- SGAT: Learning Feature Matching with Singularity-enhanced Graph Attention NetworkYizhuo Zhang, Kun Sun, Chang Tang, Yuanyuan Liu et al.AAAI 2026
Builds on13
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 citations
- LightGlue: Local Feature Matching at Light SpeedPhilipp Lindenberger, Paul-Edouard Sarlin, Marc PollefeysICCV 2023 · 936 citations
- DISK: Learning local features with policy gradientMichal J. Tyszkiewicz, Pascal Fua, Eduard TrullsNeurIPS 2020 · 652 citations
- Quadtree Attention for Vision TransformersShitao Tang, Jiahui Zhang, Siyu Zhu, Ping TanICLR 2022 · 194 citations
Related papers
- Learning to Match Features with Seeded Graph Matching NetworkHongkai Chen, Zixin Luo, Jiahui Zhang, Lei Zhou et al.ICCV 2021 · 165 citations
- ClusterGNN: Cluster-based Coarse-to-Fine Graph Neural Network for Efficient Feature MatchingYan Shi, Junxiong Cai, Yoli Shavit, Tai-Jiang Mu et al.CVPR 2022 · 91 citations
- DiffGlue: Diffusion-Aided Image Feature MatchingShihua Zhang, Jiayi MaACM MM 2024 · 4 citations
- End2End Multi-View Feature Matching with Differentiable Pose OptimizationBarbara Roessle, Matthias NießnerICCV 2023 · 34 citations
- Graph Attention TrackingDongyan Guo, Yanyan Shao, Ying Cui, Zhenhua Wang et al.CVPR 2021
