Saved in:
Bibliographic Details
Main Authors: Dong, Mingze, Wang, Leda, Kluger, Yuval
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.21650
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916970774921216
author Dong, Mingze
Wang, Leda
Kluger, Yuval
author_facet Dong, Mingze
Wang, Leda
Kluger, Yuval
contents Mask-based pretraining has become a cornerstone of modern large-scale models across language, vision, and recently biology. Despite its empirical success, its role and limits in learning data representations have been unclear. In this work, we show that the behavior of mask-based pretraining can be directly characterized by test risk in high-dimensional minimum-norm ("ridge-less") linear regression, without relying on further model specifications. Further analysis of linear models uncovers several novel aspects of mask-based pretraining. The theoretical framework and its implications have been validated across diverse neural architectures (including MLPs, CNNs, and Transformers) applied to both vision and language tasks. Guided by our theory, we propose an embarrassingly simple yet overlooked pretraining scheme named Randomly Random Mask AutoEncoding (R$^2$MAE), which enforces capturing multi-scale features from data and is able to outperform optimal fixed mask ratio settings in our linear model framework. We implement R$^2$MAE in vision, language, DNA sequence, and single-cell models, where it consistently outperforms standard and more complicated masking schemes, leading to improvements for state-of-the-art models. Our code is available at: https://github.com/MingzeDong/r2mae
format Preprint
id arxiv_https___arxiv_org_abs_2509_21650
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Understanding and Enhancing Mask-Based Pretraining towards Universal Representations
Dong, Mingze
Wang, Leda
Kluger, Yuval
Machine Learning
Mask-based pretraining has become a cornerstone of modern large-scale models across language, vision, and recently biology. Despite its empirical success, its role and limits in learning data representations have been unclear. In this work, we show that the behavior of mask-based pretraining can be directly characterized by test risk in high-dimensional minimum-norm ("ridge-less") linear regression, without relying on further model specifications. Further analysis of linear models uncovers several novel aspects of mask-based pretraining. The theoretical framework and its implications have been validated across diverse neural architectures (including MLPs, CNNs, and Transformers) applied to both vision and language tasks. Guided by our theory, we propose an embarrassingly simple yet overlooked pretraining scheme named Randomly Random Mask AutoEncoding (R$^2$MAE), which enforces capturing multi-scale features from data and is able to outperform optimal fixed mask ratio settings in our linear model framework. We implement R$^2$MAE in vision, language, DNA sequence, and single-cell models, where it consistently outperforms standard and more complicated masking schemes, leading to improvements for state-of-the-art models. Our code is available at: https://github.com/MingzeDong/r2mae
title Understanding and Enhancing Mask-Based Pretraining towards Universal Representations
topic Machine Learning
url https://arxiv.org/abs/2509.21650