paperbot · PL 论文追踪

全部论文 待读 收藏

P2 MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training

MoC-System:面向稀疏混合专家模型训练的高效容错机制
ASPLOS Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22025匹配度 2/10 · 论文聚焦稀疏 MoE 分布式训练的容错与检查点优化,属于机器学习系统/分布式训练方向,但用户画像核心是静态分析、Agentic 程序、浮点程序分析与贝叶斯程序分析,未涉及这些主题。仅在广义“机器学习系统”上有一点关联,因此匹配度低。引用 11 inbox
Weilin Cai, Le Qin, Jiayi Huang
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 MoC-System,用部分专家检查点、全分片检查点与两级异步管理降低稀疏 MoE 训练容错开销。

随着大语言模型扩展到万级节点,检查点成为主流容错策略;但稀疏 MoE 模型参数量远大于稠密模型,检查点分片多、写入开销大。论文提出 MoC-System,通过算法-系统协同设计:部分专家检查点(PEC)仅保存选定专家子集,将 MoE 检查点规模降至接近稠密模型;结合混合并行,采用全分片检查点均衡各 rank 负载;并用两级检查点管理异步处理内存快照与持久化。基于 Megatron-DeepSpeed 实现,在 ZeRO-2 数据并行和专家并行下,每次检查点开销最多降低 98.9%,且模型精度相当,下游任务平均提升 1.08%。

问题
稀疏 MoE 模型训练中检查点容错开销随模型规模和分片数量激增,现有稠密模型优化方法难以直接适用。
方法
提出 MoC-System,核心是部分专家检查点 PEC、全分片检查点策略与两级异步检查点管理,并作为算法-系统协同设计集成到 Megatron-DeepSpeed。
评估
在 ZeRO-2 数据并行和专家并行下测量检查点开销,并比较下游任务精度;报告开销最多降低 98.9%、精度相当且平均提升 1.08%。
原文摘要(Abstract)

As large language models continue to scale up, distributed training systems have expanded beyond 10k nodes, intensifying the importance of fault tolerance. Checkpoint has emerged as the predominant fault tolerance strategy, with extensive studies dedicated to optimizing its efficiency. However, the advent of the sparse Mixture-of-Experts (MoE) model presents new challenges due to the substantial increase in model size, despite comparable computational demands to dense models. In this work, we propose the Mixture-of-Checkpoint System (MoC-System) to orchestrate the vast array of checkpoint shards produced in distributed training systems. MoC-System features a novel Partial Experts Checkpointing (PEC) mechanism, an algorithm-system co-design that strategically saves a selected subset of experts, effectively reducing the MoE checkpoint size to levels comparable with dense models. Incorporating hybrid parallel strategies, MoC-System involves fully sharded checkpointing strategies to evenly distribute the workload across distributed ranks. Furthermore, MoC-System introduces a two-level checkpointing management method that asynchronously handles in-memory snapshots and persistence processes. We build MoC-System upon the Megatron-DeepSpeed framework, achieving up to a 98.9% reduction in overhead for each checkpointing process compared to the original method, during MoE model training with ZeRO-2 data parallelism and expert parallelism. Additionally, extensive empirical analyses substantiate that our methods enhance efficiency while maintaining comparable model accuracy, even achieving an average accuracy increase of 1.08% on downstream tasks.

链接与引用

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

BibTeX
@inproceedings{CaiQH25,
  title = {MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training},
  author = {Weilin Cai and Le Qin and Jiayi Huang},
  booktitle = {ASPLOS},
  year = {2025},
  doi = {10.1145/3676641.3716006}
}