An Extendable, Efficient and Effective Transformer-based Object Detector

Hwanjun Song, Deqing Sun, Sanghyuk Chun, Varun Jampani, Dongyoon Han +3 more
4/17/2022
cs.CVcs.AIcs.LG
transformer-attention

Official code: naver-ai/vidt (319 stars, Python, Apache-2.0, last commit 2022-10-26).

Abstract

Transformers have been widely used in numerous vision problems especially for visual recognition and detection. Detection transformers are the first fully end-to-end learning systems for object detection, while vision transformers are the first fully transformer-based architecture for image classification.

Show full abstract

In this paper, we integrate Vision and Detection Transformers (ViDT) to construct an effective and efficient object detector. ViDT introduces a reconfigured attention module to extend the recent Swin Transformer to be a standalone object detector, followed by a computationally efficient transformer decoder that exploits multi-scale features and auxiliary techniques essential to boost the detection performance without much increase in computational load. In addition, we extend it to ViDT+ to support joint-task learning for object detection and instance segmentation. Specifically, we attach an efficient multi-scale feature fusion layer and utilize two more auxiliary training losses, IoU-aware loss and token labeling loss. Extensive evaluation results on the Microsoft COCO benchmark dataset demonstrate that ViDT obtains the best AP and latency trade-off among existing fully transformer-based object detectors, and its extended ViDT+ achieves 53.2AP owing to its high scalability for large models. The source code and trained models are available at https://github.com/naver-ai/vidt.

View on arXivView PDF

Code Implementations(1)

naver-ai/vidtOfficial100%
Apache-2.0
31938Python, CudaOct 8, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{song2022extendable,
  title  = {An Extendable, Efficient and Effective Transformer-based Object Detector},
  author = {Hwanjun Song and Deqing Sun and Sanghyuk Chun and Varun Jampani and Dongyoon Han and Byeongho Heo and Wonjae Kim and Ming-Hsuan Yang},
  year   = {2022},
  eprint = {2204.07962},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.07962}
}

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/2204.07962.svg)](https://codeofpaper.com/paper/2204.07962)

Discussion