Self-Improvement Memory Enables Continual Recursive Self-Improvement

Xin Yu, Fei Xia, Jiaqi Pan, Youbao Tang, Chengzhi Liu, Adams Yu, Sicong Jiang, Yanfei Chen and 2 others

Google Cloud AI · Google DeepMind · Google Cloud AI Research · The Pennsylvania State University

Published November 13, 2026 · on the feed November 18, 2026 · ▲ 38 · arXiv 2611.18856

AgentsTheory & statistics No code arXiv ↗Hugging Face ↗

The abstract

Harness optimization is often studied with a fixed policy model and benchmark. When either changes, the optimizer must decide which parts of an evolved harness to reuse or revise, but the harness alone may not explain why earlier edits were made or how they performed. In this work, we study Continual Recursive Self-Improvement (CRSI), a setting for continuing existing harness-optimization methods across compatible benchmarks or policy models. We propose Self-Improvement Memory (SIM) for the harness optimizer, rather than the task-solving policy. SIM groups edits by recurring harness problem and records their rationale, predicted and observed outcomes, and evaluation context. New attempts extend this history as optimization continues. In our experiments across four domains, SIM achieves higher final scores than harness-only and root-cause-only continuation in cross-dataset and pairwise cross-model comparisons. Across ten independent source runs in coding, paired continuations with SIM improve final scores by an average of 2.36 points over harness-only continuation (p=0.003).

The Brief

1:47

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Self-Improvement Memory Enables Continual Recursive Self-Improvement. By Xin Yu and nine others, from Google Cloud AI, Google DeepMind, and two other institutions. Published on the thirteenth of November.

Harness optimization is usually studied with the policy model and the benchmark both held fixed. Change either one, and the optimizer has a decision to make: which parts of the harness it has already evolved should be reused, and which revised. The harness by itself may not help much with that. It shows what the edits are, but not why they were made or how they performed.

The authors name this setting Continual Recursive Self-Improvement, or CRSI: carrying existing harness-optimization methods forward across compatible benchmarks or policy models. Their proposal is Self-Improvement Memory, SIM, and the memory belongs to the harness optimizer, not to the policy that solves the tasks. It keeps the history behind the harness, not just the harness.

SIM groups edits by the recurring harness problem they address. For each, it records the rationale, the predicted outcome alongside the observed one, and the evaluation context. As optimization continues, new attempts extend that history, so the record grows with the work.

Experiments span four domains. There, SIM reaches higher final scores than two alternatives, continuing from the harness alone and continuing from root causes alone, in both cross-dataset comparisons and pairwise cross-model comparisons. In coding, across ten independent source runs, paired continuations with SIM improve final scores by an average of two point three six points over harness-only continuation, with a p-value of zero point zero zero three.

An evolved harness is the residue of many decisions, and on its own it is mute about them. SIM keeps the reasons, the expectations and the results next to the edits, so that when the benchmark or the policy model changes, the optimizer is not left inferring its own past from the artefact it produced.

The deep dive

6:48

A longer episode, written from the whole paper. Written and voiced by AI.

Transcript

Self-Improvement Memory Enables Continual Recursive Self-Improvement. By Xin Yu and nine others, from Google Cloud AI, Google DeepMind, and two other institutions. Published on the thirteenth of November. This is the long version: the whole paper rather than the abstract.

An LLM agent is two things: a policy model, and the harness around it that manages context, tools and execution. Improving the harness can raise performance without touching any weights, and recursive self-improvement automates that work, repeatedly proposing, evaluating and selecting harness edits from execution feedback. The trouble is that this optimization usually happens in one fixed setting, while models get replaced and tasks drift. Carry an evolved harness somewhere new and it can arrive worse than where it started. A harness evolved with Claude Opus, run on Gemini's workspace tasks, starts at sixty-eight point four one, below the plain seed harness at seventy-three point eight nine. The harness records what was built. It does not record why each edit was made, what it was expected to fix, or what happened when it was tested.

Two roles drive the optimization loop, and neither is the agent solving tasks. A proposer reads the current harness, the latest feedback and the run's history, and writes five candidate harnesses per round. A selector screens them, then chooses among the ones that ran, weighing performance, complexity, domain specificity and regression risk. Both are LLM harness engineers. Tasks are split into an evolve set and a held-out set, and only evolve-set feedback ever reaches them. The paper calls the continual version of this C R S I, and defines two forms. In cross-dataset continuation the policy stays fixed and the benchmark changes. In cross-model continuation the benchmark and its split stay fixed and the policy changes. Either way the harness must remain executable on the target. The memory proposed here belongs to the optimizer, not to the task-solving policy.

Self-Improvement Memory, or SIM, groups edits by the recurring harness problem they address. Each entry is a root-cause hypothesis, such as premature completion, followed by an ordered list of attempts. Every attempt stores the modification and its rationale, the predicted and observed task outcomes, and its provenance: domain, benchmark, policy and round. The predictions are the sharp part. Which tasks an edit should fix is written down before evaluation and checked afterward, so a fix that failed stays marked as failed.

Each round the proposer receives the complete memory in its system prompt, and the selector reads the same record. There is no retrieval and no truncation. Every proposal cites an existing root cause or names a new one, and the proposer itself decides whether a diagnosis matches; no separate similarity model is used. After selection only the chosen edit is appended, with its measured outcome even when it regresses. The prompt guidance tells the optimizer to check the setting behind each entry, revisit a tested direction only when new evidence justifies it, and trust task-specific evidence less when both benchmark and model have changed. Four conditions are compared with matched budgets of ten rounds and five candidates: Cold Start from the seed, Harness Transfer with no memory, Problem-Only Memory keeping just the root causes, and Full SIM.

Across six dataset transitions in coding, text classification, agentic workspace and engineering design, Full SIM finishes highest every time, between two point four three and four point three five points above harness transfer. Across model families the gaps widen: Full SIM beats harness-only continuation by three point six to eleven point three three points, while harness transfer alone still finishes below Cold Start in three of four domains. The comparison that best tests the thesis is Problem-Only Memory. Keeping the diagnosis without its history has mixed effects, from one point eight two below harness transfer to two point four above it, and Full SIM beats it in all ten settings. The history, not the label, is what helps. Finally, ten independent coding source runs each seed a pair of continuations, and SIM wins nine of the ten, by two point three six points on average.

The case studies show why. Both coding continuations inherit the same completion gate. With memory, the proposer reads why the gate exists and keeps it, adding a check that a feasible solution is not necessarily optimal. Without memory, the run edits the same gate four times, twice to repair completion deadlocks, and its rationale attributes the inherited gate to its own first round.

There is a short limitations section. Independent repetitions were only run in coding; every other domain has one run per condition, so most per-setting margins are descriptive, with no estimate of optimization variance. Only settings with compatible harness interfaces are studied, and the optimizer's planning and search stay fixed. SIM is tested as a complete package, inherited record plus target-side updates, so the two contributions are not separated. Beyond that, some margins are thin: on the NoMemory seed, Full SIM leads the strongest alternative by just zero point two, and Cold Start gains more there before finishing lower. Across Gemini generations, continuation beat fresh optimization in two of three transitions but finished zero point eight points lower on Gemini 4 Argon. Rounds and candidates are matched, yet token use and runtime may differ, and a full memory read without truncation each round is a cost the paper does not compare. Workspace scores also rest on an LLM judge.

The idea to carry away is that an evolved harness is an answer with its working removed. The paper's own line for the coding case is the right summary: the need for completion evidence carries over; what counts as sufficient evidence changes. Keeping the rationale and the measured outcome of every attempt, failures included, is what lets the next optimizer tell the difference between a requirement that still holds and an implementation due for revision.

Paper Quest · 7 chapters · about 42 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

An evolved harness is a gift with no instructions. Here is why that hurts.

You run an optimizer that improves the code around a language model agent: its prompts, tools and checks. Over many rounds it proposes, tests and keeps edits, and scores climb.

The road ahead

  1. 1 · The problem ~7 min An optimizer can evolve better code around an agent, but when the model or benchmark changes, the code alone may not show which inherited edits still help.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~9 min Give the harness optimizer its own memory: edits grouped by recurring problem, each with its reason, predicted and observed outcome, and context.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Build problem-grouped records during source optimization, carry them into the new setting, and keep appending attempts as optimization continues.
  6. 6 · The experiment ~7 min You’ll guess: Across ten coding source runs, by how many points on average did continuing with the optimizer's memory beat continuing from the evolved harness alone?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.