Fast Convergence of DETR with Spatially Modulated Co-Attention
Not on the map. Why?
Abstract (arXiv)
The recently proposed Detection Transformer (DETR) model successfully applies Transformer to objects detection and achieves comparable performance with two-stage object detection frameworks, such as Faster-RCNN. However, DETR suffers from its slow convergence. Training DETR from scratch needs 500 epochs to achieve a high accuracy. To accelerate its convergence, we propose a simple yet effective scheme for improving the DETR framework, namely Spatially Modulated Co-Attention (SMCA) mechanism. The core idea of SMCA is to conduct location-aware co-attention in DETR by constraining co-attention responses to be high near initially estimated bounding box locations. Our proposed SMCA increases DETR's convergence speed by replacing the original co-attention mechanism in the decoder while keeping other operations in DETR unchanged. Furthermore, by integrating multi-head and scale-selection attention designs into SMCA, our fully-fledged SMCA can achieve better performance compared to DETR with a dilated convolution-based backbone (45.6 mAP at 108 epochs vs. 43.3 mAP at 500 epochs). We perform extensive ablation studies on COCO dataset to validate SMCA. Code is released at https://github.com/gaopengcuhk/SMCA-DETR .
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 37 of its 50 references that are in the map. First posted on arXiv 5 Aug 2021.
Builds on
37 of 50 references.
References · 37
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2017Mask R-CNNcited by 7,259
- 2016Feature Pyramid Networks for Object Detectioncited by 5,021
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
- 2017Squeeze-and-Excitation Networkscited by 4,763
25 more
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2015SSD: Single Shot MultiBox Detectorcited by 3,125
- 2015Fast R-CNNcited by 2,930
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2017Decoupled Weight Decay Regularizationcited by 1,722
- 2020Reformer: The Efficient Transformercited by 1,658
- 2019FCOS: Fully Convolutional One-Stage Object Detectioncited by 1,573
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2017Soft-NMS -- Improving Object Detection With One Line of Codecited by 380
- 2019Deep Modular Co-Attention Networks for Visual Question Answeringcited by 338
- 2016Dynamic Filter Networkscited by 318
- 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 211
- 2015DRAW: A Recurrent Neural Network For Image Generationcited by 190
- 2020Rethinking Transformer-based Set Prediction for Object Detectioncited by 156
- 2015End-to-end people detection in crowded scenescited by 140
- 2018Dynamic Fusion with Intra- and Inter- Modality Attention Flow for Visual Question Answeringcited by 113
- 2020End-to-End Object Detection with Adaptive Clustering Transformercited by 109
- 2021Container: Context Aggregation Networkcited by 37
- 2019Multi-modality Latent Interaction Network for Visual Question Answeringcited by 23
- 2018Question-Guided Hybrid Convolution for Visual Question Answeringcited by 12
- 2017Recurrent Neural Networks for Semantic Instance Segmentationcited by 11
Built on by
Not cited yet.