Skip to main content
QUICK REVIEW

[Paper Review] Understanding the Role of Momentum in Non-Convex Optimization: Practical Insights from a Lyapunov Analysis.

Aaron Defazio|arXiv (Cornell University)|Oct 1, 2020
Stochastic Gradient Optimization TechniquesComputer Science4 references9 citations
TL;DR

This paper provides a tight Lyapunov analysis of stochastic gradient descent with momentum (SGD+M) by reformulating it in the stochastic primal averaging (SPA) form, revealing precise conditions under which momentum improves optimization in non-convex settings. The analysis explains why certain hyper-parameter schedules succeed and offers practical insights into momentum's role beyond empirical observation.

ABSTRACT

Momentum methods are now used pervasively within the machine learning community for training non-convex models such as deep neural networks. Empirically, they out perform traditional stochastic gradient descent (SGD) approaches. In this work we develop a Lyapunov analysis of SGD with momentum (SGD+M), by utilizing a equivalent rewriting of the method known as the stochastic primal averaging (SPA) form. This analysis is much tighter than previous theory in the non-convex case, and due to this we are able to give precise insights into when SGD+M may out-perform SGD, and what hyper-parameter schedules will work and why.

Motivation & Objective

  • To understand the theoretical mechanisms behind momentum's empirical success in training non-convex models like deep neural networks.
  • To address the lack of tight theoretical analysis for SGD with momentum (SGD+M) in non-convex settings, where prior theory is often loose or inapplicable.
  • To derive precise conditions under which SGD+M outperforms standard SGD, based on a Lyapunov function approach.
  • To provide practical guidance on hyper-parameter schedules for momentum that align with theoretical insights.
  • To bridge the gap between empirical observations and theoretical understanding of momentum in non-convex optimization.

Proposed method

  • The authors reformulate SGD with momentum (SGD+M) into the stochastic primal averaging (SPA) form, enabling a more interpretable and analyzable framework.
  • A Lyapunov function is constructed to analyze the stability and convergence behavior of the SPA-formulated method in non-convex optimization.
  • The Lyapunov analysis is applied to derive bounds on the expected decrease in objective function value, capturing momentum's effect on trajectory dynamics.
  • The method identifies conditions under which momentum reduces oscillations and accelerates convergence in non-convex landscapes.
  • The analysis leverages the equivalence between SGD+M and SPA to derive tighter theoretical guarantees than previous approaches.
  • Hyper-parameter schedules are evaluated through the lens of the Lyapunov function to explain their empirical success.

Experimental results

Research questions

  • RQ1Under what conditions does momentum in SGD lead to faster convergence in non-convex optimization compared to standard SGD?
  • RQ2Why do certain momentum hyper-parameter schedules (e.g., decaying momentum) empirically outperform others?
  • RQ3How can a Lyapunov function be constructed to tightly analyze the behavior of SGD with momentum in non-convex settings?
  • RQ4What is the role of momentum in suppressing oscillations and navigating sharp minima in non-convex loss landscapes?
  • RQ5Can the SPA reformulation of SGD+M enable a more precise theoretical analysis than existing methods?

Key findings

  • The Lyapunov analysis in the SPA form provides a significantly tighter theoretical bound on convergence behavior than previous non-convex analyses of SGD+M.
  • Momentum improves optimization performance when the objective function exhibits sufficient curvature variation, particularly in regions with high Hessian variation.
  • The analysis reveals that momentum reduces oscillatory behavior in the optimization path, especially in saddle regions and near sharp minima.
  • Optimal hyper-parameter schedules—such as decreasing momentum over time—are theoretically justified by the Lyapunov function's decay rate.
  • The SPA reformulation enables a clearer interpretation of momentum as a form of weighted averaging over past gradients, which stabilizes updates.
  • The theoretical framework explains why momentum often generalizes better than standard SGD in deep learning, by favoring flatter minima through trajectory smoothing.

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.