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.
翻译:最近,在计算机愿景任务方面,变形器模型取得了巨大进步。 视觉变异器的快速发展主要得益于其从输入图像中提取信息特征的高代表性能力。 然而,主流变压器模型的设计带有深层结构,随着深度的增加,即地貌崩溃,特性多样性将不断减少。 在本文中,我们从理论上分析特征崩溃现象并研究这些变压器模型中捷径和特征多样性之间的关系。 然后,我们提出了一个扩大的捷径方案,在原始捷径上同时插入附加可学习参数的路径。为了节省计算成本,我们进一步探索一种高效的方法,利用块-电动器投影来实施扩大的捷径。在基准数据集上进行的广泛实验显示了拟议方法的有效性,从而在不明显增加参数和FLOP的情况下,使最先进的视觉变异器的精度提高了1%。