ST-MoE: Designing Stable and Transferable Sparse Expert Models
Authors:
- Barret ZophBZBarret Zoph
- Irwan BelloIBIrwan Bello
- Sameer KumarSKSameer Kumar
- Nan DuNDNan Du
- Yanping HuangYHYanping Huang
- Jeff DeanJDJeff Dean
- Noam ShazeerNSNoam Shazeer
- William FedusWFWilliam Fedus
Preprint
Abstract
Scale has opened new frontiers in natural language processing -- but at a high cost. In response, Mixture-of-Experts (MoE) and Switch Transformers have been proposed as an energy efficient path to even larger and more capable language models. But advancing the state-of-the-art across a broad set of natural language tasks has been hindered by training instabilities and uncertain quality during fine-tuning. Our work focuses on these issues and acts as a design guide. We conclude by scaling a sparse model to 269B parameters, with a computational cost comparable to a 32B dense encoder-decoder Transformer (Stable and Transferable Mixture-of-Experts or ST-MoE-32B). For the first time, a sparse model achieves state-of-the-art performance in transfer learning, across a diverse set of tasks including reasoning (SuperGLUE, ARC Easy, ARC Challenge), summarization (XSum, CNN-DM), closed book question answering (WebQA, Natural Questions), and adversarially constructed tasks (Winogrande, ANLI R3).Keywords
All Related Versions
This publication has 17 references indexed in Scilit:
- Speechmoe2: Mixture-of-Experts Model with Improved Routing2022
- Beyond Distillation: Task-level Mixture-of-Experts for Efficient Inference2021
- The Power of Scale for Parameter-Efficient Prompt Tuning2021
- A Simple Recipe for Multilingual Grammatical Error Correction2021
- How Much Knowledge Can You Pack Into the Parameters of a Language Model?2020
- Dense Passage Retrieval for Open-Domain Question Answering2020
- Adversarial NLI: A New Benchmark for Natural Language Understanding2020
- Natural Questions: A Benchmark for Question Answering ResearchTransactions of the Association for Computational Linguistics, 2019
- Deep Residual Learning for Image Recognition2016
- Adaptive Mixtures of Local ExpertsNeural Computation, 1991