English

Adversarial Token Attacks on Vision Transformers

Computer Vision and Pattern Recognition 2021-10-12 v1 Cryptography and Security Machine Learning

Abstract

Vision transformers rely on a patch token based self attention mechanism, in contrast to convolutional networks. We investigate fundamental differences between these two families of models, by designing a block sparsity based adversarial token attack. We probe and analyze transformer as well as convolutional models with token attacks of varying patch sizes. We infer that transformer models are more sensitive to token attacks than convolutional models, with ResNets outperforming Transformer models by up to 30%\sim30\% in robust accuracy for single token attacks.

Keywords

Cite

@article{arxiv.2110.04337,
  title  = {Adversarial Token Attacks on Vision Transformers},
  author = {Ameya Joshi and Gauri Jagatap and Chinmay Hegde},
  journal= {arXiv preprint arXiv:2110.04337},
  year   = {2021}
}
R2 v1 2026-06-24T06:44:56.983Z