Anchor DETR: Query Design for Transformer-Based Detector
摘要
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 solve 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 10x 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 https://github.com/megvii-research/AnchorDETR.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 107 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DN-DETR: Accelerate DETR Training by Introducing Query DeNoising 引用了 DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
- DN-DETR: Accelerate DETR Training by Introducing Query DeNoising 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection 引用了 DN-DETR: Accelerate DETR Training by Introducing Query DeNoising
- DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection 引用了 DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
- DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection 引用了 FCOS: Fully Convolutional One-Stage Object Detection
- DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR 引用了 FCOS: Fully Convolutional One-Stage Object Detection
- DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- DETRs Beat YOLOs on Real-time Object Detection 引用了 DN-DETR: Accelerate DETR Training by Introducing Query DeNoising
- DETRs Beat YOLOs on Real-time Object Detection 引用了 DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
- DETRs Beat YOLOs on Real-time Object Detection 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- YOLOv10: Real-Time End-to-End Object Detection 引用了 DN-DETR: Accelerate DETR Training by Introducing Query DeNoising
- YOLOv10: Real-Time End-to-End Object Detection 引用了 DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
- YOLOv10: Real-Time End-to-End Object Detection 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- YOLOv10: Real-Time End-to-End Object Detection 引用了 DETRs Beat YOLOs on Real-time Object Detection
- YOLOv10: Real-Time End-to-End Object Detection 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
- Deformable DETR: Deformable Transformers for End-to-End Object Detection 引用了 CCNet: Criss-Cross Attention for Semantic Segmentation
- Deformable DETR: Deformable Transformers for End-to-End Object Detection 引用了 FCOS: Fully Convolutional One-Stage Object Detection
引用它的顶会 Paper107
- YOLOv10: Real-Time End-to-End Object DetectionAo Wang, Hui Chen, Lihao Liu, Kai Chen 等NeurIPS 2024 · 6,113 次引用
- DETRs Beat YOLOs on Real-time Object DetectionYian Zhao, Wenyu Lv, Shangliang Xu, Jinman Wei 等CVPR 2024 · 3,046 次引用
- DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETRShilong Liu, Feng Li, Hao Zhang, Xiao Yang 等ICLR 2022 · 1,218 次引用
- DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingFeng Li, Hao Zhang, Shilong Liu, Jian Guo 等CVPR 2022 · 879 次引用
- DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object DetectionHao Zhang, Feng Li, Shilong Liu, Lei Zhang 等ICLR 2023 · 753 次引用
它引用的 Paper11
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li 等ICLR 2021 · 7,353 次引用
- FCOS: Fully Convolutional One-Stage Object DetectionZhi Tian, Chunhua Shen, Hao Chen, Tong HeICCV 2019 · 6,042 次引用
- CCNet: Criss-Cross Attention for Semantic SegmentationZilong Huang, Xinggang Wang, Lichao Huang, Chang Huang 等ICCV 2019 · 2,972 次引用
- Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 次引用
相关 Paper
- SAP-DETR: Bridging the Gap Between Salient Points and Queries-Based Transformer Detector for Fast Model ConvergencyYang Liu, Yao Zhang, Yixin Wang, Yang Zhang 等CVPR 2023
- Conditional DETR for Fast Training ConvergenceDepu Meng, Xiaokang Chen, Zejia Fan, Gang Zeng 等ICCV 2021 · 974 次引用
- Group DETR: Fast DETR Training with Group-Wise One-to-Many AssignmentQiang Chen, Xiaokang Chen, Jian Wang, Shan Zhang 等ICCV 2023 · 231 次引用
- DECO: Unleashing the Potential of ConvNets for Query-based Detection and SegmentationXinghao Chen, Siwei Li, Yijing Yang, Yunhe WangICLR 2025
- DS-Det: Single-Query Paradigm and Attention Disentangled Learning for Flexible Object DetectionGuiping Cao, Xiangyuan Lan, Wenjian Huang, Jianguo Zhang 等ACM MM 2025
