arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2211.05781cs.CV
收藏

揭秘现代图像深度网络中的Transformer与卷积

Demystify Transformers & Convolutions in Modern Image Deep Networks

South China University of Technology(南方科技大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Huazhong University of Science and Technology(华中科技大学);Fudan University(复旦大学);The Chinese University of Hong Kong(香港中文大学);Tsinghua University(清华大学);SenseTime Research(商汤科技研究院)

Xiaowei Hu, Min Shi, Weiyun Wang, Sitong Wu, Linjie Xing, Wenhai Wang, Xizhou Zhu, Lewei Lu, Jie Zhou, Xiaogang Wang, Yu Qiao, Jifeng Dai

AI总结:

本文通过统一架构对比多种空间令牌混合器,揭示网络级和块级设计对性能提升的关键作用,并分析不同STM在感受野、不变性和鲁棒性上的差异。

摘要:

视觉Transformer近年来广受欢迎,推动了具有改进特征和持续性能提升的新型视觉骨干网络的发展。然而,这些进步并非仅仅归因于新颖的特征变换设计;部分收益也来自于先进的网络级和块级架构。本文旨在通过详细研究,识别流行的卷积和注意力算子的真实增益。我们发现,这些特征变换模块(如注意力或卷积)之间的关键差异在于其空间特征聚合方式,即所谓的“空间令牌混合器”(STM)。为了促进公正的比较,我们引入了一个统一架构,以消除不同网络级和块级设计的影响。随后,将各种STM集成到这一统一框架中进行综合比较分析。我们在多种任务上的实验和归纳偏置分析表明,先进的网络级和块级设计带来了显著的性能提升,但不同STM之间的性能差异依然存在。我们的详细分析还揭示了关于不同STM的各种发现,包括有效感受野、不变性和对抗鲁棒性测试。

英文摘要:

Vision transformers have gained popularity recently, leading to the development of new vision backbones with improved features and consistent performance gains. However, these advancements are not solely attributable to novel feature transformation designs; certain benefits also arise from advanced network-level and block-level architectures. This paper aims to identify the real gains of popular convolution and attention operators through a detailed study. We find that the key difference among these feature transformation modules, such as attention or convolution, lies in their spatial feature aggregation approach, known as the "spatial token mixer" (STM). To facilitate an impartial comparison, we introduce a unified architecture to neutralize the impact of divergent network-level and block-level designs. Subsequently, various STMs are integrated into this unified framework for comprehensive comparative analysis. Our experiments on various tasks and an analysis of inductive bias show a significant performance boost due to advanced network-level and block-level designs, but performance differences persist among different STMs. Our detailed analysis also reveals various findings about different STMs, including effective receptive fields, invariance, and adversarial robustness tests.

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

↑