Search papers, labs, and topics across Lattice.
This paper challenges the common approximation of SGD as a Langevin process with Brownian motion noise. Instead, it formulates SGD as deterministic dynamics within a fluctuating loss landscape caused by minibatch sampling, deriving a discrete Fokker-Planck equation that deviates from the standard Langevin form at order 畏虏. Analysis near critical points reveals that nearly-flat directions exhibit variance growth over time, indicating effective diffusion along valleys, a phenomenon validated empirically on neural networks.
SGD's noise isn't Brownian motion, and this difference explains why neural nets diffuse along flat valleys in the loss landscape.
Stochastic Gradient Descent (SGD) is commonly modeled as a Langevin process, assuming that minibatch noise acts as Brownian motion. However, this approximation relies on a continuous-time limit and a sqrt(eta) noise scaling that does not match the discrete SGD update at finite learning rate. In this work, we propose an alternative formulation of SGD as deterministic dynamics in a fluctuating loss landscape induced by minibatch sampling. Starting directly from the discrete update, we derive a master equation for the parameter distribution and obtain a discrete Fokker--Planck equation that differs from the standard Langevin form at order eta^2. Using this framework, we analyze SGD dynamics near critical points of the loss. We show that the behavior decomposes along the eigenbasis of the mean Hessian into qualitatively distinct regimes. In particular, nearly-flat directions do not admit a stationary distribution: the variance grows over time, corresponding to effective diffusion along valleys with a coefficient proportional to the learning rate. We provide empirical evidence supporting these predictions on neural network models in computer vision and natural language processing, observing a clear qualitative separation between confined and diffusive modes.