A Theoretical Analysis of Noise Geometry in Stochastic Gradient Descent

Mingze Wang, Lei Wu
10/1/2023
cs.LGstat.ML

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

In this paper, we provide a theoretical study of noise geometry for minibatch stochastic gradient descent (SGD), a phenomenon where noise aligns favorably with the geometry of local landscape. We propose two metrics, derived from analyzing how noise influences the loss and subspace projection dynamics, to quantify the alignment strength. We show that for (over-parameterized) linear models and two-layer nonlinear networks, when measured by these metrics, the alignment can be provably guaranteed under conditions independent of the degree of over-parameterization. To showcase the utility of our noise geometry characterizations, we present a refined analysis of the mechanism by which SGD escapes from sharp minima. We reveal that unlike gradient descent (GD), which escapes along the sharpest directions, SGD tends to escape from flatter directions and cyclical learning rates can exploit this SGD characteristic to navigate more effectively towards flatter regions. Lastly, extensive experiments are provided to support our theoretical findings.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2023theoretical,
  title  = {A Theoretical Analysis of Noise Geometry in Stochastic Gradient Descent},
  author = {Mingze Wang and Lei Wu},
  year   = {2023},
  eprint = {2310.00692},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.00692v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.00692.svg)](https://codeofpaper.com/paper/2310.00692)

Discussion