Skip to main content
QUICK REVIEW

[Paper Review] A Comprehensive Study of Vision Transformers in Image Classification Tasks

Mahmoud I. Khalil, Khalil Ahmad|arXiv (Cornell University)|Dec 2, 2023
Machine Learning and Data ClassificationComputer Science7 citations
TL;DR

This paper presents a comprehensive survey of Vision Transformers (ViTs) in image classification, tracing their evolution from early self-attention adaptations to state-of-the-art models like ViT, Swin Transformer, DeiT, and iGPT. It evaluates performance across benchmarks such as ImageNet, CIFAR-10, and Flowers, highlighting ViT-Base/16 achieving 77.99% top-1 accuracy and Swin-L attaining 87.32% on ImageNet-Real, while identifying key challenges in efficiency, evaluation consistency, and generalization.

ABSTRACT

Image Classification is a fundamental task in the field of computer vision that frequently serves as a benchmark for gauging advancements in Computer Vision. Over the past few years, significant progress has been made in image classification due to the emergence of deep learning. However, challenges still exist, such as modeling fine-grained visual information, high computation costs, the parallelism of the model, and inconsistent evaluation protocols across datasets. In this paper, we conduct a comprehensive survey of existing papers on Vision Transformers for image classification. We first introduce the popular image classification datasets that influenced the design of models. Then, we present Vision Transformers models in chronological order, starting with early attempts at adapting attention mechanism to vision tasks followed by the adoption of vision transformers, as they have demonstrated success in capturing intricate patterns and long-range dependencies within images. Finally, we discuss open problems and shed light on opportunities for image classification to facilitate new research ideas.

Motivation & Objective

  • To provide a systematic review of Vision Transformer models in image classification, covering their architectural evolution and performance across datasets.
  • To analyze the impact of attention mechanisms and self-attention in replacing convolutional operations for visual representation learning.
  • To compare the accuracy and efficiency of leading ViT-based models on standard benchmarks including ImageNet, CIFAR-10, CIFAR-100, and Flowers.
  • To identify persistent challenges in evaluation protocols, computational cost, and model generalization across datasets.
  • To highlight emerging trends such as multimodal pretraining (e.g., CLIP, iGPT) and efficiency-boosting techniques (e.g., ToMe, Hiera) for ViTs.

Proposed method

  • Surveying 100+ papers on Vision Transformers, the study organizes models chronologically from early self-attention applications to modern ViT variants.
  • Classifying models into three trends: (1) pure ViT variants (e.g., ViT, DeiT, CaiT), (2) hierarchical models (e.g., Swin Transformer), and (3) multimodal or efficient variants (e.g., iGPT, ToMe).
  • Benchmarking models using standard metrics: top-1 accuracy on ImageNet and ImageNet-Real, mAP for multi-label tasks, and accuracy on CIFAR and Flowers.
  • Evaluating models under consistent protocols: data augmentation (random crops, flips, color jittering), random sampling, and adherence to standard evaluation pipelines.
  • Comparing model efficiency and accuracy via reported results across multiple datasets, including ResNet baselines and ViT variants of varying depth and patch size.
  • Analyzing architectural innovations such as patch embedding, class token, positional encoding, and cross-attention mechanisms in models like CaiT and DeiT.

Experimental results

Research questions

  • RQ1How have Vision Transformer architectures evolved from early self-attention applications to modern state-of-the-art models in image classification?
  • RQ2What is the comparative performance of Vision Transformers versus convolutional networks (e.g., ResNet) across standard benchmarks like ImageNet and CIFAR?
  • RQ3To what extent do multimodal pretraining approaches (e.g., iGPT, CLIP) improve zero-shot generalization in image classification without fine-tuning?
  • RQ4How do efficiency-focused methods like ToMe and Hiera improve inference speed and throughput without retraining ViT models?
  • RQ5What are the persistent challenges in evaluation consistency, computational cost, and modeling fine-grained visual details in ViT-based models?

Key findings

  • ViT-Base/16 achieved 77.99% top-1 accuracy on ImageNet and 88.10% on ImageNet-Real, demonstrating strong performance with minimal inductive bias.
  • Swin-L achieved 87.32% top-1 accuracy on ImageNet-Real, outperforming ViT-Base/16 and highlighting the benefits of hierarchical, local attention.
  • DeiT-Base with 384×384 input resolution reached 84.90% top-1 accuracy on ImageNet, showing improved performance with larger input resolution.
  • iGPT-L achieved 89.0% accuracy on CIFAR-10 and 88.51% on CIFAR-100, indicating strong performance despite being pre-trained on image generation.
  • EfficientNet-B7 achieved 84.30% top-1 accuracy on ImageNet and 89.20% on ImageNet-Real, serving as a strong CNN baseline for comparison.
  • Swin-T, Swin-S, and Swin-B models showed consistent performance gains with increasing depth and width, with Swin-B reaching 84.52% on ImageNet and 89.00% on ImageNet-Real.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.