mlsanityData to 7 Oct 2026

When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentations

arXiv 2106.01548 ↗First posted 3 Jun 2021cs.CV cs.LGcited by 259

Not on the map. Why?

Abstract (arXiv)

Vision Transformers (ViTs) and MLPs signal further efforts on replacing hand-wired features or inductive biases with general-purpose neural architectures. Existing works empower the models by massive data, such as large-scale pre-training and/or repeated strong data augmentations, and still report optimization-related problems (e.g., sensitivity to initialization and learning rates). Hence, this paper investigates ViTs and MLP-Mixers from the lens of loss geometry, intending to improve the models' data efficiency at training and generalization at inference. Visualization and Hessian reveal extremely sharp local minima of converged models. By promoting smoothness with a recently proposed sharpness-aware optimizer, we substantially improve the accuracy and robustness of ViTs and MLP-Mixers on various tasks spanning supervised, adversarial, contrastive, and transfer learning (e.g., +5.3% and +11.0% top-1 accuracy on ImageNet for ViT-B/16 and Mixer-B/16, respectively, with the simple Inception-style preprocessing). We show that the improved smoothness attributes to sparser active neurons in the first few layers. The resultant ViTs outperform ResNets of similar size and throughput when trained from scratch on ImageNet without large-scale pre-training or strong data augmentations. Model checkpoints are available at urlhttps://github.com/google-research/visiontransformer.

Key facts. Cited by 259 papers in the map (data through 7 Oct 2026). Builds on 53 of its 70 references that are in the map. First posted on arXiv 3 Jun 2021.

Builds on

53 of 70 references.

References · 53

  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. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  8. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  9. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  10. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  11. 2016Layer Normalizationcited by 5,579
  12. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
38 more
  1. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  2. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  3. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  4. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  5. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  6. 2020Supervised Contrastive Learningcited by 2,803
  7. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  8. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  9. 2021ViViT: A Video Vision Transformercited by 1,610
  10. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
  11. 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,609
  12. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  13. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  14. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
  15. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  16. 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
  17. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  18. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 916
  19. 2021Multiscale Vision Transformerscited by 896
  20. 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
  21. 2020Fast is better than free: Revisiting adversarial trainingcited by 723
  22. 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
  23. 2019Adversarial Training for Free!cited by 638
  24. 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 527
  25. 2021VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Textcited by 427
  26. 2021Pay Attention to MLPscited by 367
  27. 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 357
  28. 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
  29. 2020Are we done with ImageNet?cited by 329
  30. 2019Adversarial Examples Improve Image Recognitioncited by 283
  31. 2019Understanding and Robustifying Differentiable Architecture Searchcited by 176
  32. 2021Neural Architecture Search on ImageNet in Four GPU Hours: A Theoretically Inspired Perspectivecited by 168
  33. 2021Revisiting ResNets: Improved Training and Scaling Strategiescited by 158
  34. 2017Practical Gauss-Newton Optimisation for Deep Learningcited by 139
  35. 2017A Bayesian Perspective on Generalization and Stochastic Gradient Descentcited by 134
  36. 2018An Alternative View: When Does SGD Escape Local Minima?cited by 115
  37. 2020Stabilizing Differentiable Architecture Search via Perturbation-based Regularizationcited by 102
  38. 2018On the Relation Between the Sharpest Directions of DNN Loss and the SGD Step Lengthcited by 85

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 22; 2022: 74; 2023: 70; 2024: 48; 2025: 34; 2026: 11.

259 papers.

Sort:

By area:

  1. 2023Vision Transformers Need Registerscited by 844
  2. 2023Symbolic Discovery of Optimization Algorithmscited by 423
  3. 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 409
  4. 2022How Do Vision Transformers Work?cited by 305
  5. 2021Attention Mechanisms in Computer Vision: A Surveycited by 232
  6. 2021Are Transformers More Robust Than CNNs?cited by 187
  7. 2023Revisiting Class-Incremental Learning with Pre-Trained Models: Generalizability and Adaptivity are All You Needcited by 183
  8. 2022Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Modelscited by 172
  9. 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 171
  10. 2022TransGeo: Transformer Is All You Need for Cross-view Image Geo-localizationcited by 166
  11. 2021SPViT: Enabling Faster Vision Transformers via Soft Token Pruningcited by 165
  12. 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
38 more
  1. 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
  2. 2021Scaling Up Influence Functionscited by 130
  3. 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
  4. 2021Sharpness-Aware Minimization Improves Language Model Generalizationcited by 108
  5. 2022Improving Generalization in Federated Learning by Seeking Flat Minimacited by 98
  6. 2022Sharpness-Aware Training for Freecited by 95
  7. 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
  8. 2022Adaptive Gradient Methods at the Edge of Stabilitycited by 88
  9. 2022A Closer Look at Smoothness in Domain Adversarial Trainingcited by 85
  10. 2023Straightening Out the Straight-Through Estimator: Overcoming Optimization Challenges in Vector Quantized Networkscited by 80
  11. 2022When Do Flat Minima Optimizers Work?cited by 78
  12. 2021Is Attention Better Than Matrix Decomposition?cited by 75
  13. 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 75
  14. 2022Make Sharpness-Aware Minimization Stronger: A Sparsified Perturbation Approachcited by 70
  15. 2021Are we ready for a new paradigm shift? A Survey on Visual Deep MLPcited by 63
  16. 2022Video Transformers: A Surveycited by 63
  17. 2022ProtoPFormer: Concentrating on Prototypical Parts in Vision Transformers for Interpretable Image Recognitioncited by 63
  18. 2022Fast Finite Width Neural Tangent Kernelcited by 62
  19. 2022Sharp-MAML: Sharpness-Aware Model-Agnostic Meta Learningcited by 57
  20. 2022On the Maximum Hessian Eigenvalue and Generalizationcited by 57
  21. 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
  22. 2022On Pre-Training for Visuo-Motor Control: Revisiting a Learning-from-Scratch Baselinecited by 55
  23. 2022Assaying Out-Of-Distribution Generalization in Transfer Learningcited by 53
  24. 2021How Well Do Sparse Imagenet Models Transfer?cited by 50
  25. 2022PanGu-Coder: Program Synthesis with Function-Level Language Modelingcited by 47
  26. 2023Revisiting the Parameter Efficiency of Adapters from the Perspective of Precision Redundancycited by 44
  27. 2024SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise Attentioncited by 43
  28. 2022Improving Sharpness-Aware Minimization with Fisher Mask for Better Generalization on Language Modelscited by 42
  29. 2023PLASTIC: Improving Input and Label Plasticity for Sample Efficient Reinforcement Learningcited by 42
  30. 2022SAM as an Optimal Relaxation of Bayescited by 40
  31. 2024Denoising Vision Transformerscited by 40
  32. 2023Sharpness-Aware Minimization Leads to Low-Rank Featurescited by 38
  33. 2023A Survey on Efficient Training of Transformerscited by 37
  34. 2023Enhancing Sharpness-Aware Optimization Through Variance Suppressioncited by 37
  35. 2022The Principle of Diversity: Training Stronger Vision Transformers Calls for Reducing All Levels of Redundancycited by 35
  36. 2023What Can We Learn From The Selective Prediction And Uncertainty Estimation Performance Of 523 Imagenet Classifierscited by 35
  37. 2021Discrete Representations Strengthen Vision Transformer Robustnesscited by 34
  38. 2021Deep Active Learning by Leveraging Training Dynamicscited by 32

50 most cited of 259 All 259 (JSON)