Conference Paper
Large Language Models

A Survey on Vision Transformer

Kai Han(Huawei Technologies (China)), Yunhe Wang(Huawei Technologies (China)), Hanting Chen(Huawei Technologies (China)), Xinghao Chen(Huawei Technologies (China)), Jianyuan Guo(Huawei Technologies (China)), Zhenhua Liu(Huawei Technologies (China)), Yehui Tang(Huawei Technologies (China)), An Xiao(Huawei Technologies (China)), Chunjing Xu(Huawei Technologies (China)), Yixing Xu(Huawei Technologies (China)), Zhaohui Yang(Huawei Technologies (China)), Yiman Zhang(Huawei Technologies (China)), Dacheng Tao(The University of Sydney)
February 18, 2022IEEE Transactions on Pattern Analysis and Machine Intelligence4,672 citations

4.7k

Citations

77

Influential Citations

IEEE Transactions on Pattern Analysis and Machine Intelligence

Venue

2022

Year

Abstract

Transformer, first applied to the field of natural language processing, is a type of deep neural network mainly based on the self-attention mechanism. Thanks to its strong representation capabilities, researchers are looking at ways to apply transformer to computer vision tasks. In a variety of visual benchmarks, transformer-based models perform similar to or better than other types of networks such as convolutional and recurrent neural networks. Given its high performance and less need for vision-specific inductive bias, transformer is receiving more and more attention from the computer vision community. In this paper, we review these vision transformer models by categorizing them in different tasks and analyzing their advantages and disadvantages. The main categories we explore include the backbone network, high/mid-level vision, low-level vision, and video processing. We also include efficient transformer methods for pushing transformer into real device-based applications. Furthermore, we also take a brief look at the self-attention mechanism in computer vision, as it is the base component in transformer. Toward the end of this paper, we discuss the challenges and provide several further research directions for vision transformers.

Analysis

Why This Paper Matters

The Vision Transformer (ViT) has emerged as a disruptive force in computer vision, challenging the long-standing dominance of convolutional neural networks (CNNs). This survey, published in IEEE TPAMI and cited over 4,600 times, arrives at a critical juncture when the community is rapidly adopting transformer architectures for visual tasks. By systematically categorizing and analyzing the growing body of vision transformer research, it provides a much-needed roadmap for both newcomers and seasoned researchers.

The paper's significance lies in its comprehensive scope, covering not only backbone networks but also high/mid-level vision tasks (e.g., detection, segmentation), low-level vision (e.g., super-resolution, denoising), and video processing. This breadth highlights the versatility of transformers and their potential to unify vision architectures. Moreover, the inclusion of efficient transformer methods addresses a key barrier to real-world deployment: computational cost. As AI practitioners increasingly seek models that balance performance and efficiency, this survey offers timely guidance.

Furthermore, the paper's discussion of self-attention mechanisms and the reduced need for vision-specific inductive biases underscores a paradigm shift. Transformers' ability to learn spatial relationships directly from data challenges traditional design principles, opening new avenues for research and application.

Technical Contributions

  • Taxonomy of Vision Transformers: The survey proposes a clear categorization of vision transformer models into four main areas: backbone networks, high/mid-level vision, low-level vision, and video processing. This taxonomy helps organize the literature and identify trends.
  • Analysis of Advantages and Disadvantages: For each category, the authors analyze the strengths and weaknesses of transformer-based approaches compared to CNNs and RNNs, providing insights into when and why transformers excel.
  • Efficient Transformer Methods: The paper reviews techniques for reducing computational complexity, such as sparse attention, low-rank approximations, and knowledge distillation, enabling deployment on resource-constrained devices.
  • Self-Attention Primer: It includes a concise overview of the self-attention mechanism, making the survey accessible to readers new to transformers.
  • Future Directions: The authors outline open challenges and promising research directions, including data efficiency, interpretability, and integration with other modalities.

Results

As a survey, the paper does not present new experimental results but synthesizes findings from existing literature. It reports that transformer-based models achieve comparable or superior performance to CNNs on benchmarks like ImageNet for image classification, COCO for object detection, and various video datasets. For instance, ViT models pre-trained on large datasets (e.g., JFT-300M) match or exceed state-of-the-art CNN performance. The survey also notes that efficient transformer variants reduce computational overhead while maintaining competitive accuracy, though often with trade-offs in interpretability or training complexity.

Significance

This survey has had a profound impact on the computer vision community by consolidating knowledge and highlighting the transformative potential of transformers. It has guided researchers in selecting appropriate architectures for specific tasks and inspired further work on efficient and generalizable vision models. The paper's emphasis on reducing inductive bias and leveraging large-scale pre-training has influenced the development of foundation models for vision, such as CLIP and DINO. As transformers continue to evolve, this survey remains a foundational reference for understanding the landscape and future challenges of vision transformers.