A solvable high-dimensional model where nonlinear autoencoders learn structure invisible to PCA while test loss misaligns with generalization
Vicente Conde Mendes, Lorenzo Bardone, Cédric Koller, Jorge Medina Moreira, Vittorio Erba, Emanuele Troiani, Lenka Zdeborová
TL;DR
This work presents a solvable high-dimensional model in which nonlinear autoencoders can recover latent structure invisible to PCA through higher-order correlations, while PCA and linear autoencoders cannot. By combining a spiked cumulant data model with a minimal nonlinear autoencoder, the authors characterize population and empirical risk learning, establish a correlation-exponent framework, and analyze both Bayes-optimal and ERM performance, including AMP-based weak recovery thresholds. A key finding is the misalignment between test loss and representation quality: linear methods can minimize reconstruction loss yet fail to capture the hidden spike, whereas nonlinear autoencoders succeed in latent recovery with higher test loss. The framework offers a tractable testbed for understanding nonlinear representation learning in self-supervised settings and highlights when reconstruction-based validation may mislead, with implications for evaluating downstream usefulness and designing robust objectives.
Abstract
Many real-world datasets contain hidden structure that cannot be detected by simple linear correlations between input features. For example, latent factors may influence the data in a coordinated way, even though their effect is invisible to covariance-based methods such as PCA. In practice, nonlinear neural networks often succeed in extracting such hidden structure in unsupervised and self-supervised learning. However, constructing a minimal high-dimensional model where this advantage can be rigorously analyzed has remained an open theoretical challenge. We introduce a tractable high-dimensional spiked model with two latent factors: one visible to covariance, and one statistically dependent yet uncorrelated, appearing only in higher-order moments. PCA and linear autoencoders fail to recover the latter, while a minimal nonlinear autoencoder provably extracts both. We analyze both the population risk, and empirical risk minimization. Our model also provides a tractable example where self-supervised test loss is poorly aligned with representation quality: nonlinear autoencoders recover latent structure that linear methods miss, even though their reconstruction loss is higher.
