On Masked Pre-training and the Marginal Likelihood

Pablo Moreno-Muñoz, Pol G. Recasens, Søren Hauberg
2/12/2026

No confident code implementation found for this paper.

Abstract

Masked pre-training removes random input dimensions and learns a model that can predict the missing values. Empirical results indicate that this intuitive form of self-supervised learning yields models that generalize very well to new domains. A theoretical understanding is, however, lacking. This paper shows that masked pre-training with a suitable cumulative scoring function corresponds to maximizing the model's marginal likelihood, which is de facto the Bayesian model selection measure of generalization. Beyond shedding light on the success of masked pre-training, this insight also suggests that Bayesian models can be trained with appropriately designed self-supervision. Empirically, we confirm the developed theory and explore the main learning principles of masked pre-training in large language models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{morenomuoz2026masked,
  title  = {On Masked Pre-training and the Marginal Likelihood},
  author = {Pablo Moreno-Muñoz and Pol G. Recasens and Søren Hauberg},
  year   = {2026},
  eprint = {2306.00520},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2306.00520},
  journal = {NEURIPS 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.00520.svg)](https://codeofpaper.com/paper/2306.00520)

Discussion