Riemannian Lyapunov Framework: Optimization as Closed Loop Control on Riemannian Manifolds
Organizations: Department of Mechanical and Aerospace Engineering University of Florida
Abstract
We introduce the Riemannian Lyapunov Framework (RLF), a unified framework that represents first order optimization as a closed loop controlled dynamical system on a Riemannian parameter manifold. Within this framework, optimizers are specified by a quadruple consisting of a Riemannian metric, an internal state transition map, a direction field generator, and a lifting parameter. Classical and modern methods including SGD, Adam, AdamW, Lion and Shampoo are recovered as specific instantiations of this quadruple. The central structural object of the framework is a time indexed family of target submanifolds in the extended state space of parameters, velocities, and internal memory, which we call the Normally Attracting Invariant Manifold (NAIM) family. These submanifolds organize training dynamics into two timescales: a fast contraction of the velocity state onto the current target submanifold, followed by a slow descent along it. Using Riemannian backstepping, we construct a strict Lyapunov function on the extended state space and prove Uniform Ultimate Boundedness (UUB) of the optimization trajectory under a descent alignment assumption and bounded stochastic disturbances. Under the additional Polyak-Lojasiewicz (PL) condition, the Lyapunov function converges linearly to a bounded neighborhood of the optimum, defined as the drift of the target direction field between consecutive iterates after parallel transport. To validate the framework's generativity, we derive three concrete instantiations of the quadruple, each exercising a distinct design axis, and show on geometric diagnostics, image classification benchmarks, and language modeling that their empirical behavior matches the theoretical predictions. The framework casts optimizer design as controller synthesis, complementing heuristic perspectives by providing a constructive template with provable guarantees.
Figures & tables
| Best val. (%) | Final val. (%) | Tail | Tail | Mean | Tail (max) | ||
|---|---|---|---|---|---|---|---|
| Metric | Form | LR | Best Acc (%) | Final Acc (%) |
|---|---|---|---|---|
| RMSProp | Diagonal | |||
| AdaGrad | Diagonal cumulative | |||
| Adam | Diagonal debiased | |||
| Layer-wise | Block diagonal | |||
| Euclidean | Identity |
| Optimizer | Best (%) | Avg (%) | Std |
|---|---|---|---|
| AdamW | 93.87 | 93.77 | 0.13 |
| Lion | 94.03 | 93.88 | 0.13 |
| Adan | 93.86 | 93.78 | 0.09 |
| Shampoo | 94.92 | 94.83 | 0.09 |
| RLO- | 93.90 | 93.89 | 0.02 |
| RLO-Lifted | 94.01 | 93.91 | 0.14 |
| Optimizer | ResNet-50 | ViT-S/16 | ViT-B/16 |
|---|---|---|---|
| AdamW | 73.87 | 75.18 | 71.42 |
| Lion | 73.36 | 75.14 | 76.27 |
| RLO | 73.45 | 75.38 | 76.00 |
| RLO- | 73.98 | 76.18 | 76.47 |
| RLO-Lifted | 73.98 | 71.43 | 76.33 |
| Optimizer | Val Loss | Best PPL | Final PPL | Train Loss | Generalization Gap |
|---|---|---|---|---|---|
| AdamW | 3.1476 | 23.29 | 23.28 | 3.1432 | 0.0044 |
| Lion | 3.2012 | 24.53 | 24.56 | 3.1975 | 0.0037 |
| RLO | 3.2019 | 24.57 | 24.58 | 3.1983 | 0.0036 |
| RLO- | 3.0708 | 21.56 | 21.56 | 3.0658 | 0.0049 |
| RLO-Lifted | 3.1614 | 23.61 | 23.60 | 3.1579 | 0.0035 |
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Description |
| Geometry and Manifold Structure | |
| The dimensional smooth parameter manifold. | |
| The tangent space at . | |
| Riemannian metric, an inner product on . | |
| Riemannian norm induced by , that is . | |
| Riemannian gradient of at . | |
| Optimizer | Metric | State | Target Field | Lift | Manifold |
|---|---|---|---|---|---|
| SGD | Euclidean | (Gradient) | Gradient Graph | ||
| Momentum | Euclidean | Velocity | (Gradient) | Gradient Graph | |
| AdamW | Adaptive | Moments | (Momentum) | Precond. Momentum | |
| Lion | Euclidean | Momentum | Hypercube Corners | ||
| RLO | Euclidean | Momentum | Shifted Hypercube | ||
| RLO | Euclidean | Moments | Smooth Saturation |
| GN | Optimal LR | Best Acc | Final Acc | |
|---|---|---|---|---|
| ✓ | 91.59% | 91.21% | ||
| 89.76% | 89.42% | |||
| ✓ | 91.51% | 91.13% | ||
| 89.02% | 88.67% |
| GN | LR | Best Acc | Final Acc | Loss Std | |
|---|---|---|---|---|---|
| ✓ | 91.69 | 91.49 | 0.249 | ||
| ✓ | 91.91 | 91.91 | 0.239 | ||
| 90.74 | 90.74 | 0.360 | |||
| 87.15 | 74.43 | 1.610 |
| Best Acc (%) | Final Acc (%) | ||||
|---|---|---|---|---|---|
| 0.1 | 90.87 | 90.52 | 0.83 | 0.55 | 0.94 |
| 0.2 | 91.12 | 90.78 | 0.87 | 0.50 | 0.95 |
| 0.3 | 91.38 | 91.02 | 0.90 | 0.47 | 0.96 |
| 0.5 | 91.54 | 91.21 | 0.96 | 0.42 | 0.96 |
| 0.7 | 91.69 | 91.49 | 1.03 | 0.37 | 0.96 |
| 1.0 | 91.75 | 91.64 | 0.00 | 1.00 | 0.88 |
| Peak learning rate | Warmup steps | Validation loss | PPL |
|---|---|---|---|
| Hyperparameter | Default Value |
|---|---|
| Momentum decay | 0.9 |
| EMA decay | 0.99 |
| Weight decay | 0.1 |
| Belief coefficient | 0.2 |
| Tanh scaling | 5.0 |
| Lifting parameter | 0.7 (Full) or 1.0 (Nolifted) |
| Parameter | Value |
|---|---|
| Training epochs | 90 |
| Global batch size | 1024 |
| Per-GPU batch size | 128 |
| Warmup epochs | 5 |
| Warmup schedule | Linear |
| Learning rate schedule | Cosine decay |
| Model | Optimizer | LR | WD |
|---|---|---|---|
| ResNet-50 | AdamW | 0.05 | |
| Lion | 0.5 | ||
| RLO | 0.5 | ||
| RLO- | 0.5 | ||
| RLO-Lifted | 0.5 | ||
| ViT-S/16 | AdamW | 0.1 |
| Epoch | AdamW | Lion | RLO | RLO- | RLO-Lifted |
|---|---|---|---|---|---|
| 10 | 33.46 | 51.78 | 50.58 | 53.41 | 49.95 |
| 20 | 38.26 | 51.30 | 55.45 | 57.82 | 55.52 |
| 30 | 41.98 | 57.89 | 58.08 | 60.65 | 58.24 |
| 40 | 42.57 | 63.06 | 61.44 | 63.92 | 61.15 |
| 50 | 49.70 | 66.64 | 64.62 | 67.22 | 65.03 |
| 60 | 55.39 | 69.91 | 68.64 | 70.36 | 68.86 |
| Optimizer | Final Loss | Min Loss | Loss at Best Val |
|---|---|---|---|
| AdamW | 2.21 | 2.21 | 2.21 |
| Lion | 1.80 | 1.80 | 1.80 |
| RLO | 1.83 | 1.83 | 1.83 |
| RLO- | 1.76 | 1.76 | 1.76 |
| RLO-Lifted | 1.81 | 1.81 | 1.81 |
| Best Accuracy (%) | Final Accuracy (%) | |
|---|---|---|
| 0.3 | 69.87 | 69.54 |
| 0.5 | 70.65 | 70.32 |
| 0.7 | 71.43 | 71.12 |
| 0.9 | 73.89 | 73.67 |
| 1.0 | 75.21 | 74.98 |
Stochastic Optimization Convergence
Stochastic optimization convergence studies how noisy, sampled, or delayed updates approach solutions and how fast they do so.
See all 212 papers