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

利用简单的动态扫描增强提高视觉Transformer的鲁棒性

Improving Robustness for Vision Transformer with a Simple Dynamic Scanning Augmentation

Kyushu University(九州大学)

Shashank Kotyan, Danilo Vasconcellos Vargas

AI总结:

本文提出动态扫描增强技术,通过动态输入序列自适应关注不同图像块,将ViT对抗鲁棒性从17%提升至92%,同时保持自然图像准确性。

摘要:

视觉Transformer(ViT)在计算机视觉任务中已展现出与最先进神经网络相当的性能。然而,这种新型深度神经网络架构容易受到对抗攻击的影响,从而限制了其在鲁棒性方面的能力。本文提出了一项新的贡献,旨在进一步提高ViT的准确性和鲁棒性,尤其是在面对对抗攻击时。我们提出了一种名为“动态扫描增强”的增强技术,该技术利用动态输入序列来自适应地关注不同的图像块,从而保持性能和鲁棒性。我们的详细研究表明,这种对输入序列的自适应性即使在处理同一图像时,也会显著改变ViT的注意力机制。我们引入了动态扫描增强的四种变体,在对抗攻击鲁棒性和自然图像准确性方面均优于ViT,其中一种变体表现出相当的结果。通过整合我们的增强技术,我们观察到ViT的鲁棒性显著提升,在不同类型的对抗攻击测试中从17%提高到92%。这些发现以及其他综合测试表明,动态扫描增强通过促进更具自适应性的注意力类型来提高准确性和鲁棒性。总之,本文通过引入动态扫描增强作为提高ViT准确性和鲁棒性的技术,为视觉Transformer的持续研究做出了贡献。观察到的结果凸显了该方法在推进计算机视觉任务方面的潜力,值得在未来的研究中进一步探索。

英文摘要:

Vision Transformer (ViT) has demonstrated promising performance in computer vision tasks, comparable to state-of-the-art neural networks. Yet, this new type of deep neural network architecture is vulnerable to adversarial attacks limiting its capabilities in terms of robustness. This article presents a novel contribution aimed at further improving the accuracy and robustness of ViT, particularly in the face of adversarial attacks. We propose an augmentation technique called `Dynamic Scanning Augmentation' that leverages dynamic input sequences to adaptively focus on different patches, thereby maintaining performance and robustness. Our detailed investigations reveal that this adaptability to the input sequence induces significant changes in the attention mechanism of ViT, even for the same image. We introduce four variations of Dynamic Scanning Augmentation, outperforming ViT in terms of both robustness to adversarial attacks and accuracy against natural images, with one variant showing comparable results. By integrating our augmentation technique, we observe a substantial increase in ViT's robustness, improving it from $17\%$ to $92\%$ measured across different types of adversarial attacks. These findings, together with other comprehensive tests, indicate that Dynamic Scanning Augmentation enhances accuracy and robustness by promoting a more adaptive type of attention. In conclusion, this work contributes to the ongoing research on Vision Transformers by introducing Dynamic Scanning Augmentation as a technique for improving the accuracy and robustness of ViT. The observed results highlight the potential of this approach in advancing computer vision tasks and merit further exploration in future studies.

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

↑