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

提高视觉Transformer的对抗可转移性

On Improving Adversarial Transferability of Vision Transformers

Australian National University(澳大利亚国立大学);Stony Brook University(石溪大学);Linköping University(林雪平大学);Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Qualcomm USA(美国高通公司)

Muzammal Naseer, Kanchana Ranasinghe, Salman Khan, Fahad Shahbaz Khan, Fatih Porikli

摘要:

视觉Transformer(ViTs)通过自我注意将输入图像处理为补丁序列;这是一种与卷积神经网络(CNN)完全不同的架构。这使得研究ViT模型的对抗特征空间及其可转移性变得有趣。特别是,我们观察到,通过传统的对抗攻击发现的对抗性模式显示非常\emph{low}黑盒可转移性,即使是大型ViT模型。我们表明,这种现象是由于次优的攻击程序,不利用真正的代表性的潜力的ViTs。深度ViT由多个块组成,具有由自注意和前馈层组成的一致架构,其中每个块能够独立地产生类令牌。仅使用最后一个类令牌(传统方法)制定攻击不会直接利用存储在早期令牌中的判别信息,导致ViT的对抗性可转移性较差。使用组合性质的ViT模型,我们通过引入两个新的策略,具体的ViT模型的架构,提高现有的攻击的可转移性。(i)自我包围:我们提出了一种方法,通过将单个ViT模型分解为一个网络集合来找到多个有区别的通路。这允许在每个ViT块处明确地利用类特定信息。(ii)令牌细化:然后我们建议细化令牌,以进一步提高ViT每个块的区分能力。我们的令牌细化系统地结合类令牌与结构信息中保存的补丁令牌。

英文摘要:

Vision transformers (ViTs) process input images as sequences of patches via self-attention; a radically different architecture than convolutional neural networks (CNNs). This makes it interesting to study the adversarial feature space of ViT models and their transferability. In particular, we observe that adversarial patterns found via conventional adversarial attacks show very \emph{low} black-box transferability even for large ViT models. We show that this phenomenon is only due to the sub-optimal attack procedures that do not leverage the true representation potential of ViTs. A deep ViT is composed of multiple blocks, with a consistent architecture comprising of self-attention and feed-forward layers, where each block is capable of independently producing a class token. Formulating an attack using only the last class token (conventional approach) does not directly leverage the discriminative information stored in the earlier tokens, leading to poor adversarial transferability of ViTs. Using the compositional nature of ViT models, we enhance transferability of existing attacks by introducing two novel strategies specific to the architecture of ViT models. (i) Self-Ensemble: We propose a method to find multiple discriminative pathways by dissecting a single ViT model into an ensemble of networks. This allows explicitly utilizing class-specific information at each ViT block. (ii) Token Refinement: We then propose to refine the tokens to further enhance the discriminative capacity at each block of ViT. Our token refinement systematically combines the class tokens with structural information preserved within the patch tokens.

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

↑