Conditional DETR for Fast Training Convergence
Depu Meng, Xiaokang Chen, Zejia Fan, Gang Zeng, Houqiang Li, Yuhui Yuan, Lei Sun, Jingdong Wang
Abstract
The recently-developed DETR approach applies the transformer encoder and decoder architecture to object detection and achieves promising performance. In this paper, we handle the critical issue, slow training convergence, and present a conditional cross-attention mechanism for fast DETR training. Our approach is motivated by that the cross-attention in DETR relies highly on the content embeddings for localizing the four extremities and predicting the box, which increases the need for high-quality content embeddings and thus the training difficulty. Our approach, named conditional DETR, learns a conditional spatial query from the decoder embedding for decoder multi-head cross-attention. The benefit is that through the conditional spatial query, each cross-attention head is able to attend to a band containing a distinct region, e.g., one object extremity or a region inside the object box. This narrows down the spatial range for localizing the distinct regions for object classification and box regression, thus relaxing the dependence on the content embeddings and easing the training. Empirical results show that conditional DETR converges 6.7× faster for the backbones R50 and R101 and 10× faster for stronger backbones DC5-R50 and DC5-R101. Code is available at https: //github.com/Atten4Vis/ConditionalDETR .
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.
183 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- DN-DETR: Accelerate DETR Training by Introducing Query DeNoising cites DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
- DN-DETR: Accelerate DETR Training by Introducing Query DeNoising cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
- DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR cites FCOS: Fully Convolutional One-Stage Object Detection
- DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
- YOLOv12: Attention-Centric Real-Time Object Detectors cites DN-DETR: Accelerate DETR Training by Introducing Query DeNoising
- 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
- CenterNet: Keypoint Triplets for Object Detection cites Scale-Aware Trident Networks for Object Detection
- SOLOv2: Dynamic and Fast Instance Segmentation cites FCOS: Fully Convolutional One-Stage Object Detection
- DETRs Beat YOLOs on Real-time Object Detection cites DN-DETR: Accelerate DETR Training by Introducing Query DeNoising
- 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 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- YOLOv10: Real-Time End-to-End Object Detection cites DN-DETR: Accelerate DETR Training by Introducing Query DeNoising
- 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 CenterNet: Keypoint Triplets for Object Detection
- 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
- Deformable DETR: Deformable Transformers for End-to-End Object Detection cites FCOS: Fully Convolutional One-Stage Object Detection
Cited by top-tier papers183
- YOLOv10: Real-Time End-to-End Object DetectionAo Wang, Hui Chen, Lihao Liu, Kai Chen et al.NeurIPS 2024 · 6,113 citations
- DETRs Beat YOLOs on Real-time Object DetectionYian Zhao, Wenyu Lv, Shangliang Xu, Jinman Wei et al.CVPR 2024 · 3,046 citations
- YOLOv12: Attention-Centric Real-Time Object DetectorsYunjie Tian, Qixiang Ye, David S. DoermannNeurIPS 2025 · 2,652 citations
- DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRShilong Liu, Feng Li, Hao Zhang, Xiao Yang et al.ICLR 2022 · 1,218 citations
- DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingFeng Li, Hao Zhang, Shilong Liu, Jian Guo et al.CVPR 2022 · 879 citations
Builds on15
- Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations
- FCOS: Fully Convolutional One-Stage Object DetectionZhi Tian, Chunhua Shen, Hao Chen, Tong HeICCV 2019 · 6,042 citations
- CenterNet: Keypoint Triplets for Object DetectionKaiwen Duan, Song Bai, Lingxi Xie, Honggang Qi et al.ICCV 2019 · 3,348 citations
- SOLOv2: Dynamic and Fast Instance SegmentationXinlong Wang, Rufeng Zhang, Tao Kong, Lei Li et al.NeurIPS 2020 · 1,193 citations
- Scale-Aware Trident Networks for Object DetectionYanghao Li, Yuntao Chen, Naiyan Wang, Zhaoxiang ZhangICCV 2019 · 1,031 citations
Related papers
- Dynamic DETR: End-to-End Object Detection with Dynamic AttentionXiyang Dai, Yinpeng Chen, Jianwei Yang, Pengchuan Zhang et al.ICCV 2021 · 429 citations
- Fast Convergence of DETR with Spatially Modulated Co-AttentionPeng Gao, Minghang Zheng, Xiaogang Wang, Jifeng Dai et al.ICCV 2021 · 392 citations
- Rethinking Transformer-based Set Prediction for Object DetectionZhiqing Sun, Shengcao Cao, Yiming Yang, Kris KitaniICCV 2021 · 381 citations
- Accelerating DETR Convergence via Semantic-Aligned MatchingGongjie Zhang, Zhipeng Luo, Yingchen Yu, Kaiwen Cui et al.CVPR 2022 · 116 citations
- Recurrent Glimpse-based Decoder for Detection with TransformerZhe Chen, Jing Zhang, Dacheng TaoCVPR 2022 · 37 citations
