[Paper Review] Understanding the unstable convergence of gradient descent
This paper investigates the phenomenon of unstable convergence in gradient descent, where step sizes exceed the conventional $2/L$ threshold yet training loss still decreases non-monotonically. It identifies key causes—lack of flat stationary points and forward-invariance of GD dynamics—and characterizes unstable convergence through oscillatory behavior in loss, iterates, and sharpness, offering a principled framework for understanding optimization in deep learning beyond classical stability assumptions.
Most existing analyses of (stochastic) gradient descent rely on the condition that for $L$-smooth costs, the step size is less than $2/L$. However, many works have observed that in machine learning applications step sizes often do not fulfill this condition, yet (stochastic) gradient descent still converges, albeit in an unstable manner. We investigate this unstable convergence phenomenon from first principles, and discuss key causes behind it. We also identify its main characteristics, and how they interrelate based on both theory and experiments, offering a principled view toward understanding the phenomenon.
Motivation & Objective
- To understand why gradient descent often converges unstably in practice despite violating the classical $\eta < 2/L$ stability condition.
- To identify the underlying causes of unstable convergence, particularly the absence of flat stationary points and forward-invariance of GD dynamics.
- To characterize the main features of unstable convergence in terms of loss, iterates, and sharpness behavior.
- To establish theoretical and empirical links between relative progress, directional smoothness, and unstable dynamics.
- To extend insights to stochastic gradient descent (SGD), showing similar unstable behavior persists under minibatch training.
Proposed method
- Introduces the relative progress ratio $\text{RP}(\bm{\theta})$ to quantify expected loss change per gradient step, enabling analysis of descent behavior beyond monotonic decrease.
- Defines directional smoothness $L(\bm{\theta}; \mathbf{v})$ as a measure of local gradient variation along a direction $\mathbf{v}$, crucial for analyzing non-Lipschitz behavior in nonconvex settings.
- Derives a theoretical relation $\mathbb{E}[\text{RP}(\bm{\theta})] \approx -1 + \frac{\eta}{2} \cdot \mathbb{E}\left[ \frac{\|g\|^2}{\|\nabla f\|^2} L(\bm{\theta}; \eta g) \right]$ for SGD, linking expected progress to directional smoothness.
- Empirically verifies the derived relation on CIFAR-10 with ReLU and $\tanh$ networks, confirming oscillatory behavior in loss and sharpness under large step sizes.
- Uses theoretical analysis and experiments to show that unstable convergence is marked by oscillations in loss near zero, iterates near $2/\eta$, and sharpness above $2/\eta$.
- Proposes a framework to detect unstable convergence via monitoring $\text{RP}(\bm{\theta})$, directional smoothness, and sharpness evolution during training.
Experimental results
Research questions
- RQ1What causes unstable convergence in gradient descent when the step size exceeds $2/L$?
- RQ2How do the dynamics of loss, iterates, and sharpness differ between stable and unstable convergence regimes?
- RQ3Can the expected loss change in SGD be negative even when the training loss decreases over time?
- RQ4What role does directional smoothness play in enabling unstable convergence?
- RQ5How do the characteristics of unstable convergence in GD extend to SGD with minibatches?
Key findings
- Unstable convergence occurs when the step size $\eta > 2/L$, yet training loss still decreases non-monotonically, contradicting classical descent theory.
- The relative progress ratio $\text{RP}(\bm{\theta})$ oscillates near zero in the unstable regime, indicating that expected loss change is not necessarily negative despite overall convergence.
- Iterates under unstable GD oscillate near the value $2/\eta$, indicating a dynamic balance in gradient updates.
- Sharpness (maximum Hessian eigenvalue) oscillates above $2/\eta$, suggesting the model traverses regions of high curvature.
- A theoretical relation $\mathbb{E}[\text{RP}(\bm{\theta})] \approx -1 + \frac{\eta}{2} \cdot \mathbb{E}\left[ \frac{\|g\|^2}{\|\nabla f\|^2} L(\bm{\theta}; \eta g) \right]$ holds empirically for both ReLU and $\tanh$ networks, validating the role of directional smoothness.
- The phenomenon is robust across activation functions and batch settings, indicating a fundamental property of deep learning optimization beyond specific architectures.
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.