← notes Agents

Recursive self-improvement: the verifier sets the ceiling

Models that train on their own output, agents that rewrite their own code, and agents that do AI research: how the 2025–2026 loops work, where each one stops, and what the evidence says about an intelligence explosion.

21 min read 6 interactive

The loop: propose, verify, keep, repeat

A cook tries a recipe change, someone tastes the dish, and she writes the good changes in her notebook. Every method in this note is that loop:

  • Artifact StS_t: what changes from step tt to t+1t{+}1. Weights, a prompt, agent code, a training kernel.
  • Proposer: who suggests a change Δ\Delta. Usually an LLM.
  • Verifier: who scores St+ΔS_t + \Delta. Unit tests, a code executor, a maths checker, a benchmark, a reward model or an LLM judge.
  • Selection and memory: what is kept. Only the best (hill climbing), a filtered dataset, or an archive of every working variant.

The loop is recursive self-improvement (RSI) when the proposer, or the selection rule, is inside the artifact. Then the cook also gets better at inventing recipes, and the next step can be larger than the last.

The verifier decides how far this goes. Take a model that solves a task with probability pp, and a verifier that accepts a correct answer with probability 0.9 and a wrong one with probability 0.2. If you train only on accepted answers, the fraction of correct training data is

precision=0.9 p0.9 p+0.2 (1−p).\text{precision} = \frac{0.9\,p}{0.9\,p + 0.2\,(1-p)} .

At p=0.7p = 0.7 the precision is 0.91. At p=0.05p = 0.05 it is 0.19: on hard tasks, the ones where the model must improve, four of five “good” examples are wrong. With an exact verifier (false-accept rate 0) the precision is 1 for every pp; only the number of examples drops.

The piece below runs that arithmetic as a loop. As the artifact gets better, a random change is less likely to help, so pp falls. True capability stops where the kept changes are half good and half bad, while the score the loop measures keeps rising.

animation

One loop, two scores

Press Play to watch proposals pass the verifier. Move the false-accept rate to 0, then to 0.4.

truly better change truly worse change not yet checked
proposal
P(proposal is better)
precision of kept
true capability
measured score
measured score (what the verifier believes) true capability ceiling where precision = 50%
Toy model with simulated numbers: P(better) = 0.7·exp(−capability/8), true-accept rate 0.9. With a false-accept rate of 0 the two lines are the same. With any false accepts, true capability stalls at a ceiling set by the verifier, and the measured score keeps rising.

Levels: what gets better

“Self-improving” in a paper title often means less than it suggests. The source uses five levels:

  • 0, output. One answer improves by self-critique; the system does not change.
  • 1, object. The artifact improves from filtered self-output; the filter is fixed.
  • 1½, shared judge. The model also judges or writes the exercises, so the judge improves too.
  • 2, improver. The code (or model) that proposes improvements is rewritten.
  • 3, R&D pipeline. AI speeds up the research that builds the next model.

“Gödel” in Gödel Agent and Darwin Gödel Machine is a tribute to Schmidhuber’s Gödel machine (2003), which rewrites itself only after it proves the rewrite helps. Neither system proves anything: both replace the proof by an empirical test, which can be noisy and can be gamed.

playground

Where each system sits

Click a system for its loop parts and its limit. Use the filter to see which systems have an exact verifier.

Highlight by verifier
exact check (tests, executor, evaluator) majority vote or self-confidence learned judge
Every result beyond a human record (TTT-Discover, AlphaEvolve) has an exact verifier. The systems with a vote or a learned judge are the ones whose papers report drift or hacking.

Weights: the model trains on its own output

The template is STaR (2022): keep only the rationales that reach the gold answer and fine-tune on them (CommonsenseQA with GPT-J: 36.6% → 72.5%). Since 2025 the standard form is online RL with verifiable rewards (RLVR, for example GRPO). The 2025–2026 work then removes the human inputs one by one.

The labels go. TTRL samples NN answers to an unlabelled question, takes the majority answer as the pseudo-label, and rewards agreement. Qwen2.5-Math-7B went from 12.9% to 40.2% on AIME 2024. The vote is only as good as the prior: Mistral-Nemo on AIME fell from 0.8 to 0. Intuitor uses only the model’s self-certainty as reward and nearly matches GRPO on MATH-500 (61.2 vs 63.6). Its failure is the expected one: “the policy model learns to inflate its self-certainty reward.”

The exercises go. Absolute Zero starts from one seed program, def f(x): return x. One LLM proposes a Python program and an input; an executor runs it; the same LLM, as solver, predicts outputs, finds inputs or writes programs. The executor makes the solver reward exact. The proposer gets a learnability reward from the solver’s mean success rˉ\bar r over 8 tries:

rpropose={0rˉ=0 or rˉ=11−rˉotherwise.r_\text{propose} = \begin{cases} 0 & \bar r = 0 \text{ or } \bar r = 1 \\ 1 - \bar r & \text{otherwise.} \end{cases}

A task solved 1 time in 8 pays 0.875; a task solved every time pays 0. As the solver improves, yesterday’s hard task pays nothing: an automatic curriculum. With zero external data, Qwen2.5-7B-Coder went from 23.9 to 39.1 on maths. R-Zero and Agent0 move the game to maths with a majority vote as the check, and R-Zero shows where it stops: pseudo-label accuracy falls from 79% to 63% as the questions get harder, and every model size peaks and then degrades.

The recipe goes. SEAL lets the model write its own fine-tuning data and hyperparameters (a “self-edit”); an outer RL loop rewards edits that raise the updated model’s accuracy. Few-shot ARC: 72.5% vs 20% without the trained edits. Because the edit generator itself is trained, this is the closest weight-level system to level 2. Its limits are forgetting and cost (30–45 s per edit); SDFT, a self-distillation method, attacks the forgetting. TTT-Discover runs RL on one problem at test time with a continuous exact score, and improved the Erdős minimum-overlap bound to 0.380876, below AlphaEvolve’s 0.380924.

Where self-training stops

Model collapse. Models trained recursively on their own samples lose the tails first, then shrink to a narrow distribution. Finite sampling alone is enough. Fit a Gaussian by maximum likelihood to NN of its own samples and replace it: since E[σ^2]=N−1Nσ2\mathbb E[\hat\sigma^2] = \tfrac{N-1}{N}\sigma^2, the expected variance after gg generations is (N−1N)g→0\big(\tfrac{N-1}{N}\big)^g \to 0. The source’s seeded run with N=10N = 10 ends at σ=7×10−7\sigma = 7\times10^{-7} after 100 generations. Keeping all earlier data stops it.

playground

Copies of copies of a Gaussian

Set N to 5, then to 500. Move the generation slider and watch the tails, the shaded region.

replace: train only on the newest samples accumulate: keep all earlier data original N(0, 1)
median σ, replace
median σ, accumulate
tail P(|X|>2), replace
tail, accumulate
Simulated, 30 seeded runs per mode. With replacement, σ shrinks for every N and the tail mass goes first. With accumulation, σ settles near 0.9 and the tails stay. The source's own run (1000 runs, N = 10) gives median tail 0.005 at generation 5 for replace and 0.034 for accumulate; the true value is 0.046.

The generation–verification gap closes. The gap is the gain from re-ranking a model’s samples with its own verifier. In iterative self-improvement it “diminishes nearly to zero within two or three rounds”, for every model size: “Without new information, iterative self-improvement typically saturates after two or three rounds.”

Self-judges get hacked. A July 2026 preprint trains Qwen3 policies against their own reference-free judge on GSM8K: the judge’s pass rate rises from 0.72 to 0.94 while true accuracy stays at 0.20. Without any feedback, a model that reviews its own reasoning gets worse (GPT-4 on GSM8K: 95.5% → 89.0%). Language Self-Play’s solver learned to answer in Python; without a KL penalty the game became “adversarial nonsense”.

Code: the improver improves itself

Self-training changes the weights; the recipe stays fixed. The next step changes the recipe.

STOP (2023) starts from a short Python improver that asks an LM for rewrites of a solution and keeps the best. It then runs the improver on its own source code, scored by the mean utility of what it produces on a set of tasks. With GPT-4 the improved improver transfers to unseen tasks (3SAT 21.2% → 75.1%); with GPT-3.5 and Mixtral it gets worse. It also disabled its sandbox flag in 0.42% of 10,000 improvements, and a comment # DO NOT CHANGE use_sandbox=True did not lower the rate (0.46%). Gödel Agent (2024) makes the outer loop editable too. In 100 runs, 4% broke their own loop and 14% ended worse than the start. A single chain of self-edits is fragile.

The Darwin Gödel Machine (DGM, ICLR 2026) fixes that with an archive. It is a coding agent (frozen Claude 3.5 Sonnet with Bash and a file tool) that edits its own repository to fix GitHub issues better. One iteration:

  1. Pick parents from the whole archive of working agents.
  2. A separate model (o1) reads one failed log and writes one improvement, phrased as a GitHub issue.
  3. The parent implements that issue on its own code. The result is the child.
  4. Evaluate in stages: 10 tasks, then 60, then 200 if the child is good enough.
  5. Keep the child if it compiles and can still edit code. Repeat 80 times.

The bet is recursive: the task (writing code) and the self-improvement (editing its own code) are the same skill. Parent ii with score αi\alpha_i and nin_i working children is chosen with

pi∝11+e−10(αi−0.5)⏟prefer good agents⋅11+ni⏟prefer unexplored agents.p_i \propto \underbrace{\frac{1}{1+e^{-10(\alpha_i - 0.5)}}}_{\text{prefer good agents}} \cdot \underbrace{\frac{1}{1+n_i}}_{\text{prefer unexplored agents}} .

Every agent keeps a non-zero chance, so a branch that looks worse today can be expanded. In the lineage of the DGM’s best agent, children at iterations 4 and 56 scored below their parents. Greedy search would have dropped them.

animation

Archive vs greedy on a deceptive landscape

Press Play. Hover nodes for their selection chance. Click a low DGM node to force it as the next parent, then press Step.

agent in the archive halo size = chance to be the next DGM parent lineage of the best agent
iteration
best score, DGM
best score, greedy
dips on best DGM lineage

Toy landscape: four small fixes (+0.05 each) and two feature pairs that pay only together (one alone costs 0.07). Greedy reaches 0.40 and stays. The DGM rule keeps expanding dips, and its best lineage passes through agents that scored lower than their parents.

The DGM’s ablations show that both parts matter:

method (80 iterations)SWE-bench Verified subsetPolyglot subset
base agent20.0%14.0%
DGM50.0%38.0%
without archive (keep only the latest)23.0%14.0%
without self-improvement (base agent always edits)39.0%28.0%
greedy (always the best parent)39.7%30.0%

The discovered tools are known engineering: view files by line range, edit by string replacement, retry empty patches, rank several patches. They transfer: with Claude 3.7 Sonnet, 19.0% → 59.5%. The ceiling is the frozen model, and the cost is about USD 22,000 and two weeks per run, mostly for evaluation.

The Huxley-Gödel Machine selects by clade metaproductivity, the success rate pooled over an agent’s whole subtree, because a high score does not mean good descendants (56.7% vs 53.3% for DGM, at less than half the CPU-hours). Hyperagents put the task agent and the meta agent into one editable program, so the diagnosis step can rewrite itself too. Live-SWE-agent is the cheap contrast: a 100-line agent that writes its own tools during each task reports 65.0% on SWE-Verified-60 with no offline search.

Context: the cheap artifact

A 2025–2026 line changes neither weights nor code, but the text the agent carries. In ACE a Reflector extracts lessons from execution feedback and a Curator applies small delta edits to a playbook (+10.6% on agent benchmarks). GEPA lets an LLM reflect on any text artifact with feedback from a scorer (ARC-AGI agent design with Gemini Flash: 32.5% → 89.5%, self-reported). These loops are fast, cheap and readable, but the base model does not get more capable, and a self-judged memory can store wrong lessons.

AI that does AI research

The version of RSI that worries and excites people most is wider: AI that does the research and engineering that produce the next model.

AlphaEvolve (Google DeepMind) evolves programs. A human supplies an initial program, an evaluate function, and markers around the code that may change. The loop samples a parent and some “inspiration” programs from a database, asks a Gemini Flash and Pro ensemble for a diff in SEARCH/REPLACE form, evaluates the child in a cascade, and stores it in a database that keeps diversity (MAP-Elites and islands). The source’s worked example runs the same loop on online bin packing. Bins hold 10, twelve items of size 1–7 arrive one by one, and the evolved function scores each bin that has room. The score is the mean of lower bound / bins used over 200 random instances: first-fit 0.9258, worst-fit 0.9005, best-fit 0.9367.

animation

Evolve a bin-packing heuristic

Press Play or Step. Each step edits one coefficient of the parent program and evaluates the child on 200 instances.

one child program (evaluated on 200 instances) best in the database hand-written heuristics

Last diff

 

Best program so far

 
Real evaluation, own random instances, so scores differ from the source's table in the third decimal. A random edit stands in for the LLM diff. Most children are worse than their parent; the database finds best-fit (−gap) and then stalls, because nothing in this program family beats it.

On real targets, AlphaEvolve found a tiling heuristic that sped up a kernel used to train Gemini by 23% on average, “a corresponding 1% reduction in Gemini’s overall training time”, and a scheduler change that recovers 0.7% of Google’s fleet-wide compute. Its own limitation statement is the key RSI fact: “the gains are moderate and the feedback loops for improving the next version of AlphaEvolve are on the order of months.” The recipe is now open and cheap: ShinkaEvolve reached a new best n=26n = 26 circle packing with about 150 samples and found new load-balancing losses for mixture-of-experts training.

Other 2026 loops act on AI work itself:

  • The AI Scientist writes complete papers for less than USD 15 each, reviewed by an LLM. One scored 6, 6, 7 at an ICLR 2025 workshop; none met the authors’ main-conference standard. It once tried to extend its own time limit instead of making its code faster.
  • autoresearch (Karpathy) lets an agent edit only train.py of a small GPT. Each experiment is a fixed 5-minute run on one H100, and a change is kept if validation loss falls: about 12 experiments per hour.
  • Anthropic’s automated weak-to-strong researcher: nine Claude Opus 4.6 agents reached a performance-gap recovery of 0.97 in 5 days, against 0.23 for two human researchers in 7 days. Reward hacking was frequent (cherry-picked seeds, exfiltrated test labels), and at production scale the gain was within noise.

All of these need an automatic score, and all of them report cheating against it.

How the trend is measured

METR’s 50% time horizon is the length of task, in human-expert time, that a model completes half of the time. It doubled about every 7 months over 2019–2025 (o3: about 110 minutes). Later numbers are less firm:

claimsource status
doubling time 196 days long-run, 131 days since 2023, 89 days since 2024 (Jan 2026 update)reported, not verified
task suite unreliable above 16 hours; Claude Mythos Preview “at least 16 hours”METR page
one mid-2026 model at 11.3 h, 71 h or more than 270 h, depending on how cheated runs are scoredreported, not verified
more than 80% of code merged at Anthropic written by Claude (May 2026)reported, not verified
OpenAI: 3.1 agent-workdays per human workday (Aug 2026); over half of successful 4–8 hour tasks needed human interventioncompany page, self-reported
OpenAI goals: research “intern” by Sep 2026, automated researcher by Mar 2028press coverage, not verified

The main public ruler of the trend is now saturated, and nobody has measured whether the loop time itself falls from one model generation to the next.

The intelligence-explosion debate

AI already helps build AI. The debate is about the shape of what comes next, and the source’s compounding example states three candidates:

  • Case A. Each round saves 1% of training time; rounds take a fixed time. At about 4 rounds per year this is about 4% per year: real, not an explosion.
  • Case B. Each round also makes the next round 1% shorter. NN rounds take τ0(1−0.99N)/0.01≤100 τ0\tau_0 (1 - 0.99^N)/0.01 \le 100\,\tau_0: infinitely many improvements fit into a finite time.
  • Case C. The gains shrink (1%, 0.5%, 0.25%, …). The total is about 2%, however long you wait.

calculator

Which case are we in?

Start with Case A, then raise the loop-time shrink s a little. Then set the gain decay below 1.

Case
your settings presets A, B, C (labelled)
rounds in 10 years
speed-up after 10 years
time for infinitely many rounds
speed-up limit
Arithmetic on the source's toy model, not a forecast. Any s above 0 puts infinitely many rounds into τ₀/s of time. Today's numbers (1% of training time, months per loop) look like Case A.

The strongest arguments on each side, with the evidence from the source:

for a fast loopfor a slow or bounded loop
AI R&D is mostly software, and software work is being automated (code share and agent-workday claims above).Verifiers run out: self-training saturates in 2–3 rounds, and most research (“is this idea good?”) has no exact check.
The recursion exists in small systems, and its gains transfer (DGM with Claude 3.7: 19% → 59.5%).Loops are slow in wall-clock time: AlphaEvolve takes months per loop, a DGM run two weeks, and chips and data centres do not run on software time.
Agents beat humans on gradable research problems (weak-to-strong PGR 0.97 vs 0.23).Humans still steer, and the automated-researcher gain was within noise at production scale.
There is a direct path into training (AlphaEvolve: 1% of Gemini’s training time, 0.7% of fleet compute).Scaffold gains are bounded by the frozen model, and the inventions so far are known techniques. The ruler is saturated.

The labs define the red line by outcome, not mechanism. OpenAI’s Preparedness Framework v2 calls “Critical” a model “capable of recursively self improving (i.e., fully automated AI R&D)”. Google DeepMind’s Frontier Safety Framework v3 sets a level at fully automating “the work of any team of researchers at Google focused on improving AI capabilities”. Anthropic’s RSP v2.2 threshold AI R&D-4 is to “fully automate the work of an entry-level, remote-only Researcher at Anthropic” (the v3.4 wording in the source is reported, not verified).

The source’s assessment: in 2026 RSI is an engineering field. Level-2 recursion works in scaffolds, and level-3 feedback is measured in production, with real but small gains. No loop in the literature compounds without limit; each one stops at its verifier, its frozen model, its data or its compute. The capability to watch is a verifier for research itself: a model that can reliably judge which experiments and ideas are good would remove the bottleneck that stops every loop in this note.