about
Exploring Sparse Expert Models and Beyond (arxiv.org)
1 point by MindGods on Jun 3, 2021 | hide | past | pdf | discuss on HN

In plain words: Sparse expert models give each word a few of many expert sub-networks, keeping compute small; the study finds the number of active experts matters most, not uneven workload. Grouping experts into prototypes and picking one per group beat standard routing at the same cost.

Abstract · M6-T: Exploring Sparse Expert Models and Beyond

Mixture-of-Experts (MoE) models can achieve promising results with outrageous large amount of parameters but constant computation cost, and thus it has become a trend in model scaling. Still it is a mystery how MoE layers bring quality gains by leveraging the parameters with sparse activation. In this work, we investigate several key factors in sparse expert models. We observe that load imbalance may not be a significant problem affecting model quality, contrary to the perspectives of recent studies, while the number of sparsely activated experts $k$ and expert capacity $C$ in top-$k$ routing can significantly make a difference in this context. Furthermore, we take a step forward to propose a simple method called expert prototyping that splits experts into different prototypes and applies $k$ top-$1$ routing. This strategy improves the model quality but maintains constant computational costs, and our further exploration on extremely large-scale models reflects that it is more effective in training larger models. We push the model scale to over $1$ trillion parameters and implement it on solely $480$ NVIDIA V100-32GB GPUs, in comparison with the recent SOTAs on $2048$ TPU cores. The proposed giant model achieves substantial speedup in convergence over the same-size baseline.

An Yang, Junyang Lin, Rui Men, Chang Zhou, Le Jiang, Xianyan Jia, Ang Wang, Jie Zhang, Jiamang Wang, Yong Li, Di Zhang, Wei Lin, et al.
arXiv:2105.15082 · cs.LG, cs.CL · submitted May 31, 2021 · updated Aug 9, 2021
abstract · pdf · html · 16 pages, 8 figures

add comment on HN