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

SATA:用于增强视觉Transformer鲁棒性的空间自相关Token分析

SATA: Spatial Autocorrelation Token Analysis for Enhancing the Robustness of Vision Transformers

Griffith University(格里菲斯大学)

Nick Nikzad, Yi Liao, Yongsheng Gao, Jun Zhou

AI总结:

本文提出SATA方法,通过分析token的空间自相关分数进行分组,无需重新训练即可提升视觉Transformer的表示能力、鲁棒性和效率,并在ImageNet-1K及多个鲁棒性基准上取得最先进性能。

摘要:

在过去几年中,视觉Transformer(ViTs)在各种视觉识别任务中持续展现出卓越的性能。然而,提升其鲁棒性的尝试收效有限,主要集中在不同的训练策略、输入图像块增强或网络结构改进上。这些方法通常需要大量的训练和微调,耗时且资源密集。为克服这些障碍,我们提出了一种名为空间自相关Token分析(SATA)的新方法。通过利用token特征之间的空间关系,SATA增强了ViT模型的表示能力和鲁棒性。具体做法是在token输入自注意力机制的前馈网络(FFN)模块之前,根据其空间自相关分数对token进行分析和分组。重要的是,SATA能够无缝集成到现有的预训练ViT基线中,无需重新训练或额外微调,同时通过减少FFN单元的计算负载来提高效率。实验结果表明,使用SATA增强的基线ViT不仅在ImageNet-1K图像分类上取得了新的最先进的top-1准确率(94.9%),还在多个鲁棒性基准上建立了新的最先进性能,包括ImageNet-A(top-1=63.6%)、ImageNet-R(top-1=79.2%)和ImageNet-C(mCE=13.6%),所有这些都无需对基线模型进行额外训练或微调。

英文摘要:

Over the past few years, vision transformers (ViTs) have consistently demonstrated remarkable performance across various visual recognition tasks. However, attempts to enhance their robustness have yielded limited success, mainly focusing on different training strategies, input patch augmentation, or network structural enhancements. These approaches often involve extensive training and fine-tuning, which are time-consuming and resource-intensive. To tackle these obstacles, we introduce a novel approach named Spatial Autocorrelation Token Analysis (SATA). By harnessing spatial relationships between token features, SATA enhances both the representational capacity and robustness of ViT models. This is achieved through the analysis and grouping of tokens according to their spatial autocorrelation scores prior to their input into the Feed-Forward Network (FFN) block of the self-attention mechanism. Importantly, SATA seamlessly integrates into existing pre-trained ViT baselines without requiring retraining or additional fine-tuning, while concurrently improving efficiency by reducing the computational load of the FFN units. Experimental results show that the baseline ViTs enhanced with SATA not only achieve a new state-of-the-art top-1 accuracy on ImageNet-1K image classification (94.9%) but also establish new state-of-the-art performance across multiple robustness benchmarks, including ImageNet-A (top-1=63.6%), ImageNet-R (top-1=79.2%), and ImageNet-C (mCE=13.6%), all without requiring additional training or fine-tuning of baseline models.

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

↑