Spectral Condition for μP under Width-Depth Scaling

Chenyu Zheng, Rongzhen Wang, Xinyu Zhang, Chongxuan Li
2/28/2026
cs.LGstat.ML

No official code found. Best implementation: ML-GSAI/Width-Depth-muP (9 stars, MIT, last commit 2026-03-01).

Abstract

Generative foundation models are increasingly scaled in both width and depth, posing significant challenges for stable feature learning and reliable hyperparameter (HP) transfer across model sizes. While maximal update parameterization ($μ$P) has provided a principled solution to both problems for width scaling, existing extensions to the joint width-depth scaling regime remain fragmented, architecture- and optimizer-specific, and often rely on technically involved theories. In this work, we develop a simple and unified spectral framework for $μ$P under joint width-depth scaling. Considering residual networks of varying block depths, we first introduce a spectral $μ$P condition that precisely characterizes how the norms of weights and their per-step updates should scale with width and depth, unifying previously disparate $μ$P formulations as special cases. Building on this condition, we then derive a general recipe for implementing $μ$P across a broad class of optimizers by mapping the spectral constraints to concrete HP parameterizations. This approach not only recovers existing $μ$P formulations (e.g., for SGD and AdamW) but also naturally extends to a wider range of optimizers. Finally, experiments on GPT-2 style language models demonstrate that the proposed spectral $μ$P condition preserves stable feature learning and enables robust HP transfer under width-depth scaling.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation for our paper "Spectral Condition for μP under Width–Depth Scaling".

91Shell, PythonFeb 28, 20267 months agoMIT

Cite this paper

@article{zheng2026spectral,
  title  = {Spectral Condition for μP under Width-Depth Scaling},
  author = {Chenyu Zheng and Rongzhen Wang and Xinyu Zhang and Chongxuan Li},
  year   = {2026},
  eprint = {2603.00541},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.00541v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.00541.svg)](https://codeofpaper.com/paper/2603.00541)

Discussion