paperbot · PL 论文追踪

全部论文 待读 收藏

P2 FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models

FSMoE:一种面向稀疏专家混合模型的灵活可扩展训练系统
ASPLOS Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 12025匹配度 2/10 · 论文聚焦稀疏 MoE 模型的训练系统与通信/计算调度优化,属于机器学习系统/分布式训练方向;未涉及静态分析、LLM/Agent 程序分析、浮点程序分析或贝叶斯程序分析,与用户研究画像的核心问题几乎无关。引用 28 inbox
Xinglin Pan, Wenxiang Lin, Lin Zhang, Shaohuai Shi, Zhenheng Tang, Rui Wang, Bo Li, Xiaowen Chu
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 FSMoE,通过统一抽象、在线 profiling 与通信计算协同调度,加速稀疏 MoE 模型训练。

稀疏激活的混合专家(MoE)可降低大语言模型计算量,但其 token 路由、通信、专家计算与专家并行影响模型质量与训练效率,现有系统难以灵活适配并高效调度。FSMoE 提出灵活可扩展的训练系统:统一抽象并在线 profiling MoE 模块以支持跨实现调度;协同调度节点内与节点间通信和计算;设计自适应梯度划分和通信计算流水线调度。在最多 48 GPU 的集群上,FSMoE 支持四类常用路由函数,较现有实现最高加速 1.42×;在 1458 个 MoE 层上比 DeepSpeed-MoE 和 Tutel 快 1.18×–1.22×,在 GPT-2 和 Mixtral MoE 模型上快 1.19×–3.01×。

问题
MoE 训练涉及 token 路由、通信、专家计算和专家并行,现有系统在跨实现灵活性与通信/计算调度效率上不足。
方法
FSMoE 通过 MoE 模块的统一抽象与在线 profiling、节点内/间通信与计算协同调度,以及自适应梯度划分和流水线调度来优化任务调度。
评估
在最多 48 GPU 的两类集群上,用定制 MoE 层和 GPT-2/Mixtral 真实模型与 DeepSpeed-MoE、Tutel 对比,验证加速效果。
原文摘要(Abstract)

Recent large language models (LLMs) have tended to leverage sparsity to reduce computations, employing the sparsely activated mixture-of-experts (MoE) technique. MoE introduces four modules, including token routing, token communication, expert computation, and expert parallelism, that impact model quality and training efficiency. To enable ver- satile usage of MoE models, we introduce FSMoE, a flexible training system optimizing task scheduling with three novel techniques: 1) Unified abstraction and online profiling of MoE modules for task scheduling across various MoE implementations. 2) Co-scheduling intra-node and inter-node communications with computations to minimize communication overheads. 3) To support near-optimal task scheduling, we design an adaptive gradient partitioning method for gradient aggregation and a schedule to adaptively pipeline communications and computations. We conduct extensive experiments with configured MoE layers and real-world MoE models on two GPU clusters. Experimental results show that 1) our FSMoE supports four popular types of MoE routing functions and is more efficient than existing implementations (with up to a 1.42× speedup), and 2) FSMoE outperforms the state-of-the-art MoE training systems (DeepSpeed-MoE and Tutel) by 1.18×-1.22× on 1458 MoE layers and 1.19×-3.01× on real-world MoE models based on GPT-2 and Mixtral using a popular routing function. In this work, we present a flexible training system named FSMoE to optimize task scheduling. To achieve this goal: 1) we design unified abstraction and online profiling of MoE modules across various MoE implementations, 2) we co-schedule intra-node and inter-node communications with computations to minimize communication overhead, and 3) we design an adaptive gradient partitioning method for gradient aggregation and a schedule to adaptively pipeline communications and computations. Experimental results on two clusters up to 48 GPUs show that our FSMoE outperforms the state-of-the-art MoE training systems (DeepSpeed-MoE and Tutel) with speedups of 1.18x-1.22x on 1458 customized MoE layers and 1.19x-3.01x on real-world MoE models based on GPT-2 and Mixtral.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{PanLZSTWL025,
  title = {FSMoE: A Flexible and Scalable Training System for Sparse Mixture-of-Experts Models},
  author = {Xinglin Pan and Wenxiang Lin and Lin Zhang and Shaohuai Shi and Zhenheng Tang and Rui Wang and Bo Li and Xiaowen Chu},
  booktitle = {ASPLOS},
  year = {2025},
  doi = {10.1145/3669940.3707272}
}