Rethinking Language Model Scaling under Transferable Hypersphere Optimization

Liliang Ren, Yang Liu, Yelong Shen, Weizhu Chen
3/30/2026
cs.LG

Official code: microsoft/ArchScale (339 stars, MIT, last commit 2026-03-31).

Abstract

Scaling laws for large language models depend critically on the optimizer and parameterization. Existing hyperparameter transfer laws are mainly developed for first-order optimizers, and they do not structurally prevent training instability at scale. Recent hypersphere optimization methods constrain weight matrices to a fixed-norm hypersphere, offering a promising alternative for more stable scaling. We introduce HyperP (Hypersphere Parameterization), the first framework for transferring optimal learning rates across model width, depth, training tokens, and Mixture-of-Experts (MoE) granularity under the Frobenius-sphere constraint with the Muon optimizer. We prove that weight decay is a first-order no-op on the Frobenius sphere, show that Depth-$μ$P remains necessary, and find that the optimal learning rate follows the same data-scaling power law with the "magic exponent" 0.32 previously observed for AdamW. A single base learning rate tuned at the smallest scale transfers across all compute budgets under HyperP, yielding $1.58\times$ compute efficiency over a strong Muon baseline at $6\times10^{21}$ FLOPs. Moreover, HyperP delivers transferable stability: all monitored instability indicators, including $Z$-values, output RMS, and activation outliers, remain bounded and non-increasing under training FLOPs scaling. We also propose SqrtGate, an MoE gating mechanism derived from the hypersphere constraint that preserves output RMS across MoE granularities for improved granularity scaling, and show that hypersphere optimization enables substantially larger auxiliary load-balancing weights, yielding both strong performance and good expert balance. We release our training codebase at https://github.com/microsoft/ArchScale.

View on arXivView PDF

Code Implementations(1)

MIT

Simple & Scalable Pretraining for Neural Architecture Research

33936Shell, PythonJun 27, 20256 months agoMIT

Similar Papers

Cite this paper

@article{ren2026rethinking,
  title  = {Rethinking Language Model Scaling under Transferable Hypersphere Optimization},
  author = {Liliang Ren and Yang Liu and Yelong Shen and Weizhu Chen},
  year   = {2026},
  eprint = {2603.28743},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.28743v2}
}

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.28743.svg)](https://codeofpaper.com/paper/2603.28743)

Discussion