[论文解读] DEYO: DETR with YOLO for End-to-End Object Detection
DEYO 引入一个逐步训练范式,将基于 YOLO 的一对多分支与 DETR 风格的一对一分支结合起来,从而在不需要额外数据的情况下实现实时、端到端的目标检测,并在实时检测器中达到最优的速度-精度。
The training paradigm of DETRs is heavily contingent upon pre-training their backbone on the ImageNet dataset. However, the limited supervisory signals provided by the image classification task and one-to-one matching strategy result in an inadequately pre-trained neck for DETRs. Additionally, the instability of matching in the early stages of training engenders inconsistencies in the optimization objectives of DETRs. To address these issues, we have devised an innovative training methodology termed step-by-step training. Specifically, in the first stage of training, we employ a classic detector, pre-trained with a one-to-many matching strategy, to initialize the backbone and neck of the end-to-end detector. In the second stage of training, we froze the backbone and neck of the end-to-end detector, necessitating the training of the decoder from scratch. Through the application of step-by-step training, we have introduced the first real-time end-to-end object detection model that utilizes a purely convolutional structure encoder, DETR with YOLO (DEYO). Without reliance on any supplementary training data, DEYO surpasses all existing real-time object detectors in both speed and accuracy. Moreover, the comprehensive DEYO series can complete its second-phase training on the COCO dataset using a single 8GB RTX 4060 GPU, significantly reducing the training expenditure. Source code and pre-trained models are available at https://github.com/ouyanghaodong/DEYO.
研究动机与目标
- 说明 DETR 的局限性:依赖 ImageNet 预训练的骨干网以及不稳定的早期匹配。
- 提出逐步训练策略:用一对多检测器对颈部进行预训练,然后训练一个轻量级的端到端检测器。
- 开发 DEYO,这是一个具备纯卷积编码器和变换器解码器的实时端到端检测器。
- 展示 DEYO 在无需额外数据的情况下实现比当代实时检测器更高的速度-精度。
- 提供消融实验以分析颈部预训练、冻结策略和数据增强的影响。
提出的方法
- 阶段1:使用一对多匹配预训练经典检测器,以初始化骨干网和颈部。
- 阶段2:冻结端到端检测器的骨干网和颈部,从头开始训练解码器。
- 使用纯卷积的编码器(颈部预训练特征)和一个变换器解码器进行一对一预测。
- 采用解耦的边界框与嵌入生成策略,以实现高效的特征投影。
- 结合类似 DINO 的 CDN 组件以提高精度。
- 在 COCO 上训练 DEYO,无需额外数据,并以 640 输入尺寸对实时变体进行评估;在 8GB RTX 4060/RTX-T4 设置下报告 AP 与 FPS。
实验结果
研究问题
- RQ1逐步训练是否能够在不需要额外训练数据的情况下提升 DETR 风格检测器?
- RQ2使用一对多检测器(YOLO)对颈部进行预训练是否能为端到端的基于 DETR 的管线提供更优的多尺度特征?
- RQ3在第二阶段冻结骨干网/颈部对解码器的稳定性和收敛性有何影响?
- RQ4与现有实时检测器及基于 DETR 的端到端模型相比,DEYO 各变体的速度-精度权衡如何?
- RQ5是否有可能在纯卷积编码器和无 NMS 的一对一预测下实现实时性能的最前沿水平?
主要发现
- DEYO 在无需额外训练数据的情况下,在速度和精度上超过现有的实时检测器。
- DEYO-tiny 在 T4 上达到 37.6 AP,497 FPS;DEYO-X 达到 53.7 AP,65 FPS。
- DEYO 变体在 COCO val2017 和 CrowdHuman 上展现出强劲性能,在某些尺度上相较 YOLOv8 有显著提升。
- 在阶段2冻结骨干网/颈部相比微调,性能提升约 1.1 AP。
- 带有预训练颈部的逐步训练提供了必需的多尺度特征;仅仅依赖预训练骨干网会导致较低的性能(不进行颈部预训练时的 AP 为 68.3)。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。