Recursive Self-Improvement Breakpoints: How Cross-Model Experience Inheritance Works
This article examines why agent harnesses that perform well on one model often fail after being migrated to another, and how a structured self-improvement memory mechanism can address the problem. It explains the three common failure symptoms of naive harness transfer, introduces an append-only memory record with five core fields, and outlines a three-step cross-model inheritance workflow based on experience retrieval, intent restatement, and regression validation. The article closes with practical rollout advice and common pitfalls for teams building continuously evolving agent systems.
1. The Problem: Why Hard-Won Experience Breaks After a Model Swap
In agent engineering, a widely adopted practice is to leave the underlying large language model weights untouched and instead wrap the model in an external layer, commonly called a harness. This layer includes the system prompt, tool descriptions, orchestration logic, input and output validation rules, retry policies, and interceptors. In an engineering context, recursive self-improvement (RSI) usually does not mean retraining the model. It means running an optimizer that repeatedly rewrites this outer shell so that it performs better and better on a specific model.
The catch is that the shell is strongly coupled to the underlying model. One research team observed a counterintuitive result in their experiments: a harness that had been deeply iterated on model A, with excellent metrics, scored even lower than model B’s default initial harness after being migrated directly to model B.
The reason is not mysterious. Migration carried over the conclusions but not the reasoning behind them. Faced with a screen full of complex rules and interceptors, the new model cannot tell which rule exists to fix a critical defect and which is merely a leftover from history. Once the optimizer lacks causal information, it starts making arbitrary changes: deleting a critical patch as if it were redundant, re-running an approach that was already proven ineffective, or stacking more rules at the wrong level of abstraction.
These failures fall into three typical symptoms:
- Rule bloat: the shell keeps growing, instructions conflict with each other, and the model’s attention is diluted.
- Causal loss: change records contain only diffs, with no trigger conditions, failure samples, or validation conclusions.
- Negative transfer: the source model’s optimal solution becomes a burden for the target model, and more optimization makes things worse.
2. The Core Idea: Making Experience a First-Class, Transferable Asset
The solution is not to make the shell smarter, but to structure the experience itself. This can be abstracted as a self-improvement memory mechanism: every change is written as an immutable record containing at least five fields: the observed symptom, the triggering context, the candidate change, the validation evidence, and the scope of applicability.
A schematic structure looks like this (illustrative only, not a specific product interface):
{"id": "exp_0421","symptom": "tool arguments truncated in long-context tasks","context": {"task_type": "multi_tool", "input_len": ">32k"},"change": "add argument integrity validation before tool calls","evidence": {"before": 0.61, "after": 0.78, "samples": 120},"scope": {"model_family": "A", "confidence": 0.82},"parent": "exp_0398"}
There are three key design points. First, memory is append-only rather than overwrite, forming a traceable evolution chain; the parent field preserves the causal relationship between changes. Second, every memory entry must carry reproducible validation evidence, which keeps subjective conclusions such as “I think this is better” out of the shell. Third, scope explicitly declares the applicability boundary, providing a filtering basis for cross-model migration.
3. Cross-Model Experience Inheritance: From Copying the Shell to Replaying the Reasoning
The real difficulty lies in migration. Copying the shell outright imposes the source model’s habits on the target model; discarding it entirely means starting from scratch. A workable middle path has three steps.
The first step is experience retrieval. Based on characteristics of the target model such as its type, context length, and tool-calling style, recall high-confidence entries from the memory store instead of loading everything.
The second step is intent restatement. Restate a rule as a goal plus a counterexample so the target model understands what the constraint is meant to prevent, rather than memorizing the constraint itself.
Original rule: query must be validated as non-empty before calling searchRestated: the goal is to avoid wasting a tool round trip on an empty query;the counterexample is that query="" makes the tool return an empty list,which is then misread as "no results".
The third step is regression validation. Any inherited change must re-run a fixed evaluation set on the new model, and only those that pass are allowed into the shell, forming an inherit-validate-solidify loop.
Two additional safeguards are needed in practice. One is memory layering: store model-agnostic general experience (such as argument validation and timeout control) separately from model-specific experience (such as prompt tone and formatting preferences). The other is setting rollback points: keep a snapshot for each iteration so you can quickly revert when metrics drop.
4. Implementation Advice and Common Pitfalls
For teams that want to build a continuously evolving system, start with a minimal closed loop: first establish a unified evaluation set and a fixed random seed, then introduce structured memory and a regression gate, and only then attempt cross-model migration. Doing experience inheritance without a stable evaluation baseline will only solidify noise into the system.
Three common pitfalls are worth watching. First, treating memory as a log that records everything without filtering, so retrieval noise eventually drowns out useful experience. Second, pursuing fully automated rewriting with no human review checkpoint, which makes the shell unmaintainable. Third, ignoring cost control: re-running the full evaluation on every iteration quickly drives compute costs out of control. At that point, you can rely on elastic scaling from container platforms, object storage for snapshots, and logging and monitoring services to track metric fluctuations, using general cloud capabilities to run the evaluation pipeline and the memory store.
Ultimately, the value of experience inheritance is not making the model “remember the answer,” but letting the system retain the reasoning chain of “why we changed it this way.” When causal information can be retrieved, restated, and validated, switching models is no longer a reset of accumulated progress, but a step forward on top of reusable engineering assets.
