arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.00941cs.CV
收藏

ParaFormer:并行注意力Transformer用于有效特征匹配

ParaFormer: Parallel Attention Transformer for Efficient Feature Matching

Southeast University(东南大学);Nanjing University of Posts and Telecommunication(南京邮电大学)

Xiaoyong Lu, Yaping Yan, Bin Kang, Songlin Du

摘要:

计算量大是限制基于深度学习的特征匹配算法在许多实时应用中应用的瓶颈。然而,现有的轻量级网络优化欧几里德数据不能解决经典的特征匹配任务,因为稀疏的关键点的描述符预计将被匹配。本文解决了这个问题,并提出了两个概念:1)一种新的并行注意力模型ParaFormer和2)基于图的U-Net架构与注意力池。首先,ParaFormer通过幅度和相位的概念融合特征和关键点位置,并以并行的方式集成自注意和交叉注意,在准确性和效率方面实现了双赢的性能。其次,通过U-Net架构和提出的注意力池,ParaFormer-U变体显著降低了计算复杂性,并最大限度地减少了下采样造成的性能损失。在单应性估计、姿态估计和图像匹配等各种应用上的充分实验表明,ParaFormer在保持高效率的同时实现了最先进的性能。高效的ParaFormer-U变体实现了与现有基于注意力的模型相比具有不到50% FLOP的性能。

英文摘要:

Heavy computation is a bottleneck limiting deep-learningbased feature matching algorithms to be applied in many realtime applications. However, existing lightweight networks optimized for Euclidean data cannot address classical feature matching tasks, since sparse keypoint based descriptors are expected to be matched. This paper tackles this problem and proposes two concepts: 1) a novel parallel attention model entitled ParaFormer and 2) a graph based U-Net architecture with attentional pooling. First, ParaFormer fuses features and keypoint positions through the concept of amplitude and phase, and integrates self- and cross-attention in a parallel manner which achieves a win-win performance in terms of accuracy and efficiency. Second, with U-Net architecture and proposed attentional pooling, the ParaFormer-U variant significantly reduces computational complexity, and minimize performance loss caused by downsampling. Sufficient experiments on various applications, including homography estimation, pose estimation, and image matching, demonstrate that ParaFormer achieves state-of-the-art performance while maintaining high efficiency. The efficient ParaFormer-U variant achieves comparable performance with less than 50% FLOPs of the existing attention-based models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑