[论文解读] Dense Distinct Query for End-to-End Object Detection
本文提出了一种新型端到端目标检测范式——密集独立查询(Dense Distinct Queries, DDQ),结合密集查询初始化以实现高召回率,同时通过独立查询选择机制实现稳定的单对一标签分配。DDQ在仅训练12个周期内即在MS-COCO上达到52.1 AP的最先进性能,优于现有端到端检测器,且在密集场景中保持了出色的鲁棒性。
One-to-one label assignment in object detection has successfully obviated the need for non-maximum suppression (NMS) as postprocessing and makes the pipeline end-to-end. However, it triggers a new dilemma as the widely used sparse queries cannot guarantee a high recall, while dense queries inevitably bring more similar queries and encounter optimization difficulties. As both sparse and dense queries are problematic, then what are the expected queries in end-to-end object detection? This paper shows that the solution should be Dense Distinct Queries (DDQ). Concretely, we first lay dense queries like traditional detectors and then select distinct ones for one-to-one assignments. DDQ blends the advantages of traditional and recent end-to-end detectors and significantly improves the performance of various detectors including FCN, R-CNN, and DETRs. Most impressively, DDQ-DETR achieves 52.1 AP on MS-COCO dataset within 12 epochs using a ResNet-50 backbone, outperforming all existing detectors in the same setting. DDQ also shares the benefit of end-to-end detectors in crowded scenes and achieves 93.8 AP on CrowdHuman. We hope DDQ can inspire researchers to consider the complementarity between traditional methods and end-to-end detectors. The source code can be found at \url{https://github.com/jshilong/DDQ}.
研究动机与目标
- 解决端到端检测器中稀疏查询的局限性,后者因查询数量有限而导致召回率低。
- 克服密集查询在单对一分配中的优化挑战,即相似查询会接收冲突的标签。
- 提出一种统一的查询范式,结合密集查询的高召回率与独立查询的稳定优化特性。
- 在标准训练和长周期训练设置下,验证DDQ在多种架构(包括FCN、R-CNN和DETR)中的有效性。
- 在MS-COCO和CrowdHuman数据集上实现卓越性能,尤其在传统检测器因NMS调优困难而表现不佳的密集场景中。
提出的方法
- 在特征图上初始化大量密集查询,类似于传统检测器,以确保高召回率。
- 基于IoU相似度应用一种独立查询选择(DQS)机制,在单对一分配前过滤掉冗余且高度相似的查询。
- 在DDQ FCN中引入金字塔洗牌操作,高效建模查询间交互,替代计算量大的自注意力机制。
- 通过仅在优化头中应用DQS,将DDQ集成到两阶段检测器(DDQ R-CNN)和基于Transformer的检测器(DDQ DETR)中。
- 在训练和推理阶段均采用类别无关的NMS,以过滤重复预测,确保端到端可微分性。
- 采用DETR风格的数据增强和多尺度训练策略,以提升泛化能力与收敛速度。
实验结果
研究问题
- RQ1密集查询是否能在不因查询相似性导致优化不稳定的前提下,有效应用于单对一标签分配?
- RQ2从密集集合中仅选择独立查询,是否能在保持高召回率的同时实现端到端检测器的稳定训练?
- RQ3DDQ范式是否能提升包括FCN、R-CNN和DETR在内的多种检测器架构的性能?
- RQ4在传统检测器需精细调优NMS且端到端检测器易受重叠预测影响的密集场景中,DDQ表现如何?
- RQ5DDQ是否能在远少于现有端到端检测器的训练周期内实现最先进准确率?
主要发现
- DDQ-DETR在仅使用12个周期、ResNet-50主干网络的情况下,于MS-COCO上达到52.1 AP,优于所有现有端到端检测器在相同训练设置下的表现。
- DDQ FCN与DDQ R-CNN在标准1x训练周期下,分别在MS-COCO上达到41.5 AP与44.6 AP,证明其在单阶段与两阶段检测器中均具备强大性能。
- 在CrowdHuman数据集中,DDQ FCN/R-CNN/DETR分别实现92.7/93.5/93.8 AP与98.2/98.6/98.7召回率,显著超越传统与端到端检测器。
- DDQ在不同IoU阈值下选择独立查询时表现稳健,从0.6到0.8的阈值范围内性能衰减极小,超出该范围时仅出现轻微下降。
- 采用DyHead编码器结构的DDQ R-CNN达到51.0 AP,表明该框架与先进架构组件兼容,具备进一步提升潜力。
- 消融实验表明,DDQ在仅31.3ms延迟下实现与7000个密集查询相当的召回率,显著低于完整密集查询设置的135.0ms。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。