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

采用协作混合标签分配训练的 DETR

DETRs with Collaborative Hybrid Assignments Training

SenseTime Research(商汤科技研究院)

Zhuofan Zong, Guanglu Song, Yu Liu

AI总结:

针对一对一匹配导致 DETR 正查询监督稀疏的问题,本文提出 Co-DETR,利用一对多辅助头和定制正查询增强编解码器训练,在 COCO 与 LVIS 上显著提升检测精度且推理无额外开销。

摘要:

本文观察到,在采用一对一集合匹配的 DETR 中,被分配为正样本的查询过少,导致编码器输出上的监督稀疏,显著损害编码器的判别性特征学习;反之,这也会影响解码器中的注意力学习。为缓解该问题,我们提出一种新颖的协作混合标签分配训练方案,即 Co-DETR,以从多种标签分配方式中学习更高效、更有效的基于 DETR 的检测器。这一新训练方案通过训练多个并行辅助头,并利用 ATSS 和 Faster RCNN 等一对多标签分配进行监督,可轻松增强端到端检测器中编码器的学习能力。此外,我们通过从这些辅助头提取正坐标来构造额外的定制正查询,以提高解码器中正样本的训练效率。推理时,这些辅助头会被丢弃,因此该方法不会给原始检测器引入额外参数和计算开销,同时也不需要手工设计的非极大值抑制(NMS)。我们在 DAB-DETR、Deformable-DETR 和 DINO-Deformable-DETR 等 DETR 变体上进行了大量实验以评估所提方法的有效性。采用 Swin-L 的最先进 DINO-Deformable-DETR 在 COCO val 上的 AP 可从 58.5% 提升至 59.5%。令人惊讶的是,结合 ViT-L 骨干网络,我们在 COCO test-dev 上达到 66.0% AP,在 LVIS val 上达到 67.9% AP,以小得多的模型规模明显优于以往方法。代码位于 https://github.com/Sense-X/Co-DETR。

英文摘要:

In this paper, we provide the observation that too few queries assigned as positive samples in DETR with one-to-one set matching leads to sparse supervision on the encoder's output which considerably hurt the discriminative feature learning of the encoder and vice visa for attention learning in the decoder. To alleviate this, we present a novel collaborative hybrid assignments training scheme, namely $\mathcal{C}$o-DETR, to learn more efficient and effective DETR-based detectors from versatile label assignment manners. This new training scheme can easily enhance the encoder's learning ability in end-to-end detectors by training the multiple parallel auxiliary heads supervised by one-to-many label assignments such as ATSS and Faster RCNN. In addition, we conduct extra customized positive queries by extracting the positive coordinates from these auxiliary heads to improve the training efficiency of positive samples in the decoder. In inference, these auxiliary heads are discarded and thus our method introduces no additional parameters and computational cost to the original detector while requiring no hand-crafted non-maximum suppression (NMS). We conduct extensive experiments to evaluate the effectiveness of the proposed approach on DETR variants, including DAB-DETR, Deformable-DETR, and DINO-Deformable-DETR. The state-of-the-art DINO-Deformable-DETR with Swin-L can be improved from 58.5% to 59.5% AP on COCO val. Surprisingly, incorporated with ViT-L backbone, we achieve 66.0% AP on COCO test-dev and 67.9% AP on LVIS val, outperforming previous methods by clear margins with much fewer model sizes. Codes are available at \url{https://github.com/Sense-X/Co-DETR}.

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

↑