Understanding Masked Autoencoders via Hierarchical Latent Variable Models

Lingjing Kong, Martin Q. Ma, Guan-Hong Chen, E. Xing, Yuejie Chi +2 more
2/14/2026

No official code found. Best implementation: martinmamql/mae_understand (9 stars, MIT, last commit 2023-03-24).

Abstract

Masked autoencoder (MAE), a simple and effective self-supervised learning framework based on the reconstruction of masked image regions, has recently achieved prominent success in a variety of vision tasks. Despite the emergence of intriguing empirical observations on MAE, a theoretically principled understanding is still lacking. In this work, we formally characterize and justify existing empirical in-sights and provide theoretical guarantees of MAE. We formulate the underlying data-generating process as a hierarchical latent variable model, and show that under reasonable assumptions, MAE provably identifies a set of latent variables in the hierarchical model, explaining why MAE can extract high-level information from pixels. Further, we show how key hyperparameters in MAE (the masking ratio and the patch size) determine which true latent variables to be recovered, therefore influencing the level of semantic information in the representation. Specifically, extremely large or small masking ratios inevitably lead to low-level representations. Our theory offers coherent explanations of existing empirical observations and provides insights for potential empirical improvements and fundamental limitations of the masked-reconstruction paradigm. We conduct extensive experiments to validate our theoretical insights.

View on arXivView PDF

Code Implementations(1)

MIT

Code repo for the CVPR paper, "Understanding Masked Autoencoders via Hierarchical Latent Variable Models""

90Mar 24, 20233 years agoMIT

Similar Papers

Cite this paper

@article{kong2026understanding,
  title  = {Understanding Masked Autoencoders via Hierarchical Latent Variable Models},
  author = {Lingjing Kong and Martin Q. Ma and Guan-Hong Chen and E. Xing and Yuejie Chi and Louis-philippe Morency and Kun Zhang},
  year   = {2026},
  eprint = {2306.04898},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2306.04898},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.04898.svg)](https://codeofpaper.com/paper/2306.04898)

Discussion