R284 · Agent architecture › Self-improvement and learning loops

Ablating the autoresearch harness: folded history beats rolling summaries, and pruning unused lessons beats hoarding them

Read the original

self-improving-agentsagent-memorybenchmarksresearchharness-design

2026-11-25 · Research note · Source: arXiv 2611.28244, submitted 2026-11-20

Why this paper is unusual

Self-evolving agents that design, run and score their own experiments are now built out of harnesses that bundle half a dozen mechanisms at once: some form of history compression, a skill or lesson library, a retrieval step, standing rules. Papers report the bundle's score. Nobody can tell which part earned it.

This paper does the thing that was missing. It fixes one agent framework, defines a recency-truncation baseline, and evaluates each mechanism against that baseline one at a time, across two benchmarks and three model backbones — six settings per mechanism. The findings are therefore attributable, which is what makes them worth acting on rather than merely interesting.

Authors: Kelvin Kiu-Wai Tam, Newt Hue-Nam K. Nguyen, Tianshi Zheng, Yunxiang Mo, Weihan Li, Zhongwei Xie, Chiu Yeung Tang, Jui-Yu Ho, Yangqiu Song, Ginny Y. Wong and Simon See. 32 pages, 17 figures, 5 tables. No code release is stated in the paper.

The loop being ablated

Each task runs as a sequence of scored evolution iterations. At each iteration the agent picks one of three operators — propose new (develop a fresh approach), refine current (modify the incumbent), debug current (fix a failure in the incumbent). A skill picker then selects reusable skills from a task-local library. A coder receives the task, the standing rules, the selected skills and some representation of the attempt history, and emits the next solution. The benchmark evaluator executes it and returns task-specific feedback. A skill writer records lessons; skill creation stays an agent decision, and an iteration may write zero or more.

The same loop runs in every configuration. The only thing that varies is how history is represented and how the skill library is managed — which is exactly the point.

Context management: three options

Recency truncation (baseline). Keep the most recent attempts, drop the rest.

Folding. Every previous attempt is represented by a compact diagnostic digest, and selected attempts can be unfolded in full. A summarizer maps each attempt to a digest; at each iteration the agent sees the sequence of digests and chooses a subset to expand, admitted by priority until the history budget is exhausted. The property that matters: every attempt stays individually addressable for the whole run, so information from early attempts can be recovered later when it turns out to be relevant.

Compaction. Maintain a running summary plus a tail of recent attempts. When the coder's context fills, the history since the last compaction is split into a recent tail and an older head, and the head is folded into the summary (fixed structure: task objective, important details, current work state). Unlike folding, compaction does not preserve individual attempts that can later be selected and expanded.

Skill management: three options

Deletion. Remove any skill unselected for five consecutive iterations. Touches only the live catalog, not the attempt history or the standing rules.

Merging. Embed each skill; when a newly written skill's nearest live neighbour exceeds cosine similarity 0.8, merge the two instead of adding a new entry. Embeddings from Qwen3-Embedding-0.6B.

Promotion. Convert selected skills into standing rules, which enter every subsequent coder prompt and bypass the picker entirely. A promotion agent inspects usage statistics — how often a skill was selected, and how often it was present in an iteration that produced a new best result — and nominates candidates.

The numbers

MLE-Bench reports gold-normalized score (GNS); KernelBench reports geometric-mean speedup over PyTorch Eager. Percentages are relative change from the baseline in the same column; Avg is the mean of the six changes.

MechanismMLE-Bench gpt-oss-120bgpt-6-lunagpt-6-solKernelBench gpt-oss-120bgpt-6-lunagpt-6-solAvg
Baseline (recency truncation)70.586.193.21.17×1.46×2.16×—
Folding76.1 (+7.9%)89.7 (+4.2%)94.7 (+1.6%)1.29× (+10.3%)1.74× (+19.2%)2.34× (+8.3%)+8.6%
Compaction71.6 (+1.6%)86.4 (+0.3%)91.6 (−1.7%)1.16× (−0.9%)1.47× (+0.7%)2.20× (+1.9%)+0.3%
Deletion73.8 (+4.7%)87.6 (+1.7%)94.1 (+1.0%)1.25× (+6.8%)1.54× (+5.5%)2.26× (+4.6%)+4.1%
Promotion73.6 (+4.4%)87.0 (+1.0%)94.3 (+1.2%)1.24× (+6.0%)1.48× (+1.4%)2.24× (+3.7%)+3.0%
Merging73.7 (+4.5%)87.1 (+1.2%)94.0 (+0.9%)1.22× (+4.3%)1.47× (+0.7%)2.19× (+1.4%)+2.2%

Three things stand out.

Folding wins in all six settings. Not on average — in every single one, spanning the weakest and strongest backbones. That consistency is the strongest claim in the paper.

Compaction is barely distinguishable from throwing the history away. +0.3% average, and it loses on two of six settings (GNS 93.2 → 91.6 for gpt-6-sol; 1.17× → 1.16× for gpt-oss-120b). A rolling summary buys context budget and pays for it in recoverable detail, and the trade comes out roughly neutral. Folding buys the same budget without the loss, because the detail stays addressable.

Deleting lessons beats curating them. All three skill mechanisms beat the baseline, but deletion leads at +4.1%, ahead of promotion (+3.0%) and merging (+2.2%).

The result worth internalising

A separate ablation disables the skill writer and picker entirely (No-Skill). An unmanaged skill library is worth +2.1% over No-Skill. Managing it is worth more than having it — deletion's +4.1% is roughly double the library's own contribution.

The mechanism is visible in the catalog sizes. On MLE-Bench with gpt-oss-120b, deletion ends the run with 31 skills; the unmanaged baseline ends with 312, and promotion with 330. An unpruned library is mostly dead weight that the picker has to consider on every prompt. Deletion uses the backbone's own recent selections as the relevance signal, which is a cheap and surprisingly honest proxy.

The paper is also clear about why the other two do worse. Merging "consolidates semantically similar skills, but can weaken specific applicability conditions or implementation details" — the conditions under which a lesson applies are the first thing a merge destroys. Promotion keeps lessons permanently in the prompt, which is why its catalog grows rather than shrinks.

MLEvolver: combining the two winners

Folding plus deletion, compared against AIDE and OpenEvolve on 22 MLE-Bench Lite competitions and 50 KernelBench Level 3 problems, 100 iterations, same inference budget.

The paper's explanation for the margin is specific and mechanistic rather than hand-wavy. AIDE follows a predefined draft/debug/improve policy with hyperparameters; OpenEvolve samples parents and inspirations from populations by configured rules. MLEvolver lets the model read a catalog of attempt digests and decide for itself whether to refine something promising, debug a failure, or propose something new when progress stalls — and pull the full record of a relevant earlier attempt, including its code, recorded reasoning, score and execution output. Overview plus drill-down, rather than one or the other.

Experimental setup, for calibration

What to take away, and what not to

The transferable design rule is keep every attempt addressable, and summarize for display rather than for storage. Folding and compaction both compress what the model reads; only folding preserves the ability to recover a specific earlier attempt in full. The 8.6% versus 0.3% gap is the price of that difference. If your agent system currently maintains a rolling summary of its own history, this paper says you are paying compression cost for approximately nothing.

The second rule is prune by observed non-use, not by semantic tidiness. The instinct with a growing lesson library is to deduplicate it. That came last. Deleting what the model stopped reaching for came first, and it did so while shrinking the catalog by an order of magnitude.

What not to take away:

The authors' own stated limitations are appropriately narrow:

A review checklist for a self-evolving agent harness

Open questions

Connections

See R284 on the knowledge map

Part of the Research notes on nowucca.com. Figures and claims are the source's own unless the summary says otherwise.