Skywork-MoE: A Deep Dive into Training Techniques for Mixture-of-Experts Language Models

Tianwen Wei, Bo Zhu, Liang Zhao, Cheng Cheng, Biye Li +11 more
6/3/2024
cs.CLcs.AI

No official code found. Best implementation: SkyworkAI/Skywork-MoE (141 stars, last commit 2024-06-12).

Abstract

In this technical report, we introduce the training methodologies implemented in the development of Skywork-MoE, a high-performance mixture-of-experts (MoE) large language model (LLM) with 146 billion parameters and 16 experts. It is initialized from the pre-existing dense checkpoints of our Skywork-13B model. We explore the comparative effectiveness of upcycling versus training from scratch initializations. Our findings suggest that the choice between these two approaches should consider both the performance of the existing dense checkpoints and the MoE training budget. We highlight two innovative techniques: gating logit normalization, which improves expert diversification, and adaptive auxiliary loss coefficients, allowing for layer-specific adjustment of auxiliary loss coefficients. Our experimental results validate the effectiveness of these methods. Leveraging these techniques and insights, we trained our upcycled Skywork-MoE on a condensed subset of our SkyPile corpus. The evaluation results demonstrate that our model delivers strong performance across a wide range of benchmarks.

View on arXivView PDF

Code Implementations(1)

Skywork-MoE: A Deep Dive into Training Techniques for Mixture-of-Experts Language Models

1416May 27, 20242 years ago

Similar Papers

Cite this paper

@article{wei2024skyworkmoe,
  title  = {Skywork-MoE: A Deep Dive into Training Techniques for Mixture-of-Experts Language Models},
  author = {Tianwen Wei and Bo Zhu and Liang Zhao and Cheng Cheng and Biye Li and Weiwei Lü and Peng Cheng and Jianhao Zhang and Xiaoyu Zhang and Liang Zeng and Xiaokun Wang and Yutuan Ma and Rui Hu and Shuicheng Yan and Han Fang and Yahui Zhou},
  year   = {2024},
  eprint = {2406.06563},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.06563v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.06563.svg)](https://codeofpaper.com/paper/2406.06563)

Discussion