Adam Improves Muon: Adaptive Moment Estimation with Orthogonalized Momentum
Minxin Zhang, Yuxuan Liu, Hayden Schaeffer
TL;DR
This paper introduces NAMO and NAMO-D, two optimizers that fuse orthogonalized momentum with norm-based Adam-style noise adaptation for matrix-structured parameters. The authors prove optimal convergence rates in both deterministic ($O(T^{-1/2})$) and stochastic ($O(T^{-1/4})$ with batch-size dependent terms) settings, with NAMO-D offering finer-grained, diagonal adaptation. Empirically, NAMO and NAMO-D outperform AdamW and Muon in GPT-2 pretraining on OpenWebText, with NAMO-D delivering additional gains via a clamping hyperparameter. These results show scalable, robust optimization benefits for large-language-model training and motivate further exploration of noise-adaptive matrix updates in deep learning.
Abstract
Efficient stochastic optimization typically integrates an update direction that performs well in the deterministic regime with a mechanism adapting to stochastic perturbations. While Adam uses adaptive moment estimates to promote stability, Muon utilizes the weight layers' matrix structure via orthogonalized momentum, showing superior performance in large language model training. We propose a new optimizer and a diagonal extension, NAMO and NAMO-D, providing the first principled integration of orthogonalized momentum with norm-based Adam-type noise adaptation. NAMO scales orthogonalized momentum using a single adaptive stepsize, preserving orthogonality while improving upon Muon at negligible additional cost. NAMO-D instead right-multiplies orthogonalized momentum by a diagonal matrix with clamped entries. This design enables neuron-wise noise adaptation and aligns with the common near block-diagonal Hessian structure. Under standard assumptions, we establish optimal convergence rates for both algorithms in the deterministic setting and show that, in the stochastic setting, their convergence guarantees adapt to the noise level of stochastic gradients. Experiments on pretraining GPT-2 models demonstrate improved performance of both NAMO and NAMO-D compared to the AdamW and Muon baselines, with NAMO-D achieving further gains over NAMO via an additional clamping hyperparameter that balances the competing goals of maintaining a well-conditioned update direction and leveraging fine-grained noise adaptation.
