SaMoE: Parameter Efficient MoE Language Models via Self-Adaptive Expert Combination

Minjia Zhang, Conglong Li, Xiaoxia Wu, Zhewei Yao, Yuxiong HeICLR 2023 · OpenReview

Abstract

Recently, Mixture-of-Experts (MoE) has demonstrated success in scaling models to have large amounts of parameters without significant increases in computational cost. However, MoEs have been also reported to be parameter inefficient such that larger models do not always lead to better performance. In this work, we study how to build parameter-efficient MoE models. Our analysis identifies that MoE layers exhibit poor gradient flow as the number of experts increases, leading to insufficient training of experts. To overcome this issue, we propose a new MoE architecture design (SaMoE), which improves the parameter efficiency of MoE models by learning a soft combination of a global set of expert layers for each MoE layer. Such a scheme enables substantial parameter savings on MoE while achieving comparable or better accuracy than the standard MoE training baseline. Extensive experiments on billion-scale GPT-3 style autoregressive MoE language models demonstrate that SaMoE significantly improves the parameter efficiency of MoE models by reducing up to 5.2X total parameters while obtaining superior pre-training and zero-shot generalization results as compared to baseline.
BibTeX
@inproceedings{zhang2023samoe,
  author = {Minjia Zhang and Conglong Li and Xiaoxia Wu and Zhewei Yao and Yuxiong He},
  title = {{SaMoE: Parameter Efficient MoE Language Models via Self-Adaptive Expert Combination}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=HO2q49XYRC},
}

Loading related content...

Figure