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

嫁接视觉Transformer

Grafting Vision Transformers

Stony Brook University(石溪大学);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);Amazon(亚马逊)

Jongwoo Park, Kumara Kahatapitiya, Donghyun Kim, Shivchander Sudalairaj, Quanfu Fan, Michael S. Ryoo

AI总结:

提出一种高效附加组件GrafT,通过在网络任意深度引入全局依赖和多尺度信息共享,显著提升多种视觉Transformer模型在ImageNet-1k上的准确率,尤其使移动端模型受益。

摘要:

视觉Transformer(ViTs)最近在许多计算机视觉任务中成为最先进的技术。与卷积网络(CNNs)不同,ViTs即使在网络的浅层(即高分辨率特征中)也能实现全局信息共享。然而,随着Swin Transformer等金字塔架构的成功,这一优势后来被忽视了,这些架构展现出更好的性能-复杂度权衡。在本文中,我们提出了一个简单高效的附加组件(称为GrafT),它在整个网络中考虑全局依赖和多尺度信息,无论在高分辨率还是低分辨率特征中皆是如此。它具有在任意深度分支的灵活性,并共享骨干网络的大部分参数和计算。GrafT在各种知名模型上表现出一致的增益,包括混合和纯Transformer类型、同质和金字塔结构,以及各种自注意力方法。特别是,它通过提供高级语义,在很大程度上使移动端尺寸的模型受益。在ImageNet-1k数据集上,GrafT分别为DeiT-T、Swin-T和MobileViT-XXS带来了+3.9%、+1.4%和+1.9%的top-1准确率提升。我们的代码和模型将公开提供。

英文摘要:

Vision Transformers (ViTs) have recently become the state-of-the-art across many computer vision tasks. In contrast to convolutional networks (CNNs), ViTs enable global information sharing even within shallow layers of a network, i.e., among high-resolution features. However, this perk was later overlooked with the success of pyramid architectures such as Swin Transformer, which show better performance-complexity trade-offs. In this paper, we present a simple and efficient add-on component (termed GrafT) that considers global dependencies and multi-scale information throughout the network, in both high- and low-resolution features alike. It has the flexibility of branching out at arbitrary depths and shares most of the parameters and computations of the backbone. GrafT shows consistent gains over various well-known models which includes both hybrid and pure Transformer types, both homogeneous and pyramid structures, and various self-attention methods. In particular, it largely benefits mobile-size models by providing high-level semantics. On the ImageNet-1k dataset, GrafT delivers +3.9%, +1.4%, and +1.9% top-1 accuracy improvement to DeiT-T, Swin-T, and MobileViT-XXS, respectively. Our code and models will be made available.

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

↑