CoChat

Transformers in Vision: A Survey

Open access

The DOI matches its Crossref record; 306 of the 306 references it cites were found in a registry or an index.

Abstract

Astounding results from Transformer models on natural language tasks have intrigued the vision community to study their application to computer vision problems. Among their salient benefits, Transformers enable modeling long dependencies between input sequence elements and support parallel processing of sequence as compared to recurrent networks, e.g., Long short-term memory. Different from convolutional networks, Transformers require minimal inductive biases for their design and are naturally suited as set-functions. Furthermore, the straightforward design of Transformers allows processing multiple modalities (e.g., images, videos, text, and speech) using similar processing blocks and demonstrates excellent scalability to very large capacity networks and huge datasets. These strengths have led to exciting progress on a number of vision tasks using Transformer networks. This survey aims to provide a comprehensive overview of the Transformer models in the computer vision discipline. We start with an introduction to fundamental concepts behind the success of Transformers, i.e., self-attention, large-scale pre-training, and bidirectional feature encoding. We then cover extensive applications of transformers in vision including popular recognition tasks (e.g., image classification, object detection, action recognition, and segmentation), generative modeling, multi-modal tasks (e.g., visual-question answering, visual reasoning, and visual grounding), video processing (e.g., activity recognition, video forecasting), low-level vision (e.g., image super-resolution, image enhancement, and colorization), and three-dimensional analysis (e.g., point cloud classification and segmentation). We compare the respective advantages and limitations of popular techniques both in terms of architectural design and their experimental value. Finally, we provide an analysis on open research directions and possible future works. We hope this effort will ignite further interest in the community to solve current challenges toward the application of transformer models in computer vision.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1145/3505244

Cites

306 of 306 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Research works printed but not linked: 30

  1. Anonymous. 2022. Patches are all you need? In ICLR.
  2. [225] M. Zaheer, S. Kottur, S. Ravanbakhsh, B. Poczos, R. R. Salakhutdinov, and A. J. Smola, 'Deep sets,' in NeurIPS , 2017. -
  3. Gedas Bertasius, Heng Wang, and Lorenzo Torresani. 2021. Is space-time attention all you need for video understanding? In ICML.
  4. [18] R. Girdhar, J. Carreira, C. Doersch, and A. Zisserman, 'Video action transformer network,' in CVPR , 2019. -
  5. [126] R. Girshick, 'Fast R-CNN,' in ICCV , 2015. -
  6. [54] I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. WardeFarley, S. Ozair, A. Courville, and Y. Bengio, 'Generative adversarial nets,' in NeurIPS , 2014. -
  7. [127] K. He, G. Gkioxari, P. Doll´ ar, and R. Girshick, 'Mask R-CNN,' in ICCV , 2017. -
  8. Olivier J. Hénaff, Aravind Srinivas, Jeffrey De Fauw, Ali Razavi, Carl Doersch, S. M. Eslami, and Aaron van den Oord. 2019. Data-efficient image recognition with contrastive predictive coding. arXiv:1905.09272. Retrieved from https://arxiv.org/abs/1905.09272. · arXiv
  9. 10.1145/10.1109/wacv.2018.00092 · doi:10.1145/10.1109/wacv.2018.00092
  10. [177] C. Ledig, L. Theis, F. Husz´ ar, J. Caballero, A. Cunningham, A. Acosta, A. Aitken, A. Tejani, J. Totz, Z. Wang, et al. , 'Photorealistic single image super-resolution using a generative adversarial network,' in CVPR , 2017. -
  11. [44] X. Li, X. Yin, C. Li, P. Zhang, X. Hu, L. Zhang, L. Wang, H. Hu, L. Dong, F. Wei, et al. , 'Oscar: Object-semantics aligned pretraining for vision-language tasks,' in ECCV , 2020. -
  12. 10.1145/10.1109/tpami.2019.2916873 · doi:10.1145/10.1109/tpami.2019.2916873
  13. [202] P. Zhang, X. Li, X. Hu, J. Yang, L. Zhang, L. Wang, Y. Choi, and J. Gao, 'Vinvl: Revisiting visual representations in visionlanguage models,' in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition , pp. 5579-5588, 2021. -
  14. [142] N. Parmar, A. Vaswani, J. Uszkoreit, Ł. Kaiser, N. Shazeer, A. Ku, and D. Tran, 'Image transformer,' in ICML , 2018. -
  15. [4] A. Radford, K. Narasimhan, T. Salimans, and I. Sutskever, 'Improving language understanding by generative pre-training,' tech. rep., OpenAI, 2018. -
  16. [5] A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, and I. Sutskever, 'Language models are unsupervised multitask learners,' tech. rep., OpenAI, 2019. -
  17. [20] A. Ramesh, M. Pavlov, G. Goh, and S. Gray, 'DALL·E: Creating images from text,' tech. rep., OpenAI, 2021. -
  18. Christian Szegedy, Vincent Vanhoucke, Sergey Ioffe, Jon Shlens, and Zbigniew Wojna. 2016. Rethinking the inception architecture for computer vision. In CVPR. 2818–2826.
  19. Ilya Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer, Xiaohua Zhai, Thomas Unterthiner, Jessica Yung, Andreas Peter Steiner, Daniel Keysers, Jakob Uszkoreit, et al. 2021. Mlp-mixer: An all-mlp architecture for vision. In NIPS.
  20. [39] H. Zhang, I. Goodfellow, D. Metaxas, and A. Odena, 'Selfattention generative adversarial networks,' in International conference on machine learning , pp. 7354-7363, PMLR, 2019. -
  21. [40] J. P´ erez, J. Marinkovi´ c, and P. Barcel´ o, 'On the turing completeness of modern neural network architectures,' in International Conference on Learning Representations , 2018. -
  22. [41] J.-B. Cordonnier, A. Loukas, and M. Jaggi, 'On the relationship between self-attention and convolutional layers,' in International Conference on Learning Representations , 2019. -
  23. [42] J. Dai, H. Qi, Y. Xiong, Y. Li, G. Zhang, H. Hu, and Y. Wei, 'Deformable convolutional networks,' in Proceedings of the IEEE international conference on computer vision , pp. 764-773, 2017. -
  24. Xiaolei Wu, Zhihao Hu, Lu Sheng, and Dong Xu. 2021. StyleFormer: Real-time arbitrary style transfer via parametric style composition. In ICCV. 14618–14627.
  25. [252] Y. Xiong, Z. Zeng, R. Chakraborty, M. Tan, G. Fung, Y. Li, and V. Singh, 'Nystr \ ' omformer: A nystr \ ' om-based algorithm for approximating self-attention,' in AAAI , 2021. -
  26. [139] L. Yu, P. Poirson, S. Yang, A. C. Berg, and T. L. Berg, 'Modeling context in referring expressions,' in ECCV , 2016. -
  27. [36] Z. Liu, Y. Lin, Y. Cao, H. Hu, Y. Wei, Z. Zhang, S. Lin, and B. Guo, 'Swin transformer: Hierarchical vision transformer using shifted windows,' arXiv preprint arXiv:2103.14030 , 2021. - · arXiv
  28. [241] B. A. Plummer, L. Wang, C. M. Cervantes, J. C. Caicedo, J. Hockenmaier, and S. Lazebnik, 'Flickr30k entities: Collecting regionto-phrase correspondences for richer image-to-sentence models,' in ICCV , 2015. -
  29. [52] C. Ledig, L. Theis, F. Husz´ ar, J. Caballero, A. Cunningham, A. Acosta, A. Aitken, A. Tejani, J. Totz, Z. Wang, et al. , 'Photorealistic single image super-resolution using a generative adversarial network,' in CVPR , 2017. -
  30. [15] L. Ye, M. Rochan, Z. Liu, and Y. Wang, 'Cross-modal selfattention network for referring image segmentation,' in CVPR , 2019. -

Cited by

See all 3,595

Metadata

Authors
Khan, S., Naseer, M., Hayat, M., Zamir, S. W., Khan, F. S., & Shah, M.
Affiliations
  • Australian National University (AU)
  • Monash University (AU)
  • Inception Institute of Artificial Intelligence (AE)
  • Linköping University (SE)
  • University of Central Florida (US)
Venue
ACM Computing Surveys
Published
2022-01-31
Volume
54
Issue
10s
Pages
1-41
ISSN
  • 0360-0300 (ISSN-L)
  • 1557-7341
OpenAlex
W3119997354
Cited by
3,595
References
286
Citations by year
2026: 670 · 2025: 1005 · 2024: 825 · 2023: 637 · 2022: 328
FWCI
228.62
Type
journal article
Language
en
Open access
Locations
  • ACM Computing Surveys (publishedVersion)
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Multimodal Machine Learning Applications
  • Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
Keywords
vision transformer, self-attention, pre-training, image classification, object detection, human action recognition, semantic segmentation, generative models, visual question answering, visual reasoning, visual grounding, activity recognition, image super-resolution, image enhancement, image colorization, point cloud classification, point cloud segmentation, multimodal processing, long-range dependencies

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.