DETR Doesn't Need Multi-Scale or Locality Design
Not on the map. Why?
Abstract (arXiv)
This paper presents an improved DETR detector that maintains a "plain" nature: using a single-scale feature map and global cross-attention calculations without specific locality constraints, in contrast to previous leading DETR-based detectors that reintroduce architectural inductive biases of multi-scale and locality into the decoder. We show that two simple technologies are surprisingly effective within a plain design to compensate for the lack of multi-scale feature maps and locality constraints. The first is a box-to-pixel relative position bias (BoxRPB) term added to the cross-attention formulation, which well guides each query to attend to the corresponding object region while also providing encoding flexibility. The second is masked image modeling (MIM)-based backbone pre-training which helps learn representation with fine-grained localization ability and proves crucial for remedying dependencies on the multi-scale feature maps. By incorporating these technologies and recent advancements in training and problem formation, the improved "plain" DETR showed exceptional improvements over the original DETR detector. By leveraging the Object365 dataset for pre-training, it achieved 63.9 mAP accuracy using a Swin-L backbone, which is highly competitive with state-of-the-art detectors which all heavily rely on multi-scale feature maps and region-based feature extraction. Code is available at https://github.com/impiga/Plain-DETR .
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 47 of its 55 references that are in the map. First posted on arXiv 3 Aug 2023.
Builds on
47 of 55 references.
References · 47
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 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
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2017Mask R-CNNcited by 7,277
- 2016Feature Pyramid Networks for Object Detectioncited by 5,036
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,852
35 more
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2015SSD: Single Shot MultiBox Detectorcited by 3,130
- 2015Fast R-CNNcited by 2,933
- 2020RAFT: Recurrent All-Pairs Field Transforms for Optical Flowcited by 2,415
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,351
- 2013Rich feature hierarchies for accurate object detection and semantic segmentationcited by 2,162
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 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
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
- 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
- 2018Self-Attention with Relative Position Representationscited by 1,120
- 2019EfficientDet: Scalable and Efficient Object Detectioncited by 1,020
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
- 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 691
- 2022DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRcited by 573
- 2022DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingcited by 488
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 482
- 2019Hybrid Task Cascade for Instance Segmentationcited by 481
- 2021Conditional DETR for Fast Training Convergencecited by 424
- 2017Relation Networks for Object Detectioncited by 305
- 2019Local Relation Networks for Image Recognitioncited by 210
- 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 207
- 2021Fast Convergence of DETR with Spatially Modulated Co-Attentioncited by 176
- 2022DETRs with Hybrid Matchingcited by 150
- 2022Revealing the Dark Secrets of Masked Image Modelingcited by 117
- 2022AdaMixer: A Fast-Converging Query-Based Object Detectorcited by 79
- 2020Improve Transformer Models with Better Relative Position Embeddingscited by 73
- 2022Unleashing Vanilla Vision Transformer with Masked Image Modeling for Object Detectioncited by 33
- 2022NMS Strikes Backcited by 33
- 2022Group DETR v2: Strong Object Detector with Encoder-Decoder Pretrainingcited by 25
- 2022Towards Efficient Use of Multi-Scale Features in Transformer-Based Object Detectorscited by 10
- 2022Semantic-Aligned Matching for Enhanced DETR Convergence and Multi-Scale Feature Fusioncited by 7
Built on by
Citing papers per year: 2023: 2; 2024: 2.
4 papers.
- 2023Exploring Plain ViT Reconstruction for Multi-class Unsupervised Anomaly Detectioncited by 47
- 2024LW-DETR: A Transformer Replacement to YOLO for Real-Time Detectioncited by 36
- 2023Mask Frozen-DETR: High Quality Instance Segmentation with One GPUcited by 3
- 2024Deployment Prior Injection for Run-time Calibratable Object Detectioncited by 0
- 2024LW-DETR: A Transformer Replacement to YOLO for Real-Time Detection5 Jun 2024
- 2024Deployment Prior Injection for Run-time Calibratable Object Detection27 Feb 2024
- 2023Exploring Plain ViT Reconstruction for Multi-class Unsupervised Anomaly Detection12 Dec 2023
- 2023Mask Frozen-DETR: High Quality Instance Segmentation with One GPU7 Aug 2023