Local minima of the empirical risk in high dimension: General theorems and convex examples
Kiana Asgari, Andrea Montanari, Basil Saeed
TL;DR
This work develops a unified Kac-Rice framework to analyze high-dimensional ERM with Gaussian covariates in the proportional regime, deriving sharp bounds on the number and location of local minima via a variational rate function ${\Phi}_{\mathrm{gen}}$. By specializing to convex losses with ridge regularization, the authors obtain rate-trivialization results and a clear variational procedure that yields unique minimizers and precise asymptotics for the empirical risk and Hessian spectrum; they further apply the framework to exponential families and multinomial regression, with explicit fixed-point equations for the optimal limiting measures. The theory is validated through synthetic data and Fashion-MNIST experiments using random feature mappings, showing strong agreement with the predicted estimation, training, and Hessian-spectrum behavior. The results bridge high-dimensional statistics, random matrix theory, and non-convex ERM analysis, and set the stage for sharp non-convex results in a companion paper. Overall, the paper provides a principled probabilistic and variational lens to understand the landscape of high-dimensional ERM and the spectral properties of the Hessian at minimizers, with implications for estimation accuracy and optimization tractability in large-scale models.
Abstract
We consider a general model for high-dimensional empirical risk minimization whereby the data $\mathbf{x}_i$ are $d$-dimensional Gaussian vectors, the model is parametrized by $\mathbfΘ\in\mathbb{R}^{d\times k}$, and the loss depends on the data via the projection $\mathbfΘ^\mathsf{T}\mathbf{x}_i$. This setting covers as special cases classical statistics methods (e.g. multinomial regression and other generalized linear models), but also two-layer fully connected neural networks with $k$ hidden neurons. We use the Kac-Rice formula from Gaussian process theory to derive a bound on the expected number of local minima of this empirical risk, under the proportional asymptotics in which $n,d\to\infty$, with $n\asymp d$. Via Markov's inequality, this bound allows to determine the positions of these minimizers (with exponential deviation bounds) and hence derive sharp asymptotics on the estimation and prediction error. As a special case, we apply our characterization to convex losses. We show that our approach is tight and allows to prove previously conjectured results. In addition, we characterize the spectrum of the Hessian at the minimizer. A companion paper applies our general result to non-convex examples.
