Theoretical Analysis of Muon on Transformers for Next-Token Prediction
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.
Create a lesson
Metadata
- Comments
- 62 pages, 5 figures
Related papers
ΦasmaNet: A Staged Spectral Token-Refinement Architecture for Fast Gravitational-Wave Signal-to-Noise Ratio Prediction
Shared title terminologycs.LGIoannis Tsioulis, Anastasios Tefas, Nikolaos Stergioulas
Cell-Type-Specific Expression Is Hard to Predict from Bulk, but It Is Still Useful
Shared title terminologycs.LGGadi Naveh, Amit Miller, Gal Keinan
Quaternion-Tucker ZigZag Networks: Halving Transformer Backbone Parameters and Enabling Exact 2D Zero-Loss Continual Scaling
Shared title terminologycs.LGShubham Barmase
DuoMI: Dual Mutual Information Regularization for Expert Reuse in Looped Transformers
Shared title terminologycs.LGXinlai Kang, Zhenhe Wu, Haoyu Wang et al.
Looped Models are Fast Multi-Token Predictors
Shared title terminologycs.LGAyhan Suleymanzade, Sean McLeish, Sehoon Kim et al.
DiffER^2: Diffusion Ensembles for Retrosynthesis Prediction with SMILES Adapted Particle Guidance
Shared title terminologycs.LGSean Current, Daniel Adu-Ampratwum, Xia Ning et al.