
µP & Muon: Scaling Optimizers to Infinite Width | Stanford CS312 Lecture 4 with Tatsunori Hashimoto
Browse Stanford's online courses in deep learning: https://stanford.io/4zhLWFN
What should an optimizer do as a model gets wider and wider? In this Stanford CS312: Deep Learning Alchemy lecture, Assistant Professor Tatsunori Hashimoto works through scaling limits and feature learning from first principles. He shows why the neural tangent kernel limit is stable but learns no features, derives µP through abc-parameterization so the optimal learning rate transfers across width, and reframes µP as steepest descent in an operator-norm ball. That view leads to Muon, its Newton-Schulz iteration, evidence that it works at scale, and why its benefit may come from boosting small singular values.
Key questions answered in this lecture:
Q: What is µP (maximal update parameterization) and why does it matter?
A: Hashimoto frames µP as picking per-layer output multipliers, initialization scales, and learning rates so a network stays both stable and non-trivial (still learning features) as width goes to infinity. The practical payoff is that the optimal learning rate stays put as you scale width.
Q: Why is the neural tangent kernel limit not useful for deep learning?
A: With an O(1) learning rate and 1/sqrt(m) output scaling, the weights barely move as width grows, so the network reduces to a regression on fixed gradient features with no feature learning. In the word embedding example, it scores basically 0% on word analogies.
Q: What does alignment mean in µP and which alignment should you assume?
A: Alignment exponents sit between 1/2 (weights and activations behave like independent random objects) and 1 (fully correlated). Everett et al. measure that alignment starts at 0.5 and rises during training before stabilizing below 1, so Hashimoto says the right choice is not clear.
Q: How does the Muon optimizer work?
A: For each matrix parameter, Muon takes momentum, then replaces the gradient's singular values with ones (UV transpose), which is steepest descent inside an operator-norm ball. It skips the slow SVD by running a quintic Newton-Schulz iteration made of matmuls, and uses AdamW for scalar parameters.
Q: Why does Muon work so well?
A: Hashimoto notes Muon's tuned quintic does not converge to 1 but oscillates near it, rapidly pushing small singular values up. Follow-up work finds a power of 1/2 beats the sign and randomized singular values still train well, so the key seems to be boosting small, hard-to-update directions rather than exact orthogonalization.
Chapters:
0:00 Optimizers in the infinite-width limit
3:44 Simplified MLP model from Everett et al.
6:09 Two goals: stability and non-triviality
8:21 Neural tangent kernel: stable but no features
11:29 abc-parameterization: scale, init, learning rate
16:27 Activation stability at init and Xavier
23:26 Gradient stability and SGD vs Adam updates
27:45 Training dynamics and alignment exponents
43:17 µP and Tensor Programs: learning rate transfer
49:33 From µP to Muon: operator norm descent
54:28 Muon in practice: Newton-Schulz iteration
59:14 Muon at scale: NanoGPT speedrun and Kimi
1:01:56 Why Muon works: boosting small singular values
1:07:22 Takeaways for the optimization unit
About the speaker:
Tatsunori Hashimoto is an Assistant Professor of Computer Science at Stanford University and a faculty affiliate of the Stanford Institute for Human-Centered Artificial Intelligence (HAI). His research uses tools from statistics to make machine learning systems more robust and reliable, especially for language. He also teaches CS336: Language Modeling from Scratch. He was a postdoc at Stanford with John Duchi and Percy Liang, earned his PhD at MIT, and studied statistics and math at Harvard.
Readings:
- Everett et al. (2024), Scaling Exponents Across Parameterizations and Optimizers: https://arxiv.org/abs/2407.05872
- Tensor Programs V: https://arxiv.org/abs/2203.03466
- Muon: https://kellerjordan.github.io/posts/muon/
Course website: https://deep-learning-alchemy.github.io/
Watch the full CS312 playlist: https://www.youtube.com/playlist?list=PLXRTcAYPI4AU
Recorded October 6, 2026, in CS312: Deep Learning Alchemy, a Stanford University course taught by Tatsunori Hashimoto and Suhas Kotha.
#DeepLearning #Muon #Optimization"
What should an optimizer do as a model gets wider and wider? In this Stanford CS312: Deep Learning Alchemy lecture, Assistant Professor Tatsunori Hashimoto works through scaling limits and feature learning from first principles. He shows why the neural tangent kernel limit is stable but learns no features, derives µP through abc-parameterization so the optimal learning rate transfers across width, and reframes µP as steepest descent in an operator-norm ball. That view leads to Muon, its Newton-Schulz iteration, evidence that it works at scale, and why its benefit may come from boosting small singular values.
Key questions answered in this lecture:
Q: What is µP (maximal update parameterization) and why does it matter?
A: Hashimoto frames µP as picking per-layer output multipliers, initialization scales, and learning rates so a network stays both stable and non-trivial (still learning features) as width goes to infinity. The practical payoff is that the optimal learning rate stays put as you scale width.
Q: Why is the neural tangent kernel limit not useful for deep learning?
A: With an O(1) learning rate and 1/sqrt(m) output scaling, the weights barely move as width grows, so the network reduces to a regression on fixed gradient features with no feature learning. In the word embedding example, it scores basically 0% on word analogies.
Q: What does alignment mean in µP and which alignment should you assume?
A: Alignment exponents sit between 1/2 (weights and activations behave like independent random objects) and 1 (fully correlated). Everett et al. measure that alignment starts at 0.5 and rises during training before stabilizing below 1, so Hashimoto says the right choice is not clear.
Q: How does the Muon optimizer work?
A: For each matrix parameter, Muon takes momentum, then replaces the gradient's singular values with ones (UV transpose), which is steepest descent inside an operator-norm ball. It skips the slow SVD by running a quintic Newton-Schulz iteration made of matmuls, and uses AdamW for scalar parameters.
Q: Why does Muon work so well?
A: Hashimoto notes Muon's tuned quintic does not converge to 1 but oscillates near it, rapidly pushing small singular values up. Follow-up work finds a power of 1/2 beats the sign and randomized singular values still train well, so the key seems to be boosting small, hard-to-update directions rather than exact orthogonalization.
Chapters:
0:00 Optimizers in the infinite-width limit
3:44 Simplified MLP model from Everett et al.
6:09 Two goals: stability and non-triviality
8:21 Neural tangent kernel: stable but no features
11:29 abc-parameterization: scale, init, learning rate
16:27 Activation stability at init and Xavier
23:26 Gradient stability and SGD vs Adam updates
27:45 Training dynamics and alignment exponents
43:17 µP and Tensor Programs: learning rate transfer
49:33 From µP to Muon: operator norm descent
54:28 Muon in practice: Newton-Schulz iteration
59:14 Muon at scale: NanoGPT speedrun and Kimi
1:01:56 Why Muon works: boosting small singular values
1:07:22 Takeaways for the optimization unit
About the speaker:
Tatsunori Hashimoto is an Assistant Professor of Computer Science at Stanford University and a faculty affiliate of the Stanford Institute for Human-Centered Artificial Intelligence (HAI). His research uses tools from statistics to make machine learning systems more robust and reliable, especially for language. He also teaches CS336: Language Modeling from Scratch. He was a postdoc at Stanford with John Duchi and Percy Liang, earned his PhD at MIT, and studied statistics and math at Harvard.
Readings:
- Everett et al. (2024), Scaling Exponents Across Parameterizations and Optimizers: https://arxiv.org/abs/2407.05872
- Tensor Programs V: https://arxiv.org/abs/2203.03466
- Muon: https://kellerjordan.github.io/posts/muon/
Course website: https://deep-learning-alchemy.github.io/
Watch the full CS312 playlist: https://www.youtube.com/playlist?list=PLXRTcAYPI4AU
Recorded October 6, 2026, in CS312: Deep Learning Alchemy, a Stanford University course taught by Tatsunori Hashimoto and Suhas Kotha.
#DeepLearning #Muon #Optimization"
Stanford Online
You can gain access to a world of education through Stanford Online, the Stanford School of Engineering’s portal for academic and professional education offered by schools and units throughout Stanford University. https://online.stanford.edu/
Our robust ...