What is the Muon optimizer, how does it differ from AdamW, and why have some frontier pretraining runs adopted it?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Muon treats each hidden weight matrix as a matrix rather than a bag of independent scalars. It keeps a momentum buffer like SGD, then replaces that momentum matrix with its nearest semi-orthogonal matrix (singular values pushed to roughly 1) before applying it. AdamW instead rescales every element independently by its own running gradient variance.
Full worked answer with diagram
Muon treats each hidden weight matrix as a matrix rather than a bag of independent scalars. It keeps a momentum buffer like SGD, then replaces that momentum matrix with its nearest semi-orthogonal matrix (singular values pushed to roughly 1) before applying it. AdamW instead rescales every element independently by its own running gradient variance.
Why orthogonalize: updates for transformer weight matrices tend to be close to low-rank, dominated by a few singular directions. Applied directly, they mostly move the weights along those few directions. Equalising the singular values gives rare but useful directions a comparable step. One reading is steepest descent under a spectral-norm constraint, which suits matrices that act as linear maps.
Mechanics worth knowing:
- An exact SVD every step is too expensive, so Muon runs about five Newton-Schulz iterations, a matmul-only polynomial that approximately orthogonalizes and runs fine in bf16.
- It applies only to hidden 2D matrices. Embeddings, the output head, biases and norm gains stay on AdamW, so a real run uses two optimizers.
- It keeps one state buffer instead of Adam's two, roughly halving optimizer memory for those parameters.
- Scaling it needed extra work: decoupled weight decay, and per-matrix update scaling so the update size matches AdamW's and existing LR schedules transfer. Moonshot's MuonClip adds QK-clip, rescaling query and key weights when attention logits grow too large, which they credit for a spike-free Kimi K2 pretraining run.
Evidence: Muon set records in NanoGPT speedrun-style benchmarks by reaching target loss in fewer steps, and Moonshot and Zhipu report using it to pretrain Kimi K2 and GLM-4.5. Costs: Newton-Schulz adds compute per step, and each orthogonalization needs the full matrix, which complicates sharded training.
AdamW remains the safe default and the baseline for fine-tuning. What interviewers probe is the reasoning: matrix geometry rather than elementwise scaling.
Worth sketching. Splitting parameters into two optimizer paths is the practical detail people forget, and it shows exactly where orthogonalization happens.
flowchart TD
A["Gradient for each parameter"] --> B{"Hidden 2D<br/>weight matrix?"}
B -->|"yes"| C["Momentum buffer"]
C --> D["About 5 Newton-Schulz steps:<br/>singular values pushed to 1"]
D --> E["Rescale to AdamW-like<br/>update size, apply decay"]
B -->|"no: embeddings, head,<br/>norms, biases"| F["AdamW update"]
E --> G["Updated weights"]
F --> G
What a good answer covers
- Muon treats each hidden weight matrix as a matrix rather than a bag of independent scalars
- It keeps a momentum buffer like SGD, then replaces that momentum matrix with its nearest semi-orthogonal…
- AdamW instead rescales every element independently by its own running gradient variance
- Why orthogonalize: updates for transformer weight matrices tend to be close to low-rank, dominated by a…
- Applied directly, they mostly move the weights along those few directions
Key terms: semi-orthogonal · Newton-Schulz iterations
In the glossary: Muon · Momentum · AdamW · Adam · Weight decay · Fine-tuning
Interviewer follow-ups to expect
Why might switching to Muon to fine-tune an AdamW-pretrained model go badly?
How does QK-clip differ from QK-norm?
What does Muon's need for the full matrix do to ZeRO or FSDP sharding?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep