Curriculum specialization for nanoGPT
Find math and science examples in an unlabeled web crawl and schedule them during pre-training. The model must improve on these subjects while retaining performance on general text.
Task and metric
Full task description
Design the pretraining data curriculum for a small GPT trained from scratch so that it specializes in math, physics, chemistry and biology without regressing on general text: find topic data in an unlabeled raw web crawl from small labeled seeds, and schedule it with mixtures, learning-rate phases, branching and merging, token weights and adaptive mixing in a frozen trainer.
Reward. Score of the submitted L10 schedule, trained from scratch by the frozen trainer with three hidden seeds and evaluated on held-out test sets against a web-only L10 model: topic_score - 3 * retention_penalty. topic_score = r_bar * geometric mean over math, physics, chemistry and biology of max(0.05, gain_t / r_t), where gain_t is the reduction in loss (nats) and r_t a fixed competent reference's gain (r_bar their mean, 0.523); retention_penalty is the mean over six general domains (encyclopedic, web, news, Q&A, FineWeb, C4) of max(0, -gain).
Full reward definition
Score of the submitted L10 schedule, trained from scratch by the frozen trainer with three hidden seeds and evaluated on held-out test sets against a web-only L10 model: topic_score - 3 * retention_penalty. topic_score = r_bar * geometric mean over math, physics, chemistry and biology of max(0.05, gain_t / r_t), where gain_t is the reduction in loss (nats) and r_t a fixed competent reference's gain (r_bar their mean, 0.523); retention_penalty is the mean over six general domains (encyclopedic, web, news, Q&A, FineWeb, C4) of max(0, -gain). Higher is better; an invalid submission scores -1. theoretical_best is the score of a model with zero test loss on every topic and no general-domain regression (gain_t equal to the reference loss).
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
| Setup | Value |
|---|---|
| Research area | Pre-training |
| Direction | Higher is better |
| Baseline, hidden-test mean | 0.5137 |
| Baseline, hidden-test std | 0.002002 |
| Theoretical best | 3.685 |
| Time budget | 4 h |
| Compute | 1 × H100 |
| GPU-hours | 4 |
Results
The two highest mean scores were 11.2 (GPT-6.2 Astra) and 9.4 (GPT-6 Astra). Across all 13 models, the mean was 6.0 points. Of those, 13 averaged above baseline.
Mean hidden-test score by model
- Claude Code
- Codex
- Antigravity SDK
- Muse Code
- Grok Build
- Terminus 2
View data
| Label | Series | Mean score |
|---|---|---|
| GPT-6.2 Astra | Codex | 11.2 |
| GPT-6 Astra | Codex | 9.4 |
| Claude Fable 5.2 | Claude Code | 9.1 |
| Claude Sonnet 5.5 | Claude Code | 8.3 |
| Claude Opus 5.5 | Claude Code | 8.2 |
| GPT-6.1 Sol | Codex | 7.9 |
| Gemini 4 Carbon | Antigravity SDK | 6.5 |
| Muse Wonder | Muse Code | 5.5 |
| Qwen3.8-Max | Terminus 2 | 3.8 |
| Grok 4.7 | Grok Build | 3.5 |
| DeepSeek V4.1 Flash | Terminus 2 | 2.4 |
| GLM-5.3 | Terminus 2 | 1.9 |
| Kimi K3 | Terminus 2 | 0.6 |
Download CSV · 13 rows
| # | Model | Mean of 3 | Best of 3 | Attempts | Outcomes |
|---|---|---|---|---|---|
| 1 | GPT-6.2 Astra | 11.2 | 11.5 | 3 | 3 valid |
| 2 | GPT-6 Astra | 9.4 | 10.5 | 3 | 3 valid |
| 3 | Claude Fable 5.2 | 9.1 | 9.4 | 3 | 3 valid |
| 4 | Claude Sonnet 5.5 | 8.3 | 8.8 | 3 | 3 valid |
| 5 | Claude Opus 5.5 | 8.2 | 9.3 | 3 | 3 valid |
| 6 | GPT-6.1 Sol | 7.9 | 9.2 | 3 | 3 valid |
| 7 | Gemini 4 Carbon | 6.5 | 8.8 | 3 | 2 valid, 1 out of time |
| 8 | Muse Wonder | 5.5 | 6.8 | 3 | 3 valid |
| 9 | Qwen3.8-Max | 3.8 | 5.1 | 3 | 3 valid |
| 10 | Grok 4.7 | 3.5 | 5.6 | 3 | 3 valid |
| 11 | DeepSeek V4.1 Flash | 2.4 | 3.4 | 3 | 3 valid |
| 12 | GLM-5.3 | 1.9 | 2.5 | 3 | 3 valid |
| 13 | Kimi K3 | 0.6 | 1.7 | 3 | 3 valid |
Statistics
| Statistic | Value |
|---|---|
| IRT difficulty | −2.14 |
| IRT discrimination | 1.37 |
| IRT pass bar (normalized score) | 0.1 |
| Attempts above the pass bar | 97.4% |
| Median share of time budget used | 86% |
| Median output tokens per attempt | 181k |
| Median validation runs per attempt | 1 |
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 and validation-run medians cover 38 attempts.
Validation and hidden test
| Validation measure | Value |
|---|---|
| Attempts with a recorded validation score | 23 |
| Attempts scoring at least 99 on validation | 0 |