Pyramid Adversarial Training Improves ViT Performance
Not on the map. Why?
Abstract (arXiv)
Aggressive data augmentation is a key component of the strong generalization capabilities of Vision Transformer (ViT). One such data augmentation technique is adversarial training (AT); however, many prior works have shown that this often results in poor clean accuracy. In this work, we present pyramid adversarial training (PyramidAT), a simple and effective technique to improve ViT's overall performance. We pair it with a "matched" Dropout and stochastic depth regularization, which adopts the same Dropout and stochastic depth configuration for the clean and adversarial samples. Similar to the improvements on CNNs by AdvProp (not directly applicable to ViT), our pyramid adversarial training breaks the trade-off between in-distribution accuracy and out-of-distribution robustness for ViT and related architectures. It leads to 1.82% absolute improvement on ImageNet clean accuracy for the ViT-B model when trained only on ImageNet-1K data, while simultaneously boosting performance on 7 ImageNet robustness metrics, by absolute numbers ranging from 1.76% to 15.68%. We set a new state-of-the-art for ImageNet-C (41.42 mCE), ImageNet-R (53.92%), and ImageNet-Sketch (41.04%) without extra data, using only the ViT-B/16 backbone and our pyramid adversarial training. Our code is publicly available at pyramidat.github.io.
Key facts. Cited by 39 papers in the map (data through 14 Oct 2026). Builds on 56 of its 67 references that are in the map. First posted on arXiv 30 Nov 2021.
Builds on
56 of 67 references.
References · 56
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2013Intriguing properties of neural networkscited by 5,155
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
38 more
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2021Vision Transformers for Dense Predictioncited by 1,803
- 2017Improved Regularization of Convolutional Neural Networks with Cutoutcited by 1,628
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,446
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,432
- 2019Natural Adversarial Examplescited by 1,408
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
- 2016Deep Networks with Stochastic Depthcited by 979
- 2016Adversarial Machine Learning at Scalecited by 936
- 2017Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learningcited by 920
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
- 2018Robustness May Be at Odds with Accuracycited by 880
- 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 678
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2021Intriguing Properties of Vision Transformerscited by 446
- 2019Unlabeled Data Improves Adversarial Robustnesscited by 416
- 2020Are we done with ImageNet?cited by 333
- 2019A Fourier Perspective on Model Robustness in Computer Visioncited by 288
- 2019Adversarial Examples Improve Image Recognitioncited by 286
- 2020AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradientscited by 283
- 2018Spatially Transformed Adversarial Examplescited by 195
- 2018Robustness via curvature regularization, and vice versacited by 175
- 2021On the Robustness of Vision Transformers to Adversarial Examplescited by 167
- 2020Understanding and Mitigating the Tradeoff Between Robustness and Accuracycited by 149
- 2019Adversarial Robustness through Local Linearizationcited by 146
- 2021Towards Robust Vision Transformercited by 137
- 2019Robust Neural Machine Translation with Doubly Adversarial Inputscited by 106
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2022: 16; 2023: 8; 2024: 12; 2025: 2; 2026: 1.
39 papers.
Sort:
By area:
- 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 76
- 2022LPT: Long-tailed Prompt Tuning for Image Classificationcited by 69
- 2023How Deep Learning Sees the World: A Survey on Adversarial Attacks & Defensescited by 66
- 2022A Light Recipe to Train Robust Vision Transformerscited by 64
- 2022Context-Aware Robust Fine-Tuningcited by 28
- 2022A simple, efficient and scalable contrastive masked autoencoder for learning visual representationscited by 25
- 2023Zero-Shot Learning by Harnessing Adversarial Samplescited by 24
- 2022Enhance the Visual Representation via Discrete Adversarial Trainingcited by 23
- 2023Seasoning Model Soups for Robustness to Adversarial and Natural Distribution Shiftscited by 23
- 2022A Comprehensive Study of the Robustness for LiDAR-based 3D Object Detectors against Adversarial Attackscited by 22
- 2022Revisiting adapters with adversarial trainingcited by 18
- 2024Manipulation Facing Threats: Evaluating Physical Vulnerabilities in End-to-End Vision Language Action Modelscited by 18
27 more
- 2022Improving Out-of-Distribution Generalization by Adversarial Training with Structured Priorscited by 17
- 2024HiKER-SGG: Hierarchical Knowledge Enhanced Robust Scene Graph Generationcited by 14
- 2022Infrared Image Super-Resolution: Systematic Review, and Future Trendscited by 11
- 2023Distilling Out-of-Distribution Robustness from Vision-Language Foundation Modelscited by 9
- 2024Intriguing Equivalence Structures of the Embedding Space of Vision Transformerscited by 8
- 2022Revisiting the Adversarial Robustness-Accuracy Tradeoff in Robot Learningcited by 7
- 2022Fast AdvPropcited by 6
- 2024Adversarial Training: A Surveycited by 6
- 2022Deeper Insights into the Robustness of ViTs towards Common Corruptionscited by 5
- 2022ColorSense: A Study on Color Vision in Machine Visual Recognitioncited by 5
- 2023Steerable Equivariant Representation Learningcited by 5
- 2024Few-Shot Unsupervised Implicit Neural Shape Representation Learning with Spatial Adversariescited by 5
- 2024Fully Attentional Networks with Self-emerging Token Labelingcited by 3
- 2025Robo-SGG: Exploiting Layout-Oriented Normalization and Restitution Can Improve Robust Scene Graph Generationcited by 3
- 2024Towards Robust Semantic Segmentation against Patch-based Attack via Attention Refinementcited by 2
- 2024Machine unlearning through fine-grained model parameters perturbationcited by 2
- 2024Intriguing Differences Between Zero-Shot and Systematic Evaluations of Vision-Language Transformer Modelscited by 2
- 2022Robustness and invariance properties of image classifierscited by 1
- 2023Blacksmith: Fast Adversarial Training of Vision Transformers via a Mixture of Single-step and Multi-step Methodscited by 1
- 2024Clarifying Myths About the Relationship Between Shape Bias, Accuracy, and Robustnesscited by 1
- 2024LPT++: Efficient Training on Mixture of Long-tailed Expertscited by 1
- 2022MixBoost: Improving the Robustness of Deep Neural Networks by Boosting Data Augmentationcited by 0
- 2023Infrared Image Super-Resolution via GANcited by 0
- 2023Universal Pyramid Adversarial Training for Improved ViT Performancecited by 0
- 2024EntProp: High Entropy Propagation for Improving Accuracy and Robustnesscited by 0
- 2025EasyRobust: A Comprehensive and Easy-to-use Toolkit for Robust and Generalized Visioncited by 0
- 2026Investigating Adversarial Robustness of Multi-modal Large Language Modelscited by 0
- 2026Investigating Adversarial Robustness of Multi-modal Large Language Models2 Jun 2026
- 2025Robo-SGG: Exploiting Layout-Oriented Normalization and Restitution Can Improve Robust Scene Graph Generation17 Apr 2025
- 2025EasyRobust: A Comprehensive and Easy-to-use Toolkit for Robust and Generalized Vision21 Mar 2025
- 2024Adversarial Training: A Survey19 Oct 2024
- 2024Manipulation Facing Threats: Evaluating Physical Vulnerabilities in End-to-End Vision Language Action Models20 Sep 2024
- 2024LPT++: Efficient Training on Mixture of Long-tailed Experts17 Sep 2024
- 2024Few-Shot Unsupervised Implicit Neural Shape Representation Learning with Spatial Adversaries27 Aug 2024
- 2024Clarifying Myths About the Relationship Between Shape Bias, Accuracy, and Robustness7 Jun 2024
- 2024EntProp: High Entropy Propagation for Improving Accuracy and Robustness29 May 2024
- 2024HiKER-SGG: Hierarchical Knowledge Enhanced Robust Scene Graph Generation18 Mar 2024
- 2024Intriguing Differences Between Zero-Shot and Systematic Evaluations of Vision-Language Transformer Models13 Feb 2024
- 2024Intriguing Equivalence Structures of the Embedding Space of Vision Transformers28 Jan 2024
27 more
- 2024Machine unlearning through fine-grained model parameters perturbation9 Jan 2024
- 2024Fully Attentional Networks with Self-emerging Token Labeling8 Jan 2024
- 2024Towards Robust Semantic Segmentation against Patch-based Attack via Attention Refinement3 Jan 2024
- 2023Universal Pyramid Adversarial Training for Improved ViT Performance26 Dec 2023
- 2023Infrared Image Super-Resolution via GAN1 Dec 2023
- 2023Distilling Out-of-Distribution Robustness from Vision-Language Foundation Models2 Nov 2023
- 2023Blacksmith: Fast Adversarial Training of Vision Transformers via a Mixture of Single-step and Multi-step Methods29 Oct 2023
- 2023Zero-Shot Learning by Harnessing Adversarial Samples1 Aug 2023
- 2023How Deep Learning Sees the World: A Survey on Adversarial Attacks & Defenses18 May 2023
- 2023Steerable Equivariant Representation Learning22 Feb 2023
- 2023Seasoning Model Soups for Robustness to Adversarial and Natural Distribution Shifts20 Feb 2023
- 2022Infrared Image Super-Resolution: Systematic Review, and Future Trends22 Dec 2022
- 2022A Comprehensive Study of the Robustness for LiDAR-based 3D Object Detectors against Adversarial Attacks20 Dec 2022
- 2022ColorSense: A Study on Color Vision in Machine Visual Recognition16 Dec 2022
- 2022MixBoost: Improving the Robustness of Deep Neural Networks by Boosting Data Augmentation8 Dec 2022
- 2022Context-Aware Robust Fine-Tuning29 Nov 2022
- 2022A simple, efficient and scalable contrastive masked autoencoder for learning visual representations30 Oct 2022
- 2022Improving Out-of-Distribution Generalization by Adversarial Training with Structured Priors13 Oct 2022
- 2022Revisiting adapters with adversarial training10 Oct 2022
- 2022LPT: Long-tailed Prompt Tuning for Image Classification3 Oct 2022
- 2022Enhance the Visual Representation via Discrete Adversarial Training16 Sep 2022
- 2022A Light Recipe to Train Robust Vision Transformers15 Sep 2022
- 2022Robustness and invariance properties of image classifiers30 Aug 2022
- 2022Deeper Insights into the Robustness of ViTs towards Common Corruptions26 Apr 2022
- 2022Fast AdvProp21 Apr 2022
- 2022Revisiting the Adversarial Robustness-Accuracy Tradeoff in Robot Learning15 Apr 2022
- 2022Improving Vision Transformers by Revisiting High-frequency Components3 Apr 2022
- 2024Manipulation Facing Threats: Evaluating Physical Vulnerabilities in End-to-End Vision Language Action Modelscited by 18
- 2023Distilling Out-of-Distribution Robustness from Vision-Language Foundation Modelscited by 9
- 2026Investigating Adversarial Robustness of Multi-modal Large Language Modelscited by 0
- 2026Investigating Adversarial Robustness of Multi-modal Large Language Models2 Jun 2026
- 2024Manipulation Facing Threats: Evaluating Physical Vulnerabilities in End-to-End Vision Language Action Models20 Sep 2024
- 2023Distilling Out-of-Distribution Robustness from Vision-Language Foundation Models2 Nov 2023
- 2024LPT++: Efficient Training on Mixture of Long-tailed Experts17 Sep 2024
- 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 76
- 2022LPT: Long-tailed Prompt Tuning for Image Classificationcited by 69
- 2023How Deep Learning Sees the World: A Survey on Adversarial Attacks & Defensescited by 66
- 2022A Light Recipe to Train Robust Vision Transformerscited by 64
- 2022Context-Aware Robust Fine-Tuningcited by 28
- 2022A simple, efficient and scalable contrastive masked autoencoder for learning visual representationscited by 25
- 2023Zero-Shot Learning by Harnessing Adversarial Samplescited by 24
- 2022Enhance the Visual Representation via Discrete Adversarial Trainingcited by 23
- 2023Seasoning Model Soups for Robustness to Adversarial and Natural Distribution Shiftscited by 23
- 2022A Comprehensive Study of the Robustness for LiDAR-based 3D Object Detectors against Adversarial Attackscited by 22
- 2022Revisiting adapters with adversarial trainingcited by 18
- 2022Improving Out-of-Distribution Generalization by Adversarial Training with Structured Priorscited by 17
12 most cited of 34 All 34 (JSON)
- 2025Robo-SGG: Exploiting Layout-Oriented Normalization and Restitution Can Improve Robust Scene Graph Generation17 Apr 2025
- 2025EasyRobust: A Comprehensive and Easy-to-use Toolkit for Robust and Generalized Vision21 Mar 2025
- 2024Adversarial Training: A Survey19 Oct 2024
- 2024Few-Shot Unsupervised Implicit Neural Shape Representation Learning with Spatial Adversaries27 Aug 2024
- 2024Clarifying Myths About the Relationship Between Shape Bias, Accuracy, and Robustness7 Jun 2024
- 2024EntProp: High Entropy Propagation for Improving Accuracy and Robustness29 May 2024
- 2024HiKER-SGG: Hierarchical Knowledge Enhanced Robust Scene Graph Generation18 Mar 2024
- 2024Intriguing Differences Between Zero-Shot and Systematic Evaluations of Vision-Language Transformer Models13 Feb 2024
- 2024Intriguing Equivalence Structures of the Embedding Space of Vision Transformers28 Jan 2024
- 2024Fully Attentional Networks with Self-emerging Token Labeling8 Jan 2024
- 2024Towards Robust Semantic Segmentation against Patch-based Attack via Attention Refinement3 Jan 2024
- 2023Universal Pyramid Adversarial Training for Improved ViT Performance26 Dec 2023
12 newest of 34 All 34 (JSON)