A record of past edits helps agent harnesses adapt
Self-Improvement Memory Enables Continual Recursive Self-Improvement · arXiv:2611.18856
In plain words
An agent harness is software that manages an AI agent’s context, tools, and execution. When its tasks or underlying model change, the harness may need new edits, but it does not explain why earlier edits were made or how they worked.
The paper introduces a memory for the harness optimizer: it records past edits, reasons, and test outcomes, then adds new attempts as optimization continues.
In six tested task-set changes, the full memory ended with higher held-out scores than continuing with the harness alone or keeping diagnoses alone.
The research
When a task set or model changes, an inherited agent harness can need revision, and its past edits do not explain what they were meant to fix or how they performed.
The results change the case for carrying an optimization record along with the harness: in the tested transitions, the full history finished ahead of the harness alone and diagnoses alone.
The paper introduces Self-Improvement Memory, a record that lets a harness optimizer reuse and revise earlier edits when tasks or the underlying model change.
In target runs, the researchers compared continuation from the same evolved harness with no memory, diagnosis-only memory, or the full record. The optimizer used evolving-task feedback, while held-out task scores measured the starting and final harnesses.
Full SIM finished above both alternatives across six task-set changes and four tested model changes. This supports the conclusion that carrying edit rationales and outcomes, while adding new attempts, can help guide continuation.
Most settings had one complete optimization run per condition. The study also keeps the harness interface and optimizer’s planning and search procedures fixed, and evaluates SIM together with its updates during target optimization.
What the evidence shows
- Give the optimizer its history
Self-Improvement Memory (SIM) is a method for continuing agent-harness optimization after a task set or policy model changes. An agent harness manages context, tools, and execution; it can carry earlier edits into a new setting, but not the reasons or test outcomes behind them.
SIM supplies that history to the optimizer proposing and selecting edits, then records further attempts during continuation.
- Compare history with diagnoses
With the same starting harness and target budgets, this comparison asks whether edit history contributes beyond the harness or diagnoses alone.
Full SIM finished above both alternatives in the tested task-set changes, supporting the authors’ interpretation that recorded edits and outcomes help beyond diagnoses; the result includes SIM updates during target optimization.
- Check a model transition
The same pattern appeared when the task-solving model changed while the task set stayed fixed. Across four Opus-to-Gemini settings, full SIM finished 3.60–11.33 points above continuation without SIM and also finished above diagnosis-only memory in every setting.
These held-out target scores suggest the result extends to this tested model transition, beyond changes to the task set with the model held fixed.
- Measure variation across runs
A repeated coding study tested whether the result persisted across independently evolved starting harnesses. SIM’s mean paired advantage was 2.36 points, and it finished higher in 9 of 10 pairs; scores measure the share of task attempts passing their task-specific tests.
The one pair favoring continuation without SIM is a reminder that the mean advantage does not describe every run.
Deep
- Original paper authors
- Xin Yu, Fei Xia, Jiaqi Pan, Youbao Tang, Chengzhi Liu
- Submitted to arXiv
- License
- CC BY 4.0