A Random Matrix Theory of Masked Self-Supervised Regression
Arie Wortsman Zurich, Federica Gerace, Bruno Loureiro, Yue M. Lu
TL;DR
This work develops a high-dimensional random-matrix theory for masked self-supervised regression (SSR), where a matrix-valued predictor emerges from aggregating across masking patterns. By deriving a deterministic equivalent for the SSR matrix and sharp limits for generalization and training errors, it reveals how data geometry, via the population covariance $\Sigma$ and the aspect ratio $\alpha=n/d$, governs SSL generalization. The spectrum of the SSR predictor is characterized by a self-consistent resolvent, yielding BBP-type phase transitions in the spiked-covariance setting and universality results in the ridge-less, diagonal-covariance regime. Case studies on spiked covariance and AR(1) Toeplitz models show regimes where SSR outperforms PCA and delineate how temporal correlations shape the inductive bias of masked SSL. Overall, the paper provides principled, explicit connections between data structure, SSR optimization, and spectral behavior in the high-dimensional limit, with implications for understanding the advantages and limitations of SSL objectives over classical methods.
Abstract
In the era of transformer models, masked self-supervised learning (SSL) has become a foundational training paradigm. A defining feature of masked SSL is that training aggregates predictions across many masking patterns, giving rise to a joint, matrix-valued predictor rather than a single vector-valued estimator. This object encodes how coordinates condition on one another and poses new analytical challenges. We develop a precise high-dimensional analysis of masked modeling objectives in the proportional regime where the number of samples scales with the ambient dimension. Our results provide explicit expressions for the generalization error and characterize the spectral structure of the learned predictor, revealing how masked modeling extracts structure from data. For spiked covariance models, we show that the joint predictor undergoes a Baik--Ben Arous--Péché (BBP)-type phase transition, identifying when masked SSL begins to recover latent signals. Finally, we identify structured regimes in which masked self-supervised learning provably outperforms PCA, highlighting potential advantages of SSL objectives over classical unsupervised methods
