Skip to content

Mixture-of-experts router design

Design a router for a sparse mixture-of-experts model. The training budget accounts for routing, communication and uneven device loads. Evaluation uses a tighter expert capacity.

By Mayank Kulkarni
On this page
  1. Task and metric
  2. Results
  3. Statistics
  4. Validation and hidden test

Task and metric

Full task description

Design the routing and load-balancing scheme for a sparse Mixture-of-Experts language model trained under a fixed parameter envelope and a compute budget that charges padded expert capacity, router operations, expert-parallel device imbalance and cross-device traffic, scored at a deployment capacity tighter than any it can train at, experimenting at cheaper scales and committing to a target scale.

Reward. Negative held-out loss of the target-scale model trained from the submitted router under a fixed compute budget (padded expert capacity, router operations, device imbalance and device traffic charged), rebuilt and scored at deployment capacity factor 0.75: -(loss_indist + loss_ood) / 2. Higher is better. Capacity, device imbalance, device traffic and heavier routers cost training steps; dropped choices cost signal but no compute; collapse onto the dominant domain costs held-out-domain loss. theoretical_best is the bound -loss <= 0; no finite model reaches it.

Normalized score. The baseline below corresponds to 0 points and the theoretical best to 100. The theoretical best is not always achievable in practice. A valid submission that performs below baseline receives a negative score, bounded at −100. An invalid submission receives 0. Score formula

SetupValue
Research areaPre-training
DirectionHigher is better
Baseline, hidden-test mean−3.778
Baseline, hidden-test std0.007113
Theoretical best0
Time budget4 h
Compute1 × H100
GPU-hours4
Task author's note on difficulty

Nothing in the routing design is free. The model trains under a fixed compute budget that charges every padded capacity slot, the operations the router runs, expert-parallel device imbalance and cross-device traffic: 64 experts sit four to a device on 16 simulated devices, at every MoE layer each device waits for the busiest, and every extra device a token's choices reach costs a transfer. It is then scored at a deployment capacity factor of 0.75, tighter than any it may train at, so experts overflow and the router decides what is lost. Each lever trades against the others: more capacity costs steps, even device load is not even expert load, keeping a token's choices on few devices saves traffic but concentrates load and narrows its choice of experts, balancing costs specialization, and shedding choices at deployment loses quality per token to save it on overflow. The research bottleneck is evidence: a target run trains for about an hour, so a 4-hour budget allows about three, and the smaller scales do not always rank designs as target does. Reasoning about which trade-offs matter and which cheap results to trust, rather than sweeping, is the intended difficulty. Failures from misreading the submission format, environment errors or ignoring the time limit are not.

Results

The two highest mean scores were 1.9 (GPT-6.2 Astra) and 1.6 (Claude Opus 5.5). Across all 13 models, the mean was 1.1 points. Of those, 13 averaged above baseline.

Mean hidden-test score by model

  • Claude Code
  • Codex
  • Antigravity SDK
  • Muse Code
  • Grok Build
  • Terminus 2
Mean hidden-test score by modelBar chart with 13 bars; every value is in the data table.0.00.51.01.52.0Normalized scoreGPT-6.2 Astra1.9Claude Opus 5.51.6Claude Sonnet 5.51.5Gemini 4 Carbon1.4GPT-6.1 Sol1.3Claude Fable 5.21.2GLM-5.31.2Muse Wonder1.0GPT-6 Astra0.9Kimi K30.7DeepSeek V4.1 Flash0.6Grok 4.70.2Qwen3.8-Max0.2
Each bar averages the model’s scored attempts on this task. Zero marks the starting baseline. Scoring rules.
View data
Mean hidden-test score by model: data
LabelSeriesMean score
GPT-6.2 AstraCodex1.9
Claude Opus 5.5Claude Code1.6
Claude Sonnet 5.5Claude Code1.5
Gemini 4 CarbonAntigravity SDK1.4
GPT-6.1 SolCodex1.3
Claude Fable 5.2Claude Code1.2
GLM-5.3Terminus 21.2
Muse WonderMuse Code1.0
GPT-6 AstraCodex0.9
Kimi K3Terminus 20.7
DeepSeek V4.1 FlashTerminus 20.6
Grok 4.7Grok Build0.2
Qwen3.8-MaxTerminus 20.2

Download CSV · 13 rows

Scores are in normalized points.
#ModelMean of 3Best of 3AttemptsOutcomes
1GPT-6.2 Astra1.92.133 valid
2Claude Opus 5.51.62.033 valid
3Claude Sonnet 5.51.51.833 valid
4Gemini 4 Carbon1.41.732 valid, 1 out of time
5GPT-6.1 Sol1.31.533 valid
6Claude Fable 5.21.21.633 valid
7GLM-5.31.21.433 valid
8Muse Wonder1.01.233 valid
9GPT-6 Astra0.91.633 valid
10Kimi K30.71.133 valid
11DeepSeek V4.1 Flash0.60.733 valid
12Grok 4.70.20.533 valid
13Qwen3.8-Max0.20.933 valid

Statistics

StatisticValue
IRT difficulty−0.80
IRT discrimination1.84
IRT pass bar (normalized score)0.4
Attempts above the pass bar87.2%
Median share of time budget used81%
Median output tokens per attempt198k

IRT: two-parameter model of pass or fail against the pass bar (statistics).

Time and tokens over all tasks: results. Medians are over this task's 39 scored attempts.

The trajectory of 1 of 39 attempts (Gemini 4 Carbon, out of time) was not recorded: the output-token medians cover 38 attempts.

Validation and hidden test

The validation scores extracted from the logs disagreed with a manual check on this task.