English

Understanding and Optimizing Attention-Based Sparse Matching for Diverse Local Features

Computer Vision and Pattern Recognition 2026-03-13 v2

Abstract

We revisit the problem of training attention-based sparse image matching models for various local features. We first identify one critical design choice that has been previously overlooked, which significantly impacts the performance of the LightGlue model. We then investigate the role of detectors and descriptors within the transformer-based matching framework, finding that detectors, rather than descriptors, are often the primary cause for performance difference. Finally, we propose a novel approach to fine-tune existing image matching models using keypoints from a diverse set of detectors, resulting in a universal, detector-agnostic model. When deployed as a zero-shot matcher for novel detectors, the resulting model achieves or exceeds the accuracy of models specifically trained for those features. Our findings offer valuable insights for the deployment of transformer-based matching models and the future design of local features.

Keywords

Cite

@article{arxiv.2602.08430,
  title  = {Understanding and Optimizing Attention-Based Sparse Matching for Diverse Local Features},
  author = {Qiang Wang},
  journal= {arXiv preprint arXiv:2602.08430},
  year   = {2026}
}

Comments

v2: add results with RaCo,RDD,DaD and Air-to-Ground benchmark

R2 v1 2026-07-01T10:27:33.435Z