Vision Transformers (ViTs) have demonstrated exceptional performance across various computer vision tasks. ViTs utilize the attention mechanism for feature extraction, thereby enhancing global information capture compared to convolutional neural networks. Currently, the adversarial attack methods designed for ViTs focus on creating adversarial samples using the degree of attention between tokens, while neglecting the impact of ViT’s nonlinear factors. In this paper, we propose to Skip Attention Gradient (SAG) to avoid the nonlinear effects of attention by leveraging the linear nature of ViTs to generate adversarial examples. We demonstrate that the adversarial patch selected by SAG can promote a more linear propagation of adversarial effects, thereby enhancing the attack’s effectiveness. Our method achieves a robust accuracy on DeiT-B that is 7% lower compared to the Patch-Fool method.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Patch Attacks on Vision Transformer via Skip Attention Gradients

  • Haoyu Deng,
  • Yanmei Fang,
  • Fangjun Huang

摘要

Vision Transformers (ViTs) have demonstrated exceptional performance across various computer vision tasks. ViTs utilize the attention mechanism for feature extraction, thereby enhancing global information capture compared to convolutional neural networks. Currently, the adversarial attack methods designed for ViTs focus on creating adversarial samples using the degree of attention between tokens, while neglecting the impact of ViT’s nonlinear factors. In this paper, we propose to Skip Attention Gradient (SAG) to avoid the nonlinear effects of attention by leveraging the linear nature of ViTs to generate adversarial examples. We demonstrate that the adversarial patch selected by SAG can promote a more linear propagation of adversarial effects, thereby enhancing the attack’s effectiveness. Our method achieves a robust accuracy on DeiT-B that is 7% lower compared to the Patch-Fool method.