---
title: Explain the Muon optimiser. What does it do to the momentum update, which parameters does it apply to, and what extra…
url: https://gurkanozkan.ai/learn/questions/recent-a-dl-01/
markdown: https://gurkanozkan.ai/learn/questions/recent-a-dl-01.md
kind: question
role: Research
stage: Technical
difficulty: Hard
json: https://gurkanozkan.ai/api/learn/questions/recent-a-dl-01.json
robots: noindex
---

# Explain the Muon optimiser. What does it do to the momentum update, which parameters does it apply to, and what extra changes were needed to use it for trillion-parameter pretraining?

Research · Technical · Hard

## Answer

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

### In short

- Muon orthogonalises the momentum matrix for 2-D weights via Newton-Schulz iterations, approximating UV^T so singular directions get similar step sizes
- Only hidden 2-D matrix weights use Muon; embeddings, output heads, norms and biases stay on AdamW
- Moonshot's 2025 scaling fixes: decoupled weight decay plus per-parameter update scaling to match AdamW's update RMS, so AdamW hyperparameters transfer
- Kimi K2 (1T total, 32B active, 15.5T tokens) used MuonClip with QK-clip for large attention logits and reported no loss spikes; DeepSeek-V4 (2026) also uses Muon for most modules, without QK-clip
- Costs: extra matmuls per step and full-matrix gathers under ZeRO/FSDP; the ~2x compute-efficiency figure comes from Moonshot's scaling-law runs and needs tuned-baseline checks

### In full

Muon is a momentum-based optimiser for hidden 2-D weight matrices: instead of elementwise AdamW-style scaling, it orthogonalises the momentum matrix with a few Newton-Schulz iterations, approximating UV^T from its SVD so different singular directions get similar step sizes. In practice it is not a drop-in replacement for every parameter: embeddings, output heads, norms and biases usually stay on AdamW, while only hidden matrix weights use Muon. To scale it, Moonshot reported two changes in 2025: adding decoupled weight decay and adjusting the per-parameter update scale so the update RMS is comparable to AdamW's, which lets AdamW hyperparameters transfer. For Kimi K2 (1T total, 32B active, 15.5T tokens) they added MuonClip, whose QK-clip rescales the query/key projections when attention logits grow too large, and reported no loss spikes; DeepSeek-V4's 2026 report also uses Muon for most modules (without QK-clip), keeping AdamW for embeddings, the prediction head and norms. The trade-offs are extra matmuls per step and, under ZeRO/FSDP sharding, the need to gather full matrices for orthogonalisation, and Moonshot's reported ~2x compute efficiency over AdamW comes from scaling-law experiments, so it should be checked against tuned AdamW baselines rather than taken as universal.

*Corrected by an independent AI reviewer.*

## What a strong answer covers

- For 2-D weight matrices Muon orthogonalises the momentum matrix (approximately replacing it with UV^T from its SVD) using a few Newton–Schulz iterations, so every singular direction gets a similar step size
- Embeddings, output heads, norms and biases usually stay on AdamW; only hidden matrix weights use Muon
- Scaling fixes reported by Moonshot: add decoupled weight decay and rescale updates so their RMS matches AdamW's, which lets AdamW hyperparameters transfer
- Kimi K2 (1T total, 32B active, 15.5T tokens) used MuonClip, adding QK-clip to rescale query/key projections when attention logits grow too large, and reported no loss spikes; DeepSeek-V4 also trains with Muon
- Costs: extra matmuls per step and, under ZeRO/FSDP sharding, the need to gather full matrices for orthogonalisation; claims of ~2× token efficiency over AdamW should be checked against tuned baselines

## Common mistakes

- Applying Muon to embeddings and the output layer
- Describing it as a second-order method that inverts the Hessian

## Follow-ups

- Why would attention logits explode more under Muon than under AdamW?
- How would you run a fair optimiser comparison on a fixed compute budget?

## Topic guides

- [Deep learning fundamentals](https://gurkanozkan.ai/learn/topics/deep-learning.md)
- [Distributed training and parallelism](https://gurkanozkan.ai/learn/topics/distributed-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.*
