arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.02610cs.CVcs.LG
收藏

视觉Transformer对对抗样本的鲁棒性研究

On the Robustness of Vision Transformers to Adversarial Examples

University of Connecticut(康涅狄格大学);CWI(荷兰国家数学与计算机科学研究所)

Kaleel Mahmood, Rigel Mahmood, Marten van Dijk

摘要:

基于注意力的网络的最新进展表明,视觉Transformer可以在许多图像分类任务上实现最先进或接近最先进的结果。这使得Transformers处于独特的位置,成为传统卷积神经网络(CNN)的一个有前途的替代品。虽然CNN已经被仔细研究了对抗攻击,但视觉Transformer却不能这么说。在本文中,我们研究了视觉Transformer对抗性的例子的鲁棒性。我们对Transformer安全性的分析分为三个部分。首先,我们在标准白盒和黑盒攻击下测试Transformer。其次,我们研究了CNN和Transformers之间对抗性示例的可移植性。我们表明,对抗性的例子不容易在CNN和Transformers之间转移。基于这一发现,我们分析了CNN和Transformers的简单集成防御的安全性。通过创建一个新的攻击,自注意混合梯度攻击,我们表明,这样的合奏是不安全的白盒对手。然而,在黑盒对手,我们表明,合奏可以实现前所未有的鲁棒性,而不牺牲干净的准确性。我们对这项工作的分析是使用六种类型的白盒攻击和两种类型的黑盒攻击。我们的研究包括多个视觉Transformer,Big Transfer Models和CNN架构,这些架构在CIFAR-10,CIFAR-100和ImageNet上进行了训练。

英文摘要:

Recent advances in attention-based networks have shown that Vision Transformers can achieve state-of-the-art or near state-of-the-art results on many image classification tasks. This puts transformers in the unique position of being a promising alternative to traditional convolutional neural networks (CNNs). While CNNs have been carefully studied with respect to adversarial attacks, the same cannot be said of Vision Transformers. In this paper, we study the robustness of Vision Transformers to adversarial examples. Our analyses of transformer security is divided into three parts. First, we test the transformer under standard white-box and black-box attacks. Second, we study the transferability of adversarial examples between CNNs and transformers. We show that adversarial examples do not readily transfer between CNNs and transformers. Based on this finding, we analyze the security of a simple ensemble defense of CNNs and transformers. By creating a new attack, the self-attention blended gradient attack, we show that such an ensemble is not secure under a white-box adversary. However, under a black-box adversary, we show that an ensemble can achieve unprecedented robustness without sacrificing clean accuracy. Our analysis for this work is done using six types of white-box attacks and two types of black-box attacks. Our study encompasses multiple Vision Transformers, Big Transfer Models and CNN architectures trained on CIFAR-10, CIFAR-100 and ImageNet.

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

↑