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

具有稀疏扫描先验的视觉Transformer

Vision Transformer with Sparse Scan Prior

MAIS & CRIPAC, Institute of Automation, Chinese Academy of Sciences, Beijing, China(MAIS与CRIPAC,自动化研究所,中国科学院,北京,中国);School of Artificial Intelligence, University of Chinese Academy of Sciences, Beijing, China(人工智能学院,中国科学院大学,北京,中国)

Yuguang Zhang, Qihang Fan, Huaibo Huang

AI总结:

受人类眼睛稀疏扫描机制启发,提出稀疏扫描自注意力机制S³A及SSViT模型,通过局部注意力降低计算开销,在ImageNet分类等任务上取得优异性能。

摘要:

近年来,Transformer在计算机视觉任务中取得了显著进展。然而,其全局建模往往伴随着巨大的计算开销,这与人类眼睛高效的信息处理方式形成鲜明对比。受人类眼睛稀疏扫描机制的启发,我们提出了一种稀疏扫描自注意力机制(S³A)。该机制为每个令牌预定义一系列感兴趣锚点,并采用局部注意力来高效建模这些锚点周围的空间信息,避免了冗余的全局建模和对局部信息的过度关注。这种方法模仿了人眼的功能,并显著降低了视觉模型的计算负担。基于S³A,我们引入了稀疏扫描视觉Transformer(SSViT)。大量实验表明,SSViT在各种任务中均表现出色。具体而言,在ImageNet分类任务中,在没有额外监督或训练数据的情况下,SSViT在4.4G/18.2G FLOPs下分别达到了84.4%/85.7%的top-1准确率。SSViT在目标检测、实例分割和语义分割等下游任务中也表现出色。其鲁棒性在多个数据集上得到了进一步验证。

英文摘要:

In recent years, Transformers have achieved remarkable progress in computer vision tasks. However, their global modeling often comes with substantial computational overhead, in stark contrast to the human eye's efficient information processing. Inspired by the human eye's sparse scanning mechanism, we propose a \textbf{S}parse \textbf{S}can \textbf{S}elf-\textbf{A}ttention mechanism ($\rm{S}^3\rm{A}$). This mechanism predefines a series of Anchors of Interest for each token and employs local attention to efficiently model the spatial information around these anchors, avoiding redundant global modeling and excessive focus on local information. This approach mirrors the human eye's functionality and significantly reduces the computational load of vision models. Building on $\rm{S}^3\rm{A}$, we introduce the \textbf{S}parse \textbf{S}can \textbf{Vi}sion \textbf{T}ransformer (SSViT). Extensive experiments demonstrate the outstanding performance of SSViT across a variety of tasks. Specifically, on ImageNet classification, without additional supervision or training data, SSViT achieves top-1 accuracies of \textbf{84.4\%/85.7\%} with \textbf{4.4G/18.2G} FLOPs. SSViT also excels in downstream tasks such as object detection, instance segmentation, and semantic segmentation. Its robustness is further validated across diverse datasets.

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

↑