TinyMIM: An Empirical Study of Distilling MIM Pre-trained Models
Not on the map. Why?
Abstract (arXiv)
Masked image modeling (MIM) performs strongly in pre-training large vision Transformers (ViTs). However, small models that are critical for real-world applications cannot or only marginally benefit from this pre-training approach. In this paper, we explore distillation techniques to transfer the success of large MIM-based pre-trained models to smaller ones. We systematically study different options in the distillation framework, including distilling targets, losses, input, network regularization, sequential distillation, etc, revealing that: 1) Distilling token relations is more effective than CLS token- and feature-based distillation; 2) An intermediate layer of the teacher network as target perform better than that using the last layer when the depth of the student mismatches that of the teacher; 3) Weak regularization is preferred; etc. With these findings, we achieve significant fine-tuning accuracy improvements over the scratch MIM pre-training on ImageNet-1K classification, using all the ViT-Tiny, ViT-Small, and ViT-base models, with +4.2%/+2.4%/+1.4% gains, respectively. Our TinyMIM model of base size achieves 52.2 mIoU in AE20K semantic segmentation, which is +4.1 higher than the MAE baseline. Our TinyMIM model of tiny size achieves 79.6% top-1 accuracy on ImageNet-1K image classification, which sets a new record for small vision models of the same size and computation budget. This strong performance suggests an alternative way for developing small vision Transformer models, that is, by exploring better training methods rather than introducing inductive biases into architectures as in most previous works. Code is available at https://github.com/OliverRensu/TinyMIM.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 59 of its 68 references that are in the map. First posted on arXiv 3 Jan 2023.
Builds on
59 of 68 references.
References · 59
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 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
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
38 more
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
- 2019Searching for MobileNetV3cited by 1,984
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2014FitNets: Hints for Thin Deep Netscited by 1,619
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
- 2020Knowledge Distillation: A Surveycited by 1,578
- 2019Natural Adversarial Examplescited by 1,401
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,147
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 891
- 2022data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Languagecited by 718
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
- 2021Masked Feature Prediction for Self-Supervised Visual Pre-Trainingcited by 573
- 2018Born Again Neural Networkscited by 539
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2019On the Efficacy of Knowledge Distillationcited by 377
- 2019A Comprehensive Overhaul of Feature Distillationcited by 341
- 2022BEiT v2: Masked Image Modeling with Vector-Quantized Visual Tokenizerscited by 298
- 2022Context Autoencoder for Self-Supervised Representation Learningcited by 297
- 2018Paraphrasing Complex Network: Network Compression via Factor Transfercited by 255
- 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 240
- 2018Knowledge Transfer via Distillation of Activation Boundaries Formed by Hidden Neuronscited by 235
- 2021Mobile-Former: Bridging MobileNet and Transformercited by 234
- 2021PeCo: Perceptual Codebook for BERT Pre-training of Vision Transformerscited by 204
- 2021SEED: Self-supervised Distillation For Visual Representationcited by 132
- 2022Revealing the Dark Secrets of Masked Image Modelingcited by 117
- 2022EdgeViTs: Competing Light-weight CNNs on Mobile Devices with Vision Transformerscited by 116
- 2022Dataset Distillation via Factorizationcited by 115
- 2022Contrastive Learning Rivals Masked Image Modeling in Fine-tuning via Feature Distillationcited by 93
- 2021Shunted Self-Attention via Multi-Scale Token Aggregationcited by 90
- 2022Siamese Image Modeling for Self-Supervised Vision Representation Learningcited by 78
- 2022MILAN: Masked Image Pretraining on Language Assisted Representationcited by 69
- 2022Corrupted Image Modeling for Self-Supervised Visual Pre-Trainingcited by 68
- 2022Factorizing Knowledge in Neural Networkscited by 59
50 most cited of 59 All 59 (JSON)
Built on by
Citing papers per year: 2023: 7; 2024: 10; 2025: 5; 2026: 2.
24 papers.
Sort:
By area:
- 2024UltraPixel: Advancing Ultra-High-Resolution Image Synthesis to New Peakscited by 64
- 2023Know Your Self-supervised Learning: A Survey on Image-based Generative and Discriminative Trainingcited by 39
- 2025REPA Works Until It Doesn't: Early-Stopped, Holistic Alignment Supercharges Diffusion Trainingcited by 33
- 2023SG-Former: Self-guided Transformer with Evolving Token Reallocationcited by 32
- 2024Autoregressive Pretraining with Mamba in Visioncited by 21
- 2025How Well Do Supervised 3D Models Transfer to Medical Imaging Tasks?cited by 19
- 2023DeepMIM: Deep Supervision for Masked Image Modelingcited by 16
- 2023Rejuvenating image-GPT as Strong Visual Representation Learnerscited by 16
- 2024MLP Can Be A Good Transformer Learnercited by 16
- 2023Masked Modeling for Self-supervised Representation Learning on Vision and Beyondcited by 13
- 2023Exploring the Application of Large-scale Pre-trained Models on Adverse Weather Removalcited by 12
- 2024Exploring Learngene via Stage-wise Weight Sharing for Initializing Variable-sized Modelscited by 9
12 more
- 2024Scaling White-Box Transformers for Visioncited by 8
- 2026Frequency-Aware Flow Matching for High-Quality Image Generationcited by 6
- 2024An Experimental Study on Exploring Strong Lightweight Vision Transformers via Masked Image Modeling Pre-Trainingcited by 4
- 2024Domain-invariant Progressive Knowledge Distillation for UAV-based Object Detectioncited by 4
- 2024UniEmoX: Cross-modal Semantic-Guided Large-Scale Pretraining for Universal Scene Emotion Perceptioncited by 3
- 2024Fusion from Decomposition: A Self-Supervised Approach for Image Fusion and Beyondcited by 3
- 2025UNIP: Rethinking Pre-trained Attention Patterns for Infrared Semantic Segmentationcited by 3
- 2025Scale-Aware Pre-Training for Human-Centric Visual Perception: Enabling Lightweight and Generalizable Modelscited by 2
- 2025How PARTs assemble into wholes: Learning the relative composition of imagescited by 2
- 2023DMT: Comprehensive Distillation with Multiple Self-supervised Teacherscited by 1
- 2024MAL: Cluster-Masked and Multi-Task Pretraining for Enhanced xLSTM Vision Performancecited by 0
- 2026Generalizable Knowledge Distillation from Vision Foundation Models for Semantic Segmentationcited by 0
- 2026Frequency-Aware Flow Matching for High-Quality Image Generation16 Apr 2026
- 2026Generalizable Knowledge Distillation from Vision Foundation Models for Semantic Segmentation3 Mar 2026
- 2025How PARTs assemble into wholes: Learning the relative composition of images4 Jun 2025
- 2025REPA Works Until It Doesn't: Early-Stopped, Holistic Alignment Supercharges Diffusion Training22 May 2025
- 2025Scale-Aware Pre-Training for Human-Centric Visual Perception: Enabling Lightweight and Generalizable Models11 Mar 2025
- 2025UNIP: Rethinking Pre-trained Attention Patterns for Infrared Semantic Segmentation4 Feb 2025
- 2025How Well Do Supervised 3D Models Transfer to Medical Imaging Tasks?20 Jan 2025
- 2024MAL: Cluster-Masked and Multi-Task Pretraining for Enhanced xLSTM Vision Performance14 Dec 2024
- 2024Fusion from Decomposition: A Self-Supervised Approach for Image Fusion and Beyond16 Oct 2024
- 2024UniEmoX: Cross-modal Semantic-Guided Large-Scale Pretraining for Universal Scene Emotion Perception27 Sep 2024
- 2024Domain-invariant Progressive Knowledge Distillation for UAV-based Object Detection21 Aug 2024
- 2024UltraPixel: Advancing Ultra-High-Resolution Image Synthesis to New Peaks2 Jul 2024
12 more
- 2024Autoregressive Pretraining with Mamba in Vision11 Jun 2024
- 2024Scaling White-Box Transformers for Vision30 May 2024
- 2024Exploring Learngene via Stage-wise Weight Sharing for Initializing Variable-sized Models25 Apr 2024
- 2024An Experimental Study on Exploring Strong Lightweight Vision Transformers via Masked Image Modeling Pre-Training18 Apr 2024
- 2024MLP Can Be A Good Transformer Learner8 Apr 2024
- 2023Masked Modeling for Self-supervised Representation Learning on Vision and Beyond31 Dec 2023
- 2023DMT: Comprehensive Distillation with Multiple Self-supervised Teachers19 Dec 2023
- 2023Rejuvenating image-GPT as Strong Visual Representation Learners4 Dec 2023
- 2023SG-Former: Self-guided Transformer with Evolving Token Reallocation23 Aug 2023
- 2023Exploring the Application of Large-scale Pre-trained Models on Adverse Weather Removal15 Jun 2023
- 2023Know Your Self-supervised Learning: A Survey on Image-based Generative and Discriminative Training23 May 2023
- 2023DeepMIM: Deep Supervision for Masked Image Modeling15 Mar 2023
- 2024Autoregressive Pretraining with Mamba in Visioncited by 21
- 2024Autoregressive Pretraining with Mamba in Vision11 Jun 2024
- 2024UltraPixel: Advancing Ultra-High-Resolution Image Synthesis to New Peakscited by 64
- 2023Know Your Self-supervised Learning: A Survey on Image-based Generative and Discriminative Trainingcited by 39
- 2023SG-Former: Self-guided Transformer with Evolving Token Reallocationcited by 32
- 2025How Well Do Supervised 3D Models Transfer to Medical Imaging Tasks?cited by 19
- 2023DeepMIM: Deep Supervision for Masked Image Modelingcited by 16
- 2023Rejuvenating image-GPT as Strong Visual Representation Learnerscited by 16
- 2024MLP Can Be A Good Transformer Learnercited by 16
- 2023Masked Modeling for Self-supervised Representation Learning on Vision and Beyondcited by 13
- 2023Exploring the Application of Large-scale Pre-trained Models on Adverse Weather Removalcited by 12
- 2024Exploring Learngene via Stage-wise Weight Sharing for Initializing Variable-sized Modelscited by 9
- 2024Scaling White-Box Transformers for Visioncited by 8
- 2024An Experimental Study on Exploring Strong Lightweight Vision Transformers via Masked Image Modeling Pre-Trainingcited by 4
12 most cited of 21 All 21 (JSON)
- 2026Generalizable Knowledge Distillation from Vision Foundation Models for Semantic Segmentation3 Mar 2026
- 2025How PARTs assemble into wholes: Learning the relative composition of images4 Jun 2025
- 2025Scale-Aware Pre-Training for Human-Centric Visual Perception: Enabling Lightweight and Generalizable Models11 Mar 2025
- 2025UNIP: Rethinking Pre-trained Attention Patterns for Infrared Semantic Segmentation4 Feb 2025
- 2025How Well Do Supervised 3D Models Transfer to Medical Imaging Tasks?20 Jan 2025
- 2024MAL: Cluster-Masked and Multi-Task Pretraining for Enhanced xLSTM Vision Performance14 Dec 2024
- 2024Fusion from Decomposition: A Self-Supervised Approach for Image Fusion and Beyond16 Oct 2024
- 2024UniEmoX: Cross-modal Semantic-Guided Large-Scale Pretraining for Universal Scene Emotion Perception27 Sep 2024
- 2024Domain-invariant Progressive Knowledge Distillation for UAV-based Object Detection21 Aug 2024
- 2024UltraPixel: Advancing Ultra-High-Resolution Image Synthesis to New Peaks2 Jul 2024
- 2024Scaling White-Box Transformers for Vision30 May 2024
- 2024Exploring Learngene via Stage-wise Weight Sharing for Initializing Variable-sized Models25 Apr 2024
12 newest of 21 All 21 (JSON)