mlsanityData to 14 Oct 2026

FastMIM: Expediting Masked Image Modeling Pre-training for Vision

arXiv 2212.06593 ↗First posted 13 Dec 2022cs.CVcited by 7

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  8. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  9. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  10. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  11. 2017Mask R-CNNcited by 7,277
  12. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
30 more
  1. 2016Layer Normalizationcited by 5,669
  2. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  3. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  4. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  5. 2016Feature Pyramid Networks for Object Detectioncited by 5,036
  6. 2017Neural Discrete Representation Learningcited by 4,712
  7. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  8. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  9. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  10. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
  11. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  12. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,845
  13. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
  14. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
  15. 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
  16. 2016Deep Networks with Stochastic Depthcited by 979
  17. 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 903
  18. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
  19. 2022data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Languagecited by 727
  20. 2020Simple Copy-Paste is a Strong Data Augmentation Method for Instance Segmentationcited by 596
  21. 2021Masked Feature Prediction for Self-Supervised Visual Pre-Trainingcited by 576
  22. 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
  23. 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
  24. 2022Context Autoencoder for Self-Supervised Representation Learningcited by 297
  25. 2021PeCo: Perceptual Codebook for BERT Pre-training of Vision Transformerscited by 204
  26. 2021Benchmarking Detection Transfer Learning with Vision Transformerscited by 131
  27. 2016Discrete Variational Autoencoderscited by 125
  28. 2022Uniform Masking: Enabling MAE Pre-training for Pyramid-based Vision Transformers with Localitycited by 57
  29. 2022Green Hierarchical Vision Transformer for Masked Image Modelingcited by 50
  30. 2022Efficient Self-supervised Vision Pretraining with Local Masked Reconstructioncited by 27

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 4; 2024: 1; 2025: 1.

7 papers.