Patch-Fool: Are Vision Transformers Always Robust Against Adversarial Perturbations?
Not on the map. Why?
Abstract (arXiv)
Vision transformers (ViTs) have recently set off a new wave in neural architecture design thanks to their record-breaking performance in various vision tasks. In parallel, to fulfill the goal of deploying ViTs into real-world vision applications, their robustness against potential malicious attacks has gained increasing attention. In particular, recent works show that ViTs are more robust against adversarial attacks as compared with convolutional neural networks (CNNs), and conjecture that this is because ViTs focus more on capturing global interactions among different input/feature patches, leading to their improved robustness to local perturbations imposed by adversarial attacks. In this work, we ask an intriguing question: "Under what kinds of perturbations do ViTs become more vulnerable learners compared to CNNs?" Driven by this question, we first conduct a comprehensive experiment regarding the robustness of both ViTs and CNNs under various existing adversarial attacks to understand the underlying reason favoring their robustness. Based on the drawn insights, we then propose a dedicated attack framework, dubbed Patch-Fool, that fools the self-attention mechanism by attacking its basic component (i.e., a single patch) with a series of attention-aware optimization techniques. Interestingly, our Patch-Fool framework shows for the first time that ViTs are not necessarily more robust than CNNs against adversarial perturbations. In particular, we find that ViTs are more vulnerable learners compared with CNNs against our Patch-Fool attack which is consistent across extensive experiments, and the observations from Sparse/Mild Patch-Fool, two variants of Patch-Fool, indicate an intriguing insight that the perturbation density and strength on each patch seem to be the key factors that influence the robustness ranking between ViTs and CNNs.
Key facts. Cited by 47 papers in the map (data through 7 Oct 2026). Builds on 69 of its 81 references that are in the map. First posted on arXiv 16 Mar 2022.
Builds on
69 of 81 references.
References · 69
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
38 more
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2021SwinIR: Image Restoration Using Swin Transformercited by 1,869
- 2021ViViT: A Video Vision Transformercited by 1,610
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
- 2020Gradient Surgery for Multi-Task Learningcited by 1,210
- 2021Video Swin Transformercited by 1,090
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2021Multiscale Vision Transformerscited by 896
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 784
- 2020Fast is better than free: Revisiting adversarial trainingcited by 723
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 682
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
- 2019Adversarial Training for Free!cited by 638
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2017Countering Adversarial Images using Input Transformationscited by 517
- 2017Adversarial Patchcited by 514
- 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 499
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2018Threat of Adversarial Attacks on Deep Learning in Computer Vision: A Surveycited by 459
- 2020End-to-End Video Instance Segmentation with Transformerscited by 443
- 2018Generating Natural Language Adversarial Examplescited by 422
- 2021Early Convolutions Help Transformers See Bettercited by 395
- 2017Mitigating Adversarial Effects Through Randomizationcited by 382
- 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 286
- 2018Adversarial Attacks and Defences: A Surveycited by 259
- 2021Understanding Robustness of Transformers for Image Classificationcited by 250
- 2019Simple Black-box Adversarial Attackscited by 249
- 2017Detecting Adversarial Samples from Artifactscited by 244
- 2019What's Hidden in a Randomly Weighted Neural Network?cited by 236
- 2017On Detecting Adversarial Perturbationscited by 232
- 2021On the Robustness of Vision Transformers to Adversarial Examplescited by 167
50 most cited of 69 All 69 (JSON)
Built on by
Citing papers per year: 2022: 8; 2023: 13; 2024: 13; 2025: 8; 2026: 5.
47 papers.
Sort:
By area:
- 2024Jailbreaking Attack against Multimodal Large Language Modelcited by 128
- 2023Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Modelscited by 79
- 2023How Deep Learning Sees the World: A Survey on Adversarial Attacks & Defensescited by 65
- 2023What Makes Pre-Trained Visual Representations Successful for Robust Manipulation?cited by 38
- 2024Revisiting Adversarial Training at Scalecited by 33
- 2022Towards Efficient Adversarial Training on Vision Transformerscited by 29
- 2022Give Me Your Attention: Dot-Product Attention Considered Harmful for Adversarial Patch Robustnesscited by 23
- 2023Generative Watermarking Against Unauthorized Subject-Driven Image Synthesiscited by 21
- 2023Robustifying Token Attention for Vision Transformerscited by 19
- 2022Self-Ensembling Vision Transformer (SEViT) for Robust Medical Image Classificationcited by 16
- 2024Understanding Robustness of Visual State Space Models for Image Classificationcited by 12
- 2024FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformerscited by 9
35 more
- 2022Exploring Adversarial Robustness of Vision Transformers in the Spectral Perspectivecited by 8
- 2023Fairness-aware Vision Transformer via Debiased Self-Attentioncited by 6
- 2022Are All Vision Models Created Equal? A Study of the Open-Loop to Closed-Loop Causality Gapcited by 5
- 2024SpecFormer: Guarding Vision Transformer Robustness via Maximum Singular Value Penalizationcited by 5
- 2024ObjectCompose: Evaluating Resilience of Vision-Based Models on Object-to-Background Compositional Changescited by 5
- 2025Don't Lag, RAG: Training-Free Adversarial Detection Using RAGcited by 5
- 2022On the interplay of adversarial robustness and architecture components: patches, convolution and attentioncited by 4
- 2022Audit and Improve Robustness of Private Neural Networks on Encrypted Datacited by 4
- 2022Similarity of Neural Architectures using Adversarial Attack Transferabilitycited by 4
- 2023SlowFormer: Universal Adversarial Patch for Attack on Compute and Energy Efficiency of Inference Efficient Vision Transformerscited by 3
- 2024Attacking Transformers with Feature Diversity Adversarial Perturbationcited by 3
- 2023Hint-Aug: Drawing Hints from Foundation Vision Transformers Towards Boosted Few-Shot Parameter-Efficient Tuningcited by 2
- 2023Random Position Adversarial Patch for Vision Transformerscited by 2
- 2024Towards Robust Semantic Segmentation against Patch-based Attack via Attention Refinementcited by 2
- 2024Query-Efficient Hard-Label Black-Box Attack against Vision Transformerscited by 2
- 2024ViTGuard: Attention-aware Detection against Adversarial Examples for Vision Transformercited by 2
- 2025Attacking Attention of Foundation Models Disrupts Downstream Taskscited by 2
- 2025Vision Transformer with Adversarial Indicator Token against Adversarial Attacks in Radio Signal Classificationscited by 2
- 2025Seeing Isn't Believing: Context-Aware Adversarial Patch Synthesis via Conditional GANcited by 2
- 2025Universal and Transferable Attacks on Pathology Foundation Modelscited by 2
- 2023Attention Deficit is Ordered! Fooling Deformable Vision Transformers with Collaborative Adversarial Patchescited by 1
- 2023Inference Time Evidences of Adversarial Attacks for Forensic on Transformerscited by 0
- 2023Is Attentional Channel Processing Design Required? Comprehensive Analysis Of Robustness Between Vision Transformers And Fully Attentional Networkscited by 0
- 2023Investigating the Robustness and Properties of Detection Transformers (DETR) Toward Difficult Imagescited by 0
- 2024Multi-Attribute Vision Transformers are Efficient and Robust Learnerscited by 0
- 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformerscited by 0
- 2024Adversarial Robustness for Deep Learning-based Wildfire Prediction Modelscited by 0
- 2025Preventing Adversarial AI Attacks Against Autonomous Situational Awareness: A Maritime Case Studycited by 0
- 2025Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustnesscited by 0
- 2025Deep Edge Filter: Return of the Human-Crafted Layer in Deep Learningcited by 0
- 2026OmniPatch: A Universal Adversarial Patch for ViT-CNN Cross-Architecture Transfer in Semantic Segmentationcited by 0
- 2026Test-time Adversarial Takeover: A Real-time Hijacking Interface against Robotic Diffusion Policiescited by 0
- 2026Adversarial Decoys: Misdirecting Attention-Based Defenses in ViTcited by 0
- 2026Corrupting Attention: Evasion-Based Adversarial Attacks on Encoder Attention in Detection Transformerscited by 0
- 2026Printability-Constrained Adversarial Decals for Near-Nadir Aerial Perception: Measured Ink Gamuts, Nested Realism Constraints, and a Physical-World Boundcited by 0
- 2026Printability-Constrained Adversarial Decals for Near-Nadir Aerial Perception: Measured Ink Gamuts, Nested Realism Constraints, and a Physical-World Bound27 Sep 2026
- 2026Corrupting Attention: Evasion-Based Adversarial Attacks on Encoder Attention in Detection Transformers7 Aug 2026
- 2026Adversarial Decoys: Misdirecting Attention-Based Defenses in ViT8 Jul 2026
- 2026Test-time Adversarial Takeover: A Real-time Hijacking Interface against Robotic Diffusion Policies9 Jun 2026
- 2026OmniPatch: A Universal Adversarial Patch for ViT-CNN Cross-Architecture Transfer in Semantic Segmentation21 Mar 2026
- 2025Universal and Transferable Attacks on Pathology Foundation Models18 Oct 2025
- 2025Deep Edge Filter: Return of the Human-Crafted Layer in Deep Learning13 Oct 2025
- 2025Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustness1 Oct 2025
- 2025Seeing Isn't Believing: Context-Aware Adversarial Patch Synthesis via Conditional GAN26 Sep 2025
- 2025Vision Transformer with Adversarial Indicator Token against Adversarial Attacks in Radio Signal Classifications13 Jun 2025
- 2025Attacking Attention of Foundation Models Disrupts Downstream Tasks3 Jun 2025
- 2025Preventing Adversarial AI Attacks Against Autonomous Situational Awareness: A Maritime Case Study27 May 2025
35 more
- 2025Don't Lag, RAG: Training-Free Adversarial Detection Using RAG7 Apr 2025
- 2024Adversarial Robustness for Deep Learning-based Wildfire Prediction Models28 Dec 2024
- 2024ViTGuard: Attention-aware Detection against Adversarial Examples for Vision Transformer20 Sep 2024
- 2024Query-Efficient Hard-Label Black-Box Attack against Vision Transformers29 Jun 2024
- 2024Understanding Robustness of Visual State Space Models for Image Classification16 Mar 2024
- 2024Approximate Nullspace Augmented Finetuning for Robust Vision Transformers15 Mar 2024
- 2024Attacking Transformers with Feature Diversity Adversarial Perturbation10 Mar 2024
- 2024ObjectCompose: Evaluating Resilience of Vision-Based Models on Object-to-Background Compositional Changes7 Mar 2024
- 2024Multi-Attribute Vision Transformers are Efficient and Robust Learners12 Feb 2024
- 2024Jailbreaking Attack against Multimodal Large Language Model4 Feb 2024
- 2024Revisiting Adversarial Training at Scale9 Jan 2024
- 2024FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformers3 Jan 2024
- 2024Towards Robust Semantic Segmentation against Patch-based Attack via Attention Refinement3 Jan 2024
- 2024SpecFormer: Guarding Vision Transformer Robustness via Maximum Singular Value Penalization2 Jan 2024
- 2023Attention Deficit is Ordered! Fooling Deformable Vision Transformers with Collaborative Adversarial Patches21 Nov 2023
- 2023What Makes Pre-Trained Visual Representations Successful for Robust Manipulation?3 Nov 2023
- 2023Investigating the Robustness and Properties of Detection Transformers (DETR) Toward Difficult Images12 Oct 2023
- 2023SlowFormer: Universal Adversarial Patch for Attack on Compute and Energy Efficiency of Inference Efficient Vision Transformers4 Oct 2023
- 2023Random Position Adversarial Patch for Vision Transformers9 Jul 2023
- 2023Generative Watermarking Against Unauthorized Subject-Driven Image Synthesis13 Jun 2023
- 2023Is Attentional Channel Processing Design Required? Comprehensive Analysis Of Robustness Between Vision Transformers And Fully Attentional Networks8 Jun 2023
- 2023How Deep Learning Sees the World: A Survey on Adversarial Attacks & Defenses18 May 2023
- 2023Hint-Aug: Drawing Hints from Foundation Vision Transformers Towards Boosted Few-Shot Parameter-Efficient Tuning25 Apr 2023
- 2023Robustifying Token Attention for Vision Transformers20 Mar 2023
- 2023Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Models3 Mar 2023
- 2023Fairness-aware Vision Transformer via Debiased Self-Attention31 Jan 2023
- 2023Inference Time Evidences of Adversarial Attacks for Forensic on Transformers31 Jan 2023
- 2022Similarity of Neural Architectures using Adversarial Attack Transferability20 Oct 2022
- 2022Are All Vision Models Created Equal? A Study of the Open-Loop to Closed-Loop Causality Gap9 Oct 2022
- 2022Audit and Improve Robustness of Private Neural Networks on Encrypted Data20 Sep 2022
- 2022On the interplay of adversarial robustness and architecture components: patches, convolution and attention14 Sep 2022
- 2022Exploring Adversarial Robustness of Vision Transformers in the Spectral Perspective20 Aug 2022
- 2022Self-Ensembling Vision Transformer (SEViT) for Robust Medical Image Classification4 Aug 2022
- 2022Towards Efficient Adversarial Training on Vision Transformers21 Jul 2022
- 2022Give Me Your Attention: Dot-Product Attention Considered Harmful for Adversarial Patch Robustness25 Mar 2022
- 2023Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Modelscited by 79
- 2023How Deep Learning Sees the World: A Survey on Adversarial Attacks & Defensescited by 65
- 2023What Makes Pre-Trained Visual Representations Successful for Robust Manipulation?cited by 38
- 2024Revisiting Adversarial Training at Scalecited by 33
- 2022Towards Efficient Adversarial Training on Vision Transformerscited by 29
- 2022Give Me Your Attention: Dot-Product Attention Considered Harmful for Adversarial Patch Robustnesscited by 23
- 2023Robustifying Token Attention for Vision Transformerscited by 19
- 2022Self-Ensembling Vision Transformer (SEViT) for Robust Medical Image Classificationcited by 16
- 2024Understanding Robustness of Visual State Space Models for Image Classificationcited by 12
- 2024FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformerscited by 9
- 2022Exploring Adversarial Robustness of Vision Transformers in the Spectral Perspectivecited by 8
- 2023Fairness-aware Vision Transformer via Debiased Self-Attentioncited by 6
12 most cited of 44 All 44 (JSON)
- 2026Printability-Constrained Adversarial Decals for Near-Nadir Aerial Perception: Measured Ink Gamuts, Nested Realism Constraints, and a Physical-World Bound27 Sep 2026
- 2026Corrupting Attention: Evasion-Based Adversarial Attacks on Encoder Attention in Detection Transformers7 Aug 2026
- 2026Adversarial Decoys: Misdirecting Attention-Based Defenses in ViT8 Jul 2026
- 2026OmniPatch: A Universal Adversarial Patch for ViT-CNN Cross-Architecture Transfer in Semantic Segmentation21 Mar 2026
- 2025Universal and Transferable Attacks on Pathology Foundation Models18 Oct 2025
- 2025Deep Edge Filter: Return of the Human-Crafted Layer in Deep Learning13 Oct 2025
- 2025Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustness1 Oct 2025
- 2025Seeing Isn't Believing: Context-Aware Adversarial Patch Synthesis via Conditional GAN26 Sep 2025
- 2025Vision Transformer with Adversarial Indicator Token against Adversarial Attacks in Radio Signal Classifications13 Jun 2025
- 2025Attacking Attention of Foundation Models Disrupts Downstream Tasks3 Jun 2025
- 2025Preventing Adversarial AI Attacks Against Autonomous Situational Awareness: A Maritime Case Study27 May 2025
- 2025Don't Lag, RAG: Training-Free Adversarial Detection Using RAG7 Apr 2025
12 newest of 44 All 44 (JSON)