Augmented Shortcuts for Vision Transformers
Yehui Tang Affiliation: Key Lab of Machine Perception (MOE), Dept. of Machine Intelligence, Peking University. Kai Han Chang Xu Affiliation: School of Computer Science, Faculty of Engineering, University of {kai.han, yunhe.wang, an.xiao, An Xiao Yiping Deng Affiliation: Noah’s Ark Lab, Huawei Technologies. Central Software Institution, Huawei Technologies. Chao Xu Affiliation: Key Lab of Machine Perception (MOE), Dept. of Machine Intelligence, Peking University. Yunhe Wang
Abstract
Transformer models have achieved great progress on computer vision tasks recently. The rapid development of vision transformers is mainly contributed by their high representation ability for extracting informative features from input images. However, the mainstream transformer models are designed with deep architectures, and the feature diversity will be continuously reduced as the depth increases, i.e., feature collapse. In this paper, we theoretically analyze the feature collapse phenomenon and study the relationship between shortcuts and feature diversity in these transformer models. Then, we present an augmented shortcut scheme, which inserts additional paths with learnable parameters in parallel on the original shortcuts. To save the computational costs, we further explore an efficient approach that uses the block-circulant projection to implement augmented shortcuts. Extensive experiments conducted on benchmark datasets demonstrate the effectiveness of the proposed method, which brings about 1% accuracy increase of the state-of-the-art visual transformers without obviously increasing their parameters and FLOPs.
原文 arXiv:2106.15941;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2106.15941v1