Bridging The Gaps Between Token Pruning and Full Pre-training via Masked Fine-tuning
On the map: Efficient LLM inference and serving → Token pruning and merging for ViTs
Abstract (arXiv)
Despite the success of transformers on various computer vision tasks, they suffer from excessive memory and computational cost. Some works present dynamic vision transformers to accelerate inference by pruning redundant tokens. A key to improving token pruning is using well-trained models as initialization for faster convergence and better performance. However, current base models usually adopt full image training, i.e., using full images as inputs and keeping the whole feature maps through the forward process, which causes inconsistencies with dynamic models that gradually reduce tokens, including calculation pattern, information amount and token selection strategy inconsistencies. Inspired by MAE which performs masking and reconstruction self-supervised task, we devise masked fine-tuning to bridge the gaps between pre-trained base models used for initialization and token pruning based dynamic vision transformers, by masking image patches and predicting the image class label based on left unmasked patches. Extensive experiments on ImageNet demonstrate that base models via masked fine-tuning gain strong occlusion robustness and ability against information loss. With this better initialization, Dynamic ViT achieves higher accuracies, especially under large token pruning ratios (e.g., 81.9% vs. 81.3%, and 62.3% vs. 58.9% for DeiT based Dynamic ViT/0.8 and Dynamic ViT/0.3). Moreover, we apply our method into different token pruning based dynamic vision transformers, different pre-trained models and randomly initialized models to demonstrate the generalization ability.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Token pruning and merging for ViTs, one of 12 directions in Efficient LLM inference and serving. Builds on 49 of its 51 references that are in the map. First posted on arXiv 26 Oct 2023.
Builds on
49 of 51 references.
Closest ancestors · 2
Same direction, newest first
- 2021SPViT: Enabling Faster Vision Transformers via Soft Token Pruning27 Dec
- 2021Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer3 Aug
Other references · 47
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
35 more
- 2021SwinIR: Image Restoration Using Swin Transformercited by 1,887
- 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,620
- 2021ViViT: A Video Vision Transformercited by 1,620
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
- 2020Point Transformercited by 1,470
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,369
- 2022VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Trainingcited by 1,322
- 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
- 2020PCT: Point cloud transformercited by 732
- 2021Point-BERT: Pre-training 3D Point Cloud Transformers with Masked Point Modelingcited by 653
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
- 2023VideoMAE V2: Scaling Video Masked Autoencoders with Dual Maskingcited by 528
- 2022Masked Autoencoders for Point Cloud Self-supervised Learningcited by 459
- 2022Masked Autoencoders As Spatiotemporal Learnerscited by 429
- 2022Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizationscited by 363
- 2022Scaling Language-Image Pre-training via Maskingcited by 317
- 2022Context Autoencoder for Self-Supervised Representation Learningcited by 297
- 2022Masked Autoencoders that Listencited by 273
- 2022Vision Transformers for Single Image Dehazingcited by 260
- 2021Incorporating Convolution Designs into Visual Transformerscited by 248
- 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
- 2021Chasing Sparsity in Vision Transformers: An End-to-End Explorationcited by 183
- 2021Adaptive Token Sampling For Efficient Vision Transformerscited by 183
- 2021End-to-end Temporal Action Detection with Transformercited by 151
- 2021Not All Images are Worth 16x16 Words: Dynamic Transformers for Efficient Image Recognitioncited by 144
- 2021Patch Slimming for Efficient Vision Transformerscited by 133
- 2021IA-RED2: Interpretability-Aware Redundancy Reduction for Vision Transformerscited by 127
- 2022Vision Transformer Slimming: Multi-Dimension Searching in Continuous Optimization Spacecited by 66
- 2022Uniform Masking: Enabling MAE Pre-training for Pyramid-based Vision Transformers with Localitycited by 57
- 2022Green Hierarchical Vision Transformer for Masked Image Modelingcited by 50
- 2022Understanding Masked Image Modeling via Learning Occlusion Invariant Featurecited by 50
- 2022Attentive Mask CLIPcited by 23
- 2021MIA-Former: Efficient and Robust Vision Transformers via Multi-grained Input-Adaptationcited by 12
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023No Token Left Behind: Efficient Vision Transformer via Dynamic Token Idling
- 2023Learned Thresholds Token Merging and Pruning for Vision Transformers
- 2026Scaling Vision Transformers Without Training: Prune-and-Merge Token Compression
- 2025Similarity-Aware Token Pruning: Your VLM but Faster
- 2023Morphing Tokens Draw Strong Masked Image Models
- 2023PPT: Token Pruning and Pooling for Efficient Vision Transformers
- 2022Adaptive Sparse ViT: Towards Learnable Adaptive Token Pruning by Fully Exploiting Self-Attention
- 2023MSViT: Dynamic Mixed-Scale Tokenization for Vision Transformers