# Muon (2025)

> Shows that Muon, which orthogonalizes each weight matrix's update, trains large language models with about half the compute AdamW needs.

Page: https://mralbu.github.io/ai-datasets/p/muon

## Key facts

- Title: Muon is Scalable for LLM Training
- Authors: Jingyuan Liu, Jianlin Su, Xingcheng Yao, Zhejun Jiang, Guokun Lai, Yulun Du, Yidao Qin, Weixin Xu, Enzhe Lu, Junjie Yan, Yanru Chen, Huabin Zheng, et al.
- Venue: arXiv February 2025
- Category: Foundations
- Paper: https://www.alphaxiv.org/abs/2502.16982

## Why it matters

For years AdamW was the only optimizer anyone trusted for large language models. Muon had set training-speed records for small models on CIFAR-10 and GPT-2; this paper showed it holds up at trillions of tokens, and released the code and checkpoints. Moonshot's Kimi K2, with a trillion parameters, was later trained with a variant of Muon.

## The idea

Muon, introduced by Keller Jordan in a 2024 blog post, takes the momentum of each weight matrix's gradient and replaces it with the nearest orthogonal matrix, computed with five cheap Newton–Schulz iterations instead of a singular value decomposition. Every direction of the update then gets the same size, so a few dominant directions cannot take over. To make it work at scale, this paper added AdamW-style weight decay and scaled each matrix's update so its size matches AdamW's, letting Muon reuse AdamW's learning rate and weight decay.

## The result

In scaling-law experiments Muon matched AdamW with about 52% of the training compute. Moonlight, a mixture-of-experts model with 16B parameters (about 3B active) trained on 5.7T tokens with Muon, scored 70.0 on MMLU, 77.4 on GSM8K and 48.1 on HumanEval, against 54.7, 34.0 and 28.0 for Llama 3.2 3B trained on 9T tokens. At 1.2T tokens, the same model trained with AdamW scored 29.3 on HumanEval to Muon's 37.2.

## The data

- [MMLU (2020)](https://mralbu.github.io/ai-datasets/d/mmlu.md): 15,908 four-option exam questions, from high-school math to law and medicine.
- [MMLU-Pro (2024)](https://mralbu.github.io/ai-datasets/d/mmlu-pro.md): 12,032 exam questions in 14 subjects, with up to ten options instead of MMLU's four.
- [GSM8K (2021)](https://mralbu.github.io/ai-datasets/d/gsm8k.md): 8.5k grade-school math word problems with step-by-step solutions.
- [MATH (2021)](https://mralbu.github.io/ai-datasets/d/math.md): 12,500 competition problems (AMC, AIME and others) in 7 subjects and 5 difficulty levels.
- [HumanEval (2021)](https://mralbu.github.io/ai-datasets/d/humaneval.md): 164 hand-written Python problems graded by unit tests.

## Builds on

- [AdamW (2017)](https://mralbu.github.io/ai-datasets/p/adamw.md)
- [Shampoo (2018)](https://mralbu.github.io/ai-datasets/p/shampoo.md)

## Part of

- [Optimizers](https://mralbu.github.io/ai-datasets/t/optimizers.md) (step 7 of 7)
