DN-DETR: Accelerate DETR Training by Introducing Query DeNoising

By Feng Li, Hao Zhang, Shilong Liu, Jian Guo, Lionel Ming-shuan Ni, Lei Zhang. 2022

1,199 citations recorded by the source corpus.

We present in this paper a novel denoising training method to speedup DETR (DEtection TRansformer) training and offer a deepened understanding of the slow convergence issue of DETR-like methods. We show that the slow convergence results from the instability of bipartite graph matching which causes inconsistent optimization goals in early training stages. To address this issue, except for the Hungarian loss, our method additionally feeds ground-truth bounding boxes with noises into Transformer decoder and trains the model to reconstruct the original boxes, which effectively reduces the bipartite graph matching difficulty and leads to a faster convergence. Our method is universal and can be easily plugged into any DETR-like methods by adding dozens of lines of code to achieve a remarkable improvement. As a result, our DN-DETR results in a remarkable improvement (+1.9AP) under the same setting and achieves the best result (AP 43.4 and 48.6 with 12 and 50 epochs of training respectively) among DETR-like methods with ResNet-50 backbone. Compared with the baseline under the same setting, DN-DETR achieves comparable performance with 50% training epochs. Code is available at https://github.com/FengLi-ust/DN-DETR.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Hardware and Architecture, 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. Lei Zhang
  2. Chen Change Loy
  3. Ziwei Liu
  4. Jianfeng Gao
  5. Jianwei Yang
  6. Chunhua Shen
  7. Jingdong Wang
  8. Dacheng Tao

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Ming-Hsuan Yang
  4. Xiaogang Wang
  5. Chen Change Loy
  6. Lei Zhang
  7. Chunhua Shen
  8. Trevor Darrell

In Hardware and Architecture

  1. Harry Shum
  2. Hang Su
  3. Ziwei Liu

In Model Architectures

  1. Lei Zhang
  2. Jianwei Yang
  3. Feng Li
  4. Hao Zhang
  5. Jingdong Wang
  6. Chen Change Loy
  7. Junjie Yan
  8. Humphrey Shi

Citations in the corpus