TL;DR
Deep learning optimizers—from SGD and Adam to Lion and Shampoo—often look like a zoo of clever, disconnected heuristics. This paper reveals they are actually variations of a single physical process: a closed-loop feedback controller steering a dynamical system on a curved geometric manifold. By framing optimization as controller synthesis, the authors provide a mathematical "blueprint" that explains why existing optimizers work and lets us systematically engineer new ones with provable stability guarantees.
What Problem Does This Paper Address?
If you train neural networks, you rely on an ever-growing menu of optimization algorithms. Some scale gradients by running averages (Adam, RMSProp), others use only the sign of the momentum (Lion), and some estimate full second-order curvature (Shampoo). While empirically effective, our theoretical understanding of why they all work is fragmented.
Existing attempts to unify them—like taking continuous-time limits—often oversimplify internal memory states or ignore the reality of noisy, discrete-time updates. Without a single, cohesive foundation explaining how auxiliary states (like momentum and preconditioning) interact with noisy gradients, designing a new optimizer remains more of an alchemy of trial-and-error than principled engineering.
Methods
The authors introduce the Riemannian Lyapunov Framework (RLF), recasting an optimizer not just as a parameter-update rule, but as an extended dynamical system tracking position (parameters $\theta$), physical velocity/momentum ($v$), and internal memory ($y$) on a curved space (a Riemannian manifold $\mathcal{M}$).
(Correction: let's make sure the figure ID matches Figure 1) -> Let's pause and ensure exact artifact ID: art_cd249697f6ad4bb8b25ac9d46286713e.
The secret sauce organizing this system is a geometric surface called the Normally Attracting Invariant Manifold (NAIM). It splits training into two distinct timescales:
- Fast dynamics: Velocity rapidly snaps onto the target surface.
- Slow dynamics: Once on the surface, parameters glide smoothly down toward minimum loss.
To force the system onto this surface despite noisy stochastic gradients, the authors borrow backstepping from nonlinear control theory. They construct a strict Lyapunov function (an energy-like measure combining loss value and distance from the manifold) and synthesize an acceleration control law guaranteed to drain this energy over time.
Discretizing this continuous controller yields a universal algorithm template—the Riemannian Lyapunov Optimizer (RLO)—governed by four modular knobs:
- Metric ($g$): Defines the local geometry (e.g., adaptive preconditioning).
- Memory transition ($\Psi$): Updates internal statistics like moving averages.
- Direction field ($\Phi$): Shapes the target update direction (e.g., linear, $\text{sign}$, or $\tanh$).
- Lifting parameter ($\eta$): Controls how fast velocity snaps onto the manifold.
Datasets
The authors evaluate their theoretical diagnostics and synthesized RLO variants across standard benchmarks (no new datasets are introduced):
- CIFAR-10 (trained with ResNet-18 for mechanism diagnostics, ablations, and baselines).
- ImageNet (trained from scratch with ResNet-50, ViT-S/16, and ViT-B/16).
- OpenWebText (language modeling with GPT-2 Small, 124M parameters).
Key Insights and Ideas
- Preconditioning is geometry: Adaptive scaling in Adam or RMSProp isn't just an ad-hoc learning-rate tweak; it is mathematically equivalent to choosing a time-varying Riemannian metric that warps space according to local curvature.
- The "Thick Tube" of stochasticity: Because mini-batch gradients are noisy and the target manifold shifts at every step, an optimizer never sits perfectly on the manifold. Instead, RLF proves trajectories are confined to a "thick tube" around it (Uniform Ultimate Boundedness).
- Smoothness shrinks the tube: A discontinuous direction field like Lion’s $\text{sign}(y)$ jolts the target manifold abruptly, widening the tracking tube and increasing variance. Replacing $\text{sign}$ with a smooth, bounded $\tanh(\gamma c)$ field shrinks this tube, yielding tighter stability and lower steady-state loss.
Key Results
- Isolating geometry matters: Holding all other RLO knobs fixed on CIFAR-10, swapping only the Riemannian metric accounts for a 12.66 percentage point jump—from 81.72% (flat Euclidean identity) to 94.38% (diagonal RMSProp metric). Collapsing coordinate-level curvature into single per-layer scalars drops accuracy to 91.57%.
- Theory matches variance in practice: On CIFAR-10 baselines, the smooth
RLO-Λ($\tanh$) variant achieves an across-seed standard deviation of just 0.02%, over $4.5\times$ tighter than AdamW (0.13%), Lion (0.13%), and Adan (0.09%), directly confirming the "thick tube" prediction. - Competitive large-scale scaling: On ImageNet,
RLO-Λachieves the highest Top-1 accuracy across all three tested architectures, notably hitting 76.47% on ViT-B/16 (beating AdamW by 5.05 points and Lion by 0.20 points). - Language modeling: On GPT-2 Small,
RLO-Λreaches a validation perplexity of 21.56, a 7.42% relative improvement over AdamW (23.29) and outperforming Lion (24.53), driven by finding a genuinely lower training-loss basin rather than mere regularization.
Limitations and Future Work
The authors emphasize that their goal here is establishing the foundational link between control theory and optimization—not claiming a new universal state-of-the-art optimizer. Currently, RLF focuses on stability and manifold tracking via Lyapunov backstepping. Looking ahead, casting optimization as control opens the door to optimal control theory: future work could define explicit cost functionals that mathematically trade off loss reduction, tracking precision, and parameter update effort to automatically derive optimal learning schedules and update rules.
Summary updated