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

利用视觉Transformer实现实用的可认证补丁防御

Towards Practical Certifiable Patch Defense with Vision Transformer

Academy for Engineering and Technology, Fudan University(复旦大学工程与技术研究院);Tencent Youtu Lab(腾讯优图实验室)

Zhaoyu Chen, Bo Li, Jianghe Xu, Shuang Wu, Shouhong Ding, Wenqiang Zhang

摘要:

补丁攻击是对抗示例中最具威胁性的物理攻击形式之一,可以通过任意修改连续区域中的像素来导致网络产生错误分类。可认证补丁防御可以保证分类器不受补丁攻击的影响。现有的可认证补丁防御牺牲了分类器的干净准确性,并且仅在玩具数据集上获得较低的认证准确性。此外,这些方法的清洁和认证的准确性仍然显着低于正常分类网络的准确性,这限制了它们在实践中的应用。为了实现实用的可认证补丁防御,我们将视觉Transformer(ViT)引入去随机平滑(DS)框架。具体来说,我们提出了一个渐进的平滑图像建模任务,训练视觉Transformer,它可以捕捉更多的可辨别的局部上下文的图像,同时保留全局语义信息。为了在现实世界中进行有效的推理和部署,我们创新性地将原始ViT的全局自注意结构重构为孤立的带单元自注意。在ImageNet上,在2%面积补丁攻击下,我们的方法达到了41.70%的认证准确率,比之前的最佳方法(26.00%)提高了近1倍。同时,我们的方法达到了78.58%的清洁准确率,这非常接近正常的ResNet-101准确率。大量的实验表明,我们的方法在CIFAR-10和ImageNet上有效地推断,获得了最先进的干净和认证的准确性。

英文摘要:

Patch attacks, one of the most threatening forms of physical attack in adversarial examples, can lead networks to induce misclassification by modifying pixels arbitrarily in a continuous region. Certifiable patch defense can guarantee robustness that the classifier is not affected by patch attacks. Existing certifiable patch defenses sacrifice the clean accuracy of classifiers and only obtain a low certified accuracy on toy datasets. Furthermore, the clean and certified accuracy of these methods is still significantly lower than the accuracy of normal classification networks, which limits their application in practice. To move towards a practical certifiable patch defense, we introduce Vision Transformer (ViT) into the framework of Derandomized Smoothing (DS). Specifically, we propose a progressive smoothed image modeling task to train Vision Transformer, which can capture the more discriminable local context of an image while preserving the global semantic information. For efficient inference and deployment in the real world, we innovatively reconstruct the global self-attention structure of the original ViT into isolated band unit self-attention. On ImageNet, under 2% area patch attacks our method achieves 41.70% certified accuracy, a nearly 1-fold increase over the previous best method (26.00%). Simultaneously, our method achieves 78.58% clean accuracy, which is quite close to the normal ResNet-101 accuracy. Extensive experiments show that our method obtains state-of-the-art clean and certified accuracy with inferring efficiently on CIFAR-10 and ImageNet.

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

↑