Vision Transformer Adapter for Dense Predictions

Zhe Chen, Yuchen Duan, Wenhai Wang, Junjun He, Tong Lu +2 more
5/17/2022
968 citations
cs.CV
transformer-attention

Official code: czczup/ViT-Adapter (1,512 stars, Python, last commit 2025-06-03).

Abstract

This work investigates a simple yet powerful dense prediction task adapter for Vision Transformer (ViT). Unlike recently advanced variants that incorporate vision-specific inductive biases into their architectures, the plain ViT suffers inferior performance on dense predictions due to weak prior assumptions.

Show full abstract

To address this issue, we propose the ViT-Adapter, which allows plain ViT to achieve comparable performance to vision-specific transformers. Specifically, the backbone in our framework is a plain ViT that can learn powerful representations from large-scale multi-modal data. When transferring to downstream tasks, a pre-training-free adapter is used to introduce the image-related inductive biases into the model, making it suitable for these tasks. We verify ViT-Adapter on multiple dense prediction tasks, including object detection, instance segmentation, and semantic segmentation. Notably, without using extra detection data, our ViT-Adapter-L yields state-of-the-art 60.9 box AP and 53.0 mask AP on COCO test-dev. We hope that the ViT-Adapter could serve as an alternative for vision-specific transformers and facilitate future research. The code and models will be released at https://github.com/czczup/ViT-Adapter.

View on arXivView PDF

Code Implementations(1)

czczup/ViT-AdapterOfficial100%

[ICLR 2023 Spotlight] Vision Transformer Adapter for Dense Predictions

1,512154Python, CudaMay 16, 20221 years agoNOASSERTION
adapterobject-detectionsemantic-segmentationvision-transformer

Similar Papers

Cite this paper

@article{chen2022vision,
  title  = {Vision Transformer Adapter for Dense Predictions},
  author = {Zhe Chen and Yuchen Duan and Wenhai Wang and Junjun He and Tong Lu and Jifeng Dai and Yu Qiao},
  year   = {2022},
  eprint = {2205.08534},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.08534}
}

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

Discussion