arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.08859cs.CV
收藏

Vision Transformers中区域注意力与稀疏注意力的融合

Fusion of regional and sparse attention in Vision Transformers

Purdue University(普渡大学);Futurewei Technologies Inc.(华为主机技术公司)

Nabil Ibtehaz, Ning Yan, Masood Mortazavi, Daisuke Kihara

AI总结:

针对区域注意力与稀疏注意力在层级结构和全局上下文间的权衡,本文提出Atrous Attention并构建ACC-ViT,以更少参数在ImageNet-1K上超过MaxViT。

摘要:

现代vision transformers通过在窗口或网格区域内计算注意力,利用像素之间受视觉启发的局部交互,这不同于原始ViT采用的全局注意力。区域注意力将像素交互限制在特定区域内,而稀疏注意力则将这些交互分散到稀疏网格上。这些不同方法在保持层级关系与捕捉全局上下文之间带来了挑战。本研究受atrous convolution(空洞卷积)启发,提出Atrous Attention,它融合区域注意力与稀疏注意力,在保留层级结构的同时动态整合局部和全局信息。在此基础上,我们引入一种通用的混合vision transformer骨干网络ACC-ViT,专为标准视觉任务定制。我们的紧凑模型在ImageNet-1K上达到约84%的准确率,参数量少于2850万,比最先进的MaxViT高出0.42%,同时所需参数减少8.4%。

英文摘要:

Modern vision transformers leverage visually inspired local interaction between pixels through attention computed within window or grid regions, in contrast to the global attention employed in the original ViT. Regional attention restricts pixel interactions within specific regions, while sparse attention disperses them across sparse grids. These differing approaches pose a challenge between maintaining hierarchical relationships vs. capturing a global context. In this study, drawing inspiration from atrous convolution, we propose Atrous Attention, a blend of regional and sparse attention that dynamically integrates both local and global information while preserving hierarchical structures. Based on this, we introduce a versatile, hybrid vision transformer backbone called ACC-ViT, tailored for standard vision tasks. Our compact model achieves approximately 84% accuracy on ImageNet-1K with fewer than 28.5 million parameters, outperforming the state-of-the-art MaxViT by 0.42% while requiring 8.4% fewer parameters.

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

↑