To address the prohibitive computational costs of hyperparameter sweeps in large-scale Mixture-of-Experts (MoE) models, researchers propose a two-step transfer framework designed to estimate optimal learning rates. The methodology first utilizes a Maximal Update Parameterization ($\mu$P) adaptation tailored for MoE architectures incorporating Multi-head Latent Attention (MLA) and the Muon optimizer. This step ensures that optimal learning rates remain consistent when scaling model width. The second stage extends this transferability to the token dimension by establishing a predictive scaling law. By applying linear regression to optimal values obtained from small-scale proxy models trained on limited budgets, the authors can extrapolate ideal learning rates for massive training horizons, such as 10 trillion tokens, achieving a high fidelity with an $R^2$ value of 0.95. The effectiveness of this approach was validated by pretraining a foundation model consisting of 155B total parameters and 17B active parameters from scratch. The results demonstrate that optimal configurations for large-scale MoEs can be accurately predicted through minimal ablation costs on proxy models, significantly reducing the compute required for large-scale model development.

Read original