Lune

CVPR2022Top-tier venue

DN-DETR: Accelerate DETR Training by Introducing Query DeNoising

Feng Li, Hao Zhang, Shilong Liu, Jian Guo, Lionel M. Ni, Lei Zhang

Abstract

We present in this paper a novel denoising training method to speed up DETR (DEtection TRansformer) training and offer a deepened understanding of the slow convergence issue of DETR-like methods. We show that the slow convergence results from the instability of bipartite graph matching which causes inconsistent optimization goals in early training stages. To address this issue, except for the Hungarian loss, our method additionally feeds GT bounding boxes with noises into the Transformer decoder and trains the model to reconstruct the original boxes, which effectively reduces the bipartite graph matching difficulty and leads to faster convergence. Our method is universal and can be easily plugged into any DETR-like method by adding dozens of lines of code to achieve a remarkable improvement. As a result, our DN-DETR results in a remarkable improvement (+1.9AP) under the same setting and achieves 46.0 AP and 49.5 AP trained for 12 and 50 epochs with the ResNet-50 backbone. Compared with the baseline under the same setting, DN-DETR achieves comparable performance with 50% training epochs. We also demonstrate the effectiveness of denoising training in CNN-based detectors (Faster R-CNN), segmentation models (Mask2Former, Mask DINO), and more DETR-based models (DETR, Anchor DETR, Deformable DETR). Code is available at https://github.com/IDEA-Research/DN-DETR .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

200 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection cites DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
  • DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection cites Conditional DETR for Fast Training Convergence
  • DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection cites Anchor DETR: Query Design for Transformer-Based Detector
  • DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR cites Conditional DETR for Fast Training Convergence
  • DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR cites Anchor DETR: Query Design for Transformer-Based Detector
  • YOLOv12: Attention-Centric Real-Time Object Detectors cites Conditional DETR for Fast Training Convergence
  • YOLOv12: Attention-Centric Real-Time Object Detectors cites DETRs Beat YOLOs on Real-time Object Detection
  • YOLOv12: Attention-Centric Real-Time Object Detectors cites YOLOv10: Real-Time End-to-End Object Detection
  • YOLOv12: Attention-Centric Real-Time Object Detectors cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • DiffusionDet: Diffusion Model for Object Detection cites DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
  • DiffusionDet: Diffusion Model for Object Detection cites Conditional DETR for Fast Training Convergence
  • DiffusionDet: Diffusion Model for Object Detection cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • Conditional DETR for Fast Training Convergence cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • DETRs Beat YOLOs on Real-time Object Detection cites DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
  • DETRs Beat YOLOs on Real-time Object Detection cites Conditional DETR for Fast Training Convergence
  • DETRs Beat YOLOs on Real-time Object Detection cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • DETRs Beat YOLOs on Real-time Object Detection cites Anchor DETR: Query Design for Transformer-Based Detector
  • YOLOv10: Real-Time End-to-End Object Detection cites DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
  • YOLOv10: Real-Time End-to-End Object Detection cites Conditional DETR for Fast Training Convergence
  • YOLOv10: Real-Time End-to-End Object Detection cites DETRs Beat YOLOs on Real-time Object Detection
  • YOLOv10: Real-Time End-to-End Object Detection cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • YOLOv10: Real-Time End-to-End Object Detection cites Anchor DETR: Query Design for Transformer-Based Detector
  • Anchor DETR: Query Design for Transformer-Based Detector cites Conditional DETR for Fast Training Convergence
  • Anchor DETR: Query Design for Transformer-Based Detector cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers200

  1. YOLOv10: Real-Time End-to-End Object DetectionAo Wang, Hui Chen, Lihao Liu, Kai Chen et al.NeurIPS 2024 · 6,113 citations
  2. DETRs Beat YOLOs on Real-time Object DetectionYian Zhao, Wenyu Lv, Shangliang Xu, Jinman Wei et al.CVPR 2024 · 3,046 citations
  3. YOLOv12: Attention-Centric Real-Time Object DetectorsYunjie Tian, Qixiang Ye, David S. DoermannNeurIPS 2025 · 2,652 citations
  4. DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object DetectionHao Zhang, Feng Li, Shilong Liu, Lei Zhang et al.ICLR 2023 · 753 citations
  5. DiffusionDet: Diffusion Model for Object DetectionShoufa Chen, Peize Sun, Yibing Song, Ping LuoICCV 2023 · 715 citations

Builds on10

  1. Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations
  2. DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRShilong Liu, Feng Li, Hao Zhang, Xiao Yang et al.ICLR 2022 · 1,218 citations
  3. Conditional DETR for Fast Training ConvergenceDepu Meng, Xiaokang Chen, Zejia Fan, Gang Zeng et al.ICCV 2021 · 974 citations
  4. Anchor DETR: Query Design for Transformer-Based DetectorYingming Wang, Xiangyu Zhang, Tong Yang, Jian SunAAAI 2022 · 567 citations
  5. Pix2seq: A Language Modeling Framework for Object DetectionTing Chen, Saurabh Saxena, Lala Li, David J. Fleet et al.ICLR 2022 · 435 citations

Related papers

  1. Rethinking Transformer-based Set Prediction for Object DetectionZhiqing Sun, Shengcao Cao, Yiming Yang, Kris KitaniICCV 2021 · 381 citations
  2. Detection Transformer with Stable MatchingShilong Liu, Tianhe Ren, Jiayu Chen, Zhaoyang Zeng et al.ICCV 2023 · 62 citations
  3. DAC-DETR: Divide the Attention Layers and ConquerZhengdong Hu, Yifan Sun, Jingdong Wang, Yi YangNeurIPS 2023 · 53 citations
  4. Accelerating DETR Convergence via Semantic-Aligned MatchingGongjie Zhang, Zhipeng Luo, Yingchen Yu, Kaiwen Cui et al.CVPR 2022 · 116 citations
  5. Dynamic DETR: End-to-End Object Detection with Dynamic AttentionXiyang Dai, Yinpeng Chen, Jianwei Yang, Pengchuan Zhang et al.ICCV 2021 · 429 citations
Dusk over the sea between two cliffs drawn in fine vertical lines