---
title: Muon has gone from small-scale experiments to training Kimi K2 and DeepSeek-V4. Explain what Muon computes and for…
url: https://gurkanozkan.ai/learn/questions/recent-b-training-01/
markdown: https://gurkanozkan.ai/learn/questions/recent-b-training-01.md
kind: question
role: Research
stage: Technical
difficulty: Hard
json: https://gurkanozkan.ai/api/learn/questions/recent-b-training-01.json
robots: noindex
---

# Muon has gone from small-scale experiments to training Kimi K2 and DeepSeek-V4. Explain what Muon computes and for which parameters, why it needed weight decay and update-scale matching to scale, and what instability Kimi K2 hit and how QK-Clip fixes it.

Research · Technical · Hard

## Answer

*Model answer, written in a candidate's voice*

### In short

- Muon orthogonalises the Nesterov momentum of each 2-D hidden weight matrix with ~5 Newton-Schulz iterations, approximating the nearest semi-orthogonal matrix (UVᵀ from the SVD).
- Embeddings, the output head and vector/scalar parameters stay on AdamW.
- Weight decay plus matching the per-parameter update RMS to AdamW lets existing LR and decay settings transfer; Moonshot reported ~2× AdamW compute efficiency.
- At scale attention logits exploded (>1,000 in a mid-sized run); QK-Clip rescales a head's query and key weights after any step where its largest logit exceeds τ (100 for K2), leaving other heads untouched.
- QK-norm is not an option with MLA because its key matrices are not fully materialised at inference; soft-capping only bounds logits after the dot product and does not shrink the q/k weights that produced them.
- Orthogonalisation needs the whole matrix, which interacts with sharded optimisers such as ZeRO or FSDP.

### In full

Muon is an optimiser for the 2-D hidden weight matrices: it takes the Nesterov momentum of each matrix and orthogonalises it with about five Newton-Schulz iterations, approximating the nearest semi-orthogonal matrix (UVᵀ from the SVD), while embeddings, the output head and vector or scalar parameters stay on AdamW. To make it usable at scale, Moonshot added weight decay and rescaled the orthogonal update so its per-parameter RMS matches AdamW's, which let existing learning-rate and decay settings transfer and gave roughly 2× AdamW's compute efficiency. At scale, attention logits exploded—above 1,000 in a mid-sized run—so Kimi K2 uses QK-Clip: after any step where a head's largest logit exceeds τ (100 for K2), it rescales that head's query and key weights, leaving other heads untouched. QK-norm is not an option with MLA because, as the K2 report notes, the key matrices are never fully materialised at inference (they stay folded into the shared low-rank latent cache), so there is no per-head key to normalise; soft-capping only bounds the logits after the dot product and does not shrink the q/k weights that produced them, so it acts too late. The systems cost is that Newton-Schulz needs the whole matrix, which fights sharded optimisers such as ZeRO or FSDP, where parameters are partitioned across devices and must be gathered before orthogonalisation.

*Corrected by an independent AI reviewer.*

## What a strong answer covers

- Muon takes the (Nesterov) momentum update of each 2-D hidden weight matrix and orthogonalises it with about five Newton–Schulz iterations, approximating the nearest semi-orthogonal matrix (UVᵀ from the SVD).
- Embeddings, the output head and vector or scalar parameters stay on AdamW.
- Weight decay and matching the per-parameter update RMS to AdamW's let existing learning-rate and decay settings transfer; Moonshot reported about 2× AdamW's compute efficiency.
- At scale, attention logits exploded (above 1,000 in a mid-sized run); QK-Clip rescales a head's query and key weights after any step where its largest logit exceeds τ (100 for K2), leaving other heads untouched.
- Explains why QK-norm was not an option with MLA and why soft-capping acts too late.
- Notes the systems cost: orthogonalisation needs the whole matrix, which interacts with sharded optimisers such as ZeRO or FSDP.

## Common mistakes

- Describing Muon as Adam with a different learning rate.
- Applying Muon to embeddings and the output head by default.

## Follow-ups

- How would you run a fair Muon-versus-AdamW comparison at small scale?

## Topic guides

- [Distributed training and parallelism](https://gurkanozkan.ai/learn/topics/distributed-training.md)
- [Training neural networks: losses, optimisers, numerics and scale](https://gurkanozkan.ai/learn/topics/training.md)
---

*Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.*
