mlsanityData to 7 Oct 2026

On Improving Adversarial Transferability of Vision Transformers

arXiv 2106.04169 ↗First posted 8 Jun 2021cs.CV cs.AI cs.LGcited by 70

Not on the map. Why?

Abstract (arXiv)

Vision transformers (ViTs) process input images as sequences of patches via self-attention; a radically different architecture than convolutional neural networks (CNNs). This makes it interesting to study the adversarial feature space of ViT models and their transferability. In particular, we observe that adversarial patterns found via conventional adversarial attacks show very low black-box transferability even for large ViT models. We show that this phenomenon is only due to the sub-optimal attack procedures that do not leverage the true representation potential of ViTs. A deep ViT is composed of multiple blocks, with a consistent architecture comprising of self-attention and feed-forward layers, where each block is capable of independently producing a class token. Formulating an attack using only the last class token (conventional approach) does not directly leverage the discriminative information stored in the earlier tokens, leading to poor adversarial transferability of ViTs. Using the compositional nature of ViT models, we enhance transferability of existing attacks by introducing two novel strategies specific to the architecture of ViT models. (i) Self-Ensemble: We propose a method to find multiple discriminative pathways by dissecting a single ViT model into an ensemble of networks. This allows explicitly utilizing class-specific information at each ViT block. (ii) Token Refinement: We then propose to refine the tokens to further enhance the discriminative capacity at each block of ViT. Our token refinement systematically combines the class tokens with structural information preserved within the patch tokens.

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

Builds on

49 of 63 references.

References · 49

  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. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2020End-to-End Object Detection with Transformerscited by 7,384
  9. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  10. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  11. 2016Densely Connected Convolutional Networkscited by 6,691
  12. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
37 more
  1. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  2. 2016Wide Residual Networkscited by 3,057
  3. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  4. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
  5. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  6. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  7. 2021Transformers in Vision: A Surveycited by 1,009
  8. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  9. 2015The Limitations of Deep Learning in Adversarial Settingscited by 784
  10. 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 682
  11. 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
  12. 2018Improving Transferability of Adversarial Examples with Input Diversitycited by 591
  13. 2017One pixel attack for fooling deep neural networkscited by 579
  14. 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 499
  15. 2021Intriguing Properties of Vision Transformerscited by 446
  16. 2019Nesterov Accelerated Gradient and Scale Invariance for Adversarial Attackscited by 352
  17. 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 333
  18. 2021Understanding Robustness of Transformers for Image Classificationcited by 250
  19. 2021Enhancing the Transferability of Adversarial Attacks through Variance Tuningcited by 242
  20. 2021Vision Transformers are Robust Learnerscited by 208
  21. 2021On the Robustness of Vision Transformers to Adversarial Examplescited by 167
  22. 2020Skip Connections Matter: On the Transferability of Adversarial Examples Generated with ResNetscited by 165
  23. 2019Towards Fairer Datasets: Filtering and Balancing the Distribution of the People Subtree in the ImageNet Hierarchycited by 156
  24. 2017EAD: Elastic-Net Attacks to Deep Neural Networks via Adversarial Examplescited by 154
  25. 2017Generative Adversarial Perturbationscited by 153
  26. 2019Enhancing Adversarial Example Transferability with an Intermediate Level Attackcited by 139
  27. 2021Are Convolutional Neural Networks or Transformers more like human vision?cited by 109
  28. 2018SparseFool: a few pixels make a big differencecited by 94
  29. 2019Cross-Domain Transferability of Adversarial Perturbationscited by 92
  30. 2021A Study of Face Obfuscation in ImageNetcited by 83
  31. 2020Backpropagating Linearly Improves Transferability of Adversarial Examplescited by 79
  32. 2020Patch-wise Attack for Fooling Deep Neural Networkcited by 78
  33. 2021On Generating Transferable Targeted Perturbationscited by 65
  34. 2019Black-box Adversarial Attacks on Video Recognition Modelscited by 58
  35. 2020Perturbing Across the Feature Hierarchy to Improve Standard and Strict Blackbox Attack Transferabilitycited by 57
  36. 2020Transferable Perturbations of Deep Feature Distributionscited by 51
  37. 2020Diversity can be Transferred: Output Diversification for White- and Black-box Attackscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 5; 2022: 16; 2023: 21; 2024: 9; 2025: 12; 2026: 7.

70 papers.

Sort:

By area:

  1. 2022Transformers in Medical Imaging: A Surveycited by 245
  2. 2024Jailbreaking Attack against Multimodal Large Language Modelcited by 128
  3. 2021Towards Transferable Adversarial Attacks on Vision Transformerscited by 80
  4. 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 63
  5. 2021Adversarial Robustness Comparison of Vision Transformer and MLP-Mixer to CNNscited by 57
  6. 2022Patch-Fool: Are Vision Transformers Always Robust Against Adversarial Perturbations?cited by 47
  7. 2023A Survey on Transferability of Adversarial Examples across Deep Neural Networkscited by 43
  8. 2023Transferable Adversarial Attacks on Vision Transformers with Token Gradient Regularizationcited by 42
  9. 2021Are Vision Transformers Robust to Patch Perturbations?cited by 39
  10. 2023SA-Attack: Improving Adversarial Transferability of Vision-Language Pre-training Models via Self-Augmentationcited by 39
  11. 2022Natural Color Fool: Towards Boosting Black-box Unrestricted Attackscited by 38
  12. 2022Self-Distilled Vision Transformer for Domain Generalizationcited by 35
38 more
  1. 2023Why Does Little Robustness Help? A Further Step Towards Understanding Adversarial Transferabilitycited by 32
  2. 2023Analyzing Vision Transformers for Image Classification in Class Embedding Spacecited by 26
  3. 2022Give Me Your Attention: Dot-Product Attention Considered Harmful for Adversarial Patch Robustnesscited by 23
  4. 2023Generative Watermarking Against Unauthorized Subject-Driven Image Synthesiscited by 21
  5. 2022Defending Backdoor Attacks on Vision Transformer via Patch Processingcited by 19
  6. 2024Improved Generation of Adversarial Examples Against Safety-aligned LLMscited by 17
  7. 2021Decision-based Black-box Attack Against Vision Transformers via Patch-wise Adversarial Removalcited by 16
  8. 2022Self-Ensembling Vision Transformer (SEViT) for Robust Medical Image Classificationcited by 16
  9. 2023Reliable Evaluation of Adversarial Transferabilitycited by 12
  10. 2023Improving Adversarial Robustness of Masked Autoencoders via Test-time Frequency-domain Promptingcited by 12
  11. 2024Benchmarking the Robustness of Temporal Action Detection Models Against Temporal Corruptionscited by 12
  12. 2024As Firm As Their Foundations: Can open-sourced foundation models be used to create adversarial examples for downstream tasks?cited by 11
  13. 2023Improving Adversarial Transferability via Model Alignmentcited by 10
  14. 2023Improving the Transferability of Adversarial Examples via Direction Tuningcited by 9
  15. 2021DBIA: Data-free Backdoor Injection Attack against Transformer Networkscited by 8
  16. 2022Making the Best of Both Worlds: A Domain-Oriented Transformer for Unsupervised Domain Adaptationcited by 7
  17. 2022Improving the Transferability of Adversarial Attacks on Face Recognition with Beneficial Perturbation Feature Augmentationcited by 7
  18. 2024Flexible Physical Camouflage Generation Based on a Differential Approachcited by 7
  19. 2025Improving Adversarial Transferability on Vision Transformers via Forward Propagation Refinementcited by 7
  20. 2022OOD Augmentation May Be at Odds with Open-Set Recognitioncited by 6
  21. 2022Adversarial Pixel Restoration as a Pretext Task for Transferable Perturbationscited by 6
  22. 2023Fairness-aware Vision Transformer via Debiased Self-Attentioncited by 6
  23. 2023Towards Evaluating Transfer-based Attacks Systematically, Practically, and Fairlycited by 6
  24. 2023Boosting Adversarial Transferability using Dynamic Cuescited by 5
  25. 2023Video Instance Segmentation in an Open-Worldcited by 5
  26. 2022Exploring Adversarial Attacks and Defenses in Vision Transformers trained with DINOcited by 4
  27. 2023Improving Adversarial Transferability with Scheduled Step Size and Dual Examplecited by 3
  28. 2024Attacking Transformers with Feature Diversity Adversarial Perturbationcited by 3
  29. 2024Any Target Can be Offense: Adversarial Example Generation via Generalized Latent Infectioncited by 3
  30. 2022INDIGO: Intrinsic Multimodality for Domain Generalizationcited by 2
  31. 2023Going Further: Flatness at the Rescue of Early Stopping for Adversarial Example Transferabilitycited by 2
  32. 2023QuantAttack: Exploiting Dynamic Quantization to Attack Vision Transformerscited by 2
  33. 2024DeSparsify: Adversarial Attack Against Token Sparsification Mechanisms in Vision Transformerscited by 2
  34. 2024ViTGuard: Attention-aware Detection against Adversarial Examples for Vision Transformercited by 2
  35. 2025Boosting the Local Invariance for Better Adversarial Transferabilitycited by 2
  36. 2025Attacking Attention of Foundation Models Disrupts Downstream Taskscited by 2
  37. 2022Guidance Through Surrogate: Towards a Generic Diagnostic Attackcited by 1
  38. 2023How to choose your best allies for a transferable attack?cited by 1

50 most cited of 70 All 70 (JSON)