DN-DETR: Accelerate DETR Training by Introducing Query DeNoising

Abstract

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. Our code will be released after the blind review.

Cite

Text

Li et al. "DN-DETR: Accelerate DETR Training by Introducing Query DeNoising." Conference on Computer Vision and Pattern Recognition, 2022. doi:10.1109/CVPR52688.2022.01325

Markdown

[Li et al. "DN-DETR: Accelerate DETR Training by Introducing Query DeNoising." Conference on Computer Vision and Pattern Recognition, 2022.](https://mlanthology.org/cvpr/2022/li2022cvpr-dndetr/) doi:10.1109/CVPR52688.2022.01325

BibTeX

@inproceedings{li2022cvpr-dndetr,
  title     = {{DN-DETR: Accelerate DETR Training by Introducing Query DeNoising}},
  author    = {Li, Feng and Zhang, Hao and Liu, Shilong and Guo, Jian and Ni, Lionel M. and Zhang, Lei},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2022},
  pages     = {13619-13627},
  doi       = {10.1109/CVPR52688.2022.01325},
  url       = {https://mlanthology.org/cvpr/2022/li2022cvpr-dndetr/}
}