A Survey on Vision Transformer
Kai HanYunhe WangHanting ChenXinghao ChenJianyuan GuoZhenhua LiuYehui TangAn XiaoChunjing XuYixing Xu
Categorizes vision transformer models across high-level, low-level, and video processing tasks, analyzing their architectural trade-offs against convolutional networks and detailing efficient designs for real-world deployment.
A survey on visual transformers reviews the rapid adoption of transformer architectures, originally developed for natural language processing, across a wide range of computer vision tasks. The work addresses the challenge that the fast proliferation of new models has made it difficult for researchers and practitioners to track progress, compare approaches, or identify promising directions amid growing interest in alternatives to convolutional and recurrent networks.
The document sets out to deliver a structured overview of transformer-based models for vision by grouping them according to primary application areas, while also examining the underlying self-attention mechanism and methods for improving efficiency.
The authors conducted a literature review that focuses on representative early, pioneering, or influential works published through mid-2023. They draw on published results from standard benchmarks such as ImageNet for classification, COCO for detection, and various video and low-level vision datasets, and they organize findings into categories that include backbone networks, high- and mid-level vision, low-level vision, video processing, multi-modal tasks, and model compression techniques.
The review shows that pure transformer models such as ViT achieve competitive or superior accuracy to CNNs on image classification when pre-trained on large datasets, with top-1 accuracy on ImageNet reaching 88 percent after JFT-300M pre-training. Hybrid designs that combine convolutions with attention improve locality and training stability while retaining global modeling benefits. In object detection, set-prediction frameworks such as DETR and its deformable variant match or exceed established CNN detectors with fewer hand-crafted components, though they initially require longer training. Similar gains appear in segmentation, pose estimation, image generation, and video tasks, where transformers capture long-range spatial and temporal dependencies more directly than prior architectures. Efficiency methods, including pruning, distillation, quantization, and sparse attention, reduce memory and compute demands but still lag behind the most compact CNNs.
These results indicate that transformers can serve as a flexible backbone or end-to-end solution for many vision problems, often with reduced reliance on vision-specific inductive biases. The shift enables more unified modeling across tasks and modalities, yet it also raises questions about data efficiency, robustness, and deployment on resource-limited devices.
Further work is needed to design task-specific architectures, develop large-scale pre-training strategies comparable to those in language models, and create more effective compression techniques. Hybrid CNN-transformer models currently offer the strongest accuracy-efficiency trade-offs, but purely attention-based or even simpler feed-forward designs may prove viable with continued scaling.
The survey is necessarily selective and cannot encompass every preprint; the field continues to evolve quickly, so some performance numbers and architectural details may already be superseded by newer results. The synthesis rests on the cited empirical evidence and provides a reliable high-level map for decision makers evaluating transformer adoption.
- Paper: Attention Is All You Need, Ashish Vaswani et al. (2017). Reading the original foundational paper on the Transformer architecture is essential for understanding the self-attention mechanisms that vision transformers build upon.
- Paper: An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale, Alexey Dosovitskiy et al. (2021). This seminal work introducing the Vision Transformer (ViT) directly establishes the core methodology and baseline model that the survey reviews and categorizes.
- Paper: Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions, Wenhai Wang et al. (2021). This paper extends the survey's discussed vision transformer concepts by introducing a hierarchical pyramid architecture to overcome resolution limits in dense prediction tasks.
- Paper: Swin Transformer: Hierarchical Vision Transformer using Shifted Windows, Ze Liu et al. (2021). This work continues the evolution of vision transformers by developing shifted-window self-attention, serving as a direct architectural continuation of the models reviewed in the survey.
