pith. sign in

arxiv: 1710.11029 · v2 · pith:XP3ILBGFnew · submitted 2017-10-30 · 💻 cs.LG · cond-mat.stat-mech· math.OC· stat.ML

Stochastic gradient descent performs variational inference, converges to limit cycles for deep networks

classification 💻 cs.LG cond-mat.stat-mechmath.OCstat.ML
keywords deepnetworksgradientdescentevengradientsinferenceloss
0
0 comments X
read the original abstract

Stochastic gradient descent (SGD) is widely believed to perform implicit regularization when used to train deep neural networks, but the precise manner in which this occurs has thus far been elusive. We prove that SGD minimizes an average potential over the posterior distribution of weights along with an entropic regularization term. This potential is however not the original loss function in general. So SGD does perform variational inference, but for a different loss than the one used to compute the gradients. Even more surprisingly, SGD does not even converge in the classical sense: we show that the most likely trajectories of SGD for deep networks do not behave like Brownian motion around critical points. Instead, they resemble closed loops with deterministic components. We prove that such "out-of-equilibrium" behavior is a consequence of highly non-isotropic gradient noise in SGD; the covariance matrix of mini-batch gradients for deep networks has a rank as small as 1% of its dimension. We provide extensive empirical validation of these claims, proven in the appendix.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Gradient Noise Convolution (GNC): Smoothing Loss Function for Distributed Large-Batch SGD

    cs.LG 2019-06 unverdicted novelty 5.0

    GNC convolves stochastic gradient noise to smooth sharp minima in large-batch SGD, outperforming isotropic noise for better generalization in distributed deep learning.