Xin Yu et al. (Google / Penn State)
Self-Improvement Memory Enables Continual Recursive Self-Improvement
AI agent 可以通过修改管理其提示词、工具与执行流程的软件来提升性能,而无需重新训练底层模型。本文提出自我改进记忆(Self-Improvement Memory,SIM),它保留以往软件改动背后的原因及其实测结果,从而使模型或任务分布发生变化时优化仍能继续。
译自英文 · 看原文
An AI agent can improve its performance by changing the software that manages its prompts, tools and execution, without retraining the underlying model. This paper introduces Self-Improvement Memory (SIM), which preserves the reasons behind previous software changes and their measured results so that optimization can continue when the model or task distribution changes.
Problem
Recursive self-improvement (RSI) typically optimizes an agent harness against a fixed model and benchmark. Transferring the resulting harness to a new setting does not necessarily transfer its benefits: a completion check, tool parser or retrieval strategy that works for one model or dataset may fail in another.
The final harness contains the implementation, but may not explain why a change was introduced, which failures it targeted, or whether those failures were actually resolved. Without this history, subsequent optimization can repeat unsuccessful attempts or remove useful mechanisms without understanding their purpose.
Method
The authors define Continual Recursive Self-Improvement (CRSI) as continued harness optimization after a change of benchmark or policy model, assuming a compatible executable interface. Cross-dataset continuation keeps the policy fixed; cross-model continuation keeps the benchmark and evaluation split fixed.
SIM accompanies the evolved harness into the next optimization stage. Unlike memory used by an agent to solve tasks, SIM is consumed by the agents responsible for improving the harness itself.
Implementation
Each memory entry represents a root-cause hypothesis, such as premature task completion. It contains a history of selected modifications, their rationale, predicted task-level improvements, observed outcomes, and provenance (domain, benchmark, policy model and optimization round).
The optimization loop works as follows:
The evaluator executes the current harness and collects scores, traces and errors.
The proposer reads the harness, run history and SIM, then proposes candidate modifications.
The selector screens candidates and chooses among evaluated modifications, considering performance, complexity, specificity and regression risk.
SIM records the selected modification and measured outcomes, appending to an existing problem or creating a new entry. Unsuccessful predictions are retained; if no candidate is accepted, SIM remains unchanged.
Optimization architecture
Conceptual diagram based on Sections 3.1–3.3 and Figure 2. The policy model remains frozen throughout.
Both proposer and selector read the complete memory. Held-out evaluation is excluded from optimization feedback.
Results
Experiments cover coding, text classification, agentic workspace and engineering design. The authors compare fresh optimization from the seed harness, transfer of the evolved harness alone, transfer with root causes only, and transfer with full SIM. The three transfer conditions share the same starting harness and optimization budget.
Setting · Reported final held-out score advantage
Six cross-dataset transitions · Full SIM exceeds harness-only transfer by 2.43–4.35 points
Same cross-dataset transitions · Full SIM exceeds root-cause-only memory by 0.20–6.06 points
Four Opus-to-Gemini transitions · Full SIM exceeds harness-only transfer by 3.60–11.33 points
Ten independent coding source runs · Mean paired advantage of 2.36 points over harness-only transfer; p = 0.003
The workspace experiment illustrates why continued optimization matters: the transferred harness starts at 68.41, below the new model's seed score of 73.89. After optimization, harness-only transfer reaches 73.42, whereas full SIM reaches 84.75.
Workspace transfer: held-out scores
Condition · Starting score · Final score · Gain
Harness only · 68.41 · 73.42 · +5.01
Full SIM · 68.41 · 84.75 · +16.34
Matched starting harness and optimization budgets; scores from Section 4.3.1. Gains are calculated from the reported endpoints.
Additional research findings
Limitations
The experiments assume compatible harness interfaces and fixed optimization procedures. Independent repetitions focus on coding; other domains use one optimization run per condition. SIM is evaluated as a combined procedure, so the effects of inherited memory and subsequent memory updates are not isolated. The complete memory is supplied without retrieval or truncation, leaving long-term scaling an open question.
The central contribution is to preserve the experience of improving an agent, not merely the improved agent implementation. The reported results support this approach under the tested transitions, rather than establishing that every future model or dataset change will benefit.
翻译:deepseek-flash
- 优化记忆可以提升目标任务表现,同时减少对先前已优化编码任务的性能回退
- 在固定轮次的适应预算下,优化记忆能更早达到更强的编码智能体运行框架
- 优化记忆在十个独立初始化的配对实验中有九个改善了编码智能体测试框架的适配
