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

AdaNCA:神经细胞自动机作为适配器以提升视觉Transformer的鲁棒性

AdaNCA: Neural Cellular Automata As Adaptors For More Robust Vision Transformer

École polytechnique fédérale de Lausanne(洛桑联邦理工学院)

Yitao Xu, Tong Zhang, Sabine Süsstrunk

AI总结:

本文提出AdaNCA,将神经细胞自动机作为即插即用适配器插入ViT层间,并通过动态交互和插入点选择算法,以不到3%的参数增加实现对抗攻击下超过10%的准确率提升,显著增强ViT鲁棒性。

摘要:

视觉Transformer(ViTs)通过视觉token交互学习在图像分类中展现出卓越性能,尤其是在通过区域注意力或卷积配备局部信息时。尽管此类架构改善了不同粒度下的特征聚合,但它们往往无助于提升网络的鲁棒性。神经细胞自动机(NCA)能够通过局部交互建模全局视觉token表示,其训练策略和架构设计赋予了强大的泛化能力以及对噪声输入的鲁棒性。在本文中,我们提出用于视觉Transformer的适配器神经细胞自动机(AdaNCA),将NCA作为ViT层之间的即插即用适配器,从而增强ViT的性能以及对对抗样本和分布外输入的鲁棒性。为克服标准NCA的较大计算开销,我们提出动态交互以实现更高效的交互学习。利用我们对AdaNCA放置位置与鲁棒性提升的分析,我们还开发了一种算法,用于识别AdaNCA最有效的插入点。在参数增加不到3%的情况下,AdaNCA在ImageNet1K基准上的对抗攻击下带来了超过10%的绝对准确率提升。此外,我们通过在八个鲁棒性基准和四种ViT架构上的广泛评估证明,AdaNCA作为一个即插即用模块,能够持续提升ViT的鲁棒性。

英文摘要:

Vision Transformers (ViTs) demonstrate remarkable performance in image classification through visual-token interaction learning, particularly when equipped with local information via region attention or convolutions. Although such architectures improve the feature aggregation from different granularities, they often fail to contribute to the robustness of the networks. Neural Cellular Automata (NCA) enables the modeling of global visual-token representations through local interactions, with its training strategies and architecture design conferring strong generalization ability and robustness against noisy input. In this paper, we propose Adaptor Neural Cellular Automata (AdaNCA) for Vision Transformers that uses NCA as plug-and-play adaptors between ViT layers, thus enhancing ViT's performance and robustness against adversarial samples as well as out-of-distribution inputs. To overcome the large computational overhead of standard NCAs, we propose Dynamic Interaction for more efficient interaction learning. Using our analysis of AdaNCA placement and robustness improvement, we also develop an algorithm for identifying the most effective insertion points for AdaNCA. With less than a 3% increase in parameters, AdaNCA contributes to more than 10% absolute improvement in accuracy under adversarial attacks on the ImageNet1K benchmark. Moreover, we demonstrate with extensive evaluations across eight robustness benchmarks and four ViT architectures that AdaNCA, as a plug-and-play module, consistently improves the robustness of ViTs.

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

↑