Slicing Vision Transformer for Flexible Inference
Not on the map. Why?
Abstract (arXiv)
Vision Transformers (ViT) is known for its scalability. In this work, we target to scale down a ViT to fit in an environment with dynamic-changing resource constraints. We observe that smaller ViTs are intrinsically the sub-networks of a larger ViT with different widths. Thus, we propose a general framework, named Scala, to enable a single network to represent multiple smaller ViTs with flexible inference capability, which aligns with the inherent design of ViT to vary from widths. Concretely, Scala activates several subnets during training, introduces Isolated Activation to disentangle the smallest sub-network from other subnets, and leverages Scale Coordination to ensure each sub-network receives simplified, steady, and accurate learning objectives. Comprehensive empirical validations on different tasks demonstrate that with only one-shot training, Scala learns slimmable representation without modifying the original ViT structure and matches the performance of Separate Training. Compared with the prior art, Scala achieves an average improvement of 1.6% on ImageNet-1K with fewer parameters.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 41 of its 48 references that are in the map. First posted on arXiv 6 Dec 2024.
Builds on
41 of 48 references.
References · 41
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2023Segment Anythingcited by 8,158
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
29 more
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2017Random Erasing Data Augmentationcited by 1,235
- 2021Scaling Vision Transformerscited by 993
- 2020Designing Network Design Spacescited by 954
- 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 778
- 2022PaLI: A Jointly-Scaled Multilingual Language-Image Modelcited by 762
- 2021Going deeper with Image Transformerscited by 759
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2019Panoptic Feature Pyramid Networkscited by 644
- 2018Slimmable Neural Networkscited by 301
- 2021DeepViT: Towards Deeper Vision Transformercited by 288
- 2021Post-Training Quantization for Vision Transformercited by 274
- 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
- 2022TinyViT: Fast Pretraining Distillation for Small Vision Transformerscited by 232
- 2019Universally Slimmable Networks and Improved Training Techniquescited by 219
- 2022UniFormer: Unifying Convolution and Self-attention for Visual Recognitioncited by 206
- 2020BigNAS: Scaling Up Neural Architecture Search with Big Single-Stage Modelscited by 187
- 2021AutoFormer: Searching Transformers for Visual Recognitioncited by 186
- 2022I-ViT: Integer-only Quantization for Efficient Vision Transformer Inferencecited by 93
- 2023TinyCLIP: CLIP Distillation via Affinity Mimicking and Weight Inheritancecited by 90
- 2023MatFormer: Nested Transformer for Elastic Inferencecited by 79
- 2023Stitchable Neural Networkscited by 26
- 2022Dynamic ConvNets on Tiny Devices via Nested Sparsitycited by 7
- 2020Any-Width Networkscited by 5
- 2023Three Guidelines You Should Know for Universally Slimmable Self-Supervised Learningcited by 4
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025ThinkingViT: Matryoshka Thinking Vision Transformer for Elastic Inferencecited by 6
- 2025A Few Large Shifts: Layer-Inconsistency Based Minimal Overhead Adversarial Example Detectioncited by 1
- 2026Cut-ViT: Task-Specific Model Pruning via Gram Anchoring Subspace Consistencycited by 1
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Corescited by 0
- 2026Cut-ViT: Task-Specific Model Pruning via Gram Anchoring Subspace Consistency28 Aug 2026
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Cores12 May 2026
- 2025ThinkingViT: Matryoshka Thinking Vision Transformer for Elastic Inference14 Jul 2025
- 2025A Few Large Shifts: Layer-Inconsistency Based Minimal Overhead Adversarial Example Detection19 May 2025