arXiv(opens in a new tab)cs.AIAug 2026Cited by 17 papers on PaperVantageClassic Paper

Manuscript Offprint

arXiv:2608.20318

AI4AI-Bench: Benchmarking LLM Agents in Algorithmic Design for Recursive Self-Improvement

Yizhe Chi, Wenyi Li, Deyao Hong, Xiaoqiu Wang, Mingju Gao, Kaisen Yang, Bingxiang He, Youjie Zheng, Calvin Xiao, Qinhuai Na

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Abstract. Recursive self-improvement (RSI) asks whether an AI system can improve the process that produces AI systems, so that the next system inherits the improvement. That process is the training algorithm: a better objective or update rule improves the compute-capability exchange rate for every subsequent run, including the one that produces the next agent. Whether RSI is feasible therefore turns on whether an agent can design training algorithms. No benchmark isolates that ability: existing suites are won by collecting data or by tuning hyperparameters, and none tells a change to how a run is executed apart from a change to how the model learns. We present AI4AI-Bench, 10 frozen research repositories spanning 10 training algorithm families. In each task, an agent has 4 hours on one B300 to rewrite the training algorithm; its code is then rerun from scratch for up to 12 hours and scored by a fixed evaluator hidden from the agent, against the repository’s original algorithm under the same procedure. Because the 10 metrics are incommensurable, every task is mapped onto one scale on which 00 is an uninformative model, 0.10.1 is the algorithm the repository ships, and 1.01.0 is the task optimum. Across 29 configurations of 6 systems on all 10 tasks the mean score is 0.1660.166, and the best system reaches 0.2500.250: even the strongest closes under a fifth of the distance between the algorithm that was already there and the optimum. The submissions show where that distance went: most never change how the model learns at all, and the minority that do average 0.2260.226 against 0.1260.126 for the rest. More reasoning effort mostly buys the willingness to go there, taking that minority from 8%8\% of submissions to 64%64\% and the mean score from 0.0940.094 to 0.1960.196. We release the task suite, the evaluators and every scored submission, so that the measurement can be repeated as these systems change.

Figure 1: AI4AI-Bench at a glance. Top: the lifecycle every task runs through, drawn here with discrete graph diffusion as the running example. The repository, the model it starts from and the cheap proxy metric are frozen; the agent then has four hours on one B300 to read the code, change it, and test each idea against that proxy. What it leaves behind is a source-code patch and nothing else — no weights it trained, no cached state. The patch is applied in a fresh container and run from initialization for up to twelve hours, and at most the three most recent checkpoints are kept. An evaluator fixed before the first run, with no access to the agent’s workspace, scores them, and the cell takes the best of the three under the task’s direction; for the two tasks that do not train, the twelve hours are only a ceiling on the verification stage (§2.3). Bottom: the ten frozen repositories, chosen so that between them they cover ten distinct families of training algorithm, each shown with the final metric its own evaluator computes and the asset that metric reads (Table 1).

1 Introduction

Recursive self-improvement (RSI) rests on a loop: a system improves the process that produces its successor, and the successor inherits the improvement. Three levels in that loop can be automated by a coding agent — the Systems engineering level (kernels, parallelism, communication), the Data level (mixtures, synthesis, filtering), and the Algorithmic design level (objectives, update rules, regularization, schedules). Work on the Systems engineering level is bounded by the hardware it runs on, since once a kernel reaches the hardware roofline, further gains are no longer possible. Work on the Data level is bounded by a finite stock of human text [48], by synthetic corpora that largely re-express what the model already carries [45], and by a power law in which every further halving of the loss gap costs several times more tokens than the halving before it [26, 21]. Work on the Algorithmic design level is different in kind: a better objective or update rule changes the exchange rate between compute and capability [20], so every training run that follows — including the run that produces the next agent — inherits the gain. Adam, layer normalization, DPO and GRPO were each paid for once and have been earning since; if RSI is going to compound, most of the compounding has to come from this level.

No benchmark isolates that level. The Kaggle-derived suites ask for a competition submission —predictions over one fixed dataset — so what wins is feature engineering and ensembling while the learning algorithm stays a library call the agent never edits, and nothing in the submission is inherited by the next training run [4, 40]. PostTrainBench states its task end to end, post-training a base model against a released instruction-tuned checkpoint, and its largest levers are which data to assemble and what to initialize from rather than the objective [42]; RSIBench-Data makes that emphasis deliberate, freezing the post-training stack so that only data-centric decisions vary [36]. MLS-Bench comes closest, with 140 tasks in which an agent improves one component of an ML system [35], but the component boundary is handed to it and the score conflates execution-level improvements with changes to the learning algorithm. Closest of all is autoresearch, which hands the agent one training file and declares everything in it fair game, architecture and optimizer included [27]; but a five-minute run of a single script is not a research repository, and measured against classical optimizers the agent’s edits behave like hyperparameter search and lose to CMA-ES and TPE [18]. Editing source code is therefore not the same as designing an algorithm, and none of these settings answers the question the loop turns on: did the agent change how the run was executed, or how the model learns?

The line between the two is not the size of a change but what it touches: a hyperparameter is a number the training algorithm takes as given, an algorithmic change rewrites the algorithm — the loss it optimizes, the update it applies. The second kind is what a machine learning scientist does at an industrial training system. They read the training dynamics — the loss curve and where it spikes, gradient norms, the entropy of the policy, the divergence from the reference model, the distribution of advantages, the loss broken down by token — and infer from them which part of the algorithm is misbehaving: a policy whose entropy has collapsed, a penalty term that has come to dominate the objective, a reward model saturating on the easy half of its pairs. The diagnosis names a mechanism and the fix changes that mechanism.

In this paper, we propose AI4AI-Bench, a benchmark built to isolate the algorithmic design level. It includes 10 research repositories, each representing a distinct family of training algorithms — supervised fine-tuning, multi-turn agentic RL, on-policy distillation, Bradley–Terry reward modeling, preference optimization, diffusion RL, machine unlearning, discrete graph diffusion, weight averaging and one-shot pruning — and asks an agent to improve each repository’s own training algorithm, rather than to reach a target somebody else set. Every task carries the same contract. The agent has 4 hours on one B300 GPU to read the repository, change its training code, and test each idea against a fast proxy metric. When the 4 hours are up the agent stops, and the code it leaves behind is trained from a clean start for up to 12 hours. This is the asymmetry a machine learning scientist works under: an idea can be triaged in minutes, but the run that settles it takes a day. The data behind that final measurement is never available during the 4 hours: the agent may consult its proxy as often as it likes, but the evaluation that decides its score is out of reach, exactly as a held-out test set is out of reach of the development loop in any industrial training system.

Results. Across 29 configurations of six systems on all ten tasks the mean score is 0.1660.166 and the best system reaches 0.2500.250, on a scale where 0.10.1 is the algorithm the repository ships and 1.01.0 the task optimum. The submissions say where the remaining distance went. Of the 263 that change anything, 141 leave the learning procedure exactly as they found it and move budgets, checkpointing, hyperparameters and capacity instead. The 122 that do reach it — the objective, the supervision signal, the learning rule, the data — average 0.2260.226 against 0.1260.126 for the rest: the algorithmic layer is where the distance gets closed, and most submissions never go there. More reasoning effort moves agents towards it, taking that share from 8%8\% to 64%64\% and the mean score from 0.0940.094 to 0.1960.196, which is most of what effort buys. A machine learning scientist reads the training dynamics, names the mechanism that is failing, and changes that mechanism; few of these submissions do.

In summary, we make the following contributions:

  • A benchmark that isolates the algorithmic level. Ten research repositories spanning ten families of training algorithms, evaluated under a unified protocol that separates a four-hour agent development window from the up to twelve-hour clean-start training run used for scoring.
  • A measurement of what agents do, not only whether they win. Every submission is classified by what it changes, which is what turns “the agent improved the training algorithm” into a checkable statement rather than a restatement of the score.
  • Revealing a gap between algorithmic exploration and actual improvement. The algorithmic design level is where the distance to a better algorithm is closed and the one these agents reach least often, and more reasoning effort mostly buys the willingness to reach it.

References (55)