cs.LGNov 3, 2026

Theoretical Analysis of Muon on Transformers for Next-Token Prediction

Authors: Shengwei Wu, Yixuan Yang, Gao Huang, Song Li

Organizations: School of Mathematical Sciences, Zhejiang University, Hangzhou, Zhejiang, China · Department of Mathematics, National University of Singapore, Singapore

Abstract

Muon has recently shown strong empirical performance in training Transformer-based large language models (LLMs), yet its optimization dynamics remain poorly understood from a theoretical perspective. In this paper, we analyze the training dynamics of Muon for next-token prediction (NTP) in Transformers. The training procedure consists of two phases: the preprocessing phase learns the output-value component, while the main phase learns the key-query component. For the preprocessing phase, we characterize the optimization trajectory exactly and show that the normalized spectral margin is optimal after each update. For the main phase, we establish nonasymptotic convergence rates for the training loss and the normalized margin gap under softmax attention. These results suggest that Muon's update rule can help models efficiently learn which tokens matter for prediction, offering a possible explanation for its strong performance in large language model training. The learned weight structure also yields a generalization guarantee for unseen contexts. Furthermore, we validate our theoretical insights with experiments on next-token prediction tasks.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. T-MUON: Tensorizing Muon via t-SVD for Large Language Model Pre-training

    Oct 18, 2026Dongyang Li, Mingsong Yan, Zheng Zhang +1Muon OptimizerLanguage Model Pretraining

  2. DynMuon: A Dynamic Spectral Shaping View of Muon

    May 16, 2026Fangzhou Wu, Rikhav Shah, Sandeep Silwal +1Neural Network OptimizationMuon Optimizer

  3. MUON+: Towards More Effective Muon via One Additional Normalization Step for LLM Pre-training

    Feb 25, 2026Ruijie Zhang, Yequan Zhao, Ziyue Liu +4Muon OptimizerDeep Learning Optimization