FastMIM: Expediting Masked Image Modeling Pre-training for Vision
Not on the map. Why?
Abstract (arXiv)
The combination of transformers and masked image modeling (MIM) pre-training framework has shown great potential in various vision tasks. However, the pre-training computational budget is too heavy and withholds the MIM from becoming a practical training paradigm. This paper presents FastMIM, a simple and generic framework for expediting masked image modeling with the following two steps: (i) pre-training vision backbones with low-resolution input images; and (ii) reconstructing Histograms of Oriented Gradients (HOG) feature instead of original RGB values of the input images. In addition, we propose FastMIM-P to progressively enlarge the input resolution during pre-training stage to further enhance the transfer results of models with high capacity. We point out that: (i) a wide range of input resolutions in pre-training phase can lead to similar performances in fine-tuning phase and downstream tasks such as detection and segmentation; (ii) the shallow layers of encoder are more important during pre-training and discarding last several layers can speed up the training stage with no harm to fine-tuning performance; (iii) the decoder should match the size of selected network; and (iv) HOG is more stable than RGB values when resolution transfers;. Equipped with FastMIM, all kinds of vision backbones can be pre-trained in an efficient way. For example, we can achieve 83.8%/84.1% top-1 accuracy on ImageNet-1K with ViT-B/Swin-B as backbones. Compared to previous relevant approaches, we can achieve comparable or better top-1 accuracy while accelerate the training procedure by ~5×. Code can be found in https://github.com/ggjy/FastMIM.pytorch.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 42 of its 51 references that are in the map. First posted on arXiv 13 Dec 2022.
Builds on
42 of 51 references.
References · 42
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2017Mask R-CNNcited by 7,277
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
30 more
- 2016Layer Normalizationcited by 5,669
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2016Feature Pyramid Networks for Object Detectioncited by 5,036
- 2017Neural Discrete Representation Learningcited by 4,712
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,845
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
- 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
- 2016Deep Networks with Stochastic Depthcited by 979
- 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 903
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
- 2022data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Languagecited by 727
- 2020Simple Copy-Paste is a Strong Data Augmentation Method for Instance Segmentationcited by 596
- 2021Masked Feature Prediction for Self-Supervised Visual Pre-Trainingcited by 576
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
- 2022Context Autoencoder for Self-Supervised Representation Learningcited by 297
- 2021PeCo: Perceptual Codebook for BERT Pre-training of Vision Transformerscited by 204
- 2021Benchmarking Detection Transfer Learning with Vision Transformerscited by 131
- 2016Discrete Variational Autoencoderscited by 125
- 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
- 2022Efficient Self-supervised Vision Pretraining with Local Masked Reconstructioncited by 27
Built on by
Citing papers per year: 2022: 1; 2023: 4; 2024: 1; 2025: 1.
7 papers.
- 2023Masked Image Modeling with Local Multi-Scale Reconstructioncited by 43
- 2023RECLIP: Resource-efficient CLIP by Training with Small Imagescited by 16
- 2024Harnessing Massive Satellite Imagery with Efficient Masked Image Modelingcited by 12
- 2025Bridging Sign and Spoken Languages: Pseudo Gloss Generation for Sign Language Translationcited by 12
- 2023VanillaKD: Revisit the Power of Vanilla Knowledge Distillation from Small Scale to Large Scalecited by 11
- 2022Disjoint Masking with Joint Distillation for Efficient Masked Image Modelingcited by 6
- 2023Local Masking Meets Progressive Freezing: Crafting Efficient Vision Transformers for Self-Supervised Learningcited by 1
- 2025Bridging Sign and Spoken Languages: Pseudo Gloss Generation for Sign Language Translation21 May 2025
- 2024Harnessing Massive Satellite Imagery with Efficient Masked Image Modeling17 Jun 2024
- 2023Local Masking Meets Progressive Freezing: Crafting Efficient Vision Transformers for Self-Supervised Learning2 Dec 2023
- 2023VanillaKD: Revisit the Power of Vanilla Knowledge Distillation from Small Scale to Large Scale25 May 2023
- 2023RECLIP: Resource-efficient CLIP by Training with Small Images12 Apr 2023
- 2023Masked Image Modeling with Local Multi-Scale Reconstruction9 Mar 2023
- 2022Disjoint Masking with Joint Distillation for Efficient Masked Image Modeling31 Dec 2022