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

用于端到端密集检测的一对几标签分配

One-to-Few Label Assignment for End-to-End Dense Detection

The Hong Kong Polytechnic University(香港理工大学);OPPO Research Institute(OPPO研究院)

Shuai Li, Minghan Li, Ruihuang Li, Chenhang He, Lei Zhang

摘要:

一对一(o2o)标签分配对于基于Transformer的端到端检测起着关键作用,并且其最近已经被引入到用于端到端密集检测的全卷积检测器中。然而,由于正样本的数量有限,o2o会降低特征学习效率。虽然在最近的DETR中引入了额外的正样本来缓解这个问题,但解码器中的自关注和交叉关注的计算限制了其在密集和完全卷积检测器中的实际应用。在这项工作中,我们提出了一个简单而有效的一对几(o2f)标签分配策略的端到端密集检测。除了为每个对象定义一个正锚点和多个负锚点外,我们还定义了几个软锚点,它们同时作为正样本和负样本。这些软锚的正负权重在训练过程中动态调整,以便它们在早期训练阶段对“表示学习”贡献更大,在后期对"重复预测去除“贡献更大。以这种方式训练的检测器不仅可以学习强特征表示,而且还可以执行端到端的密集检测。COCO和CrowdHuman数据集上的实验证明了o2f方案的有效性。代码可在https://github.com/strongwolf/o2f上获得。

英文摘要:

One-to-one (o2o) label assignment plays a key role for transformer based end-to-end detection, and it has been recently introduced in fully convolutional detectors for end-to-end dense detection. However, o2o can degrade the feature learning efficiency due to the limited number of positive samples. Though extra positive samples are introduced to mitigate this issue in recent DETRs, the computation of self- and cross- attentions in the decoder limits its practical application to dense and fully convolutional detectors. In this work, we propose a simple yet effective one-to-few (o2f) label assignment strategy for end-to-end dense detection. Apart from defining one positive and many negative anchors for each object, we define several soft anchors, which serve as positive and negative samples simultaneously. The positive and negative weights of these soft anchors are dynamically adjusted during training so that they can contribute more to ``representation learning'' in the early training stage, and contribute more to ``duplicated prediction removal'' in the later stage. The detector trained in this way can not only learn a strong feature representation but also perform end-to-end dense detection. Experiments on COCO and CrowdHuman datasets demonstrate the effectiveness of the o2f scheme. Code is available at https://github.com/strongwolf/o2f.

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

↑