Skip to main content
QUICK REVIEW

[Paper Review] Masked Autoencoders Are Scalable Vision Learners

Kaiming He, Xinlei Chen|arXiv (Cornell University)|Nov 11, 2021
Domain Adaptation and Few-Shot LearningComputer Science59 references190 citations
TL;DR

The paper introduces Masked Autoencoders (MAE), which pre-train vision transformers by masking a large portion of image patches and reconstructing the missing pixels, using an asymmetric encoder-decoder design to enable scalable self-supervised learning that outperforms supervised pre-training on ImageNet-1K and transfers well to downstream tasks.

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.

Motivation & Objective

  • Motivate scalable self-supervised pre-training for vision that can scale to large models without reliance on labeled data.
  • Develop an asymmetric MAE architecture where the encoder processes only visible patches and a lightweight decoder reconstructs the full image.
  • Demonstrate that a high masking ratio (around 75%) yields meaningful self-supervision and enables faster, more memory-efficient pre-training.
  • Show that MAE pre-training improves transfer performance across detection, segmentation, and classification tasks compared to supervised pre-training.

Proposed method

  • Mask random patches from input images into non-overlapping patches and mask a large portion (e.g., 75%).
  • Use an encoder that only processes visible patches (no mask tokens) to form latent representations.
  • Attach a lightweight decoder that takes encoded visible patches plus mask tokens to reconstruct the original image in pixels.
  • Train with a reconstruction loss (mean squared error) computed only on masked patches, optionally with per-patch normalization of pixel values.
  • Apply positional embeddings to all tokens; the decoder is small and separate from the encoder to reduce computation.
  • Evaluate by fine-tuning the encoder on full images for recognition tasks after pre-training and compare against supervised baselines.
Figure 1 : Our MAE architecture . During pre-training, a large random subset of image patches ( e.g . , 75%) is masked out. The encoder is applied to the small subset of visible patches . Mask tokens are introduced after the encoder, and the full set of encoded patches and mask tokens is processed b
Figure 1 : Our MAE architecture . During pre-training, a large random subset of image patches ( e.g . , 75%) is masked out. The encoder is applied to the small subset of visible patches . Mask tokens are introduced after the encoder, and the full set of encoded patches and mask tokens is processed b

Experimental results

Research questions

  • RQ1Can masked autoencoding with high masking ratios provide scalable self-supervised vision representations?
  • RQ2Does an asymmetric encoder-decoder design reduce computation while preserving or improving representation quality?
  • RQ3How does MAE pre-training scale with model size and transfer to downstream vision tasks compared to supervised pre-training?
  • RQ4What reconstruction targets (pixels vs tokens) and mask strategies yield the best transfer performance?

Key findings

  • MAE with high masking (around 75%) yields strong self-supervised representations, enabling large ViT models to surpass supervised pre-training on ImageNet-1K when fine-tuned.
  • An asymmetric design—encoder on visible patches only and a small decoder handling reconstruction—significantly reduces training FLOPs and memory, offering 3x speedups or more.
  • Decoder depth and width influence linear probing more than fine-tuning; a deeper decoder helps linear probing, while very small decoders suffice for fine-tuning.
  • Pixel-based reconstruction (with normalization) outperforms token-based targets in transfer tasks, and tokenization is not necessary for strong performance.
  • MAE demonstrates robust transfer to object detection, instance segmentation, and semantic segmentation, often outperforming supervised pre-training, with stronger gains as model size increases.
Figure 2 : Example results on ImageNet validation images. For each triplet, we show the masked image (left), our MAE reconstruction † (middle), and the ground-truth (right). The masking ratio is 80%, leaving only 39 out of 196 patches. More examples are in the appendix. † As no loss is computed on v
Figure 2 : Example results on ImageNet validation images. For each triplet, we show the masked image (left), our MAE reconstruction † (middle), and the ground-truth (right). The masking ratio is 80%, leaving only 39 out of 196 patches. More examples are in the appendix. † As no loss is computed on v

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.