Adversarial Robustness Comparison of Vision Transformer and MLP-Mixer to CNNs
Not on the map. Why?
Abstract (arXiv)
Convolutional Neural Networks (CNNs) have become the de facto gold standard in computer vision applications in the past years. Recently, however, new model architectures have been proposed challenging the status quo. The Vision Transformer (ViT) relies solely on attention modules, while the MLP-Mixer architecture substitutes the self-attention modules with Multi-Layer Perceptrons (MLPs). Despite their great success, CNNs have been widely known to be vulnerable to adversarial attacks, causing serious concerns for security-sensitive applications. Thus, it is critical for the community to know whether the newly proposed ViT and MLP-Mixer are also vulnerable to adversarial attacks. To this end, we empirically evaluate their adversarial robustness under several adversarial attack setups and benchmark them against the widely used CNNs. Overall, we find that the two architectures, especially ViT, are more robust than their CNN models. Using a toy example, we also provide empirical evidence that the lower adversarial robustness of CNNs can be partially attributed to their shift-invariant property. Our frequency analysis suggests that the most robust ViT architectures tend to rely more on low-frequency features compared with CNNs. Additionally, we have an intriguing finding that MLP-Mixer is extremely vulnerable to universal adversarial perturbations.
Key facts. Cited by 57 papers in the map (data through 7 Oct 2026). Builds on 73 of its 83 references that are in the map. First posted on arXiv 6 Oct 2021.
Builds on
73 of 83 references.
References · 73
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2013Intriguing properties of neural networkscited by 5,114
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
38 more
- 2021TransUNet: Transformers Make Strong Encoders for Medical Image Segmentationcited by 1,552
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2016Adversarial Machine Learning at Scalecited by 934
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
- 2016Practical Black-Box Attacks against Machine Learningcited by 893
- 2017Ensemble Adversarial Training: Attacks and Defensescited by 833
- 2016Universal adversarial perturbationscited by 774
- 2018Image Transformercited by 770
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
- 2021Transformer in Transformercited by 632
- 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 604
- 2018Improving Transferability of Adversarial Examples with Input Diversitycited by 591
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2016Delving into Transferable Adversarial Examples and Black-box Attackscited by 530
- 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 499
- 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
- 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 459
- 2018Threat of Adversarial Attacks on Deep Learning in Computer Vision: A Surveycited by 459
- 2021Intriguing Properties of Vision Transformerscited by 446
- 2021TransReID: Transformer-based Object Re-Identificationcited by 432
- 2021Conditional Positional Encodings for Vision Transformerscited by 402
- 2019Making Convolutional Networks Shift-Invariant Againcited by 390
- 2020BAE: BERT-based Adversarial Examples for Text Classificationcited by 316
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
- 2019A Fourier Perspective on Model Robustness in Computer Visioncited by 288
- 2021Video Transformer Networkcited by 271
- 2021Understanding Robustness of Transformers for Image Classificationcited by 250
- 2019Simple Black-box Adversarial Attackscited by 249
- 2014Understanding image representations by measuring their equivariance and equivalencecited by 240
- 2021Gradient-based Adversarial Attacks against Text Transformerscited by 233
- 2019Billion-scale semi-supervised learning for image classificationcited by 232
50 most cited of 73 All 73 (JSON)
Built on by
Citing papers per year: 2021: 2; 2022: 20; 2023: 22; 2024: 6; 2025: 3; 2026: 4.
57 papers.
Sort:
By area:
- 2022Transformers in Medical Imaging: A Surveycited by 245
- 2023How Many Unicorns Are in This Image? A Safety Evaluation Benchmark for Vision LLMscited by 103
- 2022A Light Recipe to Train Robust Vision Transformerscited by 64
- 2022When Adversarial Training Meets Vision Transformers: Recipes from Training to Architecturecited by 64
- 2021Are we ready for a new paradigm shift? A Survey on Visual Deep MLPcited by 63
- 2022A Comprehensive Study of Image Classification Model Sensitivity to Foregrounds, Backgrounds, and Visual Attributescited by 56
- 2021Are Vision Transformers Robust to Patch Perturbations?cited by 39
- 2023ACTIVE: Towards Highly Transferable 3D Physical Camouflage for Universal and Robust Vehicle Evasioncited by 31
- 2023Robustness of SAM: Segment Anything Under Corruptions and Beyondcited by 30
- 2022Towards Efficient Adversarial Training on Vision Transformerscited by 29
- 2022Investigating Top-k White-Box and Transferable Black-box Attackcited by 26
- 2022Give Me Your Attention: Dot-Product Attention Considered Harmful for Adversarial Patch Robustnesscited by 23
38 more
- 2022Defending Backdoor Attacks on Vision Transformer via Patch Processingcited by 19
- 2023Robustifying Token Attention for Vision Transformerscited by 19
- 2023Robust Transformer with Locality Inductive Bias and Feature Normalizationcited by 12
- 2023Reliable Evaluation of Adversarial Transferabilitycited by 12
- 2023HybridAugment++: Unified Frequency Spectra Perturbations for Model Robustnesscited by 12
- 2023MIMIR: Masked Image Modeling for Mutual Information-based Adversarial Robustnesscited by 12
- 2024Benchmarking the Robustness of Temporal Action Detection Models Against Temporal Corruptionscited by 12
- 2024Exploring the Adversarial Robustness of CLIP for AI-generated Image Detectioncited by 11
- 2022Exploring Adversarial Robustness of Vision Transformers in the Spectral Perspectivecited by 8
- 2022Curved Representation Space of Vision Transformerscited by 8
- 2023On the Effectiveness of Spectral Discriminators for Perceptual Quality Improvementcited by 8
- 2022CLAD: A Contrastive Learning based Approach for Background Debiasingcited by 6
- 2022Finding Differences Between Transformers and ConvNets Using Counterfactual Simulation Testingcited by 6
- 2023CertViT: Certified Robustness of Pre-Trained Vision Transformerscited by 6
- 2023Attack-SAM: Towards Attacking Segment Anything Model With Adversarial Examplescited by 5
- 2022Understanding Adversarial Robustness of Vision Transformers via Cauchy Problemcited by 4
- 2022Empirical Advocacy of Bio-inspired Models for Robust Image Recognitioncited by 3
- 2022Toward Robust Diagnosis: A Contour Attention Preserving Adversarial Defense for COVID-19 Detectioncited by 3
- 2023RBFormer: Improve Adversarial Robustness of Transformer by Robust Biascited by 3
- 2022Robust Universal Adversarial Perturbationscited by 2
- 2023Learning to Generate Training Datasets for Robust Semantic Segmentationcited by 2
- 2023Mitigating Adversarial Attacks in Federated Learning with Trusted Execution Environmentscited by 2
- 2024Towards Robust Semantic Segmentation against Patch-based Attack via Attention Refinementcited by 2
- 2024On Evaluating Adversarial Robustness of Volumetric Medical Segmentation Modelscited by 2
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learnerscited by 2
- 2023Frequency-Based Vulnerability Analysis of Deep Learning Models against Image Corruptionscited by 1
- 2023Pelta: Shielding Transformers to Mitigate Evasion Attacks in Federated Learningcited by 1
- 2023Exploring Non-additive Randomness on ViT against Query-Based Black-Box Attackscited by 1
- 2023Tailoring Adversarial Attacks on Deep Neural Networks for Targeted Class Manipulation Using DeepFool Algorithmcited by 1
- 2023Attention Deficit is Ordered! Fooling Deformable Vision Transformers with Collaborative Adversarial Patchescited by 1
- 2024Impact of Regularization on Calibration and Robustness: from the Representation Space Perspectivecited by 1
- 2026PolicyGuard: Towards Test-time and Step-level Adversary (Backdoor) Defense for Reinforcement Learning Agentcited by 1
- 2022Boosting Adversarial Transferability of MLP-Mixercited by 0
- 2022Adversarial Robustness Assessment of NeuroEvolution Approachescited by 0
- 2022Attacking Compressed Vision Transformerscited by 0
- 2022Multi-Step Short-Term Wind Speed Prediction with Rank Pooling and Fast Fourier Transformationcited by 0
- 2023Inference Time Evidences of Adversarial Attacks for Forensic on Transformerscited by 0
- 2023Investigating the Robustness and Properties of Detection Transformers (DETR) Toward Difficult Imagescited by 0
50 most cited of 57 All 57 (JSON)
- 2026Adversarial Decoys: Misdirecting Attention-Based Defenses in ViT8 Jul 2026
- 2026PolicyGuard: Towards Test-time and Step-level Adversary (Backdoor) Defense for Reinforcement Learning Agent11 Jun 2026
- 2026Anatomy of a failure: When, how, and why deep vision fails in scientific domains5 May 2026
- 2026IU: Imperceptible Universal Backdoor Attack28 Feb 2026
- 2025Hands-on Evaluation of Visual Transformers for Object Recognition and Detection10 Dec 2025
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learners20 May 2025
- 2025Exploring Synergistic Ensemble Learning: Uniting CNNs, MLP-Mixers, and Vision Transformers to Enhance Image Classification12 Apr 2025
- 2024One Pixel is All I Need14 Dec 2024
- 2024Impact of Regularization on Calibration and Robustness: from the Representation Space Perspective5 Oct 2024
- 2024Exploring the Adversarial Robustness of CLIP for AI-generated Image Detection28 Jul 2024
- 2024On Evaluating Adversarial Robustness of Volumetric Medical Segmentation Models12 Jun 2024
- 2024Benchmarking the Robustness of Temporal Action Detection Models Against Temporal Corruptions29 Mar 2024
38 more
- 2024Towards Robust Semantic Segmentation against Patch-based Attack via Attention Refinement3 Jan 2024
- 2023MIMIR: Masked Image Modeling for Mutual Information-based Adversarial Robustness8 Dec 2023
- 2023How Many Unicorns Are in This Image? A Safety Evaluation Benchmark for Vision LLMs27 Nov 2023
- 2023Attention Deficit is Ordered! Fooling Deformable Vision Transformers with Collaborative Adversarial Patches21 Nov 2023
- 2023Tailoring Adversarial Attacks on Deep Neural Networks for Targeted Class Manipulation Using DeepFool Algorithm18 Oct 2023
- 2023The Efficacy of Transformer-based Adversarial Attacks in Security Domains17 Oct 2023
- 2023Investigating the Robustness and Properties of Detection Transformers (DETR) Toward Difficult Images12 Oct 2023
- 2023RBFormer: Improve Adversarial Robustness of Transformer by Robust Bias23 Sep 2023
- 2023Mitigating Adversarial Attacks in Federated Learning with Trusted Execution Environments13 Sep 2023
- 2023Exploring Non-additive Randomness on ViT against Query-Based Black-Box Attacks12 Sep 2023
- 2023ACTIVE: Towards Highly Transferable 3D Physical Camouflage for Universal and Robust Vehicle Evasion14 Aug 2023
- 2023Pelta: Shielding Transformers to Mitigate Evasion Attacks in Federated Learning8 Aug 2023
- 2023Learning to Generate Training Datasets for Robust Semantic Segmentation1 Aug 2023
- 2023On the Effectiveness of Spectral Discriminators for Perceptual Quality Improvement22 Jul 2023
- 2023HybridAugment++: Unified Frequency Spectra Perturbations for Model Robustness21 Jul 2023
- 2023Reliable Evaluation of Adversarial Transferability14 Jun 2023
- 2023Robustness of SAM: Segment Anything Under Corruptions and Beyond13 Jun 2023
- 2023Frequency-Based Vulnerability Analysis of Deep Learning Models against Image Corruptions12 Jun 2023
- 2023Attack-SAM: Towards Attacking Segment Anything Model With Adversarial Examples1 May 2023
- 2023Robustifying Token Attention for Vision Transformers20 Mar 2023
- 2023CertViT: Certified Robustness of Pre-Trained Vision Transformers1 Feb 2023
- 2023Inference Time Evidences of Adversarial Attacks for Forensic on Transformers31 Jan 2023
- 2023Robust Transformer with Locality Inductive Bias and Feature Normalization27 Jan 2023
- 2022Toward Robust Diagnosis: A Contour Attention Preserving Adversarial Defense for COVID-19 Detection30 Nov 2022
- 2022Finding Differences Between Transformers and ConvNets Using Counterfactual Simulation Testing29 Nov 2022
- 2022Multi-Step Short-Term Wind Speed Prediction with Rank Pooling and Fast Fourier Transformation23 Nov 2022
- 2022When Adversarial Training Meets Vision Transformers: Recipes from Training to Architecture14 Oct 2022
- 2022Curved Representation Space of Vision Transformers11 Oct 2022
- 2022CLAD: A Contrastive Learning based Approach for Background Debiasing6 Oct 2022
- 2022Attacking Compressed Vision Transformers28 Sep 2022
- 2022A Light Recipe to Train Robust Vision Transformers15 Sep 2022
- 2022Exploring Adversarial Robustness of Vision Transformers in the Spectral Perspective20 Aug 2022
- 2022Understanding Adversarial Robustness of Vision Transformers via Cauchy Problem1 Aug 2022
- 2022Towards Efficient Adversarial Training on Vision Transformers21 Jul 2022
- 2022Adversarial Robustness Assessment of NeuroEvolution Approaches12 Jul 2022
- 2022Defending Backdoor Attacks on Vision Transformer via Patch Processing24 Jun 2022
- 2022Robust Universal Adversarial Perturbations22 Jun 2022
- 2022Empirical Advocacy of Bio-inspired Models for Robust Image Recognition18 May 2022
50 newest of 57 All 57 (JSON)
- 2022Transformers in Medical Imaging: A Surveycited by 245
- 2022A Light Recipe to Train Robust Vision Transformerscited by 64
- 2022When Adversarial Training Meets Vision Transformers: Recipes from Training to Architecturecited by 64
- 2021Are we ready for a new paradigm shift? A Survey on Visual Deep MLPcited by 63
- 2022A Comprehensive Study of Image Classification Model Sensitivity to Foregrounds, Backgrounds, and Visual Attributescited by 56
- 2021Are Vision Transformers Robust to Patch Perturbations?cited by 39
- 2023ACTIVE: Towards Highly Transferable 3D Physical Camouflage for Universal and Robust Vehicle Evasioncited by 31
- 2023Robustness of SAM: Segment Anything Under Corruptions and Beyondcited by 30
- 2022Towards Efficient Adversarial Training on Vision Transformerscited by 29
- 2022Investigating Top-k White-Box and Transferable Black-box Attackcited by 26
- 2022Give Me Your Attention: Dot-Product Attention Considered Harmful for Adversarial Patch Robustnesscited by 23
- 2023Robustifying Token Attention for Vision Transformerscited by 19
12 most cited of 51 All 51 (JSON)
- 2026Adversarial Decoys: Misdirecting Attention-Based Defenses in ViT8 Jul 2026
- 2026Anatomy of a failure: When, how, and why deep vision fails in scientific domains5 May 2026
- 2026IU: Imperceptible Universal Backdoor Attack28 Feb 2026
- 2025Hands-on Evaluation of Visual Transformers for Object Recognition and Detection10 Dec 2025
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learners20 May 2025
- 2025Exploring Synergistic Ensemble Learning: Uniting CNNs, MLP-Mixers, and Vision Transformers to Enhance Image Classification12 Apr 2025
- 2024Impact of Regularization on Calibration and Robustness: from the Representation Space Perspective5 Oct 2024
- 2024Exploring the Adversarial Robustness of CLIP for AI-generated Image Detection28 Jul 2024
- 2024Benchmarking the Robustness of Temporal Action Detection Models Against Temporal Corruptions29 Mar 2024
- 2024Towards Robust Semantic Segmentation against Patch-based Attack via Attention Refinement3 Jan 2024
- 2023Attention Deficit is Ordered! Fooling Deformable Vision Transformers with Collaborative Adversarial Patches21 Nov 2023
- 2023Tailoring Adversarial Attacks on Deep Neural Networks for Targeted Class Manipulation Using DeepFool Algorithm18 Oct 2023
12 newest of 51 All 51 (JSON)