Lune

CVPR2023Top-tier venue

Transferable Adversarial Attacks on Vision Transformers with Token Gradient Regularization

Jianping Zhang, Yizhan Huang, Weibin Wu, Michael R. Lyu

Abstract

Vision transformers (ViTs) have been successfully deployed in a variety of computer vision tasks, but they are still vulnerable to adversarial samples. Transfer-based attacks use a local model to generate adversarial samples and directly transfer them to attack a target black-box model. The high efficiency of transfer-based attacks makes it a severe security threat to ViT-based applications. Therefore, it is vital to design effective transfer-based attacks to identify the deficiencies of ViTs beforehand in security-sensitive scenarios. Existing efforts generally focus on regularizing the input gradients to stabilize the updated direction of adversarial samples. However, the variance of the backpropagated gradients in intermediate blocks of ViTs may still be large, which may make the generated adversarial samples focus on some model-specific features and get stuck in poor local optima. To overcome the shortcomings of existing approaches, we propose the Token Gradient Regularization (TGR) method. According to the structural characteristics of ViTs, TGR reduces the variance of the back-propagated gradient in each internal block of ViTs in a token-wise manner and utilizes the regularized gradient to generate adversarial samples. Extensive experiments on attacking both ViTs and CNNs confirm the superiority of our approach. Notably, compared to the state-of-theart transfer-based attacks, our TGR offers a performance improvement of 8.8% on average. Code is available at https://github.com/jpzhang1810/TGR.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

22 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biases cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biases cites Going deeper with Image Transformers
  • ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biases cites Training data-efficient image transformers & distillation through attention
  • Going deeper with Image Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Going deeper with Image Transformers cites Transformer in Transformer
  • Going deeper with Image Transformers cites Training data-efficient image transformers & distillation through attention
  • Transformer in Transformer cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Transformer in Transformer cites Training data-efficient image transformers & distillation through attention
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Boosting the Transferability of Adversarial Attack on Vision Transformer with Adaptive Token Tuning cites ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biases
  • Boosting the Transferability of Adversarial Attack on Vision Transformer with Adaptive Token Tuning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Boosting the Transferability of Adversarial Attack on Vision Transformer with Adaptive Token Tuning cites Going deeper with Image Transformers
  • Boosting the Transferability of Adversarial Attack on Vision Transformer with Adaptive Token Tuning cites Transformer in Transformer
  • Boosting the Transferability of Adversarial Attack on Vision Transformer with Adaptive Token Tuning cites Training data-efficient image transformers & distillation through attention
  • Boosting the Transferability of Adversarial Attack on Vision Transformer with Adaptive Token Tuning cites Improving the Adversarial Transferability of Vision Transformers with Virtual Dense Connection
  • Improving the Adversarial Transferability of Vision Transformers with Virtual Dense Connection cites ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biases
  • Improving the Adversarial Transferability of Vision Transformers with Virtual Dense Connection cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Improving the Adversarial Transferability of Vision Transformers with Virtual Dense Connection cites Going deeper with Image Transformers
  • Improving the Adversarial Transferability of Vision Transformers with Virtual Dense Connection cites Transformer in Transformer
  • Boosting Adversarial Transferability across Model Genus by Deformation-Constrained Warping cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Boosting Adversarial Transferability across Model Genus by Deformation-Constrained Warping cites Training data-efficient image transformers & distillation through attention
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers22

  1. Boosting Adversarial Transferability across Model Genus by Deformation-Constrained WarpingQinliang Lin, Cheng Luo, Zenghao Niu, Xilin He et al.AAAI 2024 · 36 citations
  2. Boosting the Transferability of Adversarial Attack on Vision Transformer with Adaptive Token TuningDi Ming, Peng Ren, Yunlong Wang, Xin FengNeurIPS 2024 · 24 citations
  3. Improving the Adversarial Transferability of Vision Transformers with Virtual Dense ConnectionJianping Zhang, Yizhan Huang, Zhuoer Xu, Weibin Wu et al.AAAI 2024 · 22 citations
  4. Curvature-Invariant Adversarial Attacks for 3D Point CloudsJianping Zhang, Wenwei Gu, Yizhan Huang, Zhihan Jiang et al.AAAI 2024 · 17 citations
  5. Beware of Road Markings: A New Adversarial Patch Attack to Monocular Depth EstimationHangcheng Liu, Zhenhu Wu, Hao Wang, Xingshuo Han et al.NeurIPS 2024 · 13 citations

Builds on24

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  3. Transformer in TransformerKai Han, An Xiao, Enhua Wu, Jianyuan Guo et al.NeurIPS 2021 · 2,148 citations
  4. Going deeper with Image TransformersHugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve et al.ICCV 2021 · 1,279 citations
  5. ConViT: Improving Vision Transformers with Soft Convolutional Inductive BiasesStéphane d'Ascoli, Hugo Touvron, Matthew L. Leavitt, Ari S. Morcos et al.ICML 2021 · 1,021 citations

Related papers

  1. Enhancing Transferable Adversarial Attacks on Vision Transformers through Gradient Normalization Scaling and High-Frequency AdaptationZhiyu Zhu, Xinyi Wang, Zhibo Jin, Jiayu Zhang et al.ICLR 2024 · 10 citations
  2. On Improving Adversarial Transferability of Vision TransformersMuzammal Naseer, Kanchana Ranasinghe, Salman Khan, Fahad Shahbaz Khan et al.ICLR 2022 · 111 citations
  3. Generating Transferable Adversarial Examples against Vision TransformersYuxuan Wang, Jiakai Wang, Zixin Yin, Ruihao Gong et al.ACM MM 2022 · 25 citations
  4. Towards Transferable Adversarial Attacks on Vision TransformersZhipeng Wei, Jingjing Chen, Micah Goldblum, Zuxuan Wu et al.AAAI 2022 · 156 citations
  5. Attacking Transformers with Feature Diversity Adversarial PerturbationChenxing Gao, Hang Zhou, Junqing Yu, Yuteng Ye et al.AAAI 2024 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines