mlsanityData to 14 Oct 2026

Uniform Masking: Enabling MAE Pre-training for Pyramid-based Vision Transformers with Locality

arXiv 2205.10063 ↗First posted 20 May 2022cs.CVcited by 57

Not on the map. Why?

Abstract (arXiv)

Masked AutoEncoder (MAE) has recently led the trends of visual self-supervision area by an elegant asymmetric encoder-decoder design, which significantly optimizes both the pre-training efficiency and fine-tuning accuracy. Notably, the success of the asymmetric structure relies on the "global" property of Vanilla Vision Transformer (ViT), whose self-attention mechanism reasons over arbitrary subset of discrete image patches. However, it is still unclear how the advanced Pyramid-based ViTs (e.g., PVT, Swin) can be adopted in MAE pre-training as they commonly introduce operators within "local" windows, making it difficult to handle the random sequence of partial vision tokens. In this paper, we propose Uniform Masking (UM), successfully enabling MAE pre-training for Pyramid-based ViTs with locality (termed "UM-MAE" for short). Specifically, UM includes a Uniform Sampling (US) that strictly samples 1 random patch from each 2 × 2 grid, and a Secondary Masking (SM) which randomly masks a portion of (usually 25%) the already sampled regions as learnable tokens. US preserves equivalent elements across multiple non-overlapped local windows, resulting in the smooth support for popular Pyramid-based ViTs; whilst SM is designed for better transferable visual representations since US reduces the difficulty of pixel recovery pre-task that hinders the semantic learning. We demonstrate that UM-MAE significantly improves the pre-training efficiency (e.g., it speeds up and reduces the GPU memory by ~ 2×) of Pyramid-based ViTs, but maintains the competitive fine-tuning performance across downstream tasks. For example using HTC++ detector, the pre-trained Swin-Large backbone self-supervised under UM-MAE only in ImageNet-1K can even outperform the one supervised in ImageNet-22K. The codes are available at https://github.com/implus/UM-MAE.

Key facts. Cited by 57 papers in the map (data through 14 Oct 2026). Builds on 43 of its 49 references that are in the map. First posted on arXiv 20 May 2022.

Builds on

43 of 49 references.

References · 43

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  8. 2016Feature Pyramid Networks for Object Detectioncited by 5,036
  9. 2017Neural Discrete Representation Learningcited by 4,712
  10. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  11. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  12. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
31 more
  1. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
  2. 2022VideoMAE: Masked Autoencoders are Data-Efficient Learners for Self-Supervised Video Pre-Trainingcited by 1,322
  3. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
  4. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
  5. 2016Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Networkcited by 1,204
  6. 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
  7. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
  8. 2021Transformers in Vision: A Surveycited by 1,013
  9. 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
  10. 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 903
  11. 2021Multiscale Vision Transformerscited by 897
  12. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 751
  13. 2022data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Languagecited by 727
  14. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
  15. 2021Masked Feature Prediction for Self-Supervised Visual Pre-Trainingcited by 576
  16. 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
  17. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
  18. 2019Hybrid Task Cascade for Instance Segmentationcited by 481
  19. 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
  20. 2020Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detectioncited by 409
  21. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  22. 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
  23. 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
  24. 2022Context Autoencoder for Self-Supervised Representation Learningcited by 297
  25. 2021DeepViT: Towards Deeper Vision Transformercited by 289
  26. 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 288
  27. 2021PeCo: Perceptual Codebook for BERT Pre-training of Vision Transformerscited by 204
  28. 2021Benchmarking Detection Transfer Learning with Vision Transformerscited by 131
  29. 2021Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understandingcited by 97
  30. 2021ResT: An Efficient Transformer for Visual Recognitioncited by 79
  31. 2021Container: Context Aggregation Networkcited by 37

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 8; 2023: 32; 2024: 9; 2025: 5; 2026: 3.

57 papers.

Sort:

By area:

  1. 2023Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistlescited by 290
  2. 2023A Cookbook of Self-Supervised Learningcited by 250
  3. 2022A Survey on Masked Autoencoder for Self-supervised Learning in Vision and Beyondcited by 58
  4. 2023Hard Patches Mining for Masked Image Modelingcited by 57
  5. 2022MixMAE: Mixed and Masked Autoencoder for Efficient Pretraining of Hierarchical Vision Transformerscited by 47
  6. 2023Masked Image Modeling with Local Multi-Scale Reconstructioncited by 43
  7. 2023TransFlow: Transformer as Flow Learnercited by 32
  8. 2023CL-MAE: Curriculum-Learned Masked Autoencoderscited by 22
  9. 2024Masked Angle-Aware Autoencoder for Remote Sensing Imagescited by 22
  10. 2023DropPos: Pre-Training Vision Transformers by Reconstructing Dropped Positionscited by 19
  11. 2023M-BEV: Masked BEV Perception for Robust Autonomous Drivingcited by 19
  12. 2023MixReorg: Cross-Modal Mixed Patch Reorganization is a Good Mask Learner for Open-World Semantic Segmentationcited by 18
38 more
  1. 2023Limited Data, Unlimited Potential: A Study on ViTs Augmented by Masked Autoencoderscited by 17
  2. 2024RingMo-Aerial: An Aerial Remote Sensing Foundation Model With Affine Transformation Contrastive Learningcited by 15
  3. 2023Masked Modeling for Self-supervised Representation Learning on Vision and Beyondcited by 13
  4. 2023Mimic before Reconstruct: Enhancing Masked Autoencoders with Feature Mimickingcited by 12
  5. 2023MIMIR: Masked Image Modeling for Mutual Information-based Adversarial Robustnesscited by 12
  6. 2024InfMAE: A Foundation Model in the Infrared Modalitycited by 11
  7. 2022MTSMAE: Masked Autoencoders for Multivariate Time-Series Forecastingcited by 9
  8. 2024Improving Representation of High-frequency Components for Medical Visual Foundation Modelscited by 9
  9. 2025Visual Instruction Pretraining for Domain-Specific Foundation Modelscited by 9
  10. 2022Self-Supervised Learning with Masked Image Modeling for Teeth Numbering, Detection of Dental Restorations, and Instance Segmentation in Dental Panoramic Radiographscited by 8
  11. 2024ColorMAE: Exploring data-independent masking strategies in Masked AutoEncoderscited by 8
  12. 2022FastMIM: Expediting Masked Image Modeling Pre-training for Visioncited by 7
  13. 2023LMD: Faster Image Reconstruction with Latent Masking Diffusioncited by 7
  14. 2022Disjoint Masking with Joint Distillation for Efficient Masked Image Modelingcited by 6
  15. 2022Masked Contrastive Representation Learningcited by 5
  16. 2023Infomaxformer: Maximum Entropy Transformer for Long Time-Series Forecasting Problemcited by 5
  17. 2023Bootstrap Masked Visual Modeling via Hard Patches Miningcited by 5
  18. 2024Pre-training a Density-Aware Pose Transformer for Robust LiDAR-based 3D Human Pose Estimationcited by 5
  19. 2023UniBoost: Unsupervised Unimodal Pre-training for Boosting Zero-shot Vision-Language Taskscited by 4
  20. 2023Aerial Image Object Detection With Vision Transformer Detector (ViTDet)cited by 3
  21. 2024From Few to More: Scribble-based Medical Image Segmentation via Masked Context Modeling and Continuous Pseudo Labelscited by 3
  22. 2025Wavelet-Driven Masked Image Modeling: A Path to Efficient Visual Representationcited by 3
  23. 2025VasoMIM: Vascular Anatomy-Aware Masked Image Modeling for Vessel Segmentationcited by 3
  24. 2023Remote Sensing Scene Classification with Masked Image Modeling (MIM)cited by 2
  25. 2023Image as First-Order Norm+Linear Autoregression: Unveiling Mathematical Invariancecited by 2
  26. 2023Enhancing Representations through Heterogeneous Self-Supervised Learningcited by 2
  27. 2023Intelligent Anomaly Detection for Lane Rendering Using Transformer with Self-Supervised Pre-Training and Customized Fine-Tuningcited by 2
  28. 2022Rethinking Hierarchies in Pre-trained Plain Vision Transformercited by 1
  29. 2023MPS-AMS: Masked Patches Selection and Adaptive Masking Strategy Based Self-Supervised Medical Image Segmentationcited by 1
  30. 2023Exploring Invariance in Images through One-way Wave Equationscited by 1
  31. 2023Local Masking Meets Progressive Freezing: Crafting Efficient Vision Transformers for Self-Supervised Learningcited by 1
  32. 2024Pseudo Labelling for Enhanced Masked Autoencoderscited by 1
  33. 2023Enhanced Masked Image Modeling for Analysis of Dental Panoramic Radiographscited by 0
  34. 2023SRMAE: Masked Image Modeling for Scale-Invariant Deep Representationscited by 0
  35. 2023Masked Feature Modelling: Feature Masking for the Unsupervised Pre-training of a Graph Attention Network Block for Bottom-up Video Event Recognitioncited by 0
  36. 2023AMLP: Adjustable Masking Lesion Patches for Self-Supervised Medical Image Segmentationcited by 0
  37. 2023Bridging The Gaps Between Token Pruning and Full Pre-training via Masked Fine-tuningcited by 0
  38. 2023Dual-channel Prototype Network for few-shot Classification of Pathological Imagescited by 0

50 most cited of 57 All 57 (JSON)