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

QKVA网格:图像透视中的注意力和堆叠的DETR

QKVA grid: Attention in Image Perspective and Stacked DETR

Wenyuan Sheng

摘要:

我们提出了一个新的模型命名为堆叠DETR(SDETR),它继承了规范DETR的主要思想。我们从两个方面改进了DETR:简化训练成本和引入堆栈结构以提高性能。对于前者,我们着眼于注意块内部,提出了QKVA网格这一描述注意过程的新视角。通过这个,我们可以进一步了解注意力如何处理图像问题以及多头效应。这两种思想为单头编码层的设计提供了理论依据。对于后者,SDETR达到了比DETR更好的性能(+0.6AP,+2.7AP)。特别是在小对象上的性能,SDTR比优化的Faster R-CNN基线取得了更好的结果,这是DETR的一个缺点。我们的修改是基于DETR的代码。训练代码和预训练模型可在https://github.com/shengwenyuan/sdetr上获得。

英文摘要:

We present a new model named Stacked-DETR(SDETR), which inherits the main ideas in canonical DETR. We improve DETR in two directions: simplifying the cost of training and introducing the stacked architecture to enhance the performance. To the former, we focus on the inside of the Attention block and propose the QKVA grid, a new perspective to describe the process of attention. By this, we can step further on how Attention works for image problems and the effect of multi-head. These two ideas contribute the design of single-head encoder-layer. To the latter, SDETR reaches better performance(+0.6AP, +2.7APs) to DETR. Especially to the performance on small objects, SDETR achieves better results to the optimized Faster R-CNN baseline, which was a shortcoming in DETR. Our changes are based on the code of DETR. Training code and pretrained models are available at https://github.com/shengwenyuan/sdetr.

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

↑