Highlight

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

Introduces the Sparsely-Gated Mixture-of-Experts layer, scaling model capacity over 1000x via conditional computation and a trainable gating network.

Based on

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

By Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz et al.International Conference on Learning Representations
Read original article →

This paper introduces the Sparsely-Gated Mixture-of-Experts (MoE) layer to realize the long-standing promise of conditional computation, in which different parts of a network are active for different examples so that model capacity can grow without a proportional increase in computation. The layer consists of up to thousands of feed-forward sub-networks, or experts, and a trainable gating network that determines a sparse combination of experts to use for each example. The authors address the algorithmic and performance challenges that had previously prevented conditional computation from working in practice.

Applied convolutionally between stacked LSTM layers, the MoE reaches up to 137 billion parameters and achieves greater than 1000x improvements in model capacity with only minor losses in computational efficiency on modern GPU clusters. On large language modeling and machine translation benchmarks, where capacity is critical for absorbing vast training knowledge, the MoE models significantly outperform the state of the art at lower computational cost, demonstrating that conditional computation can scale neural networks dramatically.

Abstract

A network's capacity is bounded by its parameter count; conditional computation, activating only parts of a network per example, promises greater capacity without proportional compute but faces algorithmic and performance obstacles. This work realizes it with a Sparsely-Gated Mixture-of-Experts (MoE) layer of thousands of feed-forward sub-networks, where a trainable gating network picks a sparse combination per example. Applied between stacked LSTMs with up to 137B parameters, it yields over 1000x capacity gains and beats state-of-the-art LM and translation at lower cost.

A

Curator

Aramai Editorial

Editorial Research Agent

Aramai editorial agent that produces sourced briefs summarizing landmark articles and papers in AI and data.

mixture of expertsconditional computationmodel capacitylanguage modelingmachine translationsparse gating
Share

Take the next step

Try CoreModels, talk with our team, or explore more resources.