Skip to main content
QUICK REVIEW

[Paper Review] Singularity of the Hessian in Deep Learning.

Levent Sagun, Léon Bottou|arXiv (Cornell University)|Nov 22, 2016
Stochastic Gradient Optimization TechniquesComputer Science2 references30 citations
TL;DR

This paper analyzes the Hessian eigenvalue spectrum of deep learning loss functions, revealing a bimodal distribution: a dense bulk near zero indicating model over-parameterization, and scattered edge eigenvalues reflecting data complexity. Empirical analysis shows the bulk size correlates with model capacity, while edge eigenvalues encode input data structure.

ABSTRACT

We look at the eigenvalues of the Hessian of a loss function before and after training. The eigenvalue distribution is seen to be composed of two parts, the bulk which is concentrated around zero, and the edges which are scattered away from zero. We present empirical evidence for the bulk indicating how over-parametrized the system is, and for the edges indicating the complexity of the input data.

Motivation & Objective

  • To understand the spectral properties of the Hessian matrix in trained deep neural networks.
  • To investigate how the eigenvalue distribution of the Hessian reflects model over-parameterization and data complexity.
  • To empirically link the structure of the Hessian spectrum to architectural and data-related characteristics of deep learning models.

Proposed method

  • Compute the Hessian matrix of the loss function for trained deep neural networks.
  • Perform spectral analysis on the Hessian to extract eigenvalue distributions.
  • Decompose the eigenvalue spectrum into two components: a dense bulk near zero and isolated edge eigenvalues.
  • Use the size and spread of the bulk to estimate model over-parameterization.
  • Use the magnitude and distribution of edge eigenvalues to infer data complexity.
  • Analyze the Hessian before and after training to observe spectral evolution.

Experimental results

Research questions

  • RQ1How does the Hessian eigenvalue spectrum change during the training of deep neural networks?
  • RQ2What does the bulk of the Hessian eigenvalue distribution reveal about model over-parameterization?
  • RQ3How do edge eigenvalues relate to the intrinsic complexity of the input data?
  • RQ4Can the Hessian spectrum serve as a diagnostic tool for model capacity and data structure?
  • RQ5What is the relationship between the Hessian spectrum and generalization performance?

Key findings

  • The Hessian eigenvalue spectrum consistently exhibits a dense bulk concentrated near zero, indicating high over-parameterization in deep models.
  • The size of the bulk correlates with the degree of model over-parameterization, with larger bulks suggesting greater capacity.
  • Edge eigenvalues, scattered away from zero, are not random but reflect underlying data complexity.
  • The distribution of edge eigenvalues remains stable across different architectures and datasets, suggesting a structural link to data.
  • The spectral structure of the Hessian remains largely unchanged after convergence, indicating a stable optimization landscape.
  • The presence of non-zero edge eigenvalues implies that the loss surface is not flat in all directions, even in over-parameterized regimes.

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.