TL;DR
Tuning hyperparameters when scaling Large Language Models across both model dimensions (width/depth) and dataset sizes has long relied on disconnected rules of thumb. This paper reveals a unifying invariant across scales: regardless of model or data size, optimal training consistently lands on a fixed operator norm for the output layer—a phenomenon termed norm transfer. Building on this finding, the authors provide the first explicit scaling laws for the norm-based Scion optimizer and open-source Disco, a distributed Scion/Muon implementation tested across more than 2,000 runs.
What Problem Does This Paper Address?
To train frontier models efficiently, practitioners must tune hyperparameters like learning rate ($\eta$) and batch size ($B$) as models and dataset sizes scale up. While theoretical frameworks like Maximal Update Parametrization ($\mu$P) guide width scaling, and empirical scaling laws guide token horizon ($D$) scaling, these approaches remain disjointed.
Recently, norm-based optimization (e.g., Scion and Muon) reframed training as controlling the operator norms of weight matrices and gradient updates via steepest descent. The authors ask: Can viewing training through the lens of matrix operator norms provide a single, unifying principle for hyperparameter transfer across both model scale and data horizon?
Methods
- Norm-Based Optimization (Scion): The authors examine Scion, which assigns specific induced operator norms to different layers and uses duality maps to normalize updates:
- Input embedding: $\|\cdot\|_{1\to\text{RMS}}$
- Hidden layers: Spectral norm $\|\cdot\|_{\text{RMS}\to\text{RMS}}$ (computed via Newton-Schulz iterations)
- Output projection: $\|\cdot\|_{\text{RMS}\to\infty}$
- "Norm-Everywhere" Architecture: Built on the Llama 3 architecture within
torchtitan, the network inserts parameter-free RMSNorm layers before every linear transformation. - Optimal Norm Extraction: The authors perform extensive $(\eta, B)$ grid sweeps across varying token horizons and model sizes (up to 1.3B parameters, up to 128 layers, and up to 138B tokens). For each configuration, they fit the loss–norm curve with a second-order polynomial in log-log space to extract the optimal norm and hyperparameter coordinates.
- Disco (Distributed Scion): To handle large distributed setups, they developed and open-sourced an implementation of Scion/Muon compatible with FSDP2, DDP, Tensor Parallelism (TP), and Pipeline Parallelism (PP).
Datasets
- Nemotron-CC: A high-quality partition of Common Crawl served as the primary pretraining dataset for causal language modeling.
- FineWeb-2: Russian and Thai language subsets were used to validate that the norm transfer phenomenon holds across different data distributions and languages.
- Note: No new datasets or evaluation benchmarks were introduced.
Key Insights and Ideas
- Norm Transfer as an Invariant: Across width scaling (up to $\times12$), depth scaling (up to $\times32$), and data horizon scaling (up to 138B tokens), the optimal output layer norm $\|W_{\text{out}}\|_{\text{RMS}\to\infty}$ consistently converges to the same value: $\approx 2^{7.0 \pm 0.2}$. This holds for Scion as well as Adam (momentum-free Adam matches Scion at $\approx 2^7$, while Adam with momentum shifts the invariant to $\approx 2^{11}$).
- Necessary, but Not Sufficient: Achieving this optimal norm is a necessary condition for peak performance. However, it is not sufficient on its own: many suboptimal $(\eta, B)$ pairs can reach this norm, but only a specific configuration minimizes loss.
- Piecewise Norm Dynamics: In unconstrained Scion, the output norm grows piecewise linearly in log-log space, with sharp slope changes at $2^6 - 2^7$ and a transition into a "turbulent" regime at $2^9 - 2^{10}$.
- Per-Layer Sensitivity & Optimal Ratios: The output layer is the most sensitive to learning rate mistuning, followed by hidden layers, with input embeddings being the least sensitive. Scaling hidden layers with an LR ratio of $\eta_{\text{input}} : \eta_{\text{hidden}} : \eta_{\text{output}} = 1 : 1/8 : 1$ improves relative loss by up to 6% and transfers consistently across horizons.
Key Results
- Sufficient Scaling Laws for Scion: The optimal learning rate and batch size follow power laws closely mirroring Adam: $$\eta^*(B, D) \propto B^{0.62 \pm 0.05} \cdot D^{-0.56 \pm 0.05}$$ $$B^*(D) \propto D^{0.45 \pm 0.07} \quad (\approx \sqrt{D})$$ $$\eta^*(D) \propto D^{-0.28 \pm 0.07} \quad (\approx D^{-1/4})$$
- Batch Size / LR Trade-off: Around the optimal norm, the loss surface exhibits a "flat" low-sensitivity region. Within this valley, practitioners can trade off $\eta \propto \sqrt{B}$ without sacrificing loss, making it possible to run larger batch sizes for higher hardware throughput.
Limitations and Future Work
- Theoretical Foundations: While empirical evidence strongly supports norm transfer, the exact theoretical mechanism causing optimal scaling trajectories to stay on this constant-norm manifold remains unknown.
- Hardware Utilization Bottleneck: Because there is a single optimal batch size $B^*(D)$ for a given dataset size, scaling up cluster device counts eventually forces microbatch sizes down (hurting compute throughput) or inflates batch sizes past optimal bounds (degrading loss). Finding ways to bypass this limit is left for future work.
- Scale Range: Experiments scale up to 1.3B parameters and ~138B tokens; validating whether the same norm constants and exponents hold at 70B+ scales remains open.
Summary updated