atlas

Research map / Architectures and efficiency / Mixture of experts

Scaling Laws for Fine-Grained Mixture of Experts

ICML 2024 · Architectures and efficiency › Mixture of experts · approach: Expert routing and specialization · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces granularity as a MoE hyperparameter and fits joint scaling laws in N, D and G, showing fine-grained MoE beats dense Transformers at every compute budget under compute-optimal training.

Problem

Existing MoE scaling laws assume fixed training duration and fixed expert size (equal to the feed-forward layer), leading to claims that MoE loses to dense models at scale.

Approach

Introduce granularity G = d_ff / d_expert to control expert size independently of expansion rate, and derive a joint scaling law L(N, D, G) with variable training tokens, then solve for compute-optimal N, D, G under a FLOPs model that includes routing overhead.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase granularity above G=1 (ablation)MoE · C4 language modelinglossHelped
Use G=8 instead of G=16 (ablation)MoE with N=64 x 7M, D=66B · Training loss versus wall-clock time on NVIDIA A100lossHelped
Increase granularity to G=64 at d_model=256 and E=64 (ablation)MoE · C4 language modelingperformanceHurt
Use compute-optimal MoE instead of dense TransformerLanguage modeling at a compute budget of 10^20 FLOPs · Compute-optimal scaling comparisoncompute required for same quality: 20×Helped
Use compute-optimal MoE instead of dense TransformerLanguage modeling above a compute budget of 10^25 FLOPs · Compute-optimal scaling comparisoncompute savings: 40×Helped
Vary training duration and select compute-optimal N, D, and GMoE versus dense Transformers · Compute-optimal scaling across budgetsefficiencyHelped
Increase the compute budget and use larger optimal granularity (ablation)MoE, E=16 · Compute-optimal configurationsoptimal granularityHelped
Exclude the top 20% of models with lowest perplexity from scaling-law fitting (ablation)MoE scaling law · Scaling-law validationRMSE: 0.015 -> 0.019Mixed

Surprising findings

Limitations

Experimental setup

Datasets: C4

Metrics: validation loss (perplexity-based) RMSE of scaling law fit wall-clock training loss bootstrapped 10th/90th percentiles of optimal configs

Baselines: dense Transformer vanilla MoE (G=1) Clark et al. MoE scaling law

Builds on: Chinchilla scaling laws Expert Choice routing Clark et al. MoE scaling laws

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy