Command Palette
Search for a command to run...
Muon
Muon (Muon Optimizer) is an optimizer for two-dimensional parameter matrices in neural network hidden layers: it takes the momentum-accumulated update matrix, approximately orthogonalizes it using Newton-Schulz iteration, and then applies it to the parameters, so that the scale of each update in each singular direction tends to be balanced, preventing a few dominant directions from monopolizing the training signal. The optimizer was proposed by Keller Jordan in 2024 in the form of a technical blog and open-source implementation, and was not initially published as a formal paper; in 2025, the Kimi team at Moonshot AI systematically verified the scalability of Muon in pretraining billion-parameter-scale large language models in the paper Muon is Scalable for LLM Training.
This work identifies two key techniques that make Muon work stably and effectively in large-scale training: introducing decoupled weight decay, and adjusting the per-parameter update scale according to parameter shape, so that Muon can be directly used for large-model training without extensive hyperparameter search. Scaling law experiments show that, under compute-optimal training conditions, the compute efficiency required for Muon to achieve model performance comparable to AdamW is about 2 times that of AdamW; the Moonlight 3B/16B MoE model trained based on this approach validated this efficiency advantage on 5.7T tokens. Muon's design motivation comes from a reflection on Adam's element-wise adaptive scaling: the update of a two-dimensional parameter is essentially a matrix transformation, and element-wise scaling ignores the spectral structure of the matrix, whereas orthogonalizing the update is equivalent to taking a more balanced update direction under a spectral norm constraint. In practice, Muon is usually used only for hidden-layer weight matrices (such as attention projections and MLP layers), while embedding layers, output heads, normalization parameters, and biases are still handled by AdamW, forming a hybrid optimizer configuration.
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.