Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Shortcut-connected Expert Parallelism for Accelerating Mixture-of-Experts

About

Expert parallelism has emerged as a key strategy for distributing the computational workload of sparsely-gated mixture-of-experts (MoE) models across multiple devices, enabling the processing of increasingly large-scale models. However, the All-to-All communication inherent to expert parallelism poses a significant bottleneck, limiting the efficiency of MoE models. Although existing optimization methods partially mitigate this issue, they remain constrained by the sequential dependency between communication and computation operations. To address this challenge, we propose ScMoE, a novel shortcut-connected MoE architecture integrated with an overlapping parallelization strategy. ScMoE decouples communication from its conventional sequential ordering, enabling up to 100% overlap with computation. Compared to the prevalent top-2 MoE baseline, ScMoE achieves speedups of 1.49 times in training and 1.82 times in inference. Moreover, our experiments and analyses indicate that ScMoE not only achieves comparable but in some instances surpasses the model quality of existing approaches.

Weilin Cai, Juyong Jiang, Le Qin, Junwei Cui, Sunghun Kim, Jiayi Huang• 2024

Related benchmarks

TaskDatasetResultRank
KnowledgeMMLU
Accuracy66.4
161
KnowledgeMMLU-Pro
Score39.07
63
CodeHumanEval+
Accuracy45.12
43
ReasoningBBH
Score51.68
36
CodingMultiPL-E
Score43.3
31
MathMATH
Score36.08
27
KnowledgeCMMLU
Knowledge Score67.01
25
Overall PerformanceAverage Across all Benchmarks
Average Score49.07
21
CodingCRUXEval-O
Score39.75
19
KnowledgeC-Eval
C-Eval Knowledge Accuracy0.6737
18
Showing 10 of 15 rows

Other info

Follow for update