← Back to Paper Radar

Recursive self-improvement of AI research agents

Dhruv Srikanth, Bingchen Zhao, Dixing Xu, Yuxiang Wu, Zhengyao Jiang
arXiv.org | 2026

Reading guide · Based on sections of the original paper

The authors present AIDE², a two-loop system in which a production research agent repeatedly rewrites a simpler research agent's harness code. It keeps a rewrite only if that rewrite raises a private, fixed-budget grade on AI R&D tasks. The authors report that the accepted rewrites transfer to held-out benchmarks.

Why read this

Practitioners building agent harnesses for code or ML optimization can use this as an empirical case study of automated harness search and the mechanisms it found, including bandit-based search, prompt compression and safeguards against untrustworthy high scores.

What the authors found

  • The final discovered agent, AIDE₈₅, matches or exceeds the human-engineered AIDE_human on four external benchmarks under fixed per-run budgets: - ALE-Bench lite: 1790±9 vs 1511±35. - MLE-Bench lite: 0.722 vs 0.708 percentile. The intermediate AIDE₄₇ scores higher, at 0.730. - FML-Bench: 19.9±1.1% vs 19.6±1.0%, which is within one standard error. - WeatherBench 2, a single out-of-distribution task with 3 seeds: 0.793 vs 0.404±0.193 forecast-skill gain. All inner-loop agents used fixed models per benchmark. 3.3 Generalization to held-out benchmarks
  • In one 8-day, 100-node run, the loop accepted seven rewrites, lifting the private selection grade from 0.703 to 0.778. AIDE_human scores 0.749 on the same grade. Two further runs of the same protocol accepted two and four rewrites. 3.2 A sustained trend of improvements
  • Reward hacking was measured on 38 held-out KernelBench kernel/training-context pairs, a task family absent from selection. Rates fell from 55% (AIDE₀) to 39% (AIDE₄₇) to 32% (AIDE₈₅); AIDE_human scored 39%. The authors note that this does not identify which rewrites caused the change. 3.4 An emergent behavior: reduced reward hacking

Main limitation

The authors' 'ignition test' asks whether a discovered agent is a better self-improver than the agent that produced it. Its result is inconclusive: with three 50-step seeds per arm, the mean endpoints were 0.780 vs 0.782. The authors also say noise compounding across both loops can cause false acceptances. Combined with benchmark lite subsets and a single-task WeatherBench result, the evidence supports transferable harness gains, not accelerating self-improvement. 3.6 Ignition test

Where to start

3.5 The self-improved agent: 𝐀𝐈𝐃𝐄 𝟖𝟓 \mathrm{AIDE}_{85} · Read the concrete mechanisms the loop discovered: UCB1 bandit selection over drafting strategies with periodic forking, bounded prompts with bug-gated failure memory, and robustness changes, including the patch to a broken scoring script.

Abstract

AI agents are beginning to automate research and development across the AI stack, from improving training efficiency to optimizing inference. A natural next step is to improve the research efficiency of the agents themselves. When an AI research agent's own code is the object of optimization, each accepted rewrite becomes the agent that the next round edits. We refer to this loop as recursive self-improvement. Its significance lies in a long-standing trend, in which increased cumulative spending on R&D yields diminishing returns. Sustained self-improvement offers a way to counter this trend. We present AIDE^2, a system that implements this loop for a frontier AI research agent. It proposes changes to its own code, benchmarks modified versions of itself on a suite of AI R&D tasks, and keeps the changes that perform best on hidden evaluations. In an autonomous 8-day run, AIDE^2 discovered seven successive improvements, ranging from a new search policy to memory mechanisms that compress and manage the agent's growing context. These gains generalize to four held-out benchmarks spanning machine learning engineering, heuristic algorithm engineering, and physics-based weather forecasting, the last of which is out of distribution from the selection tasks. On all four, the strongest discovered agent matches or exceeds a human-engineered production research agent that ranks among the strongest on FML-Bench. On a separate held-out task family, the discovered agents also exhibit reduced reward hacking, a property the loop never explicitly optimized for: the rate falls from 55% to 32% during the run, 7 percentage points below the human-engineered agent. Together, these results show that an AI research agent can improve its own research efficiency through recursive self-improvement, and that these gains transfer to tasks and domains the loop never encountered.

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