[Paper Review] Stochastic Gradient Descent with Large Learning Rate.
This paper studies stochastic gradient descent (SGD) with non-vanishing learning rates, deriving exactly solvable results for discrete-time SGD in quadratic loss settings with and without momentum. It establishes stable distributions and links them to experimental observations, offering theoretical insights into approximation error, mini-batch noise, escape from sharp minima, and stationary distributions of second-order methods.
As a simple and efficient optimization method in deep learning, stochastic gradient descent (SGD) has attracted tremendous attention. In the vanishing learning rate regime, SGD is now relatively well understood, and the majority of theoretical approaches to SGD set their assumptions in the continuous-time limit. However, the continuous-time predictions are unlikely to reflect the experimental observations well because the practice often runs in the large learning rate regime, where the training is faster and the generalization of models are often better. In this paper, we propose to study the basic properties of SGD and its variants in the non-vanishing learning rate regime. The focus is on deriving exactly solvable results and relating them to experimental observations. The main contributions of this work are to derive the stable distribution for discrete-time SGD in a quadratic loss function with and without momentum. Examples of applications of the proposed theory considered in this work include the approximation error of variants of SGD, the effect of mini-batch noise, the escape rate from a sharp minimum, and and the stationary distribution of a few second order methods.
Motivation & Objective
- To understand SGD behavior in the large learning rate regime, which is common in practice but poorly captured by continuous-time approximations.
- To derive exactly solvable results for discrete-time SGD under quadratic loss with and without momentum.
- To connect theoretical predictions to experimental observations, particularly regarding generalization and training dynamics.
- To analyze the effects of approximation error, mini-batch noise, and escape from sharp minima in the non-vanishing learning rate regime.
- To characterize the stationary distributions of second-order SGD variants using the proposed framework.
Proposed method
- Formalizes discrete-time SGD dynamics in a quadratic loss function as a stochastic difference equation.
- Derives the stable distribution of the parameter update process under non-vanishing learning rates using analytical methods.
- Incorporates momentum into the model by extending the stochastic difference equation to include velocity terms.
- Applies the derived stable distributions to analyze approximation error in SGD variants.
- Quantifies the impact of mini-batch noise on the stationary distribution and convergence behavior.
- Uses the framework to estimate the escape rate from sharp minima, linking it to learning rate and noise scale.
Experimental results
Research questions
- RQ1What is the exact stable distribution of discrete-time SGD with a non-vanishing learning rate in a quadratic loss setting?
- RQ2How does the inclusion of momentum affect the stationary distribution and convergence properties of SGD?
- RQ3What is the relationship between mini-batch noise and the stationary distribution of parameters in SGD?
- RQ4How does the learning rate influence the escape rate from sharp minima in the non-vanishing regime?
- RQ5What are the stationary distributions of second-order SGD variants under the proposed theoretical framework?
Key findings
- The stable distribution of discrete-time SGD with non-vanishing learning rates is derived exactly for quadratic loss functions, providing a theoretical foundation for observed training dynamics.
- The inclusion of momentum modifies the stationary distribution, leading to different convergence and generalization properties compared to standard SGD.
- Mini-batch noise contributes to a broader stationary distribution, which helps explain the improved generalization observed in practice.
- The escape rate from sharp minima increases with larger learning rates and higher noise levels, consistent with empirical observations of better generalization.
- The framework successfully predicts the stationary distributions of several second-order SGD variants, validating its applicability beyond standard SGD.
- The theory explains why large learning rates improve generalization: they lead to flatter minima by increasing the effective noise in parameter updates.
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.