The routing wall formula-derived
Scoring every expert costs N·d; product keys cost about (√N + k²)·d. Drag N (k = 16, as in PEER).
Which routers scale and learn?
Hash routers scale but are fixed. Learned routers stall near ~128 experts. PEER targets both.
Product-key retrieval, step by step Illustrative scores
Toy 8×8 grid (N = 64) with random scores. PEER uses 1,024 × 1,024 sub-keys. Score = half-score A + half-score B.
One PEER layer
Click a stage or step through the pipeline.
What a retrieved slot holds
Same retrieval, different payload.
Perplexity at equal FLOPs Reported
Lower is better. Each cell is a single run; no seeds or error bars. Budget 6e18 FLOPs.
PEER lead over dense on C4 Reported, approx.
Lead shrinks from about 13% to about 10% as budget grows. Two budgets are not a trend.
Is the million-way router collapsed? Reported
Query-network BatchNorm off vs on. Zero-based axes.
Ablation directions Illustrative, no values
Paper reports direction only in the episode: bigger pool or more active experts helps, with saturation.
What the evidence covers
Hover or tap a row.
Granularity: two definitions
FLOPs vs hardware Illustrative layout
Same 256 highlighted cells: contiguous tile vs scattered lookups in a huge table. Not to scale.
References
- Mixture of A Million Experts — He, 2024
- Scaling Laws for Fine-Grained MoE — Krajewski et al., 2024
- Unified Scaling Laws for Routed Language Models — Clark et al., 2022
- DeepSeekMoE — Dai et al., 2024
- Large Memory Layers with Product Keys — Lample et al., 2019
- Transformer Feed-Forward Layers Are Key-Value Memories — Geva et al., 2021
- MoE with Expert Choice Routing — Zhou et al., 2022
- Memory augmented LMs through mixture of word experts — dos Santos et al., 2023
- Fast Feedforward Networks — Belcak & Wattenhofer, 2023
- Approximating Two-Layer Feedforward Networks — Csordás et al., 2023
- Lifelong-MoE — Chen et al., 2023
- Outrageously Large Neural Networks — Shazeer et al., 2017