How Does Orthogonalization Adapt to the Neural Network Hessian Structure?

Summary (Overview)

  • Core question: Why does Muon's orthogonalization preconditioner, which uses (VtVt⊤)1/2⊗I(V_t V_t^\top)^{1/2} \otimes I as an implicit metric, align with the Hessian structure of neural networks?

  • Main finding: At initialization, E[GG⊤]\mathbb{E}[GG^\top] (which equals E[VV⊤]\mathbb{E}[VV^\top]) becomes diagonally dominant as hidden dimensions grow, causing Muon's preconditioner to match the row-block diagonally dominant structure of the neural-network Hessian.

  • Key contribution: The paper provides quantitative asymptotic rates for diagonal dominance in four canonical models: symmetric matrix factorization, deep linear networks, two-layer ReLU networks, and single-layer linear attention (Theorems 1–4).

  • Empirical validation: Simulations reproduce predicted scaling rates, and experiments on Qwen3.5, Llama-3.2, and Granite-4.0 language models confirm that diagonal dominance strengthens with model width.

  • Intuition: Overparameterization of weight matrices drives the diagonal dominance—diagonal entries of GG⊤GG^\top accumulate over hidden coordinates while off-diagonal entries cancel in expectation.

Introduction and Theoretical Foundation

Background: Muon's Orthogonalization

Muon optimizes a matrix-shaped weight Wt∈Rm×nW_t \in \mathbb{R}^{m \times n} by orthogonalizing the momentum buffer:

Vt=βVt−1+(1−β)Gt,Dt=NS5(Vt)≈(VtVt⊤)−1/2Vt,Wt+1=Wt−ηtDtV_t = \beta V_{t-1} + (1-\beta) G_t, \qquad D_t = \mathrm{NS}_5(V_t) \approx (V_t V_t^\top)^{-1/2} V_t, \qquad W_{t+1} = W_t - \eta_t D_t

where NS5\mathrm{NS}_5 is a fixed-point iteration for the orthogonal polar factor: if Vt=PΣQ⊤V_t = P\Sigma Q^\top is a thin SVD, then Dt=PQ⊤=(VtVt⊤)−1/2VtD_t = PQ^\top = (V_t V_t^\top)^{-1/2}V_t.

The Equivalence to a Preconditioner

The orthogonalized update can be rewritten as:

vec(Dt)=((VtVt⊤)−1/2⊗In)vec(Vt)\mathrm{vec}(D_t) = \left((V_t V_t^\top)^{-1/2} \otimes I_n\right) \mathrm{vec}(V_t)

so Muon descends in the metric:

HMuon=Pt1/2⊗In,Pt:=VtVt⊤∈Rm×mH_{\mathrm{Muon}} = P_t^{1/2} \otimes I_n, \qquad P_t := V_t V_t^\top \in \mathbb{R}^{m \times m}

At initialization, V0=G0V_0 = G_0, hence P0=G0G0⊤P_0 = G_0 G_0^\top.

The Hessian Connection

Prior work (Zhang et al., 2024a,b) showed that the neural-network Hessian is row-block diagonally dominant: for a weight W∈Rm×nW \in \mathbb{R}^{m \times n}, the m×mm \times m blocks indexed by rows (output neurons) are dominated by diagonal entries. When PtP_t is close to diagonal, HMuonH_{\mathrm{Muon}} shares this row-block structure (Figure 1).

The central question: How do neural networks produce such a diagonally dominant VtVt⊤V_t V_t^\top (equivalently, GtGt⊤G_t G_t^\top at initialization)?

Methodology

Four Canonical Models

1. Symmetric Matrix Factorization: For W∈Rd×kW \in \mathbb{R}^{d \times k} fitting target M⋆∈Rd×dM^\star \in \mathbb{R}^{d \times d} (symmetric PSD, rank rr):

L(W):=14∥WW⊤−M⋆∥F2,G:=∂L∂W=(WW⊤−M⋆)W\mathcal{L}(W) := \frac{1}{4}\|WW^\top - M^\star\|_F^2, \quad G := \frac{\partial \mathcal{L}}{\partial W} = (WW^\top - M^\star)W

2. Deep Linear Network: For L≥1L \geq 1 layers with weights Wi∈Rdi×di−1W_i \in \mathbb{R}^{d_i \times d_{i-1}} fitting linear target Φ\Phi:

f(x)=WL…W1x,Gi:=∂L∂Wi=Ai⊤RBi⊤f(x) = W_L \dots W_1 x, \quad G_i := \frac{\partial \mathcal{L}}{\partial W_i} = A_i^\top R B_i^\top

where Bi:=Wi−1⋯W1B_i := W_{i-1} \cdots W_1, Ai:=WL⋯Wi+1A_i := W_L \cdots W_{i+1}, and R:=WL⋯W1−ΦR := W_L \cdots W_1 - \Phi.

3. Two-layer ReLU Network: With h(x):=σ(W1x)h(x) := \sigma(W_1 x), residual r(x):=f(x)−Φxr(x) := f(x) - \Phi x, and D(x):=diag(σ′(W1x))D(x) := \mathrm{diag}(\sigma'(W_1 x)):

G1=Ex[D(x)W2⊤r(x)x⊤],G2=Ex[r(x)h(x)⊤]G_1 = \mathbb{E}_x[D(x)W_2^\top r(x)x^\top], \quad G_2 = \mathbb{E}_x[r(x)h(x)^\top]

4. Single-layer Linear Attention: With attention matrix A:=1dkXWQ⊤WKX⊤A := \frac{1}{\sqrt{d_k}}XW_Q^\top W_K X^\top:

f(X)=AXWV⊤WO⊤,L:=12∥f(X)−XΦ⊤∥F2f(X) = AXW_V^\top W_O^\top, \quad \mathcal{L} := \frac{1}{2}\|f(X) - X\Phi^\top\|_F^2

Analysis Approach

Each row of GG is a random vector; the (a,b)(a,b) entry of GG⊤GG^\top is the inner product of rows aa and bb. Diagonal entries (squared norms) accumulate over hidden coordinates, while off-diagonal entries involve independent Gaussian vectors whose terms cancel in expectation. The proofs use:

  • Wishart distribution moments for matrix factorization, deep linear networks, and linear attention
  • Stein's lemma with the arc-cosine kernel (Cho & Saul, 2009) for ReLU networks

Empirical Validation / Results

Theoretical Results (Table 1)

ModelDiagonalOff-diagonalAsymptotic dims
Matrix factorizationΘ(k3)\Theta(k^3)Θ(k2)\Theta(k^2)kk
Deep linear, hidden layer iiΘ(di∏j=1,j≠iL−1dj2)\Theta(d_i\prod_{j=1,j\neq i}^{L-1} d_j^2)0d1,…,dL−1d_1, \ldots, d_{L-1}
Deep linear, output layerΘ(∏j=1L−1dj2)\Theta(\prod_{j=1}^{L-1} d_j^2)Θ(∏j=1L−1dj)\Theta(\prod_{j=1}^{L-1} d_j)d1,…,dL−1d_1, \ldots, d_{L-1}
Two-layer ReLU, layer W1W_1Θ(d1)\Theta(d_1)Θ(1)\Theta(1)d1d_1
Two-layer ReLU, layer W2W_2Θ(d12)\Theta(d_1^2)Θ(d1)\Theta(d_1)d1d_1
Linear attention, WQ,WKW_Q, W_KΘ(d22dv2d06/dk)\Theta(d_2^2 d_v^2 d_0^6/d_k)0dv,d0,d2d_v, d_0, d_2
Linear attention, WVW_VΘ(d2(d2+dv)d06)\Theta(d_2(d_2+d_v)d_0^6)0dv,d0,d2d_v, d_0, d_2
Linear attention, WOW_OΘ(dv2d06)\Theta(d_v^2 d_0^6)Θ(dvd03)\Theta(d_v d_0^3)dv,d0d_v, d_0

Key Theorems

Theorem 1 (Matrix factorization): With S:=WW⊤∼Wd(k,Id)S := WW^\top \sim \mathcal{W}_d(k, I_d) Wishart:

E[GG⊤]=α3Id−2α2M⋆+k(M⋆)2\mathbb{E}[GG^\top] = \alpha_3 I_d - 2\alpha_2 M^\star + k(M^\star)^2

where α2=k(k+d+1)\alpha_2 = k(k+d+1) and α3=k3+3(d+1)k2+(d2+3d+4)k\alpha_3 = k^3 + 3(d+1)k^2 + (d^2+3d+4)k. Diagonal entries are Θ(k3)\Theta(k^3); off-diagonal entries are Θ(k2)\Theta(k^2).

Theorem 3 (Two-layer ReLU): For G2G_2 with α:=EW1[tr(H2)]=Θ(d12)\alpha := \mathbb{E}_{W_1}[\mathrm{tr}(H^2)] = \Theta(d_1^2):

E[G2G2⊤]=αId2+d14ΦΦ⊤\mathbb{E}[G_2 G_2^\top] = \alpha I_{d_2} + \frac{d_1}{4}\Phi\Phi^\top

For G1G_1: diagonal entries are Θ(d1)\Theta(d_1) and off-diagonal entries are Θ(1)\Theta(1).

Theorem 4 (Linear attention): For WQ,WK,WVW_Q, W_K, W_V, off-diagonal entries are exactly zero. For WOW_O:

E[GOGO⊤]=αˉOId2+dvγΦΦ⊤\mathbb{E}[G_O G_O^\top] = \bar{\alpha}_O I_{d_2} + d_v\gamma\Phi\Phi^\top

with ratio Θ(dvd03)\Theta(d_v d_0^3) diverging with head dimension and as the cube of model width.

Simulation Results

  • Matrix factorization: R^\widehat{R} increases with kk following R=Θ(k)R = \Theta(k)
  • Deep linear networks: R^\widehat{R} increases with every hidden dimension for all layers
  • Two-layer ReLU: R^\widehat{R} increases with d1d_1 for both layers, matching R=Θ(d1)R = \Theta(d_1)
  • Linear attention: R^\widehat{R} for GOG_O grows linearly with dvd_v, is nearly unchanged with dkd_k, and grows superlinearly with d0d_0

Language Model Experiments

Figure 6 shows R^\widehat{R} increasing with model width for all four attention projections (query, key, value, output) in Qwen3.5-0.8B-Base, Granite-4.0-1B-Base, and Llama-3.2-1B at random initialization, consistent with the Θ(dvd03)\Theta(d_v d_0^3) prediction.

Theoretical and Practical Implications

Theoretical Significance

  1. Bridges optimization theory and neural network structure: The paper connects Muon's success to a concrete structural property of neural networks—the diagonal dominance of the gradient self outer-product—rather than abstract smoothness or convexity assumptions.

  2. Identifies overparameterization as the driver: The explicit rates show that the diagonal dominance emerges from the hidden dimensions of weight matrices, providing a mechanistic explanation for why larger models benefit more from Muon.

  3. Exact results for attention: For WQ,WK,WVW_Q, W_K, W_V in linear attention, E[GG⊤]\mathbb{E}[GG^\top] is exactly diagonal, not merely asymptotically so—a stronger structural guarantee.

Practical Implications

  1. Preconditioner design: The results justify the row-block structure of Muon's preconditioner, suggesting that orthogonalization is asymptotically equivalent to row-wise normalization (Appendix F).

  2. Scaling behavior: The Θ(dvd03)\Theta(d_v d_0^3) ratio for the output projection means diagonal dominance strengthens as models get wider, explaining why Muon's advantage grows with model scale.

  3. Model-specific predictions: The theory predicts which weight matrices benefit most from orthogonalization (e.g., query/key/value weights have exact diagonal dominance in attention).

Conclusion

Main Takeaways

This work provides the first quantitative asymptotic theory explaining why Muon's orthogonalization preconditioner matches the Hessian structure of neural networks: E[GG⊤]\mathbb{E}[GG^\top] becomes diagonally dominant as weight matrices are overparameterized, with explicit rates across four canonical models. The diagonal entries accumulate over hidden coordinates while off-diagonal entries cancel in expectation, driving the dominance.

Future Directions

  • Training dynamics: The theory is stated at initialization and in expectation; characterizing how VtVt⊤V_t V_t^\top evolves during training remains open (though empirical evidence suggests dominance persists).
  • Degeneracy concerns: Whether this dominance reflects a degenerate behavior of large-scale models warrants investigation.
  • Broader architectures: Extending the analysis beyond the four canonical models to more complex architectures (e.g., multi-layer attention, convolutional networks).

Related papers