| # | Model | Score | Steps | In tok | Out tok | Avg cost | Avg time |
|---|---|---|---|---|---|---|---|
| 1 | GPT-5.6 | 0.2914 ±0.047 | 488 | 100.6M | 149k | $84.09 | 13.1h |
| 2 | GLM-5.3 | 0.1715 ±0.068 | 217 | 35.5M | 208k | $16.86 | 18.8h |
| 3 | Grok 4.6 | 0.1658 ±0.064 | 322 | 69.4M | 443k | $69.50 | 19.4h |
| 4 | Claude Fable 5.1 | 0.1410 ±0.075 | 160 | 21.6M | 167k | $14.86 | 13.3h |
| 5 | Kimi K3 | 0.1378 ±0.110 | 264 | 53.2M | 302k | $22.85 | 18.3h |
| 6 | Qwen3.8-Max | 0.0473 ±0.038 | 244 | 20.7M | 493k | $8.38 | 19.8h |
| 7 | DeepSeek V4 Flash Exp | 0.0448 ±0.049 | 334 | 67.4M | 251k | $1.32 | 19.2h |
| 8 | Gemini 3.7 Flash | 0.0427 ±0.049 | 646 | 170.1M | 153k | $19.83 | 13.4h |
| 9 | Inkling | 0.0000 ±0.000 | 85 | 2.1M | 22k | $2.12 | 2.3h |
| 10 | Muse Spark 1.2 | 0.0000 ±0.000 | 332 | 86.7M | 398k | $36.96 | 13.9h |
Most published optimizers win on a narrow slice of architectures and lose elsewhere; a per-workload-tuned baseline is easy to beat on one model and very hard to beat on ten at once. This task asks for genuine optimization research: one optimizer class and one hyperparameter configuration that converge quickly across transformers, convolutional networks, plain MLPs, embedding-heavy recommenders, and contrastive encoders, and that generalize to architecture families it was never tuned on.
The bar is not vanilla AdamW. The frozen per-workload reference step counts were calibrated offline from a portfolio of strong controls (Nesterov SGD, normalized and shape-routed Muon hybrids, adaptive schedules, table-aware Muon/Adam variants, bounded SOAP and Shampoo, and Schedule-Free AdamW), with each denominator accepted only from repeated confirmation runs on the exact task hardware.
The agent must create /app/custom_optimizer.py defining CustomOptimizer(torch.optim.Optimizer) and /app/optimizer_config.json, whose object is passed to the constructor as **kwargs. The frozen training loop drives it through the ordinary construct / zero_grad / step contract.
torch, numpy, scipy, and a fixed set of standard-library modules that deliberately excludes filesystem, network, and OS access.train_workload.py, run_visible.py, workloads/) is read-only; runs against modified copies are rejected.A complete experiment loop on an H100: the seven visible workload definitions in /app/workloads/ (exact architectures, datasets, loss functions, and per-workload target losses), the frozen training loop, and python3 /app/run_visible.py to run one workload or all seven, saving per-step loss curves, speedups, and timing to /app/runs/ for comparison across experiments.
The starter custom_optimizer.py is a simple AdamW implementation provided only to demonstrate the interface; it is not the reference portfolio and has no promised speedup. Datasets are baked into the image from hash-pinned sources; the machine is offline for task purposes, and a sandbox-timer CLI reports the remaining budget.
A clean-room verifier runs in a fresh container on the captured /app, first checking every frozen training file against a SHA-256 manifest, then training all ten workloads (seven visible plus three held-out) with the submitted optimizer. The scorer never imports candidate code: submitted optimizer code runs alone in a chrooted, privilege-dropped, seccomp-confined process that sees only mirrored parameters and gradients, while trusted root-owned processes own the models, data, forward/backward passes, step counting, checkpoints, and all scored quantities.
baseline_steps / candidate_steps against the frozen reference denominator; a miss earns capped loss-ratio partial credit (at most 1.0). Reference optimizers are not re-run; only the frozen scalars are read.| Base image | nvidia/cuda:12.4.1-devel-ubuntu22.04 |
| Tools available | CUDA, PyTorch, C/C++ toolchain, Python 3 |
| Compute | 8 CPUs · 128 GB RAM |
| GPU | 1× H100 |
| Time limit | 20h |
This task is an improved revision of Optimizer Design from FrontierSWE V1.
custom_optimizer.pydirectly into the verifier's training process, while V2 runs it in a chrooted, privilege-dropped, seccomp-confined worker per workload that sees only mirrored parameters and gradients, with the import allowlist now enforced rather than stated./app, with frozen training files checked against a SHA-256 manifest and datasets pinned by digest in an OCI lock./app/.timer daemon files were replaced by the sandbox-timer CLI under the new harbor schema.nano_gpt workload and a held-out character-level language model (Merity et al. 2016).vit, deep_mlp, and resnet workloads, via torchvision (Krizhevsky 2009).graph_transformer workload (Ramakrishnan et al. 2014, via PyTorch Geometric); atomic numbers only, unnormalized target index 0, source-order 80/20 split.next_item workload; only a derived tensor of remapped integer IDs and next-item targets is stored in the private evaluation registry.contrastive workload and a held-out classifier.