Skip to main content
QUICK REVIEW

[Paper Review] Beyond Random Matrix Theory for Deep Networks

Diego Granziol|arXiv (Cornell University)|Jun 13, 2020
Random Matrices and ApplicationsMathematics46 references7 citations
TL;DR

This paper challenges the use of Wigner and Marcenko-Pastur random matrix ensembles in deep learning theory by showing empirical spectral densities of trained neural network Hessians deviate significantly from theoretical predictions. It introduces product and percolated Wigner/Wishart ensembles that better match observed spectra and predict a discrete spectral peak at zero, explaining low-loss connectivity in optimization landscapes.

ABSTRACT

We investigate whether the Wigner semi-circle and Marcenko-Pastur distributions, often used for deep neural network theoretical analysis, match empirically observed spectral densities. We find that even allowing for outliers, the observed spectral shapes strongly deviate from such theoretical predictions. This raises major questions about the usefulness of these models in deep learning. We further show that theoretical results, such as the layered nature of critical points, are strongly dependent on the use of the exact form of these limiting spectral densities. We consider two new classes of matrix ensembles; random Wigner/Wishart ensemble products and percolated Wigner/Wishart ensembles, both of which better match observed spectra. They also give large discrete spectral peaks at the origin, providing a theoretical explanation for the observation that various optima can be connected by one dimensional of low loss values. We further show that, in the case of a random matrix product, the weight of the discrete spectral component at $0$ depends on the ratio of the dimensions of the weight matrices.

Motivation & Objective

  • To evaluate whether widely used random matrix ensembles (Wigner, Marcenko-Pastur) accurately describe the spectral densities of real deep neural network Hessians.
  • To investigate the robustness of theoretical claims—such as layered critical point structure—under realistic deviations like non-i.i.d. weights and outliers.
  • To identify and validate alternative random matrix ensembles that better match empirically observed Hessian spectra in modern networks.
  • To explain the empirical observation of low-loss connectivity between optima via a theoretical spectral peak at zero.
  • To quantify the dependence of spectral degeneracy at zero on network depth and width using theoretical and empirical analysis.

Proposed method

  • Empirically measure Hessian spectral densities of trained models (VGG-16, PreResNet-110) on CIFAR-100 and MNIST using exact and sampled Hessian computations.
  • Compare observed spectra against theoretical predictions from Gaussian Orthogonal Ensemble (GOE) and Wishart ensembles.
  • Introduce and analyze two new random matrix ensembles: products of Wigner/Wishart matrices and percolated Wigner/Wishart matrices.
  • Derive theoretical expressions for the discrete spectral component at zero in random matrix products, showing dependence on matrix dimension ratios.
  • Use histogram and heatmap visualizations to assess sparsity and mass distribution in Hessian matrices across layers.
  • Apply results from random matrix theory (e.g., extreme eigenvalue behavior, spectral edge scaling) to interpret deviations in real network spectra.

Experimental results

Research questions

  • RQ1Do the spectral densities of trained deep neural network Hessians conform to the Wigner semi-circle or Marcenko-Pastur laws predicted by random matrix theory?
  • RQ2How do violations of i.i.d. weight and input assumptions, or the presence of outliers, affect the validity of theoretical claims about layered critical point structure?
  • RQ3Can alternative random matrix ensembles—specifically products or percolated forms of Wigner/Wishart matrices—better match empirically observed Hessian spectra?
  • RQ4What is the theoretical basis for the observed discrete spectral peak at zero in neural network Hessians, and how does it relate to low-loss connectivity?
  • RQ5How does the weight of the spectral component at zero depend on the ratio of layer dimensions in deep networks?

Key findings

  • Empirical Hessian spectra of trained VGG-16 and PreResNet-110 models on CIFAR-100 show strong deviations from Wigner and Marcenko-Pastur predictions, even after accounting for outliers.
  • Theoretical claims of layered critical point structure in deep networks, as derived under i.i.d. assumptions, do not hold when those assumptions are relaxed or when outliers are introduced.
  • Random matrix products (Wigner/Wishart) and percolated ensembles better match observed Hessian spectra than standard ensembles.
  • Both alternative ensembles predict a significant discrete spectral component at zero, providing a theoretical explanation for the empirical observation of low-loss connectivity between optima.
  • The mass of the discrete spectral component at zero increases with network depth and depends on the ratio of layer dimensions, as shown under theoretical assumptions.
  • Sparsity in Hessian matrices is present but insufficient to explain spectral shape—84±13% of elements in VGG-16 are below 10⁻⁶, yet the spectrum remains non-semicircular.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.