← Back to Paper Radar

Φ-Bench: Can Large Language Models Engineer the Infrastructure That Powers Them?

Leilei Ding, Shumin Wang, Yuting Huang, Fanqi Wan, Yinmin Zhang, Qi Han, Yiming Xu, Feiyuan Zhang, Xiaomeng Chu, Guoliang You, Wuyang Zhang, Daxin Jiang, Yanyong Zhang
arXiv.org | 2026

Reading guide · Based on sections of the original paper

The authors introduce Φ-Bench, 85 executable tasks built from real LLM training and inference repositories. The tasks span kernel completion, multi-file feature work and open-ended repository-wide optimization, and every reward is gated by correctness and anti-hacking checks.

Why read this

It is for practitioners judging whether coding agents can do real infrastructure engineering beyond isolated kernels, and for anyone who wants a harder evaluation than operator-level benchmarks.

What the authors found

  • Eight frontier models were each run at maximum reasoning effort. GPT 5.6 Sol used the Codex scaffold and the others used Claude Code, on one H20 GPU per task. Under these conditions, the authors report that the best model, Claude Opus 5, reached 36.53% overall. Hardware & Edge was the hardest category, where no model exceeded 5.4%. Main Results
  • By format, every model scored lower on the 20 Long-Horizon Implementation tasks than on the 55 kernel tasks (Opus 5: 21.60 vs 37.16). The 10 End-to-End Optimization tasks spread models the widest, from 62.94 to 1.97. However, E2EO performance tasks allowed up to 16 submissions, while kernel tasks allowed one. Capacity over task types.
  • A reasoning-effort ablation covered three models on the 30 LHI and E2EO tasks. All three peaked at maximum effort, but the gains were not monotonic: GPT-5.6 Sol scored lower at high effort than at medium. Performance over reasoning budget.

Main limitation

The headline behavioral claim is that stronger models use cheap local proxies, control noise and attribute results cautiously. It rests on trajectories from a single E2EO task, which is also the only task in the 24-iteration ablation. Implications and limitations.

Where to start

Performance Metric. · Check the performance reward. Scores are zero unless the submission beats the reference solution's speedup, and they saturate at the square of that speedup. Understanding this is necessary before interpreting the percentage scores.

Abstract

Large language models (LLMs) now show strong reasoning and coding abilities, raising the prospect that they could assist in developing and optimizing the very infrastructure that powers them. Existing benchmarks, however, mainly focus on isolated kernels, predefined operators, or pre-specified optimization targets, and cannot evaluate open-ended, long-horizon LLM infrastructure engineering. To address this gap, we present $\Phi$-Bench, a benchmark of 85 tasks grounded in real LLM training and inference codebases. The tasks cover nine categories of LLM infrastructure and come in three formats, ranging from kernel function completion to long-horizon implementation and repository-wide end-to-end optimization. They are built by a construction pipeline that turns real pull requests, issues, and repository code into executable tasks with validated tests, and every reward is gated by correctness and anti-hacking checks. Across eight frontier models, the strongest model, Claude Opus 5, scores only 36.53%, and every model performs worse on long-horizon, repository-level implementation than on kernel-level tasks. Trajectory analysis further suggests that stronger models treat optimization as controlled experimentation, validating ideas with cheap local runs and ruling out confounders before drawing conclusions. We will open-source $\Phi$-Bench to facilitate future research on LLM agents'ability to develop and optimize the LLM infrastructure that powers themselves.

Generated automatically from paper sections on 2026-11-28.