arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2108.09691cs.CV
收藏

基于变压器的探测头引导查询位置和执行相似注意

Guiding Query Position and Performing Similar Attention for Transformer-Based Detection Heads

Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院);MEGVII Technology(旷视科技)

Xiaohu Jiang, Ze Chen, Zhicheng Wang, Erjin Zhou, ChunYuan

摘要:

在DETR被提出之后,这种新的基于transformer的检测范式在对象查询和特征映射之间执行多个交叉关注以进行预测,随后衍生出一系列基于transformer的检测头。这些模型在每次交叉注意之后对对象查询进行处理。但是,它们不更新表示对象查询位置信息的查询位置。因此,模型需要额外的学习,以找出查询位置应该表达的最新区域,需要更多的关注。为了解决这个问题,我们提出了引导查询位置(GQPos)方法嵌入对象查询的最新位置信息,以查询位置迭代。这种基于变换器的检测头的另一个问题是在多尺度特征图上执行注意力的高复杂性,这阻碍了它们在所有尺度上提高检测性能。因此,本文提出了一种新的相似注意力(SiA)融合算法:SiA在融合特征图的同时,还融合注意力权值图,通过学习好的低分辨率注意力权值图来加速高分辨率注意力权值图的学习。我们的实验表明,提出的GQPos提高了一系列模型的性能,包括DETR,SMCA,YoloS和HoiTransformer和SiA一致地提高了多尺度基于变压器的检测头的性能,如DETR和HoiTransformer。

英文摘要:

After DETR was proposed, this novel transformer-based detection paradigm which performs several cross-attentions between object queries and feature maps for predictions has subsequently derived a series of transformer-based detection heads. These models iterate object queries after each cross-attention. However, they don't renew the query position which indicates object queries' position information. Thus model needs extra learning to figure out the newest regions that query position should express and need more attention. To fix this issue, we propose the Guided Query Position (GQPos) method to embed the latest location information of object queries to query position iteratively. Another problem of such transformer-based detection heads is the high complexity to perform attention on multi-scale feature maps, which hinders them from improving detection performance at all scales. Therefore we propose a novel fusion scheme named Similar Attention (SiA): besides the feature maps is fused, SiA also fuse the attention weights maps to accelerate the learning of high-resolution attention weight map by well-learned low-resolution attention weight map. Our experiments show that the proposed GQPos improves the performance of a series of models, including DETR, SMCA, YoloS, and HoiTransformer and SiA consistently improve the performance of multi-scale transformer-based detection heads like DETR and HoiTransformer.

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

↑