Skip to main content
QUICK REVIEW

[Paper Review] On the energy landscape of deep networks

Pratik Chaudhari, Stefano Soatto|arXiv (Cornell University)|Nov 20, 2015
Stochastic Gradient Optimization TechniquesComputer Science42 references14 citations
TL;DR

This paper introduces AnnealSGD, a regularized stochastic gradient descent algorithm that anneals an additive gradient perturbation to navigate the loss landscape of deep networks. Inspired by spin glass theory, it transitions from a simplified, polynomial landscape with few minima to the original complex, exponentially many-minima regime, improving generalization on MNIST and CIFAR-10 without architectural changes.

ABSTRACT

We introduce "AnnealSGD", a regularized stochastic gradient descent algorithm motivated by an analysis of the energy landscape of a particular class of deep networks with sparse random weights. The loss function of such networks can be approximated by the Hamiltonian of a spherical spin glass with Gaussian coupling. While different from currently-popular architectures such as convolutional ones, spin glasses are amenable to analysis, which provides insights on the topology of the loss function and motivates algorithms to minimize it. Specifically, we show that a regularization term akin to a magnetic field can be modulated with a single scalar parameter to transition the loss function from a complex, non-convex landscape with exponentially many local minima, to a phase with a polynomial number of minima, all the way down to a trivial landscape with a unique minimum. AnnealSGD starts training in the relaxed polynomial regime and gradually tightens the regularization parameter to steer the energy towards the original exponential regime. Even for convolutional neural networks, which are quite unlike sparse random networks, we empirically show that AnnealSGD improves the generalization error using competitive baselines on MNIST and CIFAR-10.

Motivation & Objective

  • To understand the topological structure of deep network loss landscapes using spin glass models.
  • To address the challenge of training deep networks due to complex, non-convex loss functions with exponentially many local minima.
  • To develop a training algorithm that leverages landscape simplification for better optimization and generalization.
  • To empirically validate the method on modern convolutional networks despite the model being based on sparse random weights.

Proposed method

  • The paper models deep networks with sparse, random weights as spin glasses, where the loss function approximates a spherical spin glass Hamiltonian with Gaussian couplings.
  • It introduces an additive perturbation term analogous to a magnetic field in spin glass theory, which controls the number of local minima in the loss landscape.
  • AnnealSGD uses a scalar annealing schedule to gradually reduce the perturbation strength, transitioning from a polynomial regime with few minima to the original exponential regime with many minima.
  • The perturbation is applied as a fixed-direction bias in the gradient update, avoiding the destabilizing effects of resampled noise.
  • The method is implemented by modulating a single hyperparameter that controls the magnitude of the perturbation during training.
  • Experiments are conducted on fully-connected and convolutional networks, including All-CNN-BN on CIFAR-10, with comparisons to standard SGD and Adam.

Experimental results

Research questions

  • RQ1Can the energy landscape of deep networks be modeled using spin glass theory, particularly for sparse, random-weight architectures?
  • RQ2How does an external perturbation (analogous to a magnetic field) affect the number and distribution of local minima in the loss landscape?
  • RQ3Can annealing such a perturbation improve training dynamics and generalization in standard deep networks?
  • RQ4Does a fixed-direction perturbation outperform resampled gradient noise in optimization?
  • RQ5To what extent can insights from spin glass theory inform practical training algorithms for modern convolutional networks?

Key findings

  • AnnealSGD reduces the test error on CIFAR-10 from 8.42% (baseline) to 7.95% using the All-CNN-BN architecture, demonstrating improved generalization.
  • The method achieves a 0.66% improvement over the baseline even without annealing, suggesting inherent benefits of the perturbation.
  • Resampled additive noise (a form of gradient noise) leads to worse performance than fixed-direction perturbation, as shown in Figure 4 and Table 1.
  • The annealing schedule enables faster initial training due to a more benign landscape, with minimal impact on final performance.
  • The method is robust and easy to implement, requiring only a single hyperparameter to control the perturbation strength.
  • Theoretical analysis confirms that annealing does not alter the location of original local minima, preserving the optimization objective.

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.