Spectral Cap Improves Muon Optimizer Stability in LLM Training

Jiachun Li· July 23, 2026 View original

Summary

This preliminary report proposes an "isotropy-preserving spectral cap" for Muon and related matrix-sign optimizers used in LLM pre-training. It controls the growth of the top singular direction in weight matrices, preventing failures like router collapse or attention head divergence while maintaining validation loss.

This preliminary research explores the internal geometry of weight matrices when training large language models (LLMs) with Muon and similar matrix-sign optimizers. The authors observe that unlike plain SGD, Muon's matrix-sign step removes a built-in brake on update size, causing Frobenius and spectral norms to drift outwards faster. This can lead to issues like a router collapsing to a single expert or attention heads diverging. To address this, the paper proposes a lightweight "spectral cap." This cap projects out only the first-order growth of the single top singular direction from each update, effectively controlling the output covariance without freezing training. The weight matrix continues to learn through other directions and rotations. Case studies on nanoGPT feed-forward projections, mixture-of-experts routers, and FlashAttention blocks demonstrate that this cap increases isotropy and prevents concrete failures at the margins, all while leaving validation loss essentially unchanged. The authors emphasize the preliminary nature of these small-scale results and the strong assumption of exact scale invariance.

Why it matters

AI researchers and engineers working on large language models can use this technique to improve the stability and prevent training failures of models optimized with Muon, leading to more robust and performant LLMs.

How to implement this in your domain

  1. 1Investigate the spectral cap technique for stabilizing training of large language models using Muon or similar optimizers.
  2. 2Implement the proposed cap to control the growth of singular values in weight matrices during pre-training.
  3. 3Monitor the isotropy of weight matrices and the behavior of components like MoE routers and attention heads during training.
  4. 4Evaluate the impact of the spectral cap on training stability and final model performance in your LLM projects.

Who benefits

AI DevelopmentCloud ComputingResearch & Development

Key takeaways

  • Muon optimizers can cause rapid growth in weight matrix norms, leading to instability.
  • A "spectral cap" can control the top singular direction's growth without halting learning.
  • This cap improves isotropy and prevents training failures in LLM components.
  • It offers a way to enhance the robustness of LLM pre-training.

Original post by Jiachun Li

"arXiv:2607.19771v1 Announce Type: new Abstract: Muon and related matrix-sign optimizers are increasingly used to pre-train large language models, but their effect on the internal geometry of individual weight matrices is not well understood. This preliminary report proposes a uni…"

View on X

Originally posted by Jiachun Li on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses