Self-Improving Memory Allows Continuous Recursive Self-Improvement

Latest 0 views

Researchers from Google Cloud AI, Google DeepMind, and The Pennsylvania State University test Self-Improvement Memory for continual recursive self-improvement of AI agent harnesses. The method records why edits were made, predicted and observed outcomes, and evaluation context. This searchable history helps later optimizers reuse experience when models or benchmarks change. In coding and cross-domain tests, it often raised final scores, though gains depend on compatible interfaces and matched budgets.

Key Takeaways

  • A Google Cloud AI/DeepMind/PSU team tests Self-Improvement Memory (SIM) for optimizing agent harnesses under Continual Recursive Self-Improvement, keeping model weights frozen while evolving prompts, checks, and evaluation logic.
  • SIM preserves more than code: it records grouped optimization history, including problem rationale, predicted vs. observed outcomes, and evaluation context, so later optimizers can reuse experience instead of starting from current patches alone.
  • In cross-domain tests, full SIM beat harness-only and root-cause-only continuation in six cross-dataset and four Opus-to-Gemini comparisons; in coding, it improved 9 of 10 paired runs by a mean 2.36 score points, p = 0.003.
  • The authors frame SIM as a conditional transfer aid, not a guaranteed improvement, noting limits such as compatible execution interfaces, limited runs per condition, and unmeasured token/runtime costs.

A research team from Google Cloud AI, Google DeepMind, Google Cloud AI Research, and The Pennsylvania State University is testing Self-Improvement Memory (SIM) for agent harness optimization. The paper is available at https://arxiv.org/abs/2611.18856 and asks a narrow but practical question: when a model or benchmark changes, what part of a long optimization history should be carried forward? The answer is to keep more than the edited code.

Self-Improving Memory Allows Continuous Recursive Self-Improvement

Background: Why Harness Code Is Not Enough

Agent harnesses are the surrounding software that helps a task-solving model perform work: prompts, checks, and evaluation logic. After many optimization rounds, code seems like the obvious thing to reuse. Yet code alone often hides the reason a check was added, what a prompt change was meant to repair, or which earlier edits failed. That missing rationale can matter when a later optimizer must decide what to preserve and what to revise.

The team frames this problem within Continual Recursive Self-Improvement (CRSI), a setting in which an agent harness is repeatedly improved over time. The task-solving model's weights remain frozen. The optimization process changes the harness and its history, not the underlying model.

Development: How SIM Stores Optimization History

SIM groups harness edits by the problems they address. For each group, it records the rationale behind the edit, the predicted outcome, the observed outcome, and the evaluation context. That structure turns a sequence of patches into a searchable record of what was tried, why, and what happened.

Both the component that proposes edits and the component that selects them read this history. As optimization continues, new attempts extend the record instead of replacing it. The design is meant to make the optimizer's choices depend on accumulated experience rather than on the current code alone.

The evaluation starts from the same source-evolved harness in each comparison. The setup matches target tasks, policy, optimization rounds, and candidate budgets across conditions. The paper compares full SIM with harness-only continuation and root-cause-only continuation.

Latest Results: Cross-Domain and Coding Benchmarks

Across four domains, full SIM achieved higher final scores than harness-only and root-cause-only continuation in the six cross-dataset comparisons and the four Opus-to-Gemini comparisons tested. The paper's images show the overall idea and the coding results, including one negative pair.

The coding evaluation is more detailed. The team ran ten independent coding source optimizations, each followed by paired continuations with and without SIM. SIM finished ahead in nine of the ten pairs. The mean gain was 2.36 score points, with a 95% confidence interval: 1.05–3.68 and p = 0.003.

The authors also note limits. The setting requires compatible execution interfaces. Most main cross-domain comparisons use one run per condition, and matching optimization rounds does not mean equal token or runtime cost. The results support carrying optimization history into continued search, but they do not guarantee improvement on every transfer. The authors say they are open to discussing the setup and how others preserve this kind of experience.

Current Stage: A Transfer Aid With Conditions

The paper positions SIM as a method for preserving optimization experience across model and benchmark changes, not as a guarantee of improvement. The practical signal is that recorded rationale and failed attempts may help later search decisions, especially when the new optimizer faces similar problems.

The next question is what to watch in further evaluation: whether the gain holds when interfaces differ, when costs are matched more tightly, or when transfer targets are less similar to the source optimization. The current evidence suggests that optimization history can be useful, while also showing that the result is not automatic.

Meta: Google DeepMind team tests Self-Improvement Memory for agent harnesses, reporting a mean coding gain of 2.36 score points across ten optimizations.
Tags: Self-Improvement Memory, Google DeepMind, Agent Optimization, CRSI, arXiv
Featured image: abstract digital memory threads connecting code blocks, cool blue and violet tones, no text or logos.

Tags: Google DeepMindrecursive self-improvementSelf-Improvement MemoryAI agent harnessoptimization history

Comments

No comments yet. Be the first to comment.

Leave a comment