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

Armour:视觉Transformer的可推广紧凑自注意

Armour: Generalizable Compact Self-Attention for Vision Transformers

Arm Inc.(安谋公司)

Lingchuan Meng

摘要:

基于注意力的Transformer网络在自然语言处理和视觉等领域的应用越来越广泛。然而,尽管最近的改进,例如次二次注意力近似和各种训练增强,但迄今为止使用常规注意力的紧凑视觉Transformer在\textit{accuracy,} \textit{model size}、\textit{and} \textit{throughput}方面与其convnet对应物相比仍然不足。本文介绍了一个紧凑的自我注意力机制,这是基本的和高度概括。该方法减少了冗余,提高了效率的顶部现有的注意力优化。我们显示了它的下拉式的适用性,经常注意力机制和一些最近的变种在视觉Transformer。因此,我们生产了更小更快的模型,具有相同或更好的精度。

英文摘要:

Attention-based transformer networks have demonstrated promising potential as their applications extend from natural language processing to vision. However, despite the recent improvements, such as sub-quadratic attention approximation and various training enhancements, the compact vision transformers to date using the regular attention still fall short in comparison with its convnet counterparts, in terms of \textit{accuracy,} \textit{model size}, \textit{and} \textit{throughput}. This paper introduces a compact self-attention mechanism that is fundamental and highly generalizable. The proposed method reduces redundancy and improves efficiency on top of the existing attention optimizations. We show its drop-in applicability for both the regular attention mechanism and some most recent variants in vision transformers. As a result, we produced smaller and faster models with the same or better accuracies.

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

↑