arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2208.00906cs.CVcs.LG
收藏

利用Cauchy问题理解视觉Transformer的对抗鲁棒性

Understanding Adversarial Robustness of Vision Transformers via Cauchy Problem

University of Exeter(埃克塞特大学)

Zheng Wang, Wenjie Ruan

摘要:

最近对深度学习鲁棒性的研究表明,视觉Transformer(ViTs)在某些扰动下优于卷积神经网络(CNN),例如,自然腐败,对抗攻击等。一些论文认为,卓越的鲁棒性ViT来自其输入图像的分割;其他人说,多头自注意(MSA)是保持鲁棒性的关键。在本文中,我们的目标是引入一个原则性和统一的理论框架,调查这样一个论点ViT的鲁棒性。我们首先从理论上证明,与自然语言处理中的Transformers不同,ViTs是Lipschitz连续的。然后,我们从柯西问题的角度从理论上分析了ViT的对抗鲁棒性,通过柯西问题我们可以量化鲁棒性如何在层之间传播。我们证明了第一层和最后一层是影响ViTs鲁棒性的关键因素。此外,基于我们的理论,我们实证表明,与现有研究的说法不同,MSA仅在弱对抗攻击下有助于ViTs的对抗鲁棒性,例如,FGSM,令人惊讶的是,MSA实际上包括模型在更强攻击下的对抗鲁棒性,例如,PGD攻击

英文摘要:

Recent research on the robustness of deep learning has shown that Vision Transformers (ViTs) surpass the Convolutional Neural Networks (CNNs) under some perturbations, e.g., natural corruption, adversarial attacks, etc. Some papers argue that the superior robustness of ViT comes from the segmentation of its input images; others say that the Multi-head Self-Attention (MSA) is the key to preserving the robustness. In this paper, we aim to introduce a principled and unified theoretical framework to investigate such an argument on ViT's robustness. We first theoretically prove that, unlike Transformers in Natural Language Processing, ViTs are Lipschitz continuous. Then we theoretically analyze the adversarial robustness of ViTs from the perspective of the Cauchy Problem, via which we can quantify how the robustness propagates through layers. We demonstrate that the first and last layers are the critical factors to affect the robustness of ViTs. Furthermore, based on our theory, we empirically show that unlike the claims from existing research, MSA only contributes to the adversarial robustness of ViTs under weak adversarial attacks, e.g., FGSM, and surprisingly, MSA actually comprises the model's adversarial robustness under stronger attacks, e.g., PGD attacks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑