Mixture-of-Experts at Scale (2021) › 2021: Mixture of Experts

Michael BrenndoerferJuly 27, 20253 min read
History of Language AIAll chapters
Part 7 of 9Multimodal & Instruction Era
Chapter 69Mixture-of-Experts at Scale (2021) › 2021: Mixture of Experts
Reading section 1 of 7 · 2021: Mixture of Experts · 3 minSection 1 of 7 · 3 min

Book contents

Section 1 of 7 · 3 min read

Mixture-of-Experts at Scale (2021) › 2021: Mixture of ExpertsOne section · Sections in this chapter1 / 7 ↓
Reading tools Definitions & inline links

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

By 2021, the field of large language models had reached an inflection point. Models like GPT-3, with 175 billion parameters, had demonstrated unprecedented capabilities, but they also exposed fundamental limitations in how neural networks were being scaled. Every forward pass through these massive dense models required activating all 175 billion parameters, making both training and inference computationally expensive. Researchers at Google and other leading institutions recognized that this uniform activation pattern was inefficient. Not every input required the full model capacity, yet dense architectures had no way to selectively activate only relevant parameters. This insight would lead to the widespread adoption of Mixture of Experts (MoE) architectures, a paradigm shift that would enable models to scale to trillions of parameters while maintaining practical computational costs.

The concept of Mixture of Experts wasn't entirely new. Work in the 1990s had explored using multiple expert networks with gating mechanisms for routing inputs. However, these early approaches had struggled with practical challenges, particularly around training stability and load balancing. By 2021, several factors converged to make MoE architectures viable at scale. The transformer architecture provided a stable foundation for expert networks. Advances in distributed training made it possible to train models across many devices. Perhaps most importantly, researchers developed techniques for load balancing and routing that prevented the common failure mode where MoE models would collapse to using only a few experts.

The breakthrough came from researchers at Google Brain and Google Research, who introduced novel MoE architectures in 2021 with the GShard and Switch Transformer models. These models demonstrated that MoE architectures could achieve better performance than dense models of similar computational cost while scaling to sizes that would be impractical with dense architectures. The key innovation was designing expert networks as transformer layers and developing sophisticated routing mechanisms that learned to distribute work across experts during training. This work would establish MoE as a fundamental architectural pattern for scaling language models.

The significance of MoE architectures extended beyond computational efficiency. These models enabled a form of emergent specialization, where different experts naturally learned to handle different types of inputs or tasks without explicit supervision. Experts might specialize in different domains, languages, or reasoning patterns, creating a form of modular intelligence within a single model. This specialization capability would prove valuable for applications requiring both broad knowledge and specialized expertise, opening new possibilities for how language models could be deployed and used.