Papers
Topics
Authors
Recent
Search
2000 character limit reached

MuonMax: Robust Neural Network Optimization

Updated 3 July 2026
  • MuonMax is a gradient-based optimization algorithm that uses non-Euclidean steepest descent over product spaces to update neural network parameters.
  • It employs spectral norms for weight matrices and adaptive norms for other parameters, aggregating these via a hybrid ℓ₂-product norm to enhance robustness.
  • Empirical results show that MuonMax, especially when combined with model-based momentum (Momo), tolerates a wide range of hyperparameter values while matching or outperforming baselines.

MuonMax is a gradient-based optimization algorithm for training neural networks, developed within the general framework of non-Euclidean steepest descent on product spaces. It is a variant of the Muon optimizer that replaces constrained (normalized) updates with regularized updates under a hybrid ℓ₂-product norm, resulting in improved robustness to learning rate selection. MuonMax is particularly distinguished by its use of spectral and adaptive norms on different parameter blocks and aggregation via an ℓ₂ combination, as well as scaling update magnitudes using the sum of nuclear norms across all matrix parameter blocks. Empirical evaluation demonstrates that MuonMax, especially when combined with model-based momentum (Momo), offers significantly increased tolerance to hyperparameter choices, reducing the need for extensive tuning, and matches or slightly outperforms baseline optimizers on autoregressive language modeling tasks (Crawshaw et al., 10 Oct 2025).

1. Non-Euclidean Steepest Descent Framework

Optimization of neural networks in the MuonMax paradigm is formulated as steepest descent over a partitioned parameter space. Let Θ=(W1,...,WL,θ)\Theta = (W^1, ..., W^L, \theta) denote the full set of network parameters, where each WW^\ell is a weight matrix and θ\theta encompasses all other parameters (biases, embeddings, layer-norm gains, etc.). Each block is assigned a norm tailored to its structure: spectral norm W22\|W^\ell\|_{2 \rightarrow 2} for matrices and an adaptive vector norm (such as Ada2_2 or Ada_\infty) for θ\theta, with the adaptive norms utilizing Adam first- and second-moment estimates.

To aggregate block-wise norms into a unified norm on parameter space, a product norm is constructed:

h(x1,...,xL,y)=f(g1(x1),...,gL(xL),gL+1(y)),h(x^1,...,x^L,y) = f(g_1(x^1), ..., g_L(x^L), g_{L+1}(y)),

where gig_i are the block norms and ff is typically an WW^\ell0 norm, with possible choices such as WW^\ell1, WW^\ell2, or a hybrid combination for special purposes.

Steepest-descent updates are implemented via either:

  • Constrained SD: normalizes each update to have a fixed norm.
  • Regularized SD: scales the step by the dual norm WW^\ell3, adapting to gradient history magnitude.

The direction of steepest descent under the norm WW^\ell4 is given by computing WW^\ell5.

2. Origin and Distinction from Muon

The Muon optimizer performs constrained steepest descent (SD) using a layer-wise spectral norm for matrices and an AdaWW^\ell6 adaptive norm for non-matrices, aggregating with WW^\ell7 across all blocks. Muon updates adopt distinct step sizes (WW^\ell8 for WW^\ell9, θ\theta0 for θ\theta1) and are given by:

  • θ\theta2,
  • θ\theta3, where θ\theta4 is a momentum average and θ\theta5, θ\theta6 are Adam statistics.

MuonMax alters two key components:

  • It employs regularized SD, so update magnitude is proportional to the dual norm rather than forcibly normalized.
  • It aggregates block-wise spectral/Adaθ\theta7 norms using an θ\theta8 combination (hybrid norm), promoting robustness and automatic step-size scaling.

3. MuonMax Algorithmic Definition

MuonMax defines its norm as

θ\theta9

with W22\|W^\ell\|_{2 \rightarrow 2}0.

The dual norm (for scaling the update direction) is

W22\|W^\ell\|_{2 \rightarrow 2}1

where W22\|W^\ell\|_{2 \rightarrow 2}2 denotes the nuclear norm.

The update equations are:

  • W22\|W^\ell\|_{2 \rightarrow 2}3,
  • W22\|W^\ell\|_{2 \rightarrow 2}4.

Polar denotes the spectral-norm maximizer, i.e., the leading singular vector direction.

4. Practical Implementation and Pseudocode

A simplified pseudocode for MuonMax (excluding stale approximation and Momo) consists of the following steps:

  • Initialize W22\|W^\ell\|_{2 \rightarrow 2}5, W22\|W^\ell\|_{2 \rightarrow 2}6, and W22\|W^\ell\|_{2 \rightarrow 2}7 for all blocks.
  • At each iteration:
    • Compute stochastic gradients for all W22\|W^\ell\|_{2 \rightarrow 2}8 and W22\|W^\ell\|_{2 \rightarrow 2}9.
    • Update momentum (matrix blocks) and Adam moments (non-matrix block).
    • Compute 2_20 and the Ada2_21-normalized non-matrix gradient.
    • Aggregate into 2_22.
    • Update 2_23 and 2_24 as above.

Practical recommendations include default hyperparameters: 2_25, 2_26, 2_27, and for Momo-enhanced variants 2_28 (FineWeb1B) or 2_29 (SlimPajama). The coefficient ratio _\infty0 can usually be set to _\infty1 with little performance penalty, and MuonMax is robust to _\infty2 in _\infty3.

5. Empirical Evaluation

Experiments were conducted in the context of autoregressive language modeling, focusing on two benchmarks:

  • FineWeb1B (124M-parameter GPT2-Small, 1B tokens)
  • SlimPajama (774M-parameter GPT2-Large, up to 6B tokens)

Baselines included MuonAdam (Muon + Adam), Scion (Muon + SignSGD), MuonAdam+Momo, and MuonMax+Momo. Key findings:

  • MuonMax+Momo matches or slightly outperforms MuonAdam in terms of final validation loss on both tasks.
  • Robustness: While MuonAdam and Scion required learning rate tuning within a narrow window (_\infty4 order of magnitude) to avoid divergence or high loss, MuonMax+Momo attained near-optimal loss over _\infty5–_\infty6 orders of magnitude variation in either _\infty7 or _\infty8.
  • Ablation studies showed that using stale nuclear-norm sums (rather than freshly computed) changes final loss by _\infty9 while saving θ\theta0 wall-clock time per step. The choice of θ\theta1 in Momo was not critical if learning rates were reasonable.

6. Theoretical Motivation and Advantages

The principal theoretical argument for MuonMax’s robustness centers on adaptive magnitude adjustment via the dual norm θ\theta2: the step size automatically increases when gradient magnitudes are small (e.g., early in training), and decreases when gradients are large, providing self-adjustment lacking in constrained SD. By contrast, Muon requires precise tuning to prevent steps from being too small or excessively large.

The hybrid aggregation norm in MuonMax—max spectral norm across weight matrices and Adaθ\theta3 for other parameters, combined via θ\theta4—allows for a more balanced, global assessment of the geometry of the parameter space. This approach reduces sensitivity to the relative scaling of different parameter blocks.

7. Practical Guidelines and Recommendations

For practitioners, the following summarizes best practices for MuonMax:

  • Use spectral norm on weight matrices and Adaθ\theta5 on non-matrix parameters.
  • Aggregate with θ\theta6 (MuonMax) rather than θ\theta7 (Muon).
  • Set default learning rates to θ\theta8 and optimize within θ\theta9.
  • For new tasks where hyperparameters are unknown, MuonMax (especially with Momo) minimizes the need for expensive hyperparameter sweeps.

In summary, MuonMax generalizes the Muon optimizer by adopting regularized SD with a hybrid ℓ₂ product norm, providing improved learning-rate robustness and reduced sensitivity to the layer-base learning rate ratio, with minimal loss performance compromise (Crawshaw et al., 10 Oct 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to MuonMax.