Training Communication-Efficient Mixture-of-Experts Language Models with Layer Re-Configuration· 提高MoE模型通信效率的训练方法
When training Mixture-of-Experts (MoE) language models with expert parallelism, all-to-all token dispatch and combine collectives can consume a substantial fraction of end-to-end training time. In this work, we study communication-efficient MoE models (CE-MoE), in which we adopt a heterogeneous layer pattern that decouples token-mixing and channel-mixing depth. Compared to conventional models which interleave MoE layers after each token-mixing layer (e.g., attention, Mamba-2), CE-MoE models concentrate expert capacity in a select few routed MoE layers, while maintaining depth by adding additional token-mixing and dense-FFN layers. Across a scaling ladder from 2B to 31.5B total parameters, under matched total and activated parameters, CE-MoE models consistently reduce training cost while ma
研究提高MoE模型通信效率的训练方法
- 核心方法
- 提出通信高效MoE模型(CE-MoE),通过异构层模式将令牌混合和通道混合深度解耦,集中专家容量在少数路由MoE层,并通过增加额外的令牌混合和密集前馈网络层保持模型深度
- 适合谁读
- 研究者、工程师
- 要解决的问题
- Mixture-of-Experts (MoE) 语言模型在使用专家并行训练时,全对全的令牌分发和组合集合会消耗大量端到端的训练时间
- 关键实验
- 未提供
- 主要贡献
- 在2B到31.5B参数范围内,CE-MoE模型在匹配总参数和激活参数的情况下,始终能够降低成本
- 意义与局限
- 意义在于优化大规模MoE模型的训练效率,减少通信开销,加速模型训练。局限可能是该方法的有效性可能依赖于特定的模型架构和训练环境。