Reproduce “MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Weilin Cai, Le Qin, Jiayi Huang

The MoC-System introduces an efficient fault tolerance solution for sparse Mixture-of-Experts (MoE) model training by reducing checkpoint sizes, optimizing workload distribution, and implementing two-level asynchronous checkpointing. It achieves a 98.2% to 98.9% reduction in checkpointing overhead and accelerates training iterations by 3.25 to 5.12 times, while improving downstream task accuracy by up to 1.08%.

Key insights

  • MoE expert parameters exhibit less sensitivity to updates than non-expert parameters, allowing for selective checkpointing without compromising model accuracy and potentially acting as a regularization mechanism.
  • An algorithm-system co-design approach, integrating algorithmic strategies (like partial saving and selection) with system-level optimizations (like sharding and asynchronous management), is crucial for efficient MoE fault tolerance.
  • Two-level recovery, utilizing in-memory CPU snapshots for immediate fault recovery and persistent storage for major faults, effectively mitigates the Proportion of Lost Tokens (PLT) and enables more aggressive partial checkpointing.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.