Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer

About

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.

Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc Le, Geoffrey Hinton, Jeff Dean• 2017

Related benchmarks

TaskDatasetResultRank
Commonsense ReasoningHellaSwag
Accuracy32.7
1460
Mathematical ReasoningGSM8K
Accuracy45.2
983
Commonsense ReasoningWinoGrande
Accuracy51.5
776
Language ModelingWikiText-103 (test)
Perplexity19.15
524
Machine TranslationWMT En-De 2014 (test)
BLEU26.03
379
Reading ComprehensionRACE high
Accuracy52.7
295
Question AnsweringARC-E
Accuracy48.3
242
Question AnsweringBoolQ
Accuracy60.5
240
Machine TranslationWMT En-Fr 2014 (test)
BLEU40.6
237
Language ModelingLAMBADA
Accuracy29.4
183
Showing 10 of 69 rows

Other info

Follow for update