English

Robust Layerwise Scaling Rules by Proper Weight Decay Tuning

Machine Learning 2025-10-20 v1 Artificial Intelligence Machine Learning

Abstract

Empirical scaling laws prescribe how to allocate parameters, data, and compute, while maximal-update parameterization (μ\muP) enables learning-rate transfer across widths by equalizing early-time update magnitudes. However, in modern scale-invariant architectures, training quickly enters an optimizer-governed steady state where normalization layers create backward scale sensitivity and the effective learning rate becomes width dependent, degrading μ\muP transfer. We address this by introducing a weight-decay scaling rule for AdamW that preserves sublayer gain across widths. Empirically, the singular-value spectrum of each matrix parameter scales in norm as η/λ\sqrt{\eta/\lambda} with an approximately invariant shape; under width scaling dd, we observe that the top singular value scales approximately as η/λd0.75\sqrt{\eta/\lambda}\cdot d^{0.75}. Combining this observation with the μ\muP learning-rate rule η2d1\eta_2\propto d^{-1} for matrix-like parameters implies an empirical weight-decay scaling rule λ2d\lambda_2\propto \sqrt{d} that approximately keeps sublayer gains width invariant. Together with vector-like parameters trained at η1=Θd(1)\eta_1=\Theta_d(1) and λ1=0\lambda_1=0, this yields \emph{zero-shot} transfer of both learning rate and weight decay from proxy to target widths, removing per-width sweeps. We validate the rule on LLaMA-style Transformers and in a minimal synthetic setting, and we provide a simple diagnostic, matching top singular values, to check sublayer-gain invariance. Our results extend μ\muP beyond the near-init regime by explicitly controlling steady-state scales set by the optimizer, offering a practical recipe for width-robust hyperparameter transfer under AdamW.

Keywords

Cite

@article{arxiv.2510.15262,
  title  = {Robust Layerwise Scaling Rules by Proper Weight Decay Tuning},
  author = {Zhiyuan Fan and Yifeng Liu and Qingyue Zhao and Angela Yuan and Quanquan Gu},
  journal= {arXiv preprint arXiv:2510.15262},
  year   = {2025}
}
R2 v1 2026-07-01T06:42:27.138Z