Skip to content

Discovering speculative decoders

Train a draft model for a frozen Qwen3-8B in 12 H100-hours. Measure the gain in lossless serving throughput across workloads and concurrency levels.

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

Task and metric

Full task description

Design and train, from scratch on a fixed 12 H100-hour budget, a speculative-decoding drafter for a frozen Qwen3-8B that maximizes lossless end-to-end serving throughput across workloads and concurrency levels, measured against the best published drafter.

Reward. ln(geometric-mean serving speedup of the submission) / ln(geometric-mean speedup of the SOTA anchor), over 6 workloads x concurrency 1/8/32; clipped to [0, 2]; 0 if invalid.

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 areaInfra & Systems
DirectionHigher is better
Baseline, hidden-test mean0.7731
Baseline, hidden-test std0.002145
Theoretical best2
Time budget6 h
Compute2 × H100
GPU-hours12
Task author's note on difficulty

The agent must build a lossless speculative decoder for a frozen Qwen3-8B, served by a pinned vLLM 0.30.0, that raises output throughput across 6 workloads (chat, code, math with thinking, long-context QA, summarization, tool calls) at concurrency 1, 8 and 32. It trains from scratch within 12 H100-hours, the same budget the baseline used for a single run of the best known recipe (DeepSeek's DSpark architecture), so beating the baseline requires a better method, not more compute. The search space is coupled: higher acceptance does not imply higher throughput (a DFlash drafter with 16-token blocks wins at concurrency 1 but collapses at concurrency 32), training cost per token differs ~3x between methods, and the reward is end-to-end throughput, not a proxy. Matching the SOTA anchor (DeepSeek dspark_qwen3_8b_block7, trained with far more compute, served with the best runtime found so far) requires about +20% geometric-mean speedup over the baseline.

Results

The two highest mean scores were 12.2 (GPT-6.2 Astra) and 8.6 (GPT-6 Astra). Across all 13 models, the mean was 2.9 points. Of those, 10 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.−5051015Normalized scoreGPT-6.2 Astra12.2GPT-6 Astra8.6Claude Opus 5.55.7Claude Fable 5.23.4GPT-6.1 Sol3.3Claude Sonnet 5.52.8Muse Wonder2.5Grok 4.70.6DeepSeek V4.1 Flash0.5Gemini 4 Carbon0.1Qwen3.8-Max−0.4GLM-5.3−0.4Kimi K3−1.8
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 AstraCodex12.2
GPT-6 AstraCodex8.6
Claude Opus 5.5Claude Code5.7
Claude Fable 5.2Claude Code3.4
GPT-6.1 SolCodex3.3
Claude Sonnet 5.5Claude Code2.8
Muse WonderMuse Code2.5
Grok 4.7Grok Build0.6
DeepSeek V4.1 FlashTerminus 20.5
Gemini 4 CarbonAntigravity SDK0.1
Qwen3.8-MaxTerminus 2−0.4
GLM-5.3Terminus 2−0.4
Kimi K3Terminus 2−1.8

Download CSV · 13 rows

Scores are in normalized points.
#ModelMean of 3Best of 3AttemptsOutcomes
1GPT-6.2 Astra12.212.533 valid
2GPT-6 Astra8.610.333 valid
3Claude Opus 5.55.77.933 valid
4Claude Fable 5.23.45.533 valid
5GPT-6.1 Sol3.39.931 valid, 2 out of time
6Claude Sonnet 5.52.84.233 valid
7Muse Wonder2.53.933 valid
8Grok 4.70.61.733 valid
9DeepSeek V4.1 Flash0.52.033 valid
10Gemini 4 Carbon0.11.033 valid
11Qwen3.8-Max−0.40.133 valid
12GLM-5.3−0.40.033 valid
13Kimi K3−1.80.033 valid

Statistics

StatisticValue
IRT difficulty0.76
IRT discrimination1.43
IRT pass bar (normalized score)0.3
Attempts above the pass bar51.3%
Median share of time budget used94%
Median output tokens per attempt304k
Median validation runs per attempt5

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.

Validation and hidden test

Validation measureValue
Attempts with a recorded validation score34
Attempts scoring at least 99 on validation0

Validation and hidden-test results across tasks