Preconditioning Benefits of Spectral Orthogonalization in Muon
Jianhao Ma, Yu Huang, Yuejie Chi, Yuxin Chen
TL;DR
This paper analyzes Muon, a spectrum-aware optimizer that performs gradient orthogonalization via the matrix sign function, to understand its preconditioning mechanism. By focusing on two fundamental matrix problems—symmetric matrix factorization and in-context learning with linear transformers—it shows that simplified Muon achieves linear, condition-number-free convergence, with iteration counts scaling only with $\, ext{log}(1/\varepsilon)$ rather than the problem's condition number. The key insight is that Muon's gradient spectrum normalization decouples into independent scalar sequences in the spectral domain, yielding robust convergence even under overparameterization. The results are complemented by numerical experiments, showing Muon's superiority over GD and SignGD in ill-conditioned and over-parameterized regimes and suggesting broad applicability of spectrum-aware preconditioning beyond the studied settings.
Abstract
The Muon optimizer, a matrix-structured algorithm that leverages spectral orthogonalization of gradients, is a milestone in the pretraining of large language models. However, the underlying mechanisms of Muon -- particularly the role of gradient orthogonalization -- remain poorly understood, with very few works providing end-to-end analyses that rigorously explain its advantages in concrete applications. We take a step by studying the effectiveness of a simplified variant of Muon through two case studies: matrix factorization, and in-context learning of linear transformers. For both problems, we prove that simplified Muon converges linearly with iteration complexities independent of the relevant condition number, provably outperforming gradient descent and Adam. Our analysis reveals that the Muon dynamics decouple into a collection of independent scalar sequences in the spectral domain, each exhibiting similar convergence behavior. Our theory formalizes the preconditioning effect induced by spectral orthogonalization, offering insight into Muon's effectiveness in these matrix optimization problems and potentially beyond.
