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

视觉Transformer和MLP混合器对CNN的对抗鲁棒性比较

Adversarial Robustness Comparison of Vision Transformer and MLP-Mixer to CNNs

Philipp Benz, Soomin Ham, Chaoning Zhang, Adil Karjauv, In So Kweon

摘要:

卷积神经网络(CNN)在过去几年中已经成为计算机视觉应用中事实上的黄金标准。然而,最近,新的模型架构已经提出了挑战现状。视觉Transformer(ViT)仅依赖于注意力模块,而MLP混合器架构用多层感知器(MLP)代替自注意力模块。尽管CNN取得了巨大的成功,但众所周知,它容易受到对抗攻击的攻击,这对安全敏感的应用程序造成了严重的担忧。因此,社区必须知道新提出的ViT和MLP混合器是否也容易受到对抗攻击的攻击。为此,我们根据经验评估了它们在几种对抗攻击设置下的对抗鲁棒性,并将它们与广泛使用的CNN进行基准测试。总的来说,我们发现这两种架构,特别是ViT,比它们的CNN模型更健壮。使用一个玩具例子,我们还提供了经验证据,证明CNN的较低对抗鲁棒性可以部分归因于其平移不变特性。我们的频率分析表明,与CNN相比,最强大的ViT架构往往更依赖于低频特征。此外,我们有一个有趣的发现,MLP混合器非常容易受到普遍对抗性扰动的影响。

英文摘要:

Convolutional Neural Networks (CNNs) have become the de facto gold standard in computer vision applications in the past years. Recently, however, new model architectures have been proposed challenging the status quo. The Vision Transformer (ViT) relies solely on attention modules, while the MLP-Mixer architecture substitutes the self-attention modules with Multi-Layer Perceptrons (MLPs). Despite their great success, CNNs have been widely known to be vulnerable to adversarial attacks, causing serious concerns for security-sensitive applications. Thus, it is critical for the community to know whether the newly proposed ViT and MLP-Mixer are also vulnerable to adversarial attacks. To this end, we empirically evaluate their adversarial robustness under several adversarial attack setups and benchmark them against the widely used CNNs. Overall, we find that the two architectures, especially ViT, are more robust than their CNN models. Using a toy example, we also provide empirical evidence that the lower adversarial robustness of CNNs can be partially attributed to their shift-invariant property. Our frequency analysis suggests that the most robust ViT architectures tend to rely more on low-frequency features compared with CNNs. Additionally, we have an intriguing finding that MLP-Mixer is extremely vulnerable to universal adversarial perturbations.

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

↑