Preprint says memory lifts a self-improving AI's coding scores

In short

The problem: an optimiser that forgets why

An AI agent is a model plus a harness, the code that manages its context, tools and execution. The paper notes that improving the harness "can raise performance without updating model weights". Recent systems automate that work: an AI proposes edits to the harness, tests them, and keeps the good ones. The paper calls this recursive self-improvement (RSI) and studies a narrow version of it.

The trouble starts when something changes: a new benchmark or a new model. The evolved harness can then be a worse starting point than the plain one. In the authors' workspace experiment, a harness evolved with Claude Opus 5.5 scored 68.41 when first run on Gemini 3.8 Flash, below the unevolved seed harness's 73.89. In text classification, a harness evolved on a three-dataset suite started at 72.92 on the eight-dataset target suite, against 75.72 for the seed. The harness alone does not say why each edit was made or how it performed.

What does the memory do for a self-improving AI?

The authors call the setting Continual Recursive Self-Improvement (CRSI): keep optimising after the benchmark or the policy model changes, as long as the harness still runs. SIM is a memory for the optimiser, not for the task-solving model. It groups edits by the recurring harness problem they address and records each edit's rationale, its predicted and observed outcomes, and the evaluation context (model, benchmark, round). New attempts are appended, so the optimiser can decide which inherited edits to keep, revise, replace or remove.

In our words: a notebook that travels with the evolved harness, so the next round of edits starts with the reasons and the results of the earlier ones.

The numbers

All scores are on a 0-100 scale. In every run the optimiser used 10 rounds with 5 candidate edits per round, and the policy weights were frozen.

Two details keep the picture honest. First, the 2.36 points sit on a low base: the coding scores are about 18 to 22 on the held-out Terminal-Bench 4 tasks. Second, a better source harness did not guarantee a better target start. Source optimisation raised the held-out source scores by 2.75 to 6.41 points in all six dataset settings, yet the FewShotAll harness still started below the seed. Harness-only continuation also still finished below a fresh start in three of the four model-change domains. The authors say SIM helps; they do not say transfer is guaranteed.

The paper also tests a stripped-down memory that keeps only the root causes. It had mixed effects: from 1.82 points below harness-only continuation to 2.40 above it in the dataset changes. The authors conclude the edit history and evidence matter beyond the diagnosis alone.

What is recursive self-improvement?

The idea is old. In an essay on "the first ultraintelligent machine" (Advances in Computers, volume 6; Crossref dates the volume 1966, commonly cited as 1965), the mathematician I. J. Good is usually credited with the "intelligence explosion" argument: a machine that can improve its own design could set off a runaway. We did not read the essay, so we do not quote it.

What current papers actually do sits much lower on a ladder (our framing):

The Darwin Godel Machine, by Jenny Zhang, Jeff Clune and colleagues, is another harness-level example. Its authors say it iteratively modifies its own code and validates each change on coding benchmarks, and report SWE-bench performance rising from 20.0% to 50.0% (arXiv 2505.22954). SIM is not a step up that ladder. It is a way to stop an existing harness-level optimiser losing its history when the model or the benchmark is swapped. Nothing here shows a system improving its own model, and the SIM paper does not claim it.

Limits the authors state

Terms in plain English

Where things stand

The authors list longer sequences of transitions, more repeated runs, and adapting the optimiser's own planning and tool interfaces as future work. This is a preprint, and the v1 results above have not been independently checked.

Sources

Sources

Related stories

More from Teach the Bot

All stories from Teach the Bot