Revisiting Vision Transformer from the View of Path Ensemble
Not on the map. Why?
Abstract (arXiv)
Vision Transformers (ViTs) are normally regarded as a stack of transformer layers. In this work, we propose a novel view of ViTs showing that they can be seen as ensemble networks containing multiple parallel paths with different lengths. Specifically, we equivalently transform the traditional cascade of multi-head self-attention (MSA) and feed-forward network (FFN) into three parallel paths in each transformer layer. Then, we utilize the identity connection in our new transformer form and further transform the ViT into an explicit multi-path ensemble network. From the new perspective, these paths perform two functions: the first is to provide the feature for the classifier directly, and the second is to provide the lower-level feature representation for subsequent longer paths. We investigate the influence of each path for the final prediction and discover that some paths even pull down the performance. Therefore, we propose the path pruning and EnsembleScale skills for improvement, which cut out the underperforming paths and re-weight the ensemble components, respectively, to optimize the path combination and make the short paths focus on providing high-quality representation for subsequent paths. We also demonstrate that our path combination strategies can help ViTs go deeper and act as high-pass filters to filter out partial low-frequency signals. To further enhance the representation of paths served for subsequent paths, self-distillation is applied to transfer knowledge from the long paths to the short paths. This work calls for more future research to explain and design ViTs from new perspectives.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 46 of its 60 references that are in the map. First posted on arXiv 12 Aug 2023.
Builds on
46 of 60 references.
References · 46
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2016Layer Normalizationcited by 5,669
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2014FitNets: Hints for Thin Deep Netscited by 1,653
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
34 more
- 2020Knowledge Distillation: A Surveycited by 1,603
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,369
- 2016Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfercited by 1,077
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
- 2021Going deeper with Image Transformerscited by 764
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
- 2021MetaFormer Is Actually What You Need for Visioncited by 524
- 2019Be Your Own Teacher: Improve the Performance of Convolutional Neural Networks via Self Distillationcited by 497
- 2020End-to-End Video Instance Segmentation with Transformerscited by 443
- 2021Conditional Positional Encodings for Vision Transformerscited by 406
- 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 362
- 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
- 2022How Do Vision Transformers Work?cited by 307
- 2021DeepViT: Towards Deeper Vision Transformercited by 289
- 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 288
- 2021Global Filter Networks for Image Classificationcited by 260
- 2021Knowledge distillation: A good teacher is patient and consistentcited by 259
- 2022TinyViT: Fast Pretraining Distillation for Small Vision Transformerscited by 234
- 2021Co-Scale Conv-Attentional Image Transformerscited by 224
- 2018Learning Deep Representations with Probabilistic Knowledge Transfercited by 213
- 2022UniFormer: Unified Transformer for Efficient Spatiotemporal Representation Learningcited by 184
- 2021Efficient Self-supervised Vision Transformers for Representation Learningcited by 149
- 2020Regularizing Class-wise Predictions via Self-knowledge Distillationcited by 144
- 2021All Tokens Matter: Token Labeling for Training Better Vision Transformerscited by 144
- 2022Anti-Oversmoothing in Deep Vision Transformers via the Fourier Domain Analysis: From Theory to Practicecited by 136
- 2021Shuffle Transformer: Rethinking Spatial Shuffle for Vision Transformercited by 115
- 2020End-to-End Object Detection with Adaptive Clustering Transformercited by 109
- 2020Self-Knowledge Distillation with Progressive Refinement of Targetscited by 107
- 2022MiniViT: Compressing Vision Transformers with Weight Multiplexingcited by 88
- 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 76
- 2018Learning Student Networks via Feature Embeddingcited by 45
- 2023Making Vision Transformers Efficient from A Token Sparsification Viewcited by 29
- 2023SparseFormer: Sparse Visual Recognition via Limited Latent Tokenscited by 9
Built on by
Citing papers per year: 2024: 2; 2025: 1.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2023A survey on efficient vision transformers: algorithms, techniques, and performance benchmarking
- 2025Rethinking Vision Transformer Depth via Structural Reparameterization
- 2026ViT-5: Vision Transformers for The Mid-2020s
- 2022Unified Visual Transformer Compression
- 2025HEART-VIT: Hessian-Guided Efficient Dynamic Attention and Token Pruning in Vision Transformer
- 2024Multi-criteria Token Fusion with One-step-ahead Attention for Efficient Vision Transformers
- 2023LGViT: Dynamic Early Exiting for Accelerating Vision Transformer
- 2026ToaSt: Token Channel Selection and Structured Pruning for Efficient ViT