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

Relation DETR:探索用于目标检测的显式位置关系先验

Relation DETR: Exploring Explicit Position Relation Prior for Object Detection

Xi’an Jiaotong University(西安交通大学);College of Electrical Engineering, Zhejiang University(浙江大学电气工程学院)

Xiuquan Hou, Meiqin Liu, Senlin Zhang, Ping Wei, Badong Chen, Xuguang Lan

AI总结:

Relation-DETR通过引入显式位置关系先验作为注意力偏置,增强DETR收敛与性能,在COCO上达到51.7% AP,并提出SA-Det-100k数据集。

摘要:

本文提出了一种通用方案,用于增强DETR(DEtection TRansformer)的收敛速度和性能。我们从新的视角研究了Transformer中的收敛缓慢问题,认为该问题源于自注意力机制对输入不引入任何结构偏差。为解决此问题,我们探索将位置关系先验作为注意力偏置引入目标检测,并通过提出的定量宏观相关性(MC)指标验证了其统计显著性。我们的方法名为Relation-DETR,引入编码器来构建位置关系嵌入,用于渐进式注意力细化,进一步将传统的DETR流式流水线扩展为对比关系流水线,以解决非重复预测与正监督之间的冲突。在通用和任务特定数据集上的大量实验证明了我们方法的有效性。在相同配置下,Relation-DETR在COCO val2017上相比DINO取得了显著改进(+2.0% AP),达到了最先进的性能(1x设置下51.7% AP,2x设置下52.1% AP),并且收敛速度显著更快(仅2个训练周期即超过40% AP)。此外,所提出的关系编码器可作为通用的即插即用组件,理论上为任何类似DETR的方法带来明显改进。我们还引入了一个类无关检测数据集SA-Det-100k。在该数据集上的实验结果表明,所提出的显式位置关系实现了1.3% AP的明显提升,突显了其向通用目标检测发展的潜力。代码和数据集可在https://github.com/xiuqhou/Relation-DETR获取。

英文摘要:

This paper presents a general scheme for enhancing the convergence and performance of DETR (DEtection TRansformer). We investigate the slow convergence problem in transformers from a new perspective, suggesting that it arises from the self-attention that introduces no structural bias over inputs. To address this issue, we explore incorporating position relation prior as attention bias to augment object detection, following the verification of its statistical significance using a proposed quantitative macroscopic correlation (MC) metric. Our approach, termed Relation-DETR, introduces an encoder to construct position relation embeddings for progressive attention refinement, which further extends the traditional streaming pipeline of DETR into a contrastive relation pipeline to address the conflicts between non-duplicate predictions and positive supervision. Extensive experiments on both generic and task-specific datasets demonstrate the effectiveness of our approach. Under the same configurations, Relation-DETR achieves a significant improvement (+2.0% AP compared to DINO), state-of-the-art performance (51.7% AP for 1x and 52.1% AP for 2x settings), and a remarkably faster convergence speed (over 40% AP with only 2 training epochs) than existing DETR detectors on COCO val2017. Moreover, the proposed relation encoder serves as a universal plug-in-and-play component, bringing clear improvements for theoretically any DETR-like methods. Furthermore, we introduce a class-agnostic detection dataset, SA-Det-100k. The experimental results on the dataset illustrate that the proposed explicit position relation achieves a clear improvement of 1.3% AP, highlighting its potential towards universal object detection. The code and dataset are available at https://github.com/xiuqhou/Relation-DETR.

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

↑