arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.06626cs.LGcs.AI
收藏

Grouter: 将路由与表示解耦以加速MoE训练

Grouter: Decoupling Routing from Representation for Accelerated MoE Training

School of Mathematical Sciences, Peking University, Beijing, China(北京大学数学科学学院);Center for Machine Learning Research, Peking University, Beijing, China(北京大学机器学习研究中心);Yuanpei College, Peking University, Beijing, China(北京大学元培学院);Zhejiang Lab, Hangzhou, China(浙江实验室)

Yuqi Xu, Rizhen Hu, Zihan Liu, Mou Sun, Kun Yuan

AI总结:

提出Grouter方法,通过从预训练MoE模型中蒸馏高质量结构作为固定路由器,解耦结构优化与权重更新,显著加速模型收敛并提升训练吞吐量。

摘要:

传统的混合专家(MoE)训练通常没有任何结构先验,实际上要求模型在训练专家权重的同时,在巨大的组合空间中搜索最优路由策略。这种纠缠常常导致收敛缓慢和训练不稳定。本文介绍了Grouter,一种先发制人的路由方法,通过从完全训练的MoE模型中蒸馏高质量结构,并作为目标模型的固定路由器。通过将结构优化与权重更新解耦,Grouter显著加速了模型收敛的速度和质量。为了确保框架的通用性,我们还引入了专家折叠以适应不同模型配置的Grouter,以及专家调优以重新平衡不同数据分布下的工作负载。此外,通过利用先发制人路由提供的结构先验,我们可以实施有针对性的优化以进一步提高训练吞吐量。实验表明,Grouter实现了卓越的性能和效率,将预训练数据利用率提高了4.28倍,并实现了高达33.5%的吞吐量加速,确立了先发制人路由作为可扩展MoE训练的基本范式。我们在https://github.com/JimmyAwoe/Grouter公开了我们的代码和预训练的Grouter检查点。

英文摘要:

Traditional Mixture-of-Experts (MoE) training typically proceeds without any structural priors, effectively requiring the model to simultaneously train expert weights while searching for an optimal routing policy within a vast combinatorial space. This entanglement often leads to sluggish convergence and training instabilities. This paper introduces Grouter, a preemptive routing method that by distilling high-quality structures from fully-trained MoE models and serving as a fixed router for target models. By decoupling structural optimization from weight updates, Grouter significantly accelerates both the speed and quality of model convergence. To ensure the framework's versatility, we also introduce expert folding to adapt Grouter across varying model configurations and expert tuning to rebalance workloads across different data distributions. Furthermore, by leveraging the structural priors provided by preemptive routing, we can implement targeted optimizations to further enhance training throughput. Experiments demonstrate that Grouter achieves superior performance and efficiency which boosts pre-training data utilization by 4.28x and achieves up to 33.5% throughput acceleration, establishing preemptive routing as a fundamental paradigm for scalable MoE training. We publicly release our code and pretrained Grouter checkpoints at https://github.com/JimmyAwoe/Grouter.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑