mlsanityData to 7 Oct 2026

Which Transformer to Favor: A Comparative Analysis of Efficiency in Vision Transformers

arXiv 2308.09372 ↗First posted 18 Aug 2023cs.CV cs.AI cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

Self-attention in Transformers comes with a high computational cost because of their quadratic computational complexity, but their effectiveness in addressing problems in language and vision has sparked extensive research aimed at enhancing their efficiency. However, diverse experimental conditions, spanning multiple input domains, prevent a fair comparison based solely on reported results, posing challenges for model selection. To address this gap in comparability, we perform a large-scale benchmark of more than 45 models for image classification, evaluating key efficiency aspects, including accuracy, speed, and memory usage. Our benchmark provides a standardized baseline for efficiency-oriented transformers. We analyze the results based on the Pareto front -- the boundary of optimal models. Surprisingly, despite claims of other models being more efficient, ViT remains Pareto optimal across multiple metrics. We observe that hybrid attention-CNN models exhibit remarkable inference memory- and parameter-efficiency. Moreover, our benchmark shows that using a larger model in general is more efficient than using higher resolution images. Thanks to our holistic evaluation, we provide a centralized resource for practitioners and researchers, facilitating informed decisions when selecting or developing efficient transformers.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 70 of its 93 references that are in the map. First posted on arXiv 18 Aug 2023.

Builds on

70 of 93 references.

References · 70

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  7. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  8. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
  9. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  10. 2020Rethinking Attention with Performerscited by 1,584
  11. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  12. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
38 more
  1. 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
  2. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
  3. 2021Transformers in Vision: A Surveycited by 1,009
  4. 2022Token Merging: Your ViT But Fastercited by 995
  5. 2021Scaling Vision Transformerscited by 993
  6. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  7. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
  8. 2020Efficient Transformers: A Surveycited by 784
  9. 2021Going deeper with Image Transformerscited by 759
  10. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  11. 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
  12. 2020A Survey on Visual Transformercited by 653
  13. 2021ImageNet-21K Pretraining for the Massescited by 607
  14. 2022Transformers in Time Series: A Surveycited by 489
  15. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  16. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  17. 2022DeiT III: Revenge of the ViTcited by 417
  18. 2022Multimodal Learning with Transformers: A Surveycited by 399
  19. 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 360
  20. 2022Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizationscited by 359
  21. 2021FNet: Mixing Tokens with Fourier Transformscited by 343
  22. 2021XCiT: Cross-Covariance Image Transformerscited by 335
  23. 2021Global Filter Networks for Image Classificationcited by 257
  24. 2020Sparse Sinkhorn Attentioncited by 250
  25. 2022Transformers in Medical Imaging: A Surveycited by 245
  26. 2021Co-Scale Conv-Attentional Image Transformerscited by 224
  27. 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
  28. 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 204
  29. 2022Focal Modulation Networkscited by 186
  30. 2023FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterizationcited by 161
  31. 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
  32. 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 128
  33. 2021TokenLearner: What Can 8 Learned Tokens Do for Images and Videos?cited by 127
  34. 2022Rethinking Vision Transformers for MobileNet Size and Speedcited by 121
  35. 2021A Survey of Visual Transformerscited by 117
  36. 2016An Analysis of Deep Neural Network Models for Practical Applicationscited by 114
  37. 2021The Efficiency Misnomercited by 98
  38. 2022Wave-ViT: Unifying Wavelet and Transformers for Visual Representation Learningcited by 78

50 most cited of 70 All 70 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 5.

9 papers.