[Paper Review] Stochastic gradient descent with noise of machine learning type. Part II: Continuous time analysis
This paper analyzes stochastic gradient descent (SGD) with machine learning-type noise in continuous time using stochastic differential equations (SDEs). It shows that, unlike classical SGD with homogeneous noise, this noise regime induces a preference for flat minima in non-convex optimization, as the invariant measure concentrates near flat regions of the loss landscape due to noise scaling with the objective function value.
The representation of functions by artificial neural networks depends on a large number of parameters in a non-linear fashion. Suitable parameters of these are found by minimizing a 'loss functional', typically by stochastic gradient descent (SGD) or an advanced SGD-based algorithm. In a continuous time model for SGD with noise that follows the 'machine learning scaling', we show that in a certain noise regime, the optimization algorithm prefers 'flat' minima of the objective function in a sense which is different from the flat minimum selection of continuous time SGD with homogeneous noise.
Motivation & Objective
- To understand the long-term behavior of stochastic gradient descent (SGD) when the noise scales with the objective function value, as occurs in overparametrized deep learning.
- To investigate how machine learning-specific noise—vanishing at global minima—alters the invariant distribution of SGD compared to classical homogeneous noise models.
- To establish that the Boltzmann distribution is a poor model for long-term dynamics under ML-type noise.
- To demonstrate that the optimization process favors flat minima due to the degeneracy and scaling of the noise.
- To derive a Poincaré-Hardy inequality that characterizes the spectral properties of the associated Fokker-Planck operator under the new noise regime.
Proposed method
- Model SGD as a continuous-time Itô stochastic differential equation (SDE) with noise intensity proportional to the square root of the loss function: $ d heta_t = - abla L( heta_t) dt + rac{1}{2} abla heta_t rac{1}{ heta_t} dt + rac{1}{2} abla heta_t rac{1}{ heta_t} dt $.
- Analyze the invariant measure of the SDE using the Fokker-Planck equation associated with the generator of the diffusion process.
- Establish a weighted Poincaré inequality via a novel Hardy-type inequality, which links the geometry of the loss landscape to the concentration of the invariant measure.
- Use a cut-off function technique and energy estimates to prove convergence of the gradient term in the weak formulation of the PDE.
- Apply local regularity theory for elliptic PDEs to handle the degeneracy of the diffusion matrix at the minimum set.
- Prove that the invariant measure concentrates on the set of global minimizers, with a bias toward flatter regions due to the loss-dependent noise scaling.
Experimental results
Research questions
- RQ1How does the invariant distribution of SGD with machine learning-type noise differ from the classical Boltzmann distribution in the long-time limit?
- RQ2What is the effect of noise that vanishes at the global minimum on the selection of minima in non-convex optimization?
- RQ3Can a Poincaré-type inequality be established for degenerate diffusions where the noise intensity scales with the objective function?
- RQ4Does the optimization process prefer flat minima under ML-type noise, and if so, why?
- RQ5How does the geometry of the loss landscape—particularly flatness—interact with the invariant measure under loss-dependent noise?
Key findings
- The invariant measure of the continuous-time SGD with ML-type noise concentrates on the set of global minimizers, but with a bias toward flatter regions due to the loss-dependent noise scaling.
- The classical Boltzmann distribution fails to describe the long-term dynamics because the noise intensity vanishes at the minimum, invalidating the standard equilibrium assumption.
- A Poincaré-Hardy inequality is established under the assumption that the loss function behaves quadratically near the minimum set and at infinity, enabling spectral analysis of the Fokker-Planck operator.
- The proof relies on a cut-off function technique and energy estimates that show the gradient term in the weak formulation vanishes in the limit, confirming concentration on the minimum set.
- The method reveals that the noise-induced drift and diffusion structure favor regions where the loss is not only small but also flat, as the noise magnitude is proportional to the loss value.
- The result holds under compatibility conditions between the dimension of the parameter space, the homogeneity of the loss function, and the learning rate scaling, ensuring the existence of the invariant measure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.