Move on Muon : A Hamiltonian probability gradient flow perspective of Muon optimizer

Aratrika Mustafi, Soumya Mukherjee, Bharath SriperumbudurNeurIPS 2026

TL;DR

Standard optimizers like Adam treat massive neural network weight matrices like flat lists of independent numbers, ignoring their inherent 2D geometry. The Muon optimizer changes the game by forcing momentum updates to be orthogonal matrices, and this paper uncovers the exact physics behind why it works: Muon is secretly a damped Hamiltonian system—like a ball rolling through a landscape with friction—where total energy strictly decreases even when the training loss temporarily bumps up.

What Problem Does This Paper Address?

When we train large language models, optimizers like SGD and Adam update weights coordinate-by-coordinate. Recently, an optimizer called Muon gained traction by taking a matrix-geometric view: instead of stepping in the raw momentum direction, it orthogonalizes the momentum matrix first (keeping its singular vectors while snapping all nonzero singular values to 1). It cares about subspace directions, not magnitudes.

While we know what a single Muon step looks like geometrically, we lacked a continuous-time, dynamical picture of how it behaves over time. How does stored momentum trade off with the loss objective across many steps? How does this scale when we view a wide neural network—or a Mixture-of-Experts (MoE) model—as an interacting population of matrix "particles"?

The main roadblock to answering this is math: hard orthogonalization has a sharp corner (it is nonsmooth whenever a matrix drops rank), which breaks standard differential equations.

Methods

To turn discrete Muon steps into smooth, analyzable physics, the authors build a bridge from single matrices to probability distributions:

  • Smoothing the Sharp Corners: Instead of snapping singular values $\sigma$ straight to $1$, they introduce regularized Muon ($\text{Orth}_\varepsilon$), which smoothly saturates singular values via $\sigma / \sqrt{\sigma^2 + \varepsilon^2}$. Crucially, this isn't an arbitrary hack—it is the exact mathematical gradient of a smoothed nuclear norm. This casts Muon as a mirror descent step where momentum lives in a dual space and velocity lives in the primal space.
  • Lifting to Particle Populations (Mean-Field Limit): Rather than tracking one matrix, they look at probability distributions over matrices (useful for analyzing wide networks or ensembles of experts). Taking the continuous-time limit under an "inertial scaling" (balancing step size and momentum decay so second-order physics aren't lost), they derive a phase-space partial differential equation (a McKean-Vlasov equation) governing parameter-momentum pairs.
  • Product-Space Extension: Real networks aren't single matrices. They extend this math block-by-block to tuples of matrices, accommodating multi-matrix layers like attention ($Q, K, V, O$) and smoothly-routed Transformer Mixture-of-Experts models.

Datasets

Rather than benchmarking on massive web-scale text datasets, the authors use two controlled, deterministic synthetic setups designed to isolate and verify the exact physics predicted by their theory:

  1. Matrix Mean Matching: An $N$-particle population of matrices trying to align their average with a target $M$-particle teacher average.
  2. Teacher-Student Neural Network: A nonlinear two-layer $\tanh$ network on product matrix spaces $\theta_i = (A_i, B_i)$, trained on $S = 320$ synthetic input-output pairs.

Key Insights and Ideas

  • Why Training Loss Bounces (And Why That’s Okay): Muon isn't a simple downhill gradient flow; it is a damped Hamiltonian probability flow. Think of the target loss $J$ as potential energy and the smoothed nuclear norm of the momentum as kinetic energy. Just like a pendulum with air resistance, kinetic and potential energy slosh back and forth—meaning the loss $J$ can temporarily go up—while the total Hamiltonian energy ($H = \text{Kinetic} + \gamma \cdot \text{Potential}$) is mathematically guaranteed to drain away monotonically.
  • Blockwise Beats Stacked: Another recent theoretical approach (Spectral Wasserstein geometry) stacks all particle gradients into one giant matrix before normalizing, which accidentally introduces an extra scaling factor that deviates from real-world Muon. Applying the mirror map separately to each matrix block of each particle stays faithful to how Muon is actually implemented.
  • Soft vs. Hard MoE Routing: Smoothly gated MoEs (like softmax routing) fit seamlessly into this continuous Hamiltonian framework, whereas hard top-k routing introduces discontinuities that sit outside the smooth theory as a limiting case.

Key Results

  • Theoretical Guarantees: Under explicit trajectory and landscape conditions (like a functional Polyak-Łojasiewicz condition), the authors prove exponential convergence rates to the global minimum. They also prove propagation of chaos, showing that an $N$-particle finite system tracks the idealized infinite mean-field PDE with an error scaling as $O(1/N)$.
  • Strict Energy Decay in Practice: Across 5-seed runs of the nonlinear teacher-student network ($h=0.01$ and $0.005$), the objective loss $J$ ticked upward between consecutive steps roughly 16.85%–16.90% of the time. Meanwhile, the total Hamiltonian $H$ increased 0% of the time.
  • Validating the Calculus: When halving the step size $h$ from $0.01$ to $0.005$, the numerical error between the discrete updates and the theoretical continuous dissipation equations dropped by factors of 1.96 (for loss) and 1.94 (for the Hamiltonian), confirming the $O(h)$ convergence rate. Furthermore, regularized Muon smoothly decayed toward zero error on matrix matching, avoiding the stalling "residual floor" seen in hard polar and Newton-Schulz approximations at fixed step sizes.

Limitations and Future Work

The authors are upfront that this is a foundational theoretical step with clear boundaries:

  • Idealized vs. Practical Mechanics: The theory assumes deterministic full-batch updates and exact SVD-based smooth orthogonalization. Accounting for stochastic mini-batch noise and the approximation errors of Newton-Schulz iterations (used in practice to avoid slow SVDs) remains open.
  • Strong Assumptions & Limits: Proving exponential convergence relies on fairly strong trajectory-level assumptions, and the propagation-of-chaos bound blows up as $\varepsilon \to 0$ (and isn't uniform over infinite time). Fully characterizing the nonsmooth "hard Muon" limit ($\varepsilon \downarrow 0$) and testing on end-to-end large-scale Transformer training are left for future work.

Summary updated

Abstract

We develop a gradient flow on the space of probability measures defined on matrix-valued parameters induced by regularized Muon, an analytically smoothed version of the idealized Muon optimizer. The key observation is that the regularized orthogonalization map is the gradient of a smooth Fenchel-dual smoothing of the nuclear norm. This identifies the (regularized) Muon update as a mirror/prox step in the update variable, with momentum acting as the dual coordinate. We use this structure to lift Muon from a single matrix parameter to finite-particle probability objectives of the form $J(\rho)=R\left(\int F d \rho\right)$, a setting motivated by mean-field descriptions of neural-network training, and derive the inertial continuous-time limit. Using this structure, we derive the finite-particle continuous-time limit under the inertial scaling of step size and momentum, and then pass to a phase-space mean-field equation over probability laws on parameter-momentum pairs. The resulting flow can be shown to be a damped Hamiltonian probability dynamics whose kinetic energy is induced by the regularized Muon mirror potential. We prove an exact Hamiltonian dissipation identity, showing that the Hamiltonian energy decreases monotonically- leading to the descent of the target objective functional. Under appropriate gradient dominance assumptions, we obtain continuous and discrete time exponential convergence rates. We also study the well-posedness of the mean field limit equation and establish propagation of chaos guarantees for the interacting particle system. Finally, we extend the formulation to Hilbert-valued feature maps on product matrix spaces, yielding a blockwise Muon probability flow applicable to smooth transformer mixture-of-experts models.
BibTeX
@inproceedings{mustafi2026move,
  author = {Aratrika Mustafi and Soumya Mukherjee and Bharath Sriperumbudur},
  title = {{Move on Muon : A Hamiltonian probability gradient flow perspective of Muon optimizer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=kausjLR0DW},
}
Figure