Skip to main content
QUICK REVIEW

[论文解读] Rank-DETR for High Quality Object Detection

Yifan Pu, Weicong Liang|arXiv (Cornell University)|Oct 13, 2023
Advanced Neural Network ApplicationsComputer Science被引用 25
一句话总结

Rank-DETR 引入面向秩序的体系结构、损失和匹配成本,以提升基于 DETR 的检测器在高 IoU 下的定位质量,在 COCO 的不同骨干下实现比近期方法更高的 AP 与 AP75。

ABSTRACT

Modern detection transformers (DETRs) use a set of object queries to predict a list of bounding boxes, sort them by their classification confidence scores, and select the top-ranked predictions as the final detection results for the given input image. A highly performant object detector requires accurate ranking for the bounding box predictions. For DETR-based detectors, the top-ranked bounding boxes suffer from less accurate localization quality due to the misalignment between classification scores and localization accuracy, thus impeding the construction of high-quality detectors. In this work, we introduce a simple and highly performant DETR-based object detector by proposing a series of rank-oriented designs, combinedly called Rank-DETR. Our key contributions include: (i) a rank-oriented architecture design that can prompt positive predictions and suppress the negative ones to ensure lower false positive rates, as well as (ii) a rank-oriented loss function and matching cost design that prioritizes predictions of more accurate localization accuracy during ranking to boost the AP under high IoU thresholds. We apply our method to improve the recent SOTA methods (e.g., H-DETR and DINO-DETR) and report strong COCO object detection results when using different backbones such as ResNet-$50$, Swin-T, and Swin-L, demonstrating the effectiveness of our approach. Code is available at \url{https://github.com/LeapLabTHU/Rank-DETR}.

研究动机与目标

  • 激励改进基于 DETR 的检测器,在高 IoU 阈值下实现更高的定位质量。
  • 开发秩序感知组件,在训练与推理阶段促进真正的正样本并压制假阳性/假阴性。
  • 设计一个秩序自适应的分类头和一个查询秩序层,在解码过程整合排序信息。
  • 引入对 GIoU 敏感的分类损失与高阶匹配成本,通过定位精度加强排序。
  • 展示跨骨干的增益以及与最先进的基于 DETR 的模型(如 H-DETR、DINO-DETR)的兼容性。

提出的方法

  • 提出一个秩序自适应的分类头,在每个解码器层之后向分类分数添加可学习的对数偏置向量。
  • 在最后的 L-1 个 Transformer 解码层之前添加查询秩序层以再生成秩序感知内容与位置查询。
  • 通过融合机制引入秩序感知的内容查询和秩序感知的位置查询,并根据当前排名对输入进行排序。
  • 使用对 GIoU 敏感的分类损失,以归一化的 GIoU 目标监督分类预测。
  • 在匈牙利匹配中通过强调更高 IoU(IoU^alpha)来采用高阶匹配成本,以优先考虑精确定位。
  • 展示在 ResNet-50、Swin-T、Swin-L 等骨干上对 H-DETR 与 DINO-DETR 的兼容性与改进。
  • 代码提供于 https://github.com/LeapLabTHU/Rank-DETR。

实验结果

研究问题

  • RQ1如何在 DETR 风格的解码过程中整合排序信息,以提升高 IoU 边框的质量?
  • RQ2哪些架构和优化改动能最好地将分类分数与定位精度在基于 DETR 的检测器中对齐?
  • RQ3秩序导向的组件是否可在不同的 DETR 变体(如 H-DETR、DINO-DETR)和不同骨干中泛化?
  • RQ4在 IoU 阈值高于 0.75 时,秩序感知损失与高阶匹配成本对 AP 的影响?
  • RQ5秩序感知设计是否能降低 DETR 基检测器中的假阳性和假阴性?

主要发现

  • Rank-DETR 在不同骨干和训练轮次上对强力基线(如 H-DETR)的 AP 提升。
  • 在 COCO 验证集,R50 骨干、12 次训练下,Rank-DETR 在列示指标上达到 AP 50.2、AP75 55.0、AP 64.0。
  • Rank-DETR 在 AP75 上带来显著增益(相对于基线约 +2.1% 到 +2.7%,视骨干而定)。
  • 该方法在较短的训练日程下也展现出具有竞争力的 AP(例如在 R50 上 12 轮训练得到 50.2 的 AP)。
  • 消融研究表明加入秩序感知架构和损失组件时存在累积增益,完整集合提供最佳结果。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。