Anchor DETR: Query Design for Transformer-Based Object Detection
Not on the map. Why?
Abstract (arXiv)
In this paper, we propose a novel query design for the transformer-based object detection. In previous transformer-based detectors, the object queries are a set of learned embeddings. However, each learned embedding does not have an explicit physical meaning and we cannot explain where it will focus on. It is difficult to optimize as the prediction slot of each object query does not have a specific mode. In other words, each object query will not focus on a specific region. To solved these problems, in our query design, object queries are based on anchor points, which are widely used in CNN-based detectors. So each object query focuses on the objects near the anchor point. Moreover, our query design can predict multiple objects at one position to solve the difficulty: "one region, multiple objects". In addition, we design an attention variant, which can reduce the memory cost while achieving similar or better performance than the standard attention in DETR. Thanks to the query design and the attention variant, the proposed detector that we called Anchor DETR, can achieve better performance and run faster than the DETR with 10× fewer training epochs. For example, it achieves 44.2 AP with 19 FPS on the MSCOCO dataset when using the ResNet50-DC5 feature for training 50 epochs. Extensive experiments on the MSCOCO benchmark prove the effectiveness of the proposed methods. Code is available at urlhttps://github.com/megvii-research/AnchorDETR.
Key facts. Cited by 30 papers in the map (data through 14 Oct 2026). Builds on 26 of its 28 references that are in the map. First posted on arXiv 15 Sep 2021.
Builds on
26 of 28 references.
References · 26
- 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
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,852
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2015Fast R-CNNcited by 2,933
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
14 more
- 2019FCOS: Fully Convolutional One-Stage Object Detectioncited by 1,577
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,276
- 2019Objects as Pointscited by 1,175
- 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 718
- 2019Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selectioncited by 540
- 2020Sparse R-CNN: End-to-End Object Detection with Learnable Proposalscited by 495
- 2021Conditional DETR for Fast Training Convergencecited by 424
- 2018Efficient Attention: Attention with Linear Complexitiescited by 368
- 2020DetectoRS: Detecting Objects with Recursive Feature Pyramid and Switchable Atrous Convolutioncited by 222
- 2021Fast Convergence of DETR with Spatially Modulated Co-Attentioncited by 176
- 2021You Only Look One-level Featurecited by 116
- 2021Luna: Linear Unified Nested Attentioncited by 96
- 2020End-to-End Object Detection with Fully Convolutional Networkcited by 70
Built on by
Citing papers per year: 2022: 5; 2023: 12; 2024: 8; 2025: 3; 2026: 2.
30 papers.
Sort:
By area:
- 2022AO2-DETR: Arbitrary-Oriented Object Detection Transformercited by 55
- 2024TAPTR: Tracking Any Point with Transformers as Detectioncited by 45
- 2023LATR: 3D Lane Detection from Monocular Images with Transformercited by 44
- 2022Embracing Consistency: A One-Stage Approach for Spatio-Temporal Video Groundingcited by 42
- 2023Understanding 3D Object Interaction from a Single Imagecited by 33
- 2024Dual DETRs for Multi-Label Temporal Action Detectioncited by 20
- 2022Focal-PETR: Embracing Foreground for Efficient Multi-Camera 3D Object Detectioncited by 19
- 2023DiffTAD: Temporal Action Detection with Proposal Denoising Diffusioncited by 19
- 20223DPPE: 3D Point Positional Encoding for Multi-Camera 3D Object Detection Transformerscited by 15
- 2023Transformers in Small Object Detection: A Benchmark and Survey of State-of-the-Artcited by 15
- 2023Learning Dynamic Style Kernels for Artistic Style Transfercited by 12
- 2023VGSG: Vision-Guided Semantic-Group Network for Text-based Person Searchcited by 11
18 more
- 2023MoGDE: Boosting Mobile Monocular 3D Object Detection with Ground Depth Estimationcited by 9
- 2023An Efficient Transformer for Simultaneous Learning of BEV and Lane Representations in 3D Lane Detectioncited by 7
- 2024Rethinking Remote Sensing Change Detection With A Mask Viewcited by 5
- 2025Representation Shift: Unifying Token Compression with FlashAttentioncited by 5
- 2024EAN-MapNet: Efficient Vectorized HD Map Construction with Anchor Neighborhoodscited by 4
- 2023Proposal-Contrastive Pretraining for Object Detection from Fewer Datacited by 3
- 2023Learning Saliency From Fixationscited by 2
- 2024Historical Astronomical Diagrams Decomposition in Geometric Primitivescited by 2
- 2022SEFormer: Structure Embedding Transformer for 3D Object Detectioncited by 1
- 2023KS-DETR: Knowledge Sharing in Attention Learning for Detection Transformercited by 1
- 2024MomentMix Augmentation with Length-Aware DETR for Temporally Robust Moment Retrievalcited by 1
- 2025Comprehension of Multilingual Expressions Referring to Target Objects in Visual Inputscited by 1
- 2023Towards Few-Annotation Learning in Computer Vision: Application to Image Classification and Object Detection taskscited by 0
- 2024Better Sampling, towards Better End-to-end Small Object Detectioncited by 0
- 2024Cross Resolution Encoding-Decoding For Detection Transformerscited by 0
- 2025A lightweight model FDM-YOLO for small target improvement based on YOLOv8cited by 0
- 2026Beyond Caption-Based Queries for Video Moment Retrievalcited by 0
- 2026CAM3DNet: Comprehensively mining the multi-scale features for 3D Object Detection with Multi-View Camerascited by 0
- 2026CAM3DNet: Comprehensively mining the multi-scale features for 3D Object Detection with Multi-View Cameras18 Apr 2026
- 2026Beyond Caption-Based Queries for Video Moment Retrieval2 Mar 2026
- 2025Comprehension of Multilingual Expressions Referring to Target Objects in Visual Inputs14 Nov 2025
- 2025Representation Shift: Unifying Token Compression with FlashAttention1 Aug 2025
- 2025A lightweight model FDM-YOLO for small target improvement based on YOLOv86 Mar 2025
- 2024MomentMix Augmentation with Length-Aware DETR for Temporally Robust Moment Retrieval30 Dec 2024
- 2024Cross Resolution Encoding-Decoding For Detection Transformers5 Oct 2024
- 2024Rethinking Remote Sensing Change Detection With A Mask View21 Jun 2024
- 2024Better Sampling, towards Better End-to-end Small Object Detection17 May 2024
- 2024Dual DETRs for Multi-Label Temporal Action Detection31 Mar 2024
- 2024TAPTR: Tracking Any Point with Transformers as Detection19 Mar 2024
- 2024Historical Astronomical Diagrams Decomposition in Geometric Primitives13 Mar 2024
18 more
- 2024EAN-MapNet: Efficient Vectorized HD Map Construction with Anchor Neighborhoods28 Feb 2024
- 2023Learning Saliency From Fixations23 Nov 2023
- 2023VGSG: Vision-Guided Semantic-Group Network for Text-based Person Search13 Nov 2023
- 2023Towards Few-Annotation Learning in Computer Vision: Application to Image Classification and Object Detection tasks8 Nov 2023
- 2023Proposal-Contrastive Pretraining for Object Detection from Fewer Data25 Oct 2023
- 2023Transformers in Small Object Detection: A Benchmark and Survey of State-of-the-Art10 Sep 2023
- 2023LATR: 3D Lane Detection from Monocular Images with Transformer8 Aug 2023
- 2023An Efficient Transformer for Simultaneous Learning of BEV and Lane Representations in 3D Lane Detection8 Jun 2023
- 2023Understanding 3D Object Interaction from a Single Image16 May 2023
- 2023Learning Dynamic Style Kernels for Artistic Style Transfer2 Apr 2023
- 2023DiffTAD: Temporal Action Detection with Proposal Denoising Diffusion27 Mar 2023
- 2023MoGDE: Boosting Mobile Monocular 3D Object Detection with Ground Depth Estimation23 Mar 2023
- 2023KS-DETR: Knowledge Sharing in Attention Learning for Detection Transformer22 Feb 2023
- 2022Focal-PETR: Embracing Foreground for Efficient Multi-Camera 3D Object Detection11 Dec 2022
- 20223DPPE: 3D Point Positional Encoding for Multi-Camera 3D Object Detection Transformers27 Nov 2022
- 2022Embracing Consistency: A One-Stage Approach for Spatio-Temporal Video Grounding27 Sep 2022
- 2022SEFormer: Structure Embedding Transformer for 3D Object Detection5 Sep 2022
- 2022AO2-DETR: Arbitrary-Oriented Object Detection Transformer25 May 2022
- 2022AO2-DETR: Arbitrary-Oriented Object Detection Transformercited by 55
- 2024TAPTR: Tracking Any Point with Transformers as Detectioncited by 45
- 2023LATR: 3D Lane Detection from Monocular Images with Transformercited by 44
- 2022Embracing Consistency: A One-Stage Approach for Spatio-Temporal Video Groundingcited by 42
- 2023Understanding 3D Object Interaction from a Single Imagecited by 33
- 2024Dual DETRs for Multi-Label Temporal Action Detectioncited by 20
- 2022Focal-PETR: Embracing Foreground for Efficient Multi-Camera 3D Object Detectioncited by 19
- 20223DPPE: 3D Point Positional Encoding for Multi-Camera 3D Object Detection Transformerscited by 15
- 2023Transformers in Small Object Detection: A Benchmark and Survey of State-of-the-Artcited by 15
- 2023Learning Dynamic Style Kernels for Artistic Style Transfercited by 12
- 2023VGSG: Vision-Guided Semantic-Group Network for Text-based Person Searchcited by 11
- 2023MoGDE: Boosting Mobile Monocular 3D Object Detection with Ground Depth Estimationcited by 9
12 most cited of 28 All 28 (JSON)
- 2026CAM3DNet: Comprehensively mining the multi-scale features for 3D Object Detection with Multi-View Cameras18 Apr 2026
- 2026Beyond Caption-Based Queries for Video Moment Retrieval2 Mar 2026
- 2025Comprehension of Multilingual Expressions Referring to Target Objects in Visual Inputs14 Nov 2025
- 2025A lightweight model FDM-YOLO for small target improvement based on YOLOv86 Mar 2025
- 2024MomentMix Augmentation with Length-Aware DETR for Temporally Robust Moment Retrieval30 Dec 2024
- 2024Cross Resolution Encoding-Decoding For Detection Transformers5 Oct 2024
- 2024Rethinking Remote Sensing Change Detection With A Mask View21 Jun 2024
- 2024Better Sampling, towards Better End-to-end Small Object Detection17 May 2024
- 2024Dual DETRs for Multi-Label Temporal Action Detection31 Mar 2024
- 2024TAPTR: Tracking Any Point with Transformers as Detection19 Mar 2024
- 2024Historical Astronomical Diagrams Decomposition in Geometric Primitives13 Mar 2024
- 2024EAN-MapNet: Efficient Vectorized HD Map Construction with Anchor Neighborhoods28 Feb 2024
12 newest of 28 All 28 (JSON)