mlsanityData to 7 Oct 2026

Vision Transformers are Robust Learners

arXiv 2105.07581 ↗First posted 17 May 2021cs.CV cs.LGcited by 208

Not on the map. Why?

Abstract (arXiv)

Transformers, composed of multiple self-attention layers, hold strong promises toward a generic learning primitive applicable to different data modalities, including the recent breakthroughs in computer vision achieving state-of-the-art (SOTA) standard accuracy. What remains largely unexplored is their robustness evaluation and attribution. In this work, we study the robustness of the Vision Transformer (ViT) against common corruptions and perturbations, distribution shifts, and natural adversarial examples. We use six different diverse ImageNet datasets concerning robust classification to conduct a comprehensive performance comparison of ViT models and SOTA convolutional neural networks (CNNs), Big-Transfer. Through a series of six systematically designed experiments, we then present analyses that provide both quantitative and qualitative indications to explain why ViTs are indeed more robust learners. For example, with fewer parameters and similar dataset and pre-training combinations, ViT gives a top-1 accuracy of 28.10% on ImageNet-A which is 4.3x higher than a comparable variant of BiT. Our analyses on image masking, Fourier spectrum sensitivity, and spread on discrete cosine energy spectrum reveal intriguing properties of ViT attributing to improved robustness. Code for reproducing our experiments is available at https://git.io/J3VO0.

Key facts. Cited by 208 papers in the map (data through 7 Oct 2026). Builds on 56 of its 72 references that are in the map. First posted on arXiv 17 May 2021.

Builds on

56 of 72 references.

References · 56

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  5. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  6. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  9. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  10. 2020End-to-End Object Detection with Transformerscited by 7,384
  11. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  12. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
38 more
  1. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  2. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  3. 2016Layer Normalizationcited by 5,579
  4. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  6. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  7. 2016Wide Residual Networkscited by 3,057
  8. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  9. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  10. 2016Identity Mappings in Deep Residual Networkscited by 1,960
  11. 2016Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Networkcited by 1,898
  12. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  13. 2017Improved Regularization of Convolutional Neural Networks with Cutoutcited by 1,623
  14. 2018Group Normalizationcited by 1,514
  15. 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,430
  16. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
  17. 2019Natural Adversarial Examplescited by 1,401
  18. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
  19. 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
  20. 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
  21. 2018ESRGAN: Enhanced Super-Resolution Generative Adversarial Networkscited by 1,250
  22. 2016Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Networkcited by 1,199
  23. 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,127
  24. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  25. 2016Deep Networks with Stochastic Depthcited by 973
  26. 2020Designing Network Design Spacescited by 954
  27. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
  28. 2018Image Transformercited by 770
  29. 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
  30. 2020Quantifying Attention Flow in Transformerscited by 759
  31. 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 604
  32. 2019Unlabeled Data Improves Adversarial Robustnesscited by 415
  33. 2019Selective Kernel Networkscited by 401
  34. 2020Noise or Signal: The Role of Image Backgrounds in Object Recognitioncited by 342
  35. 2019A Fourier Perspective on Model Robustness in Computer Visioncited by 288
  36. 2021Understanding Robustness of Transformers for Image Classificationcited by 250
  37. 2021On the Robustness of Vision Transformers to Adversarial Examplescited by 167
  38. 2018Gather-Excite: Exploiting Feature Context in Convolutional Neural Networkscited by 138

50 most cited of 56 All 56 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 27; 2022: 65; 2023: 50; 2024: 31; 2025: 20; 2026: 15.

208 papers.

Sort:

By area:

  1. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
  2. 2021Intriguing Properties of Vision Transformerscited by 446
  3. 2022Multimodal Learning with Transformers: A Surveycited by 399
  4. 2022How Do Vision Transformers Work?cited by 305
  5. 2021DAFormer: Improving Network Architectures and Training Strategies for Domain-Adaptive Semantic Segmentationcited by 299
  6. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  7. 2022Transformers in Medical Imaging: A Surveycited by 245
  8. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
  9. 2021Are Transformers More Robust Than CNNs?cited by 187
  10. 2021StyTr2: Image Style Transfer with Transformerscited by 186
  11. 2022Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNscited by 155
  12. 2022Understanding The Robustness in Vision Transformerscited by 144
38 more
  1. 2021Rethinking Architecture Design for Tackling Data Heterogeneity in Federated Learningcited by 111
  2. 2024EMR-Merging: Tuning-Free High-Performance Model Mergingcited by 108
  3. 2022Vision Transformers provably learn spatial structurecited by 92
  4. 2021Delving Deep into the Generalization of Vision Transformers under Distribution Shiftscited by 85
  5. 2023A Comprehensive Study on Robustness of Image Classification Models: Benchmarking and Rethinkingcited by 85
  6. 2021Towards Transferable Adversarial Attacks on Vision Transformerscited by 80
  7. 2021RobustART: Benchmarking Robustness on Architecture Design and Training Techniquescited by 78
  8. 2022What do Vision Transformers Learn? A Visual Explorationcited by 75
  9. 2021On Improving Adversarial Transferability of Vision Transformerscited by 70
  10. 2022Delving into Masked Autoencoders for Multi-Label Thorax Disease Classificationcited by 65
  11. 2023FasterViT: Fast Vision Transformers with Hierarchical Attentioncited by 65
  12. 2022A Light Recipe to Train Robust Vision Transformerscited by 64
  13. 2021PatchCleanser: Certifiably Robust Defense against Adversarial Patches for Any Image Classifiercited by 63
  14. 2022Video Transformers: A Surveycited by 63
  15. 2021Adversarial Robustness Comparison of Vision Transformer and MLP-Mixer to CNNscited by 57
  16. 2022A Comprehensive Study of Image Classification Model Sensitivity to Foregrounds, Backgrounds, and Visual Attributescited by 56
  17. 2022Assaying Out-Of-Distribution Generalization in Transfer Learningcited by 53
  18. 2022Architecture Matters in Continual Learningcited by 46
  19. 2022Teaching Matters: Investigating the Role of Supervision in Vision Transformerscited by 45
  20. 2021Reveal of Vision Transformers Robustness against Adversarial Attackscited by 43
  21. 2022EfficientTrain: Exploring Generalized Curriculum Learning for Training Visual Backbonescited by 42
  22. 2023A survey on efficient vision transformers: algorithms, techniques, and performance benchmarkingcited by 41
  23. 2021Understanding and Improving Robustness of Vision Transformers through Patch-based Negative Augmentationcited by 40
  24. 2021Are Vision Transformers Robust to Patch Perturbations?cited by 39
  25. 2022Can CNNs Be More Robust Than Transformers?cited by 38
  26. 2022How to Understand Masked Autoencoderscited by 37
  27. 2022Are Vision Transformers Robust to Spurious Correlations?cited by 36
  28. 2024RIGID: A Training-free and Model-Agnostic Framework for Robust AI-Generated Image Detectioncited by 36
  29. 2022CLAD: A realistic Continual Learning benchmark for Autonomous Drivingcited by 35
  30. 2021Discrete Representations Strengthen Vision Transformer Robustnesscited by 34
  31. 2022An Impartial Take to the CNN vs Transformer Robustness Contestcited by 34
  32. 2023COCO-O: A Benchmark for Object Detectors under Natural Distribution Shiftscited by 34
  33. 2022FedTune: A Deep Dive into Efficient Federated Fine-Tuning with Pre-trained Transformerscited by 33
  34. 2023HGFormer: Hierarchical Grouping Transformer for Domain Generalized Semantic Segmentationcited by 31
  35. 2023Benchmarking Robustness of Adaptation Methods on Pre-trained Vision-Language Modelscited by 30
  36. 2022Towards Efficient Adversarial Training on Vision Transformerscited by 29
  37. 2021Noisy Feature Mixupcited by 27
  38. 2022ViT-CX: Causal Explanation of Vision Transformerscited by 27

50 most cited of 208 All 208 (JSON)