LGViT: Dynamic Early Exiting for Accelerating Vision Transformer
Guanyu Xu, Jiawei Hao, Li Shen, Han Hu, Yong Luo, Hui Lin, Jialie Shen
摘要
Recently, the efficient deployment and acceleration of powerful vision transformers (ViTs) on resource-limited edge devices for providing multimedia services have become attractive tasks. Although early exiting is a feasible solution for accelerating inference, most works focus on convolutional neural networks (CNNs) and transformer models in natural language processing (NLP). Moreover, the direct application of early exiting methods to ViTs may result in substantial performance degradation. To tackle this challenge, we systematically investigate the efficacy of early exiting in ViTs and point out that the insufficient feature representations in shallow internal classifiers and the limited ability to capture target semantic information in deep internal classifiers restrict the performance of these methods. We then propose an early exiting framework for general ViTs termed LGViT, which incorporates heterogeneous exiting heads, namely, local perception head and global aggregation head, to achieve an efficiency-accuracy trade-off. In particular, we develop a novel two-stage training scheme, including end-to-end training and self-distillation with the backbone frozen to generate early exiting ViTs, which facilitates the fusion of global and local information extracted by the two types of heads. We conduct extensive experiments using three popular ViT backbones on three vision datasets. Results demonstrate that our LGViT can achieve competitive performance with approximately 1.8 × speed-up.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Energy Landscape-Aware Vision Transformers: Layerwise Dynamics and Adaptive Task-Specific Training via Hopfield States 引用了 MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer
- Going deeper with Image Transformers 引用了 Training data-efficient image transformers & distillation through attention
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Training data-efficient image transformers & distillation through attention
- How Do Vision Transformers Work? 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- How Do Vision Transformers Work? 引用了 Training data-efficient image transformers & distillation through attention
- Similarity-Guided Layer-Adaptive Vision Transformer for UAV Tracking 引用了 Training data-efficient image transformers & distillation through attention
- EnViT: Enhancing the Performance of Early-Exit Vision Transformers via Exit-Aware Structured Dropout-Enabled Self-Distillation 引用了 MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer
- MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer 引用了 Going deeper with Image Transformers
- MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer 引用了 Training data-efficient image transformers & distillation through attention
- ThinkingViT: Matryoshka Thinking Vision Transformer for Elastic Inference 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- ThinkingViT: Matryoshka Thinking Vision Transformer for Elastic Inference 引用了 Training data-efficient image transformers & distillation through attention
引用它的顶会 Paper5
- ThinkingViT: Matryoshka Thinking Vision Transformer for Elastic InferenceAli Hojjat, Janek Haberer, Sören Pirk, Olaf LandsiedelCVPR 2026 · 6 次引用
- HeSS: Head Sensitivity Score for Sparsity Redistribution in VGGTYongsung Kim, Wooseok Song, Jaihyun Lew, Hun Hwangbo 等CVPR 2026 · 5 次引用
- Energy Landscape-Aware Vision Transformers: Layerwise Dynamics and Adaptive Task-Specific Training via Hopfield StatesRunze Xia, Richard JiangNeurIPS 2025 · 1 次引用
- Similarity-Guided Layer-Adaptive Vision Transformer for UAV TrackingChaocan Xue, Bineng Zhong, Qihua Liang, Yaozong Zheng 等CVPR 2025
- EnViT: Enhancing the Performance of Early-Exit Vision Transformers via Exit-Aware Structured Dropout-Enabled Self-DistillationYonghao Dong, Qiang He, Penghong Rui, Zhenzhe Zheng 等AAAI 2026
它引用的 Paper19
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
- MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision TransformerSachin Mehta, Mohammad RastegariICLR 2022 · 2,162 次引用
- Going deeper with Image TransformersHugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve 等ICCV 2021 · 1,279 次引用
- How Do Vision Transformers Work?Namuk Park, Songkuk KimICLR 2022 · 653 次引用
相关 Paper
- HeatViT: Hardware-Efficient Adaptive Token Pruning for Vision TransformersPeiyan Dong, Mengshu Sun, Alec Lu, Yanyue Xie 等HPCA 2023 · 117 次引用
- RegionViT: Regional-to-Local Attention for Vision TransformersChun-Fu Chen, Rameswar Panda, Quanfu FanICLR 2022 · 246 次引用
- ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor AttentionJyotikrishna Dass, Shang Wu, Huihong Shi, Chaojian Li 等HPCA 2023 · 65 次引用
- EViT: Expediting Vision Transformers via Token ReorganizationsYouwei Liang, Chongjian Ge, Zhan Tong, Yibing Song 等ICLR 2022 · 137 次引用
- Making Vision Transformers Efficient from A Token Sparsification ViewShuning Chang, Pichao Wang, Ming Lin, Fan Wang 等CVPR 2023
