Skip to main content
QUICK REVIEW

[Paper Review] Stability and Convergence of Stochastic Gradient Clipping: Beyond Lipschitz Continuity and Smoothness

V. Vien, Mikael Johansson|arXiv (Cornell University)|Feb 12, 2021
Stochastic Gradient Optimization TechniquesComputer Science37 references15 citations
TL;DR

This paper establishes the first finite convergence rates for clipped stochastic (sub)gradient descent on non-smooth convex functions with rapidly growing subgradients, demonstrating that gradient clipping enhances stability and enables convergence even when gradients are unbounded. Using a novel Lyapunov analysis, the authors prove the method achieves the best-known convergence rate for weakly convex problems under standard assumptions.

ABSTRACT

Stochastic gradient algorithms are often unstable when applied to functions that do not have Lipschitz-continuous and/or bounded gradients. Gradient clipping is a simple and effective technique to stabilize the training process for problems that are prone to the exploding gradient problem. Despite its widespread popularity, the convergence properties of the gradient clipping heuristic are poorly understood, especially for stochastic problems. This paper establishes both qualitative and quantitative convergence results of the clipped stochastic (sub)gradient method (SGD) for non-smooth convex functions with rapidly growing subgradients. Our analyses show that clipping enhances the stability of SGD and that the clipped SGD algorithm enjoys finite convergence rates in many cases. We also study the convergence of a clipped method with momentum, which includes clipped SGD as a special case, for weakly convex problems under standard assumptions. With a novel Lyapunov analysis, we show that the proposed method achieves the best-known rate for the considered class of problems, demonstrating the effectiveness of clipped methods also in this regime. Numerical results confirm our theoretical developments.

Motivation & Objective

  • Address the instability of stochastic gradient methods in problems with unbounded or rapidly growing gradients.
  • Investigate the convergence properties of clipped stochastic (sub)gradient descent beyond traditional assumptions of Lipschitz continuity and smoothness.
  • Establish finite convergence rates for clipped SGD on non-smooth convex functions with subgradients that grow faster than quadratically.
  • Analyze the convergence of a clipped momentum method for weakly convex problems under standard assumptions.
  • Demonstrate that gradient clipping improves stability and enables convergence in regimes where standard SGD fails.

Proposed method

  • Proposes a clipped stochastic (sub)gradient method where the update direction is clipped to a ball of radius γk to control step size and prevent divergence.
  • Uses a novel Lyapunov function analysis to establish convergence, particularly for weakly convex and non-smooth problems.
  • Analyzes both standard clipped SGD and a momentum variant, showing the momentum version achieves the best-known convergence rate.
  • Introduces a proximal-like analysis framework to bound the expected subgradient norm and control iterates' behavior.
  • Employs a regularization technique via the Moreau envelope to handle non-smoothness and derive convergence bounds.
  • Derives convergence rates by analyzing the expected decrease in a Lyapunov function that combines objective value and gradient norm terms.

Experimental results

Research questions

  • RQ1Can gradient clipping stabilize stochastic gradient descent for non-smooth convex functions with unbounded subgradients?
  • RQ2What convergence rates can be achieved by clipped SGD when standard smoothness and Lipschitz assumptions do not hold?
  • RQ3How does the inclusion of momentum affect the convergence of clipped stochastic gradient methods in weakly convex settings?
  • RQ4Can a Lyapunov function be constructed to prove finite convergence rates under relaxed regularity conditions?
  • RQ5Does gradient clipping preserve convergence in the stochastic setting when gradients grow faster than quadratically?

Key findings

  • The clipped stochastic (sub)gradient method achieves finite convergence rates for non-smooth convex functions with rapidly growing subgradients, even when gradients are unbounded.
  • The proposed method with momentum achieves the best-known convergence rate for weakly convex problems under standard assumptions.
  • A novel Lyapunov analysis is developed that establishes convergence by bounding the expected norm of the gradient in the Moreau envelope.
  • The convergence rate is derived under minimal assumptions—only requiring that subgradients are bounded on bounded sets, which holds for continuous functions.
  • Numerical results confirm the theoretical findings, showing improved stability and convergence in practice.
  • The analysis demonstrates that clipping prevents divergence and enables convergence even in the absence of Lipschitz continuity or bounded gradients.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.