Fast Convergence of DETR with Spatially Modulated Co-Attention

By Peng Gao, Minghang Zheng, Xiaogang Wang, Jifeng Dai, Hongsheng Li. 2021

404 citations recorded by the source corpus.

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 [4] 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.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Alan L. Yuille
  2. Dacheng Tao
  3. Yu Qiao
  4. Jianfeng Gao
  5. Hongsheng Li
  6. Chen Change Loy
  7. Liang-Chieh Chen
  8. Ping Luo

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Chen Change Loy
  4. Xiaogang Wang
  5. Alan L. Yuille
  6. Ming-Hsuan Yang
  7. Yu Qiao
  8. Trevor Darrell

In Model Architectures

  1. Jianwei Yang
  2. Alan L. Yuille
  3. Lei Zhang
  4. Hongsheng Li
  5. Liang-Chieh Chen
  6. Feng Li
  7. Hao Zhang
  8. Chen Change Loy

Citations in the corpus