An Efficient Transformer Incorporating a Spatial Decay Matrix and Attention Decomposition for Image Matching
Homography estimation has widespread applications in visual computing and image analysis. Current state-of-the-art Transformer-based image matching methods require computing all possible key-value combinations to obtain global information, resulting in high computational costs and slow inference speeds. This paper presents an enhanced Transformer-based approach for image matching, integrating a spatial decay matrix derived from Manhattan distance and leveraging attention decomposition. We introduce Manhattan Self-Attention (MaSA) to enhance the LoFTR framework. This approach maintains the integrity of the spatial decay matrix while reducing the computational burden of modeling global information. Through the incorporation of a spatial decay matrix and attention decomposition, explicit spatial priors can be seamlessly integrated into the visual backbone network, enabling the achievement of linear computational complexity. Thus, it improves decoding throughput, latency, and GPU memory usage without sacrificing performance. Experimental evaluations indicate that the proposed method substantially enhances matching accuracy while effectively reducing inference time and memory overhead, outperforming state-of-the-art approaches under consistent evaluation metrics.
Authors
- Zhen Ping Zhou (ORCID: https://orcid.org/0000-0003-3232-9903)
- Yanwei Sui (ORCID: https://orcid.org/0000-0002-5740-6111)
- Jianqiao Luo (ORCID: https://orcid.org/0000-0002-7432-1531)
- Lin Chen (ORCID: https://orcid.org/0000-0002-0620-1976)
- Yan Zheng (ORCID: https://orcid.org/0000-0001-8894-2075)
- Qing Zhu (ORCID: https://orcid.org/0000-0001-7785-6374)
- Zihao Yang (ORCID: https://orcid.org/0000-0003-1246-7188)
- Yaonan Wang
Institutions
- Hunan University (CN)
Publication Details
- Published
- 2024-11-01
- DOI
- https://doi.org/10.1109/cac63892.2024.10865540
- Primary Topic
- Neural Networks and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China