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

利用重构嵌入补丁提高对抗样本的可移植性

Improving the Transferability of Adversarial Examples with Restructure Embedded Patches

Beijing Institute of Technology(北京理工大学)

Huipeng Zhou, Yu-an Tan, Yajie Wang, Haoran Lyu, Shangbo Wu, Yuanzhang Li

摘要:

视觉Transformer(ViTs)在各种计算机视觉任务中表现出令人印象深刻的性能。然而,由ViTs生成的对抗性示例很难转移到具有不同结构的其他网络。现有的攻击方法没有考虑ViTs结构和自注意力机制的特殊性,导致ViTs生成的对抗样本的可移植性差。我们通过重构输入的嵌入补丁来攻击ViTs中独特的自我注意力机制。重构后的嵌入贴片使自我注意力机制能够获得更多样的贴片连接,并帮助ViT保持对象上的感兴趣区域。因此,我们提出了一种针对ViTs中独特的自我注意力机制的攻击方法,称为自我注意补丁重组(SAPR)。我们的方法是简单的实现,但有效的,适用于任何自注意力为基础的网络和梯度转移为基础的攻击方法。我们评估了不同结构的黑盒模型上的攻击可转移性。结果表明,我们的方法在白盒ViTs上生成的对抗性示例具有更高的可移植性和更高的图像质量。我们的研究推进了对ViTs的黑盒传输攻击的发展,并证明了使用白盒ViTs攻击其他黑盒模型的可行性。

英文摘要:

Vision transformers (ViTs) have demonstrated impressive performance in various computer vision tasks. However, the adversarial examples generated by ViTs are challenging to transfer to other networks with different structures. Recent attack methods do not consider the specificity of ViTs architecture and self-attention mechanism, which leads to poor transferability of the generated adversarial samples by ViTs. We attack the unique self-attention mechanism in ViTs by restructuring the embedded patches of the input. The restructured embedded patches enable the self-attention mechanism to obtain more diverse patches connections and help ViTs keep regions of interest on the object. Therefore, we propose an attack method against the unique self-attention mechanism in ViTs, called Self-Attention Patches Restructure (SAPR). Our method is simple to implement yet efficient and applicable to any self-attention based network and gradient transferability-based attack methods. We evaluate attack transferability on black-box models with different structures. The result show that our method generates adversarial examples on white-box ViTs with higher transferability and higher image quality. Our research advances the development of black-box transfer attacks on ViTs and demonstrates the feasibility of using white-box ViTs to attack other black-box models.

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

↑