Rust in Everything
← Papers

Infrathon: Benchmarking Language Agents for Real-World, Long-Horizon AI Infra Optimization

Zhengyu Hu, Zheyuan Xiao, Yike Wang, Hamish Ivison, Haoyu Wang, Yige Yuan et al.

2026-11-10▲ 3arXiv 2611.11995v1Hugging Face

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

Infrathon is a 25-task, 12–24-hour benchmark of AI infrastructure optimization on which six frontier agents were run for 150 runs and over 10,000 GPU-hours, showing that rankings shift with the time horizon, that 135 of 150 runs improve in the second half, and that Claude Opus 5.5 beats a human KV-cache codec.

Problem

AI infrastructure optimization requires repeated implementation, profiling, and validation while preserving correctness, and agents could automate it, but existing benchmarks evaluate this only partially: KernelBench covers operators and modules, InferenceBench complete inference services, Phi-Bench limits most tasks to 1.5-hour runs, and EdgeBench uses 12-hour budgets. It therefore remains open whether frontier agents can repeatedly identify bottlenecks, revise solutions, and validate improvements across diverse AI infrastructure tasks over extended runs. The paper asks whether frontier agents can solve diverse, long-horizon AI infrastructure tasks.

Method

The authors build Infrathon, 25 real-world AI infrastructure tasks across operator (11 tasks, 12-hour budgets), module (5 tasks, 24-hour budgets), and system (9 tasks, 24-hour budgets) levels, constructed with human experts using a companion tool, Infrathon-build, from open-source and research projects such as DeepGEMM, FlashMLA, Liger-Kernel, FlashAttention, SageAttention, and Flash-KMeans. Each task is specified as tau = (W, P, E, R, T): a workspace defining what the agent may change, public tests for correctness checks and profiling, private tests with scoring rules, GPU resources, and a time budget T in (0, infinity]. Execution couples a Work environment where agents develop and run public tests, a Controller that reviews submissions for code and task compliance, and a Judge environment that returns private-test results without exposing private cases or scoring code. Six models (GPT-6.1 Sol, Claude Opus 5.5, Qwen 3.8 Flash, DeepSeek V4.1 Flash, GLM 5.3 Flash, GPT-6 Astra) were run on all 25 tasks, giving 150 task-model runs on NVIDIA H100 GPUs with 80 GB per GPU, using Claude Code for Claude Opus 5.5 and Codex CLI for the other five at max reasoning effort. Reported performance is the best valid private-test score within each run's budget.

Results

  • Claude Opus 5.5 achieves the best overall performance, winning 17 of 25 tasks with the highest mean rank score. §Main Results
  • Model rankings depend on the evaluation horizon: Astra leads at 25% of the budget while Claude leads at 50% and later fractions. §Analysis
  • Most runs keep improving in the second half of their budget, with a small group gaining substantially. §Analysis
  • Claude Opus 5.5's KV-cache codec beats the human Quant-VideoGen codec on compression, PSNR, SSIM, and LPIPS on both video models. §Knowledge Discovery with Infrathon
  • At equal GPU-hours, long-horizon optimization is more effective for module and system tasks, while best-of-four short-horizon test-time scaling stays competitive on operators. §Analysis
  • More visible tokens or actions do not guarantee better scores. §Analysis

Limitations

  • The paper states that task violations, unreliable testing, and premature completion remain barriers to sustained improvement, and shows trajectories in which agents submit solutions that pass public tests but change the required computation, profile the wrong or an unchanged function, or declare completion early (Section 4.4).
  • Experiments are run on NVIDIA H100 GPUs with 80 GB of memory per GPU using only two agent harnesses (Claude Code for Claude Opus 5.5 and Codex CLI for the other five models), so behavior on other hardware or agent scaffolds is left untested (Section 4, Appendix A.1).
  • The long-horizon versus short-horizon comparison uses only two models and six tasks (one training and one inference task each for operators, modules, and systems), so its conclusions rest on a limited task subset (Appendix C).
  • The benchmark contains 25 tasks, of which only five are module-level, and the paper's coverage table marks coverage only where documented in inspected papers or repositories (Table 1, Appendix D).

Key points

  • Infrathon has 25 tasks: 11 operator-level with 12-hour budgets, 5 module-level with 24-hour budgets, and 9 system-level with 24-hour budgets, split into 10 training and 15 inference tasks. §Introduction
  • The framework couples Task Definition with Task Execution, where agents develop and run public tests in the Work environment, submit to the Controller for review, and receive private test results from the Judge. §Task Execution
  • The KVzip KV Scoring example shows the specification structure: 63 public and 1,812 private contexts, one H100 GPU for Work and seven for Judge, and a 24-hour budget. §Task Definition
  • In 51 of 150 runs a new best score was set after at least a quarter of the budget with no improvement, and in 29 of these the gain exceeded 1%; Qwen stayed at 6.05 on Quant-VideoGen KV Codec for 6.78 hours before reaching 8.58. §Main Results
  • Late progress differs by level: system runs reach 90% of final performance at a median of 40.8% of the budget, versus 24.6% for operators and 11.5% for modules. §Analysis
  • On Attn-QAT NVFP4 Attention, DeepSeek and Claude solutions passed public tests with error-to-tolerance ratios below 0.4 but were rejected by the Controller for summing attention probabilities before rounding. §Agent Behavior Analysis
  • When a stop hook prompted agents to continue after declaring completion, GLM raised its SageAttention score from 365.43 to 456.03 (24.8%), Astra improved Flux/Comet MoE Primitive from 219.28 to 235.19 (7.3%), and DeepSeek raised Miles SD3.5-M Multi-teacher OPD from 40.81 to 46.53 (14.0%). §Agent Behavior Analysis
  • The human codec's quality-weighted task score is 6.82 versus 28.45 for Claude's final submission, whose design uses shared K/V cluster assignments, PCA residual transform, trellis quantization, and rANS entropy coding. §Codec Designs

Mind map

Infrathon
Benchmark design
25 tasks: 10 training, 15 inference
11 operator tasks, 12-hour budgets
5 module tasks, 24-hour budgets
9 system tasks, 24-hour budgets
Built with experts via Infrathon-build
Framework
Task Definition: W, P, E, R, T
Work environment: development, public tests
Controller: code and task review
Judge: private test scoring
Evaluation
6 models, 25 tasks, 150 runs
Over 10,000 GPU-hours on H100
Claude Opus 5.5 wins 17 tasks
Rankings shift with time budget
Long vs short horizon
Best-of-four TTS at equal GPU-hours
102.6% on operators, 77.3% on systems
Model-dependent benefit
Knowledge discovery
Quant-VideoGen KV Codec case study
Compression 6.75x to 20.89x on WorldScore
Better PSNR, SSIM, LPIPS than human codec
Agent behavior barriers
Task violations passing public tests
Unreliable or misdirected performance tests
Premature completion declarations