Lune

ICLR2022顶会

Patch-Fool: Are Vision Transformers Always Robust Against Adversarial Perturbations?

Yonggan Fu, Shunyao Zhang, Shang Wu, Cheng Wan, Yingyan Lin

摘要

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. It can be expected that our Patch-Fool framework will shed light on both future architecture designs and training schemes for robustifying ViTs towards their real-world deployment. Our codes are available at https://github.com/RICE-EIC/Patch-Fool .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 18 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Emerging Properties in Self-Supervised Vision Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Emerging Properties in Self-Supervised Vision Transformers 引用了 Training data-efficient image transformers & distillation through attention
  • Give Me Your Attention: Dot-Product Attention Considered Harmful for Adversarial Patch Robustness 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Give Me Your Attention: Dot-Product Attention Considered Harmful for Adversarial Patch Robustness 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Give Me Your Attention: Dot-Product Attention Considered Harmful for Adversarial Patch Robustness 引用了 Training data-efficient image transformers & distillation through attention
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Training data-efficient image transformers & distillation through attention
  • Robustifying Token Attention for Vision Transformers 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Robustifying Token Attention for Vision Transformers 引用了 Training data-efficient image transformers & distillation through attention
  • Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Models 引用了 Emerging Properties in Self-Supervised Vision Transformers
  • Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Models 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Models 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Models 引用了 Training data-efficient image transformers & distillation through attention
  • Training data-efficient image transformers & distillation through attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Transferable Adversarial Attack for Both Vision Transformers and Convolutional Networks via Momentum Integrated Gradients 引用了 Emerging Properties in Self-Supervised Vision Transformers
  • Transferable Adversarial Attack for Both Vision Transformers and Convolutional Networks via Momentum Integrated Gradients 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Transferable Adversarial Attack for Both Vision Transformers and Convolutional Networks via Momentum Integrated Gradients 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Transferable Adversarial Attack for Both Vision Transformers and Convolutional Networks via Momentum Integrated Gradients 引用了 Training data-efficient image transformers & distillation through attention
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper18

  1. Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat ModelsNaman Deep Singh, Francesco Croce, Matthias HeinNeurIPS 2023 · 119 次引用
  2. Transferable Adversarial Attack for Both Vision Transformers and Convolutional Networks via Momentum Integrated GradientsWenshuo Ma, Yidong Li, Xiaofeng Jia, Wei XuICCV 2023 · 62 次引用
  3. Pandora's Box: Towards Building Universal Attackers against Real-World Large Vision-Language ModelsDaizong Liu, Mingyu Yang, Xiaoye Qu, Pan Zhou 等NeurIPS 2024 · 51 次引用
  4. Robustifying Token Attention for Vision TransformersYong Guo, David Stutz, Bernt SchieleICCV 2023 · 37 次引用
  5. Give Me Your Attention: Dot-Product Attention Considered Harmful for Adversarial Patch RobustnessGiulio Lovisotto, Nicole Finnie, Mauricio Munoz, Chaithanya Kumar Mummadi 等CVPR 2022 · 33 次引用

它引用的 Paper33

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  3. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
  4. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
  5. Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou 等ICCV 2021 · 8,921 次引用

相关 Paper

  1. You Are Catching My Attention: Are Vision Transformers Bad Learners under Backdoor Attacks?Zenghui Yuan, Pan Zhou, Kai Zou, Yu ChengCVPR 2023
  2. Generating Transferable Adversarial Examples against Vision TransformersYuxuan Wang, Jiakai Wang, Zixin Yin, Ruihao Gong 等ACM MM 2022 · 25 次引用
  3. Towards Transferable Adversarial Attacks on Vision TransformersZhipeng Wei, Jingjing Chen, Micah Goldblum, Zuxuan Wu 等AAAI 2022 · 156 次引用
  4. Boosting the Transferability of Adversarial Attack on Vision Transformer with Adaptive Token TuningDi Ming, Peng Ren, Yunlong Wang, Xin FengNeurIPS 2024 · 24 次引用
  5. When Adversarial Training Meets Vision Transformers: Recipes from Training to ArchitectureYichuan Mo, Dongxian Wu, Yifei Wang, Yiwen Guo 等NeurIPS 2022 · 109 次引用
黄昏的海面,两侧是细线勾勒的悬崖