Skip to main content
QUICK REVIEW

[Paper Review] Quasi-potential as an implicit regularizer for the loss function in the stochastic gradient descent

Wenqing Hu, Zhanxing Zhu|arXiv (Cornell University)|Jan 18, 2019
Markov Chains and Monte Carlo MethodsMathematics26 references9 citations
TL;DR

This paper introduces the quasi-potential as a new implicit regularizer in stochastic gradient descent (SGD), showing that the noise covariance structure—particularly anisotropy—shapes the long-term dynamics of SGD by defining a potential function that governs escape from local minima. Using Large Deviations Theory and Hamilton–Jacobi PDEs, it demonstrates that anisotropic noise accelerates escape and biases SGD toward flatter, more generalizable minima, even when original loss values are equal.

ABSTRACT

We interpret the variational inference of the Stochastic Gradient Descent (SGD) as minimizing a new potential function named the extit{quasi-potential}. We analytically construct the quasi-potential function in the case when the loss function is convex and admits only one global minimum point. We show in this case that the quasi-potential function is related to the noise covariance structure of SGD via a partial differential equation of Hamilton-Jacobi type. This relation helps us to show that anisotropic noise leads to faster escape than isotropic noise. We then consider the dynamics of SGD in the case when the loss function is non-convex and admits several different local minima. In this case, we demonstrate an example that shows how the noise covariance structure plays a role in "implicit regularization", a phenomenon in which SGD favors some particular local minimum points. This is done through the relation between the noise covariance structure and the quasi-potential function. Our analysis is based on Large Deviations Theory (LDT), and they are validated by numerical experiments.

Motivation & Objective

  • To provide a unified theoretical framework explaining how SGD’s noise covariance structure induces implicit regularization in deep learning.
  • To formalize the connection between the stochastic dynamics of SGD and the long-term behavior of its stationary distribution via a new potential function.
  • To show that anisotropic noise leads to faster escape from sharp minima and selection of flatter, more generalizable minima through the quasi-potential landscape.
  • To establish a quantitative link between the noise covariance matrix and the resulting quasi-potential using Large Deviations Theory and variational calculus.
  • To validate the theoretical framework with numerical experiments demonstrating bias in minimum selection under different noise structures.

Proposed method

  • Define the global quasi-potential function φ^QP as the solution to a Hamilton–Jacobi partial differential equation (PDE) with boundary conditions derived from local minima basins.
  • Construct the local quasi-potential via a variational problem where the Lagrangian depends explicitly on the loss landscape and noise covariance matrix D(x).
  • Apply Large Deviations Theory (LDT) to estimate exponentially small exit probabilities from local minima basins, linking them to the quasi-potential via action integrals along escape paths.
  • Use the Markov property of SGD to relate exit probabilities to escape times, showing that smaller exit probabilities imply longer trapping times in basins.
  • Solve the Hamilton–Jacobi PDE analytically in convex cases and numerically in non-convex examples to compare behavior under isotropic vs. anisotropic noise.
  • Validate the framework through numerical simulations of SGD dynamics in multi-well potential landscapes with controlled noise anisotropy.

Experimental results

Research questions

  • RQ1How does the noise covariance structure in SGD influence the long-term selection of local minima?
  • RQ2Can a new potential function—the quasi-potential—be constructed to explain the implicit regularization observed in SGD?
  • RQ3What is the mathematical relationship between the noise covariance matrix and the resulting quasi-potential landscape?
  • RQ4Does anisotropic noise lead to faster escape from sharp local minima compared to isotropic noise, and why?
  • RQ5How does the quasi-potential framework explain the preference of SGD for certain minima even when original loss values are equal?

Key findings

  • In the convex case with a single global minimum, the global quasi-potential φ^QP reduces to a constant multiple of the original loss function when noise is isotropic.
  • Anisotropic noise leads to faster escape from local minima basins, as confirmed by numerical experiments showing earlier exit from the unit disk under μ = 1.9999 compared to μ = 1.
  • Numerical results show that under anisotropic noise, SGD tends to exit basins preferentially along the direction of higher noise variance, such as the horizontal axis in Example 3.1.
  • In a non-convex landscape with two symmetric minima, SGD with anisotropic noise in one basin (μ₁ = 1.9999) and isotropic in the other (μ₂ = 1.0001) preferentially selects the isotropic basin (O₂), demonstrating selection bias due to noise structure.
  • The quasi-potential framework explains implicit regularization as a result of the Markov chain between local minima, where transition rates depend on the noise covariance structure via the Hamilton–Jacobi PDE.
  • The framework provides a quantitative mechanism for implicit regularization by linking the escape time from basins to the action integral over paths, which depends on the anisotropic diffusion matrix D(x).

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.