[1701.06538] Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer
Abstract:The capacity of a neural network to absorb information is limited by its number of parameters. Conditional computation, where parts of the network are active on a per-example basis, has been proposed in theory as a way of dramatically increasing model capacity without a proportional increase in computation. In practice, however, there are significant algorithmic and performance challenges. In this work, we address these challenges and finally realize the promise of conditional computation, achieving greater than 1000x improvements in model capacity with only minor losses in computational efficiency on modern GPU clusters. We introduce a Sparsely-Gated Mixture-of-Experts layer (MoE), consisting of up to thousands of feed-forward sub-networks. A trainable gating network determines a sparse combination of these experts to use for each example. We apply the MoE to the tasks of language modeling and machine translation, where model capacity is critical for absorbing the vast quantities of knowledge available in the training corpora. We present model architectures in which a MoE with up to 137 billion parameters is applied convolutionally between stacked LSTM layers. On large language modeling and machine translation benchmarks, these models achieve significantly better results than state-of-the-art at lower computational cost.
Under review as a conference paper at ICLR 2017 O UTRAGEOUSLY L ARGE N EURAL N ETWORKS : T HE S PARSELY-G ATED M IXTURE - OF -E XPERTS L AYER Noam Shazeer1 , Azalia Mirhoseini∗†1 , Krzysztof Maziarz∗2 , Andy Davis1 , Quoc Le1 , Geoffrey Hinton1 and Jeff Dean1 1 Google…
saved by
related reading
- The Little Book of Deep Learningfleuret.org
- Papers I’ve read this week, Mixture of Experts editionfinbarrtimbers.substack.com
- [2101.03961] Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsityarxiv.org
- Aman's AI Journal • Primers • Ilya Sutskever's Top 30aman.ai
- Mixture of experts - Wikipediaen.wikipedia.org
- More Efficient In-Context Learning with GLaMblog.research.google
- [2202.08906] ST-MoE: Designing Stable and Transferable Sparse Expert Modelsar5iv.labs.arxiv.org
- GLaM: Efficient Scaling of Language Models with Mixture-of-Expertsarxiv.org
- Mixtral of Expertsarxiv.org
- [2209.01667] A Review of Sparse Expert Models in Deep Learningarxiv.org
- frontier model training methodologies | Alex Wa's Blogdjdumpling.github.io
- An Alternative to Test-Time Scalingrentry.org