Box-DETR: Understanding and Boxing Conditional Spatial Queries
Not on the map. Why?
Abstract (arXiv)
Conditional spatial queries are recently introduced into DEtection TRansformer (DETR) to accelerate convergence. In DAB-DETR, such queries are modulated by the so-called conditional linear projection at each decoder stage, aiming to search for positions of interest such as the four extremities of the box. Each decoder stage progressively updates the box by predicting the anchor box offsets, while in cross-attention only the box center is informed as the reference point. The use of only box center, however, leaves the width and height of the previous box unknown to the current stage, which hinders accurate prediction of offsets. We argue that the explicit use of the entire box information in cross-attention matters. In this work, we propose Box Agent to condense the box into head-specific agent points. By replacing the box center with the agent point as the reference point in each head, the conditional cross-attention can search for positions from a more reasonable starting point by considering the full scope of the previous box, rather than always from the previous box center. This significantly reduces the burden of the conditional linear projection. Experimental results show that the box agent leads to not only faster convergence but also improved detection performance, e.g., our single-scale model achieves 44.2 AP with ResNet-50 based on DAB-DETR. Our Box Agent requires minor modifications to the code and has negligible computational workload. Code is available at https://github.com/tiny-smart/box-detr.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 30 of its 33 references that are in the map. First posted on arXiv 17 Jul 2023.
Builds on
30 of 33 references.
References · 30
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2017Mask R-CNNcited by 7,277
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2018YOLOv3: An Incremental Improvementcited by 2,659
- 2019FCOS: Fully Convolutional One-Stage Object Detectioncited by 1,577
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,276
18 more
- 2019Objects as Pointscited by 1,175
- 2018CornerNet: Detecting Objects as Paired Keypointscited by 763
- 2017Focal Loss for Dense Object Detectioncited by 752
- 2022DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRcited by 573
- 2019Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selectioncited by 540
- 2022DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingcited by 488
- 2021Conditional DETR for Fast Training Convergencecited by 424
- 2019RepPoints: Point Set Representation for Object Detectioncited by 264
- 2021Fast Convergence of DETR with Spatially Modulated Co-Attentioncited by 176
- 2022DETRs with Hybrid Matchingcited by 150
- 2021Efficient DETR: Improving End-to-End Object Detector with Dense Priorcited by 128
- 2020Dynamic R-CNN: Towards High Quality Object Detection via Dynamic Trainingcited by 103
- 2021Sparse DETR: Efficient End-to-End Object Detection with Learnable Sparsitycited by 98
- 2022Accelerating DETR Convergence via Semantic-Aligned Matchingcited by 58
- 2021PnP-DETR: Towards Efficient Visual Analysis with Transformerscited by 52
- 2023Lite DETR : An Interleaved Multi-Scale Encoder for Efficient DETRcited by 36
- 2021Recurrent Glimpse-based Decoder for Detection with Transformercited by 21
- 2022SAP-DETR: Bridging the Gap Between Salient Points and Queries-Based Transformer Detector for Fast Model Convergencycited by 9
Built on by
Citing papers per year: 2024: 1; 2025: 1.
2 papers.