Rethinking Transformer-based Set Prediction for Object Detection

Zhiqing Sun, Shengcao Cao, Yiming Yang, Kris Kitani
11/21/2020
cs.CVcs.LG
transformer-attention

Official code: Edward-Sun/TSP-Detection (78 stars, Python, Apache-2.0, last commit 2022-11-20).

Abstract

DETR is a recently proposed Transformer-based method which views object detection as a set prediction problem and achieves state-of-the-art performance but demands extra-long training time to converge. In this paper, we investigate the causes of the optimization difficulty in the training of DETR.

Show full abstract

Our examinations reveal several factors contributing to the slow convergence of DETR, primarily the issues with the Hungarian loss and the Transformer cross-attention mechanism. To overcome these issues we propose two solutions, namely, TSP-FCOS (Transformer-based Set Prediction with FCOS) and TSP-RCNN (Transformer-based Set Prediction with RCNN). Experimental results show that the proposed methods not only converge much faster than the original DETR, but also significantly outperform DETR and other baselines in terms of detection accuracy.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code of ICCV paper: https://arxiv.org/abs/2011.10881

783Python, ShellOct 15, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{sun2020rethinking,
  title  = {Rethinking Transformer-based Set Prediction for Object Detection},
  author = {Zhiqing Sun and Shengcao Cao and Yiming Yang and Kris Kitani},
  year   = {2020},
  eprint = {2011.10881},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.10881}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.10881.svg)](https://codeofpaper.com/paper/2011.10881)

Discussion