Universal characteristics of deep neural network loss surfaces from random matrix theory
Nicholas P Baskerville, Jonathan P Keating, Francesco Mezzadri, Joseph Najnudel, Diego Granziol
TL;DR
This work develops a general random-matrix framework for deep neural network Hessians, treating the batch Hessian as $H = \mathsf{s}(b) X + A$ with QUE-delocalised noise and a finite-rank spike structure. It proves that, under QUE and concentration, the spectrum of $H$ converges to the free convolution $\mu_X \boxplus \mu_D$, and provides explicit outlier locations via a subordination function, offering concrete predictions for Hessian outliers across batch sizes and architectures. Experimental validation with Lanczos-based outlier extraction on CIFAR-100 and MNIST demonstrates strong agreement with the theory for certain models (notably ResNet), supporting the presence of universal local random-matrix statistics in real DNN Hessians. The paper also connects these spectral insights to optimization, showing that local laws can drastically simplify preconditioned SGD dynamics and offering a general perspective on the prevalence of minima and the rough/smooth dichotomy of loss surfaces.
Abstract
This paper considers several aspects of random matrix universality in deep neural networks. Motivated by recent experimental work, we use universal properties of random matrices related to local statistics to derive practical implications for deep neural networks based on a realistic model of their Hessians. In particular we derive universal aspects of outliers in the spectra of deep neural networks and demonstrate the important role of random matrix local laws in popular pre-conditioning gradient descent algorithms. We also present insights into deep neural network loss surfaces from quite general arguments based on tools from statistical physics and random matrix theory.
