Revisiting MoE and Dense Speed-Accuracy Comparisons for LLM Training
Xianzhi Du, Tom Gunter, Xiang Kong, Mark Lee, Zirui Wang, Aonan Zhang,, Nan Du, Ruoming Pang

TL;DR
This paper reevaluates the performance comparison between Mixture-of-Experts (MoE) and dense models for large language model training, emphasizing realistic training costs and efficient sharding strategies, demonstrating MoE's consistent speed-accuracy advantages.
Contribution
It introduces a more accurate measurement of model complexity using step time and proposes a 3D sharding method for efficient MoE training on modern accelerators.
Findings
MoE outperforms dense models on speed-accuracy trade-offs.
Revised evaluation metrics provide a fairer comparison.
Efficient sharding enables practical MoE deployment.
Abstract
Mixture-of-Experts (MoE) enjoys performance gain by increasing model capacity while keeping computation cost constant. When comparing MoE to dense models, prior work typically adopt the following setting: 1) use FLOPs or activated parameters as a measure of model complexity; 2) train all models to the same number of tokens. We argue that this setting favors MoE as FLOPs and activated parameters do not accurately measure the communication overhead in sparse layers, leading to a larger actual training budget for MoE. In this work, we revisit the settings by adopting step time as a more accurate measure of model complexity, and by determining the total compute budget under the Chinchilla compute-optimal settings. To efficiently run MoE on modern accelerators, we adopt a 3D sharding method that keeps the dense-to-MoE step time increase within a healthy range. We evaluate MoE and dense LLMs…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques
MethodsSparse Evolutionary Training · Chinchilla · Mixture of Experts
