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

对视觉Transformer的后门攻击

Backdoor Attacks on Vision Transformers

University of Maryland, Baltimore County(马里兰大学巴尔的摩县分校);University of California, Davis(加州大学戴维斯分校)

Akshayvarun Subramanya, Aniruddha Saha, Soroush Abbasi Koohpayegani, Ajinkya Tejankar, Hamed Pirsiavash

摘要:

视觉Transformer(ViT)最近在各种视觉任务上表现出了示范性的性能,并被用作CNN的替代品。他们的设计基于自我注意力机制,将图像处理为一系列补丁,这与CNN有很大不同。因此,研究ViT是否容易受到后门攻击是很有趣的。后门攻击是指攻击者出于恶意目的对一小部分训练数据下毒。模型在干净的测试图像上性能良好,但攻击者可以通过在测试时显示触发器来操纵模型的决策。据我们所知,我们是第一个表明ViTs容易受到后门攻击的人。我们还发现了ViTs和CNN之间有趣的差异-解释算法有效地突出了ViTs测试图像上的触发器,而不是CNN。基于这一观察结果,我们提出了一个测试时的图像阻塞防御的ViTs的攻击成功率降低了很大的利润。代码可在这里:https://github.com/UCDvision/backdoor_transformer.git

英文摘要:

Vision Transformers (ViT) have recently demonstrated exemplary performance on a variety of vision tasks and are being used as an alternative to CNNs. Their design is based on a self-attention mechanism that processes images as a sequence of patches, which is quite different compared to CNNs. Hence it is interesting to study if ViTs are vulnerable to backdoor attacks. Backdoor attacks happen when an attacker poisons a small part of the training data for malicious purposes. The model performance is good on clean test images, but the attacker can manipulate the decision of the model by showing the trigger at test time. To the best of our knowledge, we are the first to show that ViTs are vulnerable to backdoor attacks. We also find an intriguing difference between ViTs and CNNs - interpretation algorithms effectively highlight the trigger on test images for ViTs but not for CNNs. Based on this observation, we propose a test-time image blocking defense for ViTs which reduces the attack success rate by a large margin. Code is available here: https://github.com/UCDvision/backdoor_transformer.git

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

↑