INQUIRING LINE

When an AI rewrites its own setup to get smarter, it mostly just memorizes the last problem's answer — not a transferable lesson.

Why do evolved harness edits mostly memorize rather than generalize?

This explores why, when an agent rewrites its own scaffolding (prompts, tools, instructions) to do better, those edits tend to cache one-off fixes for specific tasks instead of learning transferable strategies.


This explores why an agent's self-edits to its own harness end up caching task-specific patches rather than distilling reusable strategy. The most direct answer in the corpus is almost deflationary: when researchers actually read the evolved edits, the changes look rational across prompt and tool layers, but most of them just persist a shortcut the agent could have rediscovered on its own in a single try Do harness edits learn strategies or just memorize fixes?. The edits cache fixes for problems that were already solvable; they rarely convert a genuine failure into a success. So 'memorization' here isn't a bug in the search — it's what a greedy loop naturally produces when the cheapest way to raise the score is to hard-code the answer to the task in front of it.

The deeper reason becomes clear once you notice that harness evolution is itself a search loop. Its reported gains are confounded with plain search effort, so unless you compare against a matched task-level search budget and evaluate on held-out tasks, you can't tell whether the harness got smarter or just got more attempts — and 'more attempts, memorized' is exactly the null hypothesis Are harness evolution gains really from better design?. Memorization is the path of least resistance for any optimizer graded on the training set; generalization only shows up when the evaluation forces it.

There's a suggestive parallel in how models absorb instructions and rewards more generally. Instruction tuning turns out to teach the output format, not task understanding — models trained on semantically empty or even wrong instructions perform about as well, because what transfers is knowledge of the answer space, not reasoning Does instruction tuning teach task understanding or output format?. RL post-training similarly tends to collapse onto one dominant format and suppress alternatives rather than expand capability Does RL training collapse format diversity in pretrained models?. Evolved harness edits sit in the same family: local optimization pressure rewards surface fixes that satisfy the visible signal, and the strategic, generalizing content is precisely what's hardest to elicit.

What's striking is that the corpus also shows the opposite is achievable when memory is structured deliberately. The ACE framework treats context as an evolving playbook, using generate-reflect-curate loops and incremental updates so that hard-won detail isn't compressed away into a bland shortcut — and it posts double-digit gains without labeled supervision Can context playbooks prevent knowledge loss during iteration?. Reflexion gets agents to learn from failure by storing verbal self-diagnoses in episodic memory, and it works precisely because binary success/failure feedback blocks rationalization Can agents learn from failure without updating their weights?. VOYAGER compounds reusable, composable skills into a library so new abilities build on old ones instead of overwriting them Can agents learn new skills without forgetting old ones?. The contrast is the real lesson: naive harness evolution memorizes because nothing in the loop rewards abstraction; the systems that generalize add explicit machinery — reflection, curation, composition — that forces a fix to be turned into a strategy before it's stored.

One last wrinkle worth knowing: the ability to write useful edits and the ability to benefit from them aren't the same. Edit-writing capacity is roughly flat across model tiers, but the payoff follows an inverted-U, peaking in mid-tier models — weak models never invoke the harness, and strong ones struggle to follow their own instructions faithfully Do stronger models always evolve harnesses better?. And how the harness is represented matters: reorganizing it around runtime behavior rather than raw code lets even weaker planners localize correctly Can explicit behavior maps help weaker planners compete with stronger models?. So whether an edit memorizes or generalizes is not fixed by the agent's raw strength — it's shaped by the loop's incentives and the harness's structure, both of which you can design.


Sources 9 notes

Do harness edits learn strategies or just memorize fixes?

Inspecting evolved harness edits reveals rational changes across prompt and tool layers, but most persist fixes the agent could rediscover in one rollout. Gains remain limited because edits cache shortcuts for already-solvable tasks rather than converting failures into successes.

Are harness evolution gains really from better design?

Harness evolution is itself a search loop, so its reported improvements are confounded with search effort. Only improvements beyond equal task-level search budget can be attributed to harness design, and held-out evaluation is needed to rule out task memorization.

Does instruction tuning teach task understanding or output format?

Models trained on semantically empty or deliberately incorrect instructions achieve comparable performance to those trained on full correct instructions, achieving 43% vs random baseline 42.6%. The semantic content of instructions appears largely irrelevant; what transfers is knowledge of the output space.

Does RL training collapse format diversity in pretrained models?

Controlled experiments show RL consistently amplifies one format distribution from pretraining within the first epoch while collapsing alternatives. The winning format depends on model scale, not necessarily performance, and is largely hidden when starting from proprietary pretrained models.

Can context playbooks prevent knowledge loss during iteration?

The ACE framework treats contexts as evolving playbooks using generation-reflection-curation loops rather than full rewrites. This prevents knowledge loss from compression and detail erosion, achieving +10.6% on agentic tasks and +8.6% on finance without labeled supervision.

Show all 9 sources
Can agents learn from failure without updating their weights?

Reflexion demonstrates that unambiguous environmental feedback (success/failure) enables agents to write useful self-diagnoses and improve across episodes without parameter updates. The binary signal prevents rationalization, and keeping reflections uncompressed preserves their usability.

Can agents learn new skills without forgetting old ones?

VOYAGER demonstrates that storing executable skills in an embedding-indexed library and composing complex skills from simpler ones allows agents to learn continuously while avoiding the forgetting that occurs with weight-update-based methods. Environmental feedback refines skills while an automatic curriculum drives continual exploration.

Do stronger models always evolve harnesses better?

Model capability to produce useful harness edits stays constant across tiers, but capacity to actually benefit from those edits follows an inverted U-shape, peaking in mid-tier models. Weak models fail to invoke harnesses; strong models struggle with faithful instruction-following.

Can explicit behavior maps help weaker planners compete with stronger models?

A behavior-to-code mapping representation improved win rates by 10–19 points while reducing planner tokens by 8–13%. Weaker planners using this mapping matched stronger models' code localization across all precision and recall metrics.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.

Research prompt for your LLMexpand ↓

Copy into ChatGPT or Claude to take this line of inquiry further — it asks the model to find newer work and re-test which earlier constraints still hold.

You are a research analyst. Question, still open: why do an agent's evolved edits to its own harness mostly memorize task-specific fixes rather than distill reusable, generalizing strategy?

What a curated library found — and when (dated claims, not current truth; findings span ~2023–2026):
- When researchers read evolved edits, most just persist a shortcut the agent could have rediscovered in a single try; they rarely convert a genuine failure into a success (~2026).
- Harness evolution is itself a search loop, so gains confound with plain search effort — without a matched task-level search budget and held-out eval, 'smarter' is indistinguishable from 'more attempts, memorized' (~2026).
- Instruction tuning teaches output format/answer-space, not task understanding; RL post-training collapses onto one dominant format rather than expanding capability (~2023, ~2025).
- Edit-writing capacity is roughly flat across model tiers, but payoff is an inverted-U peaking mid-tier; structured memory (ACE playbooks, Reflexion, VOYAGER) generalizes because reflection/curation/composition force a fix into a strategy before storing (~2025–2026).

Anchor papers (verify; mind their dates): Do Models Really Learn to Follow Instructions? (2023); Echo Chamber: RL Post-training Amplifies Pretraining Behaviors (2025); Agentic Context Engineering / ACE (2025); Harness Updating Is Not Harness Benefit (2026).

Your task: (1) Re-test each constraint above: judge whether newer models, training, tooling (SDKs, harnesses), orchestration (memory, caching, multi-agent), or evaluation have relaxed or overturned it; separate the durable question (likely still open) from the perishable limitation, cite what resolved it, and say plainly where a constraint still holds. (2) Surface the strongest CONTRADICTING or SUPERSEDING work from the last ~6 months — especially any showing evolved harness edits DO generalize under proper baselines, and where that disagreement is unresolved. (3) Propose 2 research questions that assume the regime may have moved.

Cite arXiv IDs; flag anything you cannot ground in a real paper.