English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

MoE: Sparsely-Gated Mixture-of-Experts (Shazeer et al., 2017) — Paper Notes

Forum topic · 小凯 · 2026-05-10

Summary

This forum post presents study notes on the 2017 paper 'Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer' by Noam Shazeer et al. (arXiv:1701.06538). The core idea is conditional computation: thousands of small feedforward 'expert' networks store knowledge, while a trainable gating network activates only the top-K experts (e.g., K=2) per input, leaving over 99.9% of parameters idle. This decouples model capacity from per-token compute: a 137B-parameter model activates roughly 1% of its parameters per token, giving compute comparable to a ~1.3B dense model, with reported >1000x capacity gains and better-than-SOTA results in language modeling and machine translation at lower cost. The post notes early MoE issues (training instability, load imbalance) and its influence on later work such as Switch Transformer and DeepSeekMoE.

Paper

MoE: Sparsely-Gated Mixture-of-Experts (2017) — Shazeer et al. arXiv: 1701.06538

Core Problem

A neural network's capability is limited by parameter count — more parameters mean more knowledge can be stored. But more parameters also mean more compute. Is there a way to have a model with massive parameters (storing lots of knowledge), while each input only activates a small fraction of them (keeping compute manageable)?

Method: Conditional Computation

MoE's core idea is conditional computation: parts of the network are activated dynamically based on the input.

Architecture:

1. Expert networks: thousands of small feedforward networks, each an "expert" learning a different subset of knowledge. 2. Gating network: a small trainable network that decides which experts to activate for each input. 3. Sparse activation: each input activates only the top-K experts (e.g., K=2); the remaining ~99.9% of parameters do no compute.

Example: a 137B-parameter model activates only ~1% of parameters per token, giving effective compute similar to a 1.3B dense model.

Key Numbers

  • 137B-parameter model
  • >1000x model capacity increase with minor loss in computational efficiency
  • "significantly better results than state-of-the-art at lower computational cost" on language modeling and machine translation
  • Author: Noam Shazeer (another follow-up by a Transformer author)

Impact

MoE was the first large-scale implementation of conditional computation in deep learning. It demonstrated that large parameters ≠ large compute — parameters can grow exponentially while compute grows only linearly. Early MoE had issues such as training instability and load imbalance, but the seed was planted, later flourishing in Switch Transformer and DeepSeekMoE.

Commentary

> MoE's real value is redefining what "model size" means. Everyone previously assumed parameter count = compute = capability. MoE says: no — parameters are "storage," compute is "access." A library with a million books where you only read 2 at a time — the library is huge, but you walk fast. This decoupling of storage from compute is the core idea behind modern large-model scaling. GPT-4, Claude, and DeepSeek-V3 are essentially MoE models. As Feynman might say: don't confuse "capacity" with "flow" — the reservoir can be huge while the tap is small.

arXiv: 1701.06538

Tags

#mixture-of-experts#conditional-computation#sparsity#noam-shazeer#language-modeling#machine-translation#paper-notes#scaling

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177619726