Exploring Plain Vision Transformer Backbones for Object Detection

Abstract

We explore the plain, non-hierarchical Vision Transformer (ViT) as a backbone network for object detection. This design enables the original ViT architecture to be fine-tuned for object detection without needing to redesign a hierarchical backbone for pre-training. With minimal adaptations for fine-tuning, our plain-backbone detector can achieve competitive results. Surprisingly, we observe: (i) it is sufficient to build a simple feature pyramid from a single-scale feature map (without the common FPN design) and (ii) it is sufficient to use window attention (without shifting) aided with very few cross-window propagation blocks. With plain ViT backbones pre-trained as Masked Autoencoders (MAE), our detector, named ViTDet, can compete with the previous leading methods that were all based on hierarchical backbones, reaching up to 61.3 AP_box on the COCO dataset using only ImageNet-1K pre-training. We hope our study will draw attention to research on plain-backbone detectors. Code for ViTDet is available in Detectron2.

Cite

Text

Li et al. "Exploring Plain Vision Transformer Backbones for Object Detection." Proceedings of the European Conference on Computer Vision (ECCV), 2022. doi:10.1007/978-3-031-20077-9_17

Markdown

[Li et al. "Exploring Plain Vision Transformer Backbones for Object Detection." Proceedings of the European Conference on Computer Vision (ECCV), 2022.](https://mlanthology.org/eccv/2022/li2022eccv-exploring/) doi:10.1007/978-3-031-20077-9_17

BibTeX

@inproceedings{li2022eccv-exploring,
  title     = {{Exploring Plain Vision Transformer Backbones for Object Detection}},
  author    = {Li, Yanghao and Mao, Hanzi and Girshick, Ross and He, Kaiming},
  booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
  year      = {2022},
  doi       = {10.1007/978-3-031-20077-9_17},
  url       = {https://mlanthology.org/eccv/2022/li2022eccv-exploring/}
}