Lune

NeurIPS2023Top-tier venue

DAC-DETR: Divide the Attention Layers and Conquer

Zhengdong Hu, Yifan Sun, Jingdong Wang, Yi Yang

Abstract

This paper reveals a characteristic of DEtection Transformer (DETR) that negatively impacts its training efficacy, i.e. , the cross-attention and self-attention layers in DETR decoder have opposing impacts on the object queries (though both impacts are important). Specifically, we observe the cross-attention tends to gather multiple queries around the same object, while the self-attention disperses these queries far away. To improve the training efficacy, we propose a Divide-And-Conquer DETR (DAC-DETR) that separates out the cross-attention to avoid these competing objectives. During training, DAC-DETR employs an auxiliary decoder that focuses on learning the cross-attention layers. The auxiliary decoder, while sharing all the other parameters, has NO self-attention layers and employs one-to-many label assignment to improve the gathering effect. Experiments show that DAC-DETR brings remarkable improvement over popular DETRs. For example, under the 12 epochs training scheme on MS-COCO, DAC-DETR improves Deformable DETR (ResNet-50) by +3.4AP and achieves 50.9 (ResNet-50) / 58.1 AP (Swin-Large) based on some popular methods ( i.e. , DINO and an IoU-related loss). Our code will be made available at https://github.com/huzhengdongcs/DAC-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.

19 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

  • 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 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
  • Conditional DETR for Fast Training Convergence cites FCOS: Fully Convolutional One-Stage Object Detection
  • Conditional DETR for Fast Training Convergence cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • DI-MaskDINO: A Joint Object Detection and Instance Segmentation Model cites DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
  • DI-MaskDINO: A Joint Object Detection and Instance Segmentation Model cites Conditional DETR for Fast Training Convergence
  • DI-MaskDINO: A Joint Object Detection and Instance Segmentation Model cites FCOS: Fully Convolutional One-Stage Object Detection
  • DI-MaskDINO: A Joint Object Detection and Instance Segmentation Model cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • DI-MaskDINO: A Joint Object Detection and Instance Segmentation Model cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • MS-DETR: Efficient DETR Training with Mixed Supervision cites DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
  • MS-DETR: Efficient DETR Training with Mixed Supervision cites Conditional DETR for Fast Training Convergence
  • MS-DETR: Efficient DETR Training with Mixed Supervision cites FCOS: Fully Convolutional One-Stage Object Detection
  • MS-DETR: Efficient DETR Training with Mixed Supervision cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • SAM 3: Segment Anything with Concepts cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • RETR: Multi-View Radar Detection Transformer for Indoor Perception cites DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
  • RETR: Multi-View Radar Detection Transformer for Indoor Perception cites Conditional DETR for Fast Training Convergence
  • RETR: Multi-View Radar Detection Transformer for Indoor Perception cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • Frozen-DETR: Enhancing DETR with Image Understanding from Frozen Foundation Models cites DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
  • Frozen-DETR: Enhancing DETR with Image Understanding from Frozen Foundation Models cites MS-DETR: Efficient DETR Training with Mixed Supervision
  • Frozen-DETR: Enhancing DETR with Image Understanding from Frozen Foundation Models cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Frozen-DETR: Enhancing DETR with Image Understanding from Frozen Foundation Models 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
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers19

  1. SAM 3: Segment Anything with ConceptsNicolas Carion, Laura Gustafson, Yuan-Ting Hu, Shoubhik Debnath et al.ICLR 2026 · 1,103 citations
  2. MS-DETR: Efficient DETR Training with Mixed SupervisionChuyang Zhao, Yifan Sun, Wenhao Wang, Qiang Chen et al.CVPR 2024 · 51 citations
  3. Frozen-DETR: Enhancing DETR with Image Understanding from Frozen Foundation ModelsShenghao Fu, Junkai Yan, Qize Yang, Xihan Wei et al.NeurIPS 2024 · 24 citations
  4. RETR: Multi-View Radar Detection Transformer for Indoor PerceptionRyoma Yataka, Adriano Cardace, Perry Wang, Petros Boufounos et al.NeurIPS 2024 · 21 citations
  5. DI-MaskDINO: A Joint Object Detection and Instance Segmentation ModelZhixiong Nan, Xianghong Li, Tao Xiang, Jifeng DaiNeurIPS 2024 · 15 citations

Builds on22

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations
  3. FCOS: Fully Convolutional One-Stage Object DetectionZhi Tian, Chunhua Shen, Hao Chen, Tong HeICCV 2019 · 6,042 citations
  4. DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRShilong Liu, Feng Li, Hao Zhang, Xiao Yang et al.ICLR 2022 · 1,218 citations
  5. Conditional DETR for Fast Training ConvergenceDepu Meng, Xiaokang Chen, Zejia Fan, Gang Zeng et al.ICCV 2021 · 974 citations

Related papers

  1. DETRs with Collaborative Hybrid Assignments TrainingZhuofan Zong, Guanglu Song, Yu LiuICCV 2023 · 594 citations
  2. Group DETR: Fast DETR Training with Group-Wise One-to-Many AssignmentQiang Chen, Xiaokang Chen, Jian Wang, Shan Zhang et al.ICCV 2023 · 231 citations
  3. DS-Det: Single-Query Paradigm and Attention Disentangled Learning for Flexible Object DetectionGuiping Cao, Xiangyuan Lan, Wenjian Huang, Jianguo Zhang et al.ACM MM 2025
  4. DESTR: Object Detection with Split TransformerLiqiang He, Sinisa TodorovicCVPR 2022 · 63 citations
  5. Rank-DETR for High Quality Object DetectionYifan Pu, Weicong Liang, Yiduo Hao, Yuhui Yuan et al.NeurIPS 2023 · 138 citations
Dusk over the sea between two cliffs drawn in fine vertical lines