Masked Autoencoders Are Scalable Vision Learners

Authors: Kaiming He, Xinlei Chen, Saining Xie, Yanghao Li, Piotr Dollár, Ross Girshick

Submitted to arXiv on 11 Nov. 2021
License: CC BY 4.0
Abstract

This paper shows that masked autoencoders (MAE) are scalable self-supervised learners for computer vision. Our MAE approach is simple: we mask random patches of the input image and reconstruct the missing pixels. It is based on two core designs. First, we develop an asymmetric encoder-decoder architecture, with an encoder that operates only on the visible subset of patches (without mask tokens), along with a lightweight decoder that reconstructs the original image from the latent representation and mask tokens. Second, we find that masking a high proportion of the input image, e.g., 75%, yields a nontrivial and meaningful self-supervisory task. Coupling these two designs enables us to train large models efficiently and effectively: we accelerate training (by 3x or more) and improve accuracy. Our scalable approach allows for learning high-capacity models that generalize well: e.g., a vanilla ViT-Huge model achieves the best accuracy (87.8%) among methods that use only ImageNet-1K data. Transfer performance in downstream tasks outperforms supervised pre-training and shows promising scaling behavior.

The papers around it, by date and closeness

Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper

How to read this map? Illustrated guide

Closest papers Prior work it builds on Papers that cite it

Papers around this one

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Same method, another problem
    How to Understand Masked Autoencoders
    Shu-Hao Cao, Peng Xu, D. Clifton · 2022 · arXiv.org · preprint, not peer reviewed · cited 55 times · Not summarized yet

    How to Understand Masked Autoencoders gives a mathematical framework for the patch-based attention used by the MAE vision method.

    Abstract

    "Masked Autoencoders (MAE) Are Scalable Vision Learners"revolutionizes the self-supervised learning method in that it not only achieves the state-of-the-art for image pre-training, but is also a milestone that bridges the gap between visual and linguistic masked autoencoding (BERT-style) pre-trainings. However, to our knowledge, to date there are no theoretical perspectives to explain the powerful expressivity of MAE. In this paper, we, for the first time, propose a unified theoretical framework that provides a mathematical understanding for MAE. Specifically, we explain the patch-based attention approaches of MAE using an integral kernel under a non-overlapping domain decomposition setting.…

  2. Very close Builds on this paper
    Masked Autoencoders are Secretly Efficient Learners
    Zihao Wei, Chen Wei, Jie-Ru Mei et al. · 2024 · 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) · cited 3 times · Not summarized yet

    Masked Autoencoders are Secretly Efficient Learners reduces MAE pre-training cost through higher masking, fewer epochs, and a shallower decoder.

    Abstract

    This paper provides an efficiency study of training Masked Autoencoders (MAE), a framework introduced by He et al. [13] for pre-training Vision Transformers (ViTs). Our results surprisingly reveal that MAE can learn at a faster speed and with fewer training samples while maintaining high performance. To accelerate its training, our changes are simple and straightforward: in the pre-training stage, we aggressively increase the masking ratio, decrease the number of training epochs, and reduce the decoder depth to lower the pre-training cost; in the fine-tuning stage, we demonstrate that layer-wise learning rate decay plays a vital role in unlocking the full potential of pre-trained models. Und…

  3. Very close Another approach to the problem
    SupMAE: Supervised Masked Autoencoders Are Efficient Vision Learners
    Feng Liang, Yangguang Li, Diana Marculescu · 2022 · arXiv.org · preprint, not peer reviewed · cited 32 times · Not summarized yet

    SupMAE adds a supervised classification branch to MAE, using visible patches to learn global features from labels.

    Abstract

    Recently, self-supervised Masked Autoencoders (MAE) have attracted unprecedented attention for their impressive representation learning ability. However, the pretext task, Masked Image Modeling (MIM), reconstructs the missing local patches, lacking the global understanding of the image. This paper extends MAE to a fully supervised setting by adding a supervised classification branch, thereby enabling MAE to learn global features from golden labels effectively. The proposed Supervised MAE (SupMAE) only exploits a visible subset of image patches for classification, unlike the standard supervised pre-training where all image patches are used. Through experiments, we demonstrate that SupMAE is n…

  4. Very close Another approach to the problem
    Uniform Masking: Enabling MAE Pre-training for Pyramid-based Vision Transformers with Locality
    Xiang Li, Wenhai Wang, Ling-Feng Yang et al. · 2022 · arXiv.org · preprint, not peer reviewed · cited 98 times · Not summarized yet

    Uniform Masking adapts MAE pre-training to pyramid-based Vision Transformers whose local-window operations complicate random masking.

    Abstract

    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 pr…

  5. Very close Review
    A Survey on Masked Autoencoder for Self-supervised Learning in Vision and Beyond
    Chao-Ning Zhang, Chen-Shuang Zhang, Junha Song et al. · 2022 · arXiv.org · preprint, not peer reviewed · cited 106 times · Not summarized yet

    A Survey on Masked Autoencoder reviews masked autoencoding for self-supervised learning in vision and beyond.

    Abstract

    Masked autoencoders are scalable vision learners, as the title of MAE \cite{he2022masked}, which suggests that self-supervised learning (SSL) in vision might undertake a similar trajectory as in NLP. Specifically, generative pretext tasks with the masked prediction (e.g., BERT) have become a de facto standard SSL practice in NLP. By contrast, early attempts at generative methods in vision have been buried by their discriminative counterparts (like contrastive learning); however, the success of mask image modeling has revived the masking autoencoder (often termed denoising autoencoder in the past). As a milestone to bridge the gap with BERT in NLP, masked autoencoder has attracted unprecedent…

  6. Very close Builds on this paper
    Self-Guided Masked Autoencoder
    Jeongwoo Shin, Inseo Lee, Junho Lee et al. · 2025 · Neural Information Processing Systems · cited 18 times · Not summarized yet

    Self-Guided Masked Autoencoder replaces MAE’s random masks with informed masks derived from patch-level clustering.

    Abstract

    Masked Autoencoder (MAE) is a self-supervised approach for representation learning, widely applicable to a variety of downstream tasks in computer vision. In spite of its success, it is still not fully uncovered what and how MAE exactly learns. In this paper, with an in-depth analysis, we discover that MAE intrinsically learns pattern-based patch-level clustering from surprisingly early stages of pretraining. Upon this understanding, we propose self-guided masked autoencoder, which internally generates informed mask by utilizing its progress in patch clustering, substituting the naive random masking of the vanilla MAE. Our approach significantly boosts its learning process without relying on…

  7. Very close Another approach to the problem
    Stare at What You See: Masked Image Modeling without Reconstruction
    Hong-Wei Xue, Peng Gao, Hongyang Li et al. · 2022 · Computer Vision and Pattern Recognition · cited 43 times · Not summarized yet

    Stare at What You See questions reconstruction in masked image modeling and proposes an approach without reconstruction.

    Abstract

    Masked Autoencoders (MAE) have been prevailing paradigms for large-scale vision representation pretraining. By reconstructing masked image patches from a small portion of visible image regions, MAE forces the model to infer semantic correlation within an image. Recently, some approaches apply semantic-rich teacher models to extract image features as the reconstruction target, leading to better performance. However, unlike the low-level features such as pixel values, we argue the features extracted by powerful teacher models already encode rich semantic correlation across regions in an intact image. This raises one question: is reconstruction necessary in Masked Image Modeling (MIM) with a te…

  8. Very close Builds on this paper
    Learning with Unmasked Tokens Drives Stronger Vision Learners
    Taekyung Kim, Sanghyuk Chun, Byeongho Heo et al. · 2023 · European Conference on Computer Vision · cited 4 times · Not summarized yet

    Learning with Unmasked Tokens adds supervision from visible tokens to address limited context learning in MAE pre-training.

    Abstract

    Masked image modeling (MIM) has become a leading self-supervised learning strategy. MIMs such as Masked Autoencoder (MAE) learn strong representations by randomly masking input tokens for the encoder to process, with the decoder reconstructing the masked tokens to the input. However, MIM pre-trained encoders often exhibit a limited attention span, attributed to MIM's sole focus on regressing masked tokens only, which may impede the encoder's broader context learning. To tackle the limitation, we improve MIM by explicitly incorporating unmasked tokens into the training process. Specifically, our method enables the encoder to learn from broader context supervision, allowing unmasked tokens to …

Prior work it builds on

  1. Related Groundwork for this paper Used in depth by this paper A method it uses
    BEiT: BERT Pre-Training of Image Transformers
    Hangbo Bao, Li Dong, Furu Wei · 2021 · Computer Vision and Pattern Recognition · cited 4,029 times · AI summary available

    BEiT introduces masked image modeling for vision Transformers, predicting discrete visual tokens rather than MAE’s missing pixels.

    Abstract

    We introduce a self-supervised vision representation model BEiT, which stands for Bidirectional Encoder representation from Image Transformers. Following BERT developed in the natural language processing area, we propose a masked image modeling task to pretrain vision Transformers. Specifically, each image has two views in our pre-training, i.e, image patches (such as 16x16 pixels), and visual tokens (i.e., discrete tokens). We first "tokenize" the original image into visual tokens. Then we randomly mask some image patches and fed them into the backbone Transformer. The pre-training objective is to recover the original visual tokens based on the corrupted image patches. After pre-training BE…

  2. Related Groundwork for this paper Used in depth by this paper A method it uses
    An Empirical Study of Training Self-Supervised Vision Transformers
    Xinlei Chen, Saining Xie, Kai-Ming He · 2021 · IEEE International Conference on Computer Vision · cited 2,593 times · AI summary available

    An Empirical Study of Training Self-Supervised Vision Transformers investigates training components and instability in self-supervised ViTs.

    Abstract

    This paper does not describe a novel method. Instead, it studies a straightforward, incremental, yet must-know baseline given the recent progress in computer vision: self-supervised learning for Vision Transformers (ViT). While the training recipes for standard convolutional networks have been highly mature and robust, the recipes for ViT are yet to be built, especially in the self-supervised scenarios where training becomes more challenging. In this work, we go back to basics and investigate the effects of several fundamental components for training self-supervised ViT. We observe that instability is a major issue that degrades accuracy, and it can be hidden by apparently good results. We r…

  3. Related Groundwork for this paper
    Context Encoders: Feature Learning by Inpainting
    Deepak Pathak, Philipp Krähenbühl, J. Donahue et al. · 2016 · Computer Vision and Pattern Recognition · cited 5,998 times · Not summarized yet

    Context Encoders learns visual features by predicting missing image regions from surrounding context.

    Abstract

    We present an unsupervised visual feature learning algorithm driven by context-based pixel prediction. By analogy with auto-encoders, we propose Context Encoders - a convolutional neural network trained to generate the contents of an arbitrary image region conditioned on its surroundings. In order to succeed at this task, context encoders need to both understand the content of the entire image, as well as produce a plausible hypothesis for the missing part(s). When training context encoders, we have experimented with both a standard pixel-wise reconstruction loss, as well as a reconstruction plus an adversarial loss. The latter produces much sharper results because it can better handle multi…

  4. Related Broader context
    Neural Discrete Representation Learning
    Aaron van den Oord, Oriol Vinyals, Koray Kavukcuoglu · 2017 · Machine Learning · cited 8,373 times · AI summary available

    Neural Discrete Representation Learning learns discrete latent codes with a vector-quantized variational autoencoder.

    Abstract

    Learning useful representations without supervision remains a key challenge in machine learning. In this paper, we propose a simple yet powerful generative model that learns such discrete representations. Our model, the Vector Quantised-Variational AutoEncoder (VQ-VAE), differs from VAEs in two key ways: the encoder network outputs discrete, rather than continuous, codes; and the prior is learnt rather than static. In order to learn a discrete latent representation, we incorporate ideas from vector quantisation (VQ). Using the VQ method allows the model to circumvent issues of "posterior collapse" -- where the latents are ignored when they are paired with a powerful autoregressive decoder --…

  5. Related Broader context Used in depth by this paper
    Bootstrap Your Own Latent: A New Approach to Self-Supervised Learning
    Jean-Bastien Grill, Florian Strub, Florent Altché et al. · 2020 · Neural Information Processing Systems · cited 9,406 times · AI summary available

    Bootstrap Your Own Latent learns image representations by matching online and target network outputs across augmented views.

    Abstract

    We introduce Bootstrap Your Own Latent (BYOL), a new approach to self-supervised image representation learning. BYOL relies on two neural networks, referred to as online and target networks, that interact and learn from each other. From an augmented view of an image, we train the online network to predict the target network representation of the same image under a different augmented view. At the same time, we update the target network with a slow-moving average of the online network. While state-of-the art methods rely on negative pairs, BYOL achieves a new state of the art without them. BYOL reaches $74.3\%$ top-1 classification accuracy on ImageNet using a linear evaluation with a ResNet-…

Papers that cite it

  1. Very close Builds on this paper
    ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoders
    Sanghyun Woo, Shoubhik Debnath, Ronghang Hu et al. · 2023 · Computer Vision and Pattern Recognition · cited 1,867 times · AI summary available

    ConvNeXt V2 extends MAE to fully convolutional masked autoencoding and co-designs it with ConvNet architecture.

    Abstract

    Driven by improved architectures and better representation learning frameworks, the field of visual recognition has enjoyed rapid modernization and performance boost in the early 2020s. For example, modern ConvNets, represented by ConvNeXt, have demonstrated strong performance in various scenarios. While these models were originally designed for supervised learning with ImageNet labels, they can also potentially benefit from self-supervised learning techniques such as masked autoencoders (MAE). However, we found that simply combining these two approaches leads to subpar performance. In this paper, we propose a fully convolutional masked autoencoder framework and a new Global Response Normali…

  2. Close Builds on this paper Uses this paper in depth
    Growing to See: Efficient Pretraining of Self-Supervised Vision Transformers
    Amir Mohammad Karimi Mamaghan, Ferdinand Kapl, Andrea Dittadi et al. · 2026 · Not summarized yet

    Growing to See studies progressive depth growth in MAE and DINOv3 self-supervised Vision Transformers.

    Abstract

    Progressive depth growth builds large networks by starting with shallow models and inserting layers during training. Recent advances in large language models have renewed interest in this longstanding approach, demonstrating benefits for training efficiency and reasoning alongside changes in internal computations. However, how growing affects representation quality and computational patterns in self-supervised vision transformers remains unclear. In this work, we systematically investigate progressive depth growth in two popular self-supervised families, namely masked autoencoders (MAE) and DINOv3, and analyze how growing affects downstream performance, intermediate representations, and inte…

  3. Very close Same method, another problem
    WildMAE: Structure-Aware Masked Autoencoding for Wildlife Image Reconstruction
    Yi-Cheng Zhang, Yu-Jie Jin, Ke Zhang et al. · 2026 · Not summarized yet

    WildMAE applies masked autoencoding to wildlife camera-trap images, adding structure-aware refinement to the decoder.

    Abstract

    Camera-trap imagery presents substantial variation in animal appearance, illumination, background clutter, and visual degradation. Masked autoencoders (MAEs) offer a label-free framework for modeling such data through reconstruction of randomly hidden image patches. We present WildMAE, a decoder-side extension of MAE that combines local structure-aware refinement with masked-to-visible cross-attention. A zero-gated convolutional residual path introduces a two-dimensional neighborhood prior, while gated cross-attention allows masked positions to retrieve contextual information from visible-position features without replacing the original Transformer decoder. The associated training recipe pro…

  4. Close Same method, another problem Uses this paper in depth
    DIME: Scaling Facial Representation Learning via Differential Masked Autoencoding
    Hao Yu, Hao-Yu Chen, Hui Wei et al. · 2026 · Not summarized yet

    DIME applies masked autoencoding to facial representation learning, reconstructing masked differences between images of the same person.

    Abstract

    Scaling up data and model capacity has driven substantial progress in visual representation learning. However, conventional pretext tasks exhibit diminishing returns on fine-grained facial analysis. We attribute this to a scaling bottleneck: these tasks model each image's appearance and are dominated by identity, pose, and illumination, so subtle within-identity facial differences contribute little to the training signal. We introduce DIME, a differential masked autoencoder for large-scale facial representation learning. DIME builds on a simple observation: two images of the same person share identity-specific appearance, so their difference exposes facial changes. DIME reconstructs both mas…

  5. Very close Same method, another problem
    Efficient and Scalable Multiview Masked Autoencoder for Heterogeneous Graph Self-Supervised Learning.
    Hao Geng, De-Qing Wang, Li-Hao Ge et al. · 2026 · IEEE Transactions on Neural Networks and Learning Systems · Not summarized yet

    MVMAE applies masked autoencoding to heterogeneous graph self-supervised learning using a multiview masking strategy.

    Abstract

    Recent years have witnessed the flourishing of self-supervised learning (SSL) on heterogeneous graphs, e.g., masked autoencoder (MAE)-based methods. However, existing MAE-based methods mostly suffer from three issues, including the prohibitive computational cost of constructing meta-path-induced subgraphs, the limitations of uniform random masking, and the suboptimal objective of reconstructing potentially noisy or uninformative original node features. To address these issues, we propose the multiview masked autoencoder (MVMAE)-a novel, efficient, and scalable framework for heterogeneous graph SSL. First, MVMAE introduces a novel multiview mask-then-reconstruct strategy. Instead of masking i…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 6 November 2026.

The illustrated guide to the papers around a paper