English

Piper: Efficient Large-Scale MoE Training via Resource Modeling and Pipelined Hybrid Parallelism

Distributed, Parallel, and Cluster Computing 2026-05-07 v1 Artificial Intelligence Machine Learning

Abstract

Frontier models increasingly adopt Mixture-of-Experts (MoE) architectures to achieve large-model performance at reduced cost. However, training MoE models on HPC platforms is hindered by large memory footprints, frequent large-scale communication across heterogeneous networks, and severe workload imbalance. To characterize these challenges, we develop a mathematical model that quantifies memory, compute, and communication requirements for MoE configurations under various parallelization schemes, verified through micro-benchmarking, code instrumentation, and hardware profiling. Our analysis identifies performance bottlenecks: all-to-all latency at scale from expert parallelism, insufficient compute-communication overlap, low GPU utilization from imbalanced skinny GEMMs, and the absence of platform-aware hybrid parallelization strategies. To address these, we introduce Piper, a framework that leverages resource modeling to identify efficient training strategies for MoE models on target HPC platforms, applying pipeline parallelism with optimized schedules. Piper achieves 2-3.5X higher MFU than state-of-the-art frameworks such as X-MoE, and a novel all-to-all algorithm delivers 1.2-9X bandwidth over vendor implementation.

Keywords

Cite

@article{arxiv.2605.05049,
  title  = {Piper: Efficient Large-Scale MoE Training via Resource Modeling and Pipelined Hybrid Parallelism},
  author = {Sajal Dash and Feiyi Wang},
  journal= {arXiv preprint arXiv:2605.05049},
  year   = {2026}
}
R2 v1 2026-07-01T12:53:02.445Z