On the Robustness of Vision Transformers to Adversarial Examples
Not on the map. Why?
Abstract (arXiv)
Recent advances in attention-based networks have shown that Vision Transformers can achieve state-of-the-art or near state-of-the-art results on many image classification tasks. This puts transformers in the unique position of being a promising alternative to traditional convolutional neural networks (CNNs). While CNNs have been carefully studied with respect to adversarial attacks, the same cannot be said of Vision Transformers. In this paper, we study the robustness of Vision Transformers to adversarial examples. Our analyses of transformer security is divided into three parts. First, we test the transformer under standard white-box and black-box attacks. Second, we study the transferability of adversarial examples between CNNs and transformers. We show that adversarial examples do not readily transfer between CNNs and transformers. Based on this finding, we analyze the security of a simple ensemble defense of CNNs and transformers. By creating a new attack, the self-attention blended gradient attack, we show that such an ensemble is not secure under a white-box adversary. However, under a black-box adversary, we show that an ensemble can achieve unprecedented robustness without sacrificing clean accuracy. Our analysis for this work is done using six types of white-box attacks and two types of black-box attacks. Our study encompasses multiple Vision Transformers, Big Transfer Models and CNN architectures trained on CIFAR-10, CIFAR-100 and ImageNet.
Key facts. Cited by 167 papers in the map (data through 7 Oct 2026). Builds on 30 of its 33 references that are in the map. First posted on arXiv 31 Mar 2021.
Builds on
30 of 33 references.
References · 30
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 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
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
- 2016Practical Black-Box Attacks against Machine Learningcited by 893
18 more
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2020On Adaptive Attacks to Adversarial Example Defensescited by 547
- 2016Delving into Transferable Adversarial Examples and Black-box Attackscited by 530
- 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 459
- 2019On Evaluating Adversarial Robustnesscited by 442
- 2016Transferability in Machine Learning: from Phenomena to Black-Box Attacks using Adversarial Samplescited by 439
- 2020Axial-DeepLab: Stand-Alone Axial-Attention for Panoptic Segmentationcited by 326
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 293
- 2020Attacks Which Do Not Kill Training Make Adversarial Learning Strongercited by 242
- 2019Improving Adversarial Robustness via Promoting Ensemble Diversitycited by 213
- 2020Self-Attention Attribution: Interpreting Information Interactions Inside Transformercited by 124
- 2020RayS: A Ray Searching Method for Hard-label Adversarial Attackcited by 94
- 2020Robustness Verification for Transformerscited by 76
- 2020Beware the Black-Box: on the Robustness of Recent Defenses to Adversarial Examplescited by 11
- 2018MULDEF: Multi-model-based Defense Against Adversarial Examples for Neural Networkscited by 8
- 2019BUZz: BUffer Zones for defending adversarial examples in image classificationcited by 2
Built on by
Citing papers per year: 2021: 18; 2022: 35; 2023: 50; 2024: 38; 2025: 15; 2026: 11.
167 papers.
Sort:
By area:
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2022Transformers in Medical Imaging: A Surveycited by 245
- 2021Vision Transformers are Robust Learnerscited by 208
- 2021Towards Robust Vision Transformercited by 137
- 2024Jailbreaking Attack against Multimodal Large Language Modelcited by 128
- 2021Rethinking Architecture Design for Tackling Data Heterogeneity in Federated Learningcited by 111
- 2023MedViT: A Robust Vision Transformer for Generalized Medical Image Classificationcited by 89
- 2023A Comprehensive Study on Robustness of Image Classification Models: Benchmarking and Rethinkingcited by 85
- 2021RobustART: Benchmarking Robustness on Architecture Design and Training Techniquescited by 78
- 2021On Improving Adversarial Transferability of Vision Transformerscited by 70
- 2023How Deep Learning Sees the World: A Survey on Adversarial Attacks & Defensescited by 65
- 2022A Light Recipe to Train Robust Vision Transformerscited by 64
38 more
- 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
- 2022Video Transformers: A Surveycited by 63
- 2021Adversarial Robustness Comparison of Vision Transformer and MLP-Mixer to CNNscited by 57
- 2022Patch-Fool: Are Vision Transformers Always Robust Against Adversarial Perturbations?cited by 47
- 2021OOD-CV: A Benchmark for Robustness to Out-of-Distribution Shifts of Individual Nuisances in Natural Imagescited by 46
- 2021Reveal of Vision Transformers Robustness against Adversarial Attackscited by 43
- 2023Transferable Adversarial Attacks on Vision Transformers with Token Gradient Regularizationcited by 42
- 2023A survey on efficient vision transformers: algorithms, techniques, and performance benchmarkingcited by 41
- 2021Are Vision Transformers Robust to Patch Perturbations?cited by 39
- 2021Pyramid Adversarial Training Improves ViT Performancecited by 39
- 2023SA-Attack: Improving Adversarial Transferability of Vision-Language Pre-training Models via Self-Augmentationcited by 39
- 2024Few-Shot Adversarial Prompt Learning on Vision-Language Modelscited by 39
- 2022Missingness Bias in Model Debuggingcited by 36
- 2022FedTune: A Deep Dive into Efficient Federated Fine-Tuning with Pre-trained Transformerscited by 33
- 2023Channel Vision Transformers: An Image Is Worth 1 x 16 x 16 Wordscited by 33
- 2022A Data-Based Perspective on Transfer Learningcited by 32
- 2023Why Does Little Robustness Help? A Further Step Towards Understanding Adversarial Transferabilitycited by 32
- 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
- 2024Break the Visual Perception: Adversarial Attacks Targeting Encoded Visual Tokens of Large Vision-Language Modelscited by 27
- 2022Give Me Your Attention: Dot-Product Attention Considered Harmful for Adversarial Patch Robustnesscited by 23
- 2022Proximal Splitting Adversarial Attacks for Semantic Segmentationcited by 23
- 2022Exploring the Relationship between Architecture and Adversarially Robust Generalizationcited by 23
- 2021Taxonomy of Machine Learning Safety: A Survey and Primercited by 22
- 2024ImageNet-D: Benchmarking Neural Network Robustness on Diffusion Synthetic Objectcited by 22
- 2022Jigsaw-ViT: Learning Jigsaw Puzzles in Vision Transformercited by 21
- 2022Benchmarking Adversarial Patch Against Aerial Detectioncited by 21
- 2021DeepFace-EMD: Re-ranking Using Patch-wise Earth Mover's Distance Improves Out-Of-Distribution Face Identificationcited by 20
- 2022Defending Backdoor Attacks on Vision Transformer via Patch Processingcited by 19
- 2023Robustifying Token Attention for Vision Transformerscited by 19
- 2024Boosting Adversarial Transferability across Model Genus by Deformation-Constrained Warpingcited by 18
- 2022Self-Ensembling Vision Transformer (SEViT) for Robust Medical Image Classificationcited by 16
- 2022Evaluating Out-of-Distribution Performance on Document Image Classifierscited by 16
- 2023Self-attention in Vision Transformers Performs Perceptual Grouping, Not Attentioncited by 15
- 2024Transformers Learn Low Sensitivity Functions: Investigations and Implicationscited by 13
- 2022Attacking the Spike: On the Transferability and Security of Spiking Neural Networks to Adversarial Examplescited by 12
50 most cited of 167 All 167 (JSON)
- 2026Evaluating the Semantic-to-Geometric Gap in Adversarial Defenses Against Vision-Language Model-Based Plagiarism22 Sep 2026
- 2026TEE-X: TEE-aware Acceleration Framework for Large Vision Models at the Edge24 Aug 2026
- 2026A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers28 May 2026
- 2026When Interpretability Becomes a Liability: Adversarial Attacks on CBM Concept Layers25 May 2026
- 2026Towards Universal Physical Adversarial Attacks via a Joint Multi-Objective and Multi-Model Optimization Framework18 May 2026
- 2026DarkLLM: Learning Language-Driven Adversarial Attacks with Large Language Models15 May 2026
- 2026OmniPatch: A Universal Adversarial Patch for ViT-CNN Cross-Architecture Transfer in Semantic Segmentation21 Mar 2026
- 2026Analyzing Physical Adversarial Example Threats to Machine Learning in Election Systems28 Feb 2026
- 2026In Transformer We Trust? A Perspective on Transformer Architecture Failure Modes15 Feb 2026
- 2026Time Is All It Takes: Spike-Retiming Attacks on Event-Driven Spiking Neural Networks3 Feb 2026
- 2026Adversarial Vulnerability Transcends Computational Paradigms: Feature Engineering Provides No Defense Against Neural Adversarial Transfer29 Jan 2026
- 2025Sample-wise Adaptive Weighting for Transfer Consistency in Adversarial Distillation11 Dec 2025
38 more
- 2025Creating Blank Canvas Against AI-enabled Image Forgery27 Nov 2025
- 2025Parameter Interpolation Adversarial Training for Robust Image Classification2 Nov 2025
- 2025Vision Transformers: the threat of realistic adversarial patches25 Sep 2025
- 2025Busting the Paper Ballot: Voting Meets Adversarial Machine Learning17 Jun 2025
- 2025Attacking Attention of Foundation Models Disrupts Downstream Tasks3 Jun 2025
- 2025Targeted Unlearning Using Perturbed Sign Gradient Methods With Applications On Medical Images28 May 2025
- 2025Adversarially Pretrained Transformers May Be Universally Robust In-Context Learners20 May 2025
- 2025RaPA: Enhancing Transferable Targeted Attacks via Random Parameter Pruning24 Apr 2025
- 2025Seeking Flat Minima over Diverse Surrogates for Improved Adversarial Transferability: A Theoretical Framework and Algorithmic Instantiation23 Apr 2025
- 2025HGFormer: Topology-Aware Vision Transformer with HyperGraph Learning3 Apr 2025
- 2025Benchmarking the Spatial Robustness of DNNs via Natural and Adversarial Localized Corruptions2 Apr 2025
- 2025Model Hemorrhage and the Robustness Limits of Large Language Models31 Mar 2025
- 2025Transformer Meets Twicing: Harnessing Unattended Residual Information2 Mar 2025
- 2025Quaternion-Hadamard Network: A Novel Defense Against Adversarial Attacks with a New Dataset12 Feb 2025
- 2024RobustBlack: Challenging Black-Box Adversarial Attacks on State-of-the-Art Defenses30 Dec 2024
- 2024Adversarial Robustness for Deep Learning-based Wildfire Prediction Models28 Dec 2024
- 2024Evaluating the Adversarial Robustness of Detection Transformers25 Dec 2024
- 2024One Pixel is All I Need14 Dec 2024
- 2024Break the Visual Perception: Adversarial Attacks Targeting Encoded Visual Tokens of Large Vision-Language Models9 Oct 2024
- 2024ViTGuard: Attention-aware Detection against Adversarial Examples for Vision Transformer20 Sep 2024
- 2024On the Robustness of Kolmogorov-Arnold Networks: An Adversarial Perspective25 Aug 2024
- 2024Exploring the Adversarial Robustness of CLIP for AI-generated Image Detection28 Jul 2024
- 2024S-E Pipeline: A Vision Transformer (ViT) based Resilient Classification Pipeline for Medical Imaging Against Adversarial Attacks23 Jul 2024
- 2024Revealing the Dark Secrets of Extremely Large Kernel ConvNets on Robustness12 Jul 2024
- 2024TrackPGD: Efficient Adversarial Attack using Object Binary Masks against Robust Transformer Trackers4 Jul 2024
- 2024Query-Efficient Hard-Label Black-Box Attack against Vision Transformers29 Jun 2024
- 2024Deciphering the Definition of Adversarial Robustness for post-hoc OOD Detectors21 Jun 2024
- 2024Elliptical Attention19 Jun 2024
- 2024Transform-Dependent Adversarial Attacks12 Jun 2024
- 2024TSCMamba: Mamba Meets Multi-View Learning for Time Series Classification6 Jun 2024
- 2024Reproducibility Study on Adversarial Attacks Against Robust Transformer Trackers3 Jun 2024
- 2024On adversarial training and the 1 Nearest Neighbor classifier9 Apr 2024
- 2024On Inherent Adversarial Robustness of Active Vision Systems29 Mar 2024
- 2024Benchmarking the Robustness of Temporal Action Detection Models Against Temporal Corruptions29 Mar 2024
- 2024ImageNet-D: Benchmarking Neural Network Robustness on Diffusion Synthetic Object27 Mar 2024
- 2024Few-Shot Adversarial Prompt Learning on Vision-Language Models21 Mar 2024
- 2024ADAPT to Robustify Prompt Tuning Vision Transformers19 Mar 2024
- 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformers15 Mar 2024
50 newest of 167 All 167 (JSON)
- 2024Jailbreaking Attack against Multimodal Large Language Modelcited by 128
- 2022Defending Backdoor Attacks on Vision Transformer via Patch Processingcited by 19
- 2021DBIA: Data-free Backdoor Injection Attack against Transformer Networkscited by 8
- 2024Transparency Attacks: How Imperceptible Image Layers Can Fool AI Perceptioncited by 1
- 2024One Pixel is All I Needcited by 0
- 2025Targeted Unlearning Using Perturbed Sign Gradient Methods With Applications On Medical Imagescited by 0
- 2025Targeted Unlearning Using Perturbed Sign Gradient Methods With Applications On Medical Images28 May 2025
- 2024One Pixel is All I Need14 Dec 2024
- 2024Jailbreaking Attack against Multimodal Large Language Model4 Feb 2024
- 2024Transparency Attacks: How Imperceptible Image Layers Can Fool AI Perception29 Jan 2024
- 2022Defending Backdoor Attacks on Vision Transformer via Patch Processing24 Jun 2022
- 2021DBIA: Data-free Backdoor Injection Attack against Transformer Networks22 Nov 2021
- 2023SA-Attack: Improving Adversarial Transferability of Vision-Language Pre-training Models via Self-Augmentationcited by 39
- 2024Few-Shot Adversarial Prompt Learning on Vision-Language Modelscited by 39
- 2024Break the Visual Perception: Adversarial Attacks Targeting Encoded Visual Tokens of Large Vision-Language Modelscited by 27
- 2026Evaluating the Semantic-to-Geometric Gap in Adversarial Defenses Against Vision-Language Model-Based Plagiarismcited by 0
- 2026Evaluating the Semantic-to-Geometric Gap in Adversarial Defenses Against Vision-Language Model-Based Plagiarism22 Sep 2026
- 2024Break the Visual Perception: Adversarial Attacks Targeting Encoded Visual Tokens of Large Vision-Language Models9 Oct 2024
- 2024Few-Shot Adversarial Prompt Learning on Vision-Language Models21 Mar 2024
- 2023SA-Attack: Improving Adversarial Transferability of Vision-Language Pre-training Models via Self-Augmentation8 Dec 2023
- 2023Improving Adversarial Transferability via Model Alignmentcited by 10
- 2023Improving Adversarial Transferability via Model Alignment30 Nov 2023
- 2023Efficient Symbolic Reasoning for Neural-Network Verification23 Mar 2023
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2022Transformers in Medical Imaging: A Surveycited by 245
- 2021Vision Transformers are Robust Learnerscited by 208
- 2021Towards Robust Vision Transformercited by 137
- 2021Rethinking Architecture Design for Tackling Data Heterogeneity in Federated Learningcited by 111
- 2023MedViT: A Robust Vision Transformer for Generalized Medical Image Classificationcited by 89
- 2023A Comprehensive Study on Robustness of Image Classification Models: Benchmarking and Rethinkingcited by 85
- 2021RobustART: Benchmarking Robustness on Architecture Design and Training Techniquescited by 78
- 2021On Improving Adversarial Transferability of Vision Transformerscited by 70
- 2023How Deep Learning Sees the World: A Survey on Adversarial Attacks & Defensescited by 65
- 2022A Light Recipe to Train Robust Vision Transformerscited by 64
- 2022When Adversarial Training Meets Vision Transformers: Recipes from Training to Architecturecited by 64
12 most cited of 153 All 153 (JSON)
- 2026TEE-X: TEE-aware Acceleration Framework for Large Vision Models at the Edge24 Aug 2026
- 2026A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers28 May 2026
- 2026When Interpretability Becomes a Liability: Adversarial Attacks on CBM Concept Layers25 May 2026
- 2026Towards Universal Physical Adversarial Attacks via a Joint Multi-Objective and Multi-Model Optimization Framework18 May 2026
- 2026DarkLLM: Learning Language-Driven Adversarial Attacks with Large Language Models15 May 2026
- 2026OmniPatch: A Universal Adversarial Patch for ViT-CNN Cross-Architecture Transfer in Semantic Segmentation21 Mar 2026
- 2026Analyzing Physical Adversarial Example Threats to Machine Learning in Election Systems28 Feb 2026
- 2026In Transformer We Trust? A Perspective on Transformer Architecture Failure Modes15 Feb 2026
- 2026Time Is All It Takes: Spike-Retiming Attacks on Event-Driven Spiking Neural Networks3 Feb 2026
- 2026Adversarial Vulnerability Transcends Computational Paradigms: Feature Engineering Provides No Defense Against Neural Adversarial Transfer29 Jan 2026
- 2025Sample-wise Adaptive Weighting for Transfer Consistency in Adversarial Distillation11 Dec 2025
- 2025Creating Blank Canvas Against AI-enabled Image Forgery27 Nov 2025
12 newest of 153 All 153 (JSON)