InquiryLoom

资料

Self-Improvement Memory Enables Continual Recursive Self-Improvement

复制链接

按 Ctrl+C(Mac 上 ⌘C)复制下面的文字;手机上长按选择“复制”。

分享海报提修改建议
全部版本

v4Simplify optimization diagram into a layered architecture with distinct memory read and update paths.

Chunyu_G

与 v3 相比

概览

25 行没有改动
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. [Harness optimization memory belongs to the optimizer rather than the task-solving policy](idea:69e39b89-09fa-4a69-a253-694145f4a294) ## 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: 1. The evaluator executes the current harness and collects scores, traces and errors. 2. The proposer reads the harness, run history and SIM, then proposes candidate modifications. 3. The selector screens candidates and chooses among evaluated modifications, considering performance, complexity, specificity and regression risk.
4. 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 looparchitecture ```mermaid flowchart TD HTB M[Current harness] --"Self-Improvement Memory (SIM)<br/> E[Evaluate on evolve setRoot causes · Edit history · Outcomes · Provenance"] E --> Psubgraph LOOP[Propose candidate edits"Harness optimization · Frozen policy model"] Mdirection LR E[(SIM)"Evaluator<br/>Scores and traces"] --> P["Proposer<br/>Candidate edits"] P --> S["Selector screens candidates<br/>Screen, evaluate and select"] S --> CH[Execute candidates passing screening"Retained harness"] Cend M --> D[Selector compares outcomes]. Read .-> P M -. Read .-> D DS S --> A{Accept edit?} A|Append selected attempt| M H -->|Yes| U[Retain edit and append outcome to SIM] U --> M U --> H A -->|No| Next round| E classDef memory fill:#E8F1FA,stroke:#6083A6,color:#203B56 classDef process fill:#F5F7FA,stroke:#A0ADBA,color:#263746 class M memory class E,P,S,H process ```
45 行没有改动
*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. [Root-cause memory should preserve predicted and observed outcomes of selected harness edits](idea:ec72ddc1-a47b-4f79-848b-9d6719bb8757) ## 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 | [Full optimization memory improves continuation beyond transferring a harness or retaining diagnoses alone](idea:992178be-466d-4aba-b782-62637e5da280) 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 | ```mermaid flowchart LR A[Transferred harness: 68.41] --> B[Harness only: 73.42] A --> C[Full SIM: 84.75] ``` *Matched starting harness and optimization budgets; scores from Section 4.3.1. Gains are calculated from the reported endpoints.* [Harness transfer can regress when the policy model changes](idea:c836da23-13de-4cbf-9f8c-c0254127f931) ## 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. [Full-memory harness optimization has untested scaling and attribution limits](idea:c41f70a4-030e-4ef9-96d4-9ae0ad895283) 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.