Optimization with Momentum: Dynamical, Control-Theoretic, and Symplectic Perspectives

Michael Muehlebach, Michael I. Jordan

TL;DR

This paper demystifies why momentum accelerates gradient-based optimization by viewing algorithms through the lens of continuous- and discrete-time dynamical systems. By separating the local curvature (which dictates convergence rates) from global topology (which dictates stability and regions of attraction), the authors show that accelerated convergence ($\sim 1/\sqrt{\kappa}$) is a generic property of momentum systems with damping proportional to $1/\sqrt{\kappa}$. Furthermore, they rigorously demonstrate that symplectic discretization is crucial for preserving numerical stability when damping is small.

What Problem Does This Paper Address?

Since Nesterov introduced accelerated gradient methods in 1983, momentum has been a cornerstone of modern machine learning and numerical optimization. Yet classical proofs establishing its superior convergence rate—scaling with $\mathcal{O}(\sqrt{\kappa})$ rather than $\mathcal{O}(\kappa)$ for condition number $\kappa$—are notoriously algebraic, relying on estimate sequences or engineered Lyapunov functions that obscure physical and geometric intuition.

Key questions remained open:

  1. Is momentum acceleration fundamentally tied to convexity, or does it generalize across nonconvex landscapes?
  2. Is the "gradient lookahead" (evaluating the gradient at a shifted position) essential, or can classical Heavy-Ball dynamics accelerate too?
  3. Why are certain discretizations sensitive to instability on ill-conditioned problems?

Methods

The authors reframe momentum algorithms as second-order mechanical dynamical systems (mass-spring-damper systems):

  • Linearized Systems & Topological Extension: They prove that if the linearized system converges with exponential rate $\alpha$, fundamental topological properties (such as the continuous dependence of trajectories on initial conditions and the Gronwall inequality) allow this rate to be extended to any compact set within the equilibrium's region of attraction.
  • Symplectic Integration & Backward Error Analysis: For discrete-time algorithms, they analyze a symplectic Euler discretization using backward error analysis. By constructing an analytic perturbed Hamiltonian ($\tilde{H}$), they show the conservative part of the system is preserved up to exponentially small errors ($\mathcal{O}(e^{-T_0/T})$).
  • Time-Varying Coordinate Transforms: Using coordinate transformations for both differential equations (continuous-time) and difference equations (discrete-time), they analyze time-varying damping schedules that smoothly interpolate between degenerate and non-degenerate minima.

Datasets

Not discussed in the paper. (The paper is purely theoretical and does not benchmark on empirical datasets.)

Key Insights and Ideas

  • Local Curvature Sets the Rate, Global Shape Sets the Basin: The asymptotic convergence rate is governed entirely by the local Hessian eigenvalues at an isolated minimum (the condition number $\kappa = L/\mu$). In contrast, global geometry (e.g., convexity or energy barriers) merely determines the constant prefactor and the basin of attraction.
  • Acceleration is Generic, Not Exotic: Acceleration does not strictly require evaluating the gradient at an extrapolated position (as in standard Nesterov acceleration) or engineered parameter sequences. Even classical Heavy-Ball dynamics achieve accelerated rates, provided the damping scales as $d \sim 1/\sqrt{\kappa}$ and the step size $T$ is sufficiently small.
  • Symplectic Discretization Prevents Instability: In ill-conditioned problems ($\kappa \to \infty$), the damping $d \sim 1/\sqrt{\kappa}$ approaches zero, making the continuous system nearly conservative. Standard forward Euler discretizations introduce artificial energy gain, causing numerical blow-up. Symplectic discretizations inherently conserve the symplectic 2-form and preserve a modified Hamiltonian $\tilde{H}$ almost exactly.
  • Time-Varying Damping Bridges the Gap to Degenerate Minima: Adjusting damping over time introduces an additional sublinear convergence factor $\sim 1/(1 + d_0 t)$. For ill-conditioned or flat/degenerate local minima ($\mu \to 0$), this term dominates, naturally recovering the optimal $\mathcal{O}(1/t^2)$ rate in function value for smooth convex objectives without separate case analyses.

Key Results

  • Extension of Linear Rates to Nonlinear Basins (Propositions 3 & 12): Guarantees that the local spectral convergence rate $\alpha$ holds over any compact set $A$ inside the region of attraction $\mathcal{R}$, bounding error by $|z(t)| \le \hat{C} |z_0| \exp(-\alpha t)$ (or with sublinear envelope $\rho(t)/\rho(t_0)$ in the time-varying case).
  • Discrete Symplectic Conservation (Proposition 9 & 17): Proves that for step size $T \le T_0/3$, the energy deviation of the symplectic step satisfies: $$|\tilde{H}(z_0) - \tilde{H}(\Phi_T(z_0))| \le T C_{\Delta \tilde{H}} |\nabla H(z_0)|^2 e^{-T_0/T},$$ confirming the algorithm conserves the perturbed energy up to exponentially small terms.

  • Rigorous Parameter Conditions for Acceleration (Propositions 8 & 11): Formally characterizes that momentum algorithms achieve accelerated rates if and only if $d \sim 1/\sqrt{\kappa}$.

Limitations and Future Work

  • Conservative Step Size Bounds: While the backward error analysis guarantees stability, the theoretical bounds on the step size (e.g., $T \le 0.001$) derived from the analytic expansions are conservative compared to empirical practice.
  • Smoothness Constraints: The dynamical systems approach requires smooth vector fields; it does not directly apply to non-smooth optimization (e.g., proximal operators, indicator constraints) or discrete algorithmic resets (restarting momentum).
  • Dimension Scaling in Nonconvex Settings: While convergence to a local minimum is established within a compact basin, the analysis does not prevent algorithms from getting trapped near high-dimensional saddle points for times that could scale exponentially with dimension $n$ unless perturbed by noise. Extending this dynamical perspective to stochastic or perturbed momentum methods is a natural next step.

Summary updated

BibTeX
@article{muehlebach2021optimization,
  author = {Michael Muehlebach and Michael I. Jordan},
  title = {{Optimization with Momentum: Dynamical, Control-Theoretic, and Symplectic Perspectives}},
  journal = {J. Mach. Learn. Res.},
  year = {2021},
  url = {https://openreview.net/forum?id=Qqh48OmAUFH},
}
Figure