Full text not available for this paper

Summary (Overview)

  • Core Contribution: Introduces the Normalize-Then-Precondition framework, a hierarchical approach for LLM training that first normalizes updates using marginal-scale information (diagonal Gram) and then applies spectral preconditioning to refine directional interaction geometry.
  • Two Novel Optimizers: Proposes NormPre-G (global spectral preconditioning via Newton-Schulz iterations) and NormPre-L (localized spectral preconditioning via randomized sketching), both built on the framework with alternating row/column normalization and consistent update RMS scaling.
  • Theoretical Guarantees: Establishes O(T−1/2)O(T^{-1/2}) convergence guarantees for simplified versions of NormPre, extending to sketch-based variants under controlled approximation error.
  • Empirical Superiority: Both variants consistently outperform AdamW, Muon, and MANO across GPT-2 Small, LLaMA (up to 1.3B), and Qwen3 (up to 1.7B) pretraining under matched training budgets, with NormPre-G achieving the lowest validation loss.
  • Performance-Efficiency Trade-off: NormPre-L reduces optimizer latency by up to 67% compared to Muon while maintaining strong optimization gains, offering practitioners flexible choices.

Introduction and Theoretical Foundation

Background and Motivation

Large language model (LLM) training demands optimizers that balance performance, efficiency, and scalability. Recent advances exploit parameter structure at multiple granularities:

  • Coordinate-wise: AdamW, Lion, Sophia
  • Block-wise: Adam-mini, Blockwise LR
  • Matrix-level: Muon (orthogonalization), MANO (normalization), Shampoo, SOAP

Key Theoretical Insight: Gram Representations

The paper reveals a shared structure between orthogonalization and normalization through Gram matrix representations. For a matrix update XX, the transformations take the forms:

Φ=(XX⊤)−1/2X(Full-Gram Representation)\Phi = (XX^\top)^{-1/2}X \quad \text{(Full-Gram Representation)} Ψ=[Diag(diag(XX⊤))]−1/2X(Diagonal-Gram Representation)\Psi = \left[\text{Diag}(\text{diag}(XX^\top))\right]^{-1/2}X \quad \text{(Diagonal-Gram Representation)}

where Diag(diag(⋅))\text{Diag}(\text{diag}(\cdot)) retains only diagonal entries.

Critical observation: The full Gram matrix jointly encodes marginal scales (diagonal entries ∥xi∥22\|x_i\|_2^2) and cross-row interactions (off-diagonal entries ⟨xi,xj⟩\langle x_i, x_j \rangle). As scale gaps grow extreme (e.g., one row norm of 10410^4 vs. 10−310^{-3}), the leading Gram eigenvector becomes dominated by marginal scales, obscuring directional interactions. This motivates separating scale normalization from interaction processing.

Theoretical Foundation: Spectral Steepest Descent

Global preconditioning solves the spectral steepest descent problem:

TG∈arg⁡max⁡∥T∥op≤1⟨Ψ,T⟩FT_G \in \arg\max_{\|T\|_{op} \leq 1} \langle \Psi, T \rangle_F

with solution TG=PGΨ=msign(Ψ)T_G = P_G \Psi = \text{msign}(\Psi), where PG=Γ(X)−1/2=U~Λ−1/2U~⊤P_G = \Gamma(X)^{-1/2} = \tilde{U}\Lambda^{-1/2}\tilde{U}^\top.

Localized preconditioning retains Ψ\Psi as reference and solves a regularized problem:

T+:=arg⁡min⁡∥T∥op≤112∥T−Ψ∥F2T_+ := \arg\min_{\|T\|_{op} \leq 1} \frac{1}{2}\|T - \Psi\|_F^2

with solution T+=P+ΨT_+ = P_+ \Psi where P+=Im+U~A(ΛA−1/2−I)U~A⊤P_+ = I_m + \tilde{U}_A(\Lambda_A^{-1/2} - I)\tilde{U}_A^\top for active set A:={i:λi>1}A := \{i : \lambda_i > 1\}.


Methodology

The NormPre Optimizer (Algorithm 1)

The optimizer follows a structured pipeline per step:

  1. Momentum update: Mt←μMt−1+GtM_t \leftarrow \mu M_{t-1} + G_t
  2. Alternating orientation: kt←t mod 2k_t \leftarrow t \bmod 2 (switches between row/column views)
  3. Relaxed tangent momentum: xt,i:=mˉt,i−⟨mˉt,i,wˉt,i⟩wˉt,ix_{t,i} := \bar{m}_{t,i} - \langle \bar{m}_{t,i}, \bar{w}_{t,i}\rangle \bar{w}_{t,i} (separates tangent/radial components)
  4. Diagonal-Gram normalization: Ψt←D(Xt)−1Xt\Psi_t \leftarrow D(X_t)^{-1}X_t
  5. Spectral preconditioning (variant-dependent):
    • NormPre-G: Tt←msign(Ψt)T_t \leftarrow \text{msign}(\Psi_t) via 5 Newton-Schulz iterations
    • NormPre-L: Extract top-rr active eigenspace, then Tt←(I+U~Ct(ΛCt−1/2−I)U~Ct⊤)ΨtT_t \leftarrow (I + \tilde{U}_{C_t}(\Lambda_{C_t}^{-1/2} - I)\tilde{U}_{C_t}^\top)\Psi_t
  6. Consistent update RMS: Wt+1←Wt−ηt(Rkt(Tt)+λwdWt)W_{t+1} \leftarrow W_t - \eta_t(R_{k_t}(T_t) + \lambda_{wd}W_t) with target RMS of 0.2

Scalable Implementations

NormPre-G uses Newton-Schulz iterations (same complexity as Muon): O(mn+qmns)O(mn + qmns) where s=min⁡{m,n}s = \min\{m,n\}.

NormPre-L offers two implementations:

  • Exact: Full eigendecomposition of Γt=ΨtΨt⊤\Gamma_t = \Psi_t\Psi_t^\top: O(m2n+m3)O(m^2n + m^3)
  • Sketch-based: Randomized sketching with Rayleigh-Ritz extraction: O((p+1)mnℓ+(m+n)ℓ2+ℓ3)O((p+1)mn\ell + (m+n)\ell^2 + \ell^3) where ℓ=min⁡{m,r+o}\ell = \min\{m, r+o\}

Convergence Guarantee

Theorem 1 (Convergence without momentum): Under LL-smoothness, bounded radial ratios, and spectral factor conditions, choosing η=C/T+1\eta = C/\sqrt{T+1} yields:

min⁡0≤t≤T∥∇L(Wt)∥F≤1T+1(Δ0max⁡{m,n}1/2ϵγC+LCmax⁡{m,n}3/22ϵγ)\min_{0 \leq t \leq T} \|\nabla L(W_t)\|_F \leq \frac{1}{\sqrt{T+1}} \left(\frac{\Delta_0 \max\{m,n\}^{1/2}}{\epsilon\gamma C} + \frac{LC \max\{m,n\}^{3/2}}{2\epsilon\gamma}\right)

The optimal rate is min⁡0≤t≤T∥∇L(Wt)∥F≤max⁡{m,n}2LΔ0ϵγT+1\min_{0 \leq t \leq T} \|\nabla L(W_t)\|_F \leq \frac{\max\{m,n\}\sqrt{2L\Delta_0}}{\epsilon\gamma\sqrt{T+1}}.


Empirical Validation / Results

Scaling Experiments

Table 1: Validation loss across model scales, architectures, and datasets (lower is better):

SettingNormPre-GNormPre-L
ModelDatasetAdamWMuonMANO
GPT-2 SmallOpenWebText3.1444 ± 0.00543.1064 ± 0.00543.1156 ± 0.00573.0667 ± 0.0049
LLaMA-130MC43.13633.10193.11023.0737
LLaMA-350MC43.03782.99992.99462.9678
LLaMA-1.3BC42.93852.90372.89632.8571
Qwen3-0.6BPile2.89562.83352.83822.7967
Qwen3-1.7BPile2.67582.64082.62052.5868

Key results: Both variants outperform all baselines across every setting. NormPre-G achieves the lowest validation loss universally. vs. Muon (strongest baseline), NormPre-G reduces loss by 0.0397 (GPT-2 Small) to 0.0392 (LLaMA-1.3B).

Training Efficiency (Table 2)

ModelOptimizerOptimizer LatencyE2E Step TimeThroughputPeak Memory
GPT-2 SmallNormPre-G119.3 ms (+5.76% vs Muon)3495.0 ms (+0.44%)150.01 k tok/s14.62 GiB
GPT-2 SmallNormPre-L69.8 ms (−38.12% vs Muon)3439.4 ms (−1.16%)152.44 k tok/s14.61 GiB
LLaMA-1.3BNormPre-G1054.2 ms (+4.37% vs Muon)23141.8 ms (+0.08%)22.66 k tok/s37.83 GiB
LLaMA-1.3BNormPre-L333.3 ms (−67.00% vs Muon)22399.7 ms (−3.13%)23.41 k tok/s37.84 GiB

Spectral Dynamics

Key findings from spectral analysis:

  1. Normalization yields anisotropic base updates: Equalizing row norms redistributes spectral mass, raising eigenvalues across multiple ranks—anisotropy persists throughout training, justifying further refinement.
  2. Localized preconditioning captures dominant energy: Top-32 modes (λi>1\lambda_i > 1) consistently account for approximately 62%–67% of global spectral transformation energy across checkpoints.

Theoretical and Practical Implications

Theoretical Implications

  • Hierarchical geometric organization: The framework formally separates marginal-scale information (diagonal Gram) from interaction information (off-diagonal Gram), providing a principled alternative to joint geometric transformations.
  • Unified perspective: Global and localized preconditioning emerge as solutions to distinct optimization problems—spectral steepest descent vs. regularized steepest descent with leading mode selection—unifying previously disparate approaches.
  • Convergence theory: The O(T−1/2)O(T^{-1/2}) rate matches standard stochastic optimization guarantees while accounting for the geometric structure of matrix updates.

Practical Implications

  • Flexible performance-efficiency trade-off: NormPre-L with rank r=32r = 32 offers strong gains at substantially lower computational cost (up to 67% latency reduction vs. Muon), while NormPre-G pushes absolute performance limits.
  • Direct drop-in replacement: Both variants maintain the Muon convention of 0.2 update RMS, enabling shared hyperparameters with AdamW and Muon.
  • Scalability: Sketch-based eigenspace extraction makes localized preconditioning feasible for large matrices where full eigendecomposition is prohibitive.

Conclusion

Main Takeaways

This paper formalizes the Normalize-Then-Precondition framework, establishing that:

  1. Marginal-scale normalization (via diagonal Gram) should precede interaction processing (via spectral preconditioning)
  2. Both full-spectrum (global) and targeted (localized) spectral transformations offer distinct advantages
  3. The resulting NormPre optimizers consistently outperform established baselines across multiple architectures and scales

Future Directions

The authors highlight three promising avenues:

  • (a) Hardware-aware implementations to improve spectral transformation efficiency
  • (b) Scaling empirical validation beyond 1.7B parameters
  • (c) Exploring adaptive spectral schemes to narrow the gap between localized and global preconditioning while preserving efficiency

Key Formula Summary

The central theoretical contributions are:

Full-Gram (Muon): Φ=(XX⊤)−1/2X\Phi = (XX^\top)^{-1/2}X

Diagonal-Gram (Normalization): Ψ=[Diag(diag(XX⊤))]−1/2X\Psi = \left[\text{Diag}(\text{diag}(XX^\top))\right]^{-1/2}X

Global preconditioner: PG=Γ(X)−1/2=U~Λ−1/2U~⊤P_G = \Gamma(X)^{-1/2} = \tilde{U}\Lambda^{-1/2}\tilde{U}^\top

Localized preconditioner: PL=Im+U~C(ΛC−1/2−I)U~C⊤P_L = I_m + \tilde{U}_C(\Lambda_C^{-1/2} - I)\tilde{U}_C^\top

Related papers