让我们逐步扩展:大规模混合专家模型的计算高效超参数迁移
研究论文 · 2026/08/24
本文提出了一种计算高效的两步超参数迁移框架,用于大规模混合专家(MoE)模型的最优学习率估计。首先,针对使用多头潜在注意力(MLA)和Muon优化器的MoE架构,调整最大更新参数化(μP),证明最优学习率在宽度缩放模型间一致迁移。其次,通过建立预测性缩放定律,将迁移性扩展到token维度,利用小代理模型在有限预算下的最优值,通过线性回归外推至大规模训练(如10万亿token),拟合优度R²=0.95。该方法表明,小模型代理训练足以确定大规模MoE的最优学习率。作者将该方法应用于从零预训练155B总参数、17B激活参数的基座模型,稳定训练和评估结果验证了其有效性。
该论文解决了大规模MoE模型超参数调优的计算瓶颈,提出了一种高效迁移框架,显著降低了调优成本,并通过实验验证了其有效性,对大规模模型训练具有重要实践意义。
Mixture-of-Experts (MoE) architectures significantly expand model capacity without a proportional increase in computational cost. However, optimizing their hyperparameters---particularly the learning rate---at extreme scales of both model size and token budget via sweeping remains computationally prohibitive. In this paper, we propose a compute-efficient, two-step hyperparameter transfer framework that estimates optimal learning rates for training large MoE models by transferring them across scaling model widths, and subsequently extrapolating to trillion-token horizons. First, we formulate a Maximal Update Parameterization (μP) adaptation for MoE architectures utilizing Multi-head Latent Attention (MLA) and the Muon optimizer, demonstrating that optimal learning rates transfer consistently across width-scaled models. Second, we extend this transferability along the token dimension by establishing a predictive scaling law. By applying linear regression to the optimal values derived from small proxy models on limited budgets, we successfully extrapolate the ideal learning rate to massive training horizons (e.g., 10 trillion tokens) with high fidelity (R^2=0.95). Consequently, this indicates that proxy training on small models is sufficient to determine the optimal learning rate for the extensive training of large-scale MoEs. We apply the proposed methodology to pretrain our foundation model (155B total, 17B active parameters) from scratch, and the stable training and evaluation results validate that optimal configurations for full-scale target models can be accurately predicted with minimal ablation costs.