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.
On the Robustness of Vision Transformers to Adversarial Examples
University of Connecticut(康涅狄格大学);CWI(荷兰国家数学与计算机科学研究所)
基于注意力的网络的最新进展表明,视觉Transformer可以在许多图像分类任务上实现最先进或接近最先进的结果。这使得Transformers处于独特的位置,成为传统卷积神经网络(CNN)的一个有前途的替代品。虽然CNN已经被仔细研究了对抗攻击,但视觉Transformer却不能这么说。在本文中,我们研究了视觉Transformer对抗性的例子的鲁棒性。我们对Transformer安全性的分析分为三个部分。首先,我们在标准白盒和黑盒攻击下测试Transformer。其次,我们研究了CNN和Transformers之间对抗性示例的可移植性。我们表明,对抗性的例子不容易在CNN和Transformers之间转移。基于这一发现,我们分析了CNN和Transformers的简单集成防御的安全性。通过创建一个新的攻击,自注意混合梯度攻击,我们表明,这样的合奏是不安全的白盒对手。然而,在黑盒对手,我们表明,合奏可以实现前所未有的鲁棒性,而不牺牲干净的准确性。我们对这项工作的分析是使用六种类型的白盒攻击和两种类型的黑盒攻击。我们的研究包括多个视觉Transformer,Big Transfer Models和CNN架构,这些架构在CIFAR-10,CIFAR-100和ImageNet上进行了训练。
Joint rotational invariance and adversarial training of a dual-stream Transformer yields state of the art Brain-Score for Area V4
The Center for Brains, Minds and Machines(大脑、心智与机器中心);Massachusetts Institute of Technology(麻省理工学院)
现代在大脑评分竞赛中获得高分的视觉模型并不源于Vision Transformers。然而,在本文中,我们通过展示双流Transformer,CrossViT $~\textit{a la}$ Chen et al.(2021),在联合旋转不变和对抗优化程序下,在2022年总Brain-Score竞赛中获得第二名,提供了反对Vision Transformers(ViT)在感知上与人类视觉表示不一致的意外趋势的证据(Schrimpf et al.,2020 b)在所有视觉类别中平均,并且在比赛时在V4区域的最高可解释方差中排名第一。此外,我们目前的基于变换器的模型还实现了区域V4、IT和行为的更大的可解释方差,而不是生物启发的CNN(ResNet 50),其集成了类似于额叶V1的计算模块(Dapello等人,2020年)。为了评估优化方案对CrossViT架构的贡献,我们对不同优化的CrossViT的对抗鲁棒性,常见的腐败基准,中腹部刺激解释和特征反转进行了几次额外的实验。与我们最初的预期,我们的家庭的结果提供了临时支持$\textit{"All roads lead to Rome"}$参数通过联合优化规则,即使是非生物学动机的模型,如Vision Transformers的视觉。代码可在https://github.com/williamberrios/BrainScore-T…
Towards Transferable Adversarial Attacks on Vision Transformers
Shanghai Key Lab of Intelligent Information Processing, School of Computer Science, Fudan University(复旦大学计算机科学技术学院上海市智能信息处理重点实验室);Shanghai Collaborative Innovation Center on Intelligent Visual Computing(上海智能视觉计算协同创新中心);Department of Computer Science, University of Maryland(马里兰大学计算机科学系)
SpecFormer: Guarding Vision Transformer Robustness via Maximum Singular Value Penalization
City University of Hong Kong(香港城市大学);Microsoft Research Asia(微软亚洲研究院);The Chinese University of Hong Kong (Shenzhen)(香港中文大学(深圳));William & Mary(威廉玛丽学院)
On Improving Adversarial Transferability of Vision Transformers
Australian National University(澳大利亚国立大学);Stony Brook University(石溪大学);Linköping University(林雪平大学);Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Qualcomm USA(美国高通公司)
Vision Transformer with Adversarial Indicator Token against Adversarial Attacks in Radio Signal Classifications
School of Mathematics and Computer Science, Swansea university(斯旺西大学数学与计算机科学学院);Institute for Digital Technologies, Loughborough University London(伦敦洛桑大学数字技术研究所);School of Engineering, University of Warwick(沃里克大学工程学院);School of Electronic Engineering, Xidian University(西安电子科技大学电子工程学院);Department of Electrical and Electronic Engineering, Faculty of Engineering, Imperial College London(伦敦帝国理工学院电子与电气工程系);Department of Informatics, Bioengineering Robotics, and Systems Engineering, University of Genova(热那亚大学信息学、生物工程机器人与系统工程系);Warwick Manufacturing Group, University of Warwick(沃里克大学沃里克制造集团)
Breaking the Illusion of Security via Interpretation: Interpretable Vision Transformer Systems under Attack
Department of Computer Science and Engineering, Sungkyunkwan University(计算机科学与工程系,全州大学);Department of Computer Science, Loyola University(计算机科学系,洛伊拉大学)
Benign Overfitting in Adversarial Training for Vision Transformers
Division of CEMSE, King Abdullah University of Science and Technology(科廷大学科学与工程学院);School of Statistics, Renmin University of China(中国人民大学统计学院);Department of Computer Science and Engineering, State University of New York at Buffalo(纽约州立大学布法罗分校计算机科学与工程学院);School of Computer Science, University of Auckland(奥克兰大学计算机科学学院)
Corrupting Attention: Evasion-Based Adversarial Attacks on Encoder Attention in Detection Transformers
Queensland University of Technology(昆士兰科技大学);Agency for Science, Technology and Research, Singapore(新加坡科技研究局);National University of Singapore(新加坡国立大学);Indraprastha Institute of Information Technology, Delhi(英迪拉普拉斯塔信息技术学院(德里))
Probing the Robustness of Vision-Language Pretrained Models: A Multimodal Adversarial Attack Approach
School of Computing, Macquarie University(麦考瑞大学计算学院);Microsoft Corporation(微软公司);School of Information Technology, Deakin University(迪肯大学信息技术学院);Data61, CSIRO(联邦科学与工业研究组织Data61研究院)
Decision-based Black-box Attack Against Vision Transformers via Patch-wise Adversarial Removal
College of Intelligence and Computing(智能与计算学院);Tianjin University(天津大学);School of Cyberspace Science and Technology(网络空间安全学院);Beijing Institute of Technology(北京理工大学);National Key Laboratory of Science and Technology on Information System Security(信息系统安全科学与技术国家重点实验室)
Vision Transformers: the threat of realistic adversarial patches
Vrije Universiteit Brussel(自由大学布鲁塞尔);Open University of the Netherlands(荷兰开放大学);Netherlands Defence Academy(荷兰国防学院);Fraunhofer Institute of Optronics(弗劳恩霍夫光学研究所);imec;Belgian Royal Military Academy(比利时皇家军事学院)