Dynamic DETR: End-to-End Object Detection with Dynamic Attention
Xiyang Dai, Yinpeng Chen, Jianwei Yang, Pengchuan Zhang, Lu Yuan, Lei Zhang
摘要
In this paper, we present a novel Dynamic DETR (Detection with Transformers) approach by introducing dynamic attentions into both the encoder and decoder stages of DETR to break its two limitations on small feature resolution and slow training convergence. To address the first limitation, which is due to the quadratic computational complexity of the self-attention module in Transformer encoders, we propose a dynamic encoder to approximate the Transformer encoder's attention mechanism using a convolution-based dynamic encoder with various attention types. Such an encoder can dynamically adjust attentions based on multiple factors such as scale importance, spatial importance, and representation (i.e., feature dimension) importance. To mitigate the second limitation of learning difficulty, we introduce a dynamic decoder by replacing the cross-attention module with a ROI-based dynamic attention in the Transformer decoder. Such a decoder effectively assists Transformers to focus on region of interests from a coarse-to-fine manner and dramatically lowers the learning difficulty, leading to a much faster convergence with fewer training epochs. We conduct a series of experiments to demonstrate our advantages. Our Dynamic DETR significantly reduces the training epochs (by 14×), yet results in a much better performance (by 3.6 on mAP). Meanwhile, in the standard 1× setup with ResNet-50 backbone, we archive a new state-of-the-art performance that further proves the learning effectiveness of the proposed approach.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 79 篇顶会 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 引用了 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
- RepPoints v2: Verification Meets Regression for Object Detection 引用了 FCOS: Fully Convolutional One-Stage Object Detection
- Deformable DETR: Deformable Transformers for End-to-End Object Detection 引用了 FCOS: Fully Convolutional One-Stage Object Detection
- Mask-guided Spectral-wise Transformer for Efficient Hyperspectral Image Reconstruction 引用了 Deformable DETR: Deformable Transformers for End-to-End Object Detection
引用它的顶会 Paper79
- 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 次引用
- Retinexformer: One-stage Retinex-based Transformer for Low-light Image EnhancementYuanhao Cai, Hao Bian, Jing Lin, Haoqian Wang 等ICCV 2023 · 615 次引用
- Mask-guided Spectral-wise Transformer for Efficient Hyperspectral Image ReconstructionYuanhao Cai, Jing Lin, Xiaowan Hu, Haoqian Wang 等CVPR 2022 · 310 次引用
它引用的 Paper9
- 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 次引用
- ConvBERT: Improving BERT with Span-based Dynamic ConvolutionZihang Jiang, Weihao Yu, Daquan Zhou, Yunpeng Chen 等NeurIPS 2020 · 220 次引用
- RepPoints v2: Verification Meets Regression for Object DetectionYihong Chen, Zheng Zhang, Yue Cao, Liwei Wang 等NeurIPS 2020 · 134 次引用
- Dynamic Convolution: Attention Over Convolution KernelsYinpeng Chen, Xiyang Dai, Mengchen Liu, Dongdong Chen 等CVPR 2020
相关 Paper
- Conditional DETR for Fast Training ConvergenceDepu Meng, Xiaokang Chen, Zejia Fan, Gang Zeng 等ICCV 2021 · 974 次引用
- CF-DETR: Coarse-to-Fine Transformers for End-to-End Object DetectionXipeng Cao, Peng Yuan, Bailan Feng, Kun NiuAAAI 2022 · 59 次引用
- Not All Tokens Matter All The Time: Dynamic Token Aggregation Towards Efficient Detection TransformersJiacheng Cheng, Xiwen Yao, Xiang Yuan, Junwei HanICML 2025
- Recurrent Glimpse-based Decoder for Detection with TransformerZhe Chen, Jing Zhang, Dacheng TaoCVPR 2022 · 37 次引用
- DAC-DETR: Divide the Attention Layers and ConquerZhengdong Hu, Yifan Sun, Jingdong Wang, Yi YangNeurIPS 2023 · 53 次引用
