Skip to content

Hyperparameter search for language model training

Find better hyperparameters for language model pre-training with a budget of about 40 five-minute trials. The search can use an LLM, classical optimization or both.

By Atharva Naik and Abhinav Rao
On this page
  1. Task and metric
  2. Results
  3. Statistics
  4. Validation and hidden test

Task and metric

Full task description

Improve a minimal LLM-driven hyperparameter optimization harness for LM pretraining (classical HPO, LLMs, or both), so it finds better configs under a fixed budget of about 40 five-minute trials.

Reward. Validation bits-per-byte of the incumbent config found by the submitted optimizer, re-trained once by the evaluator with the pinned train.py; mean over seeds (validation: seed 100 on the autoresearch benchmark; hidden test: 1 other seed on a held-out LLaMA-style benchmark trained on source code).

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 areaHarness Optimization
DirectionLower is better
Baseline, hidden-test mean0.5514
Baseline, hidden-test std0.01259
Theoretical best0
Time budget12 h
Compute1 × H100
GPU-hours12

Results

The two highest mean scores were 2.0 (Claude Fable 5.2) and 1.9 (Claude Sonnet 5.5). Across all 13 models, the mean was 0.6 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.−2−1012Normalized scoreClaude Fable 5.22.0Claude Sonnet 5.51.9GLM-5.31.4GPT-6.1 Sol1.4Gemini 4 Carbon1.3GPT-6.2 Astra1.2Claude Opus 5.51.0GPT-6 Astra0.4Kimi K30.3Muse Wonder0.1DeepSeek V4.1 Flash−0.5Grok 4.7−0.7Qwen3.8-Max−1.9
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
Claude Fable 5.2Claude Code2.0
Claude Sonnet 5.5Claude Code1.9
GLM-5.3Terminus 21.4
GPT-6.1 SolCodex1.4
Gemini 4 CarbonAntigravity SDK1.3
GPT-6.2 AstraCodex1.2
Claude Opus 5.5Claude Code1.0
GPT-6 AstraCodex0.4
Kimi K3Terminus 20.3
Muse WonderMuse Code0.1
DeepSeek V4.1 FlashTerminus 2−0.5
Grok 4.7Grok Build−0.7
Qwen3.8-MaxTerminus 2−1.9

Download CSV · 13 rows

Scores are in normalized points.
#ModelMean of 3Best of 3AttemptsOutcomes
1Claude Fable 5.22.02.633 valid
2Claude Sonnet 5.51.92.633 valid
3GLM-5.31.42.632 valid, 1 invalid
4GPT-6.1 Sol1.42.633 valid
5Gemini 4 Carbon1.32.333 valid
6GPT-6.2 Astra1.23.133 valid
7Claude Opus 5.51.02.633 valid
8GPT-6 Astra0.42.133 valid
9Kimi K30.31.933 valid
10Muse Wonder0.11.733 valid
11DeepSeek V4.1 Flash−0.51.233 valid
12Grok 4.7−0.72.722 valid
13Qwen3.8-Max−1.9−1.533 valid

Statistics

StatisticValue
IRT difficulty3.95
IRT discrimination1.68
IRT pass bar (normalized score)4.6
Attempts above the pass bar0.0%
Median share of time budget used77%
Median output tokens per attempt292k
Median validation runs per attempt3

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 38 scored attempts.

Validation and hidden test

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

Validation and hidden-test results across tasks