Papers
arxiv:2609.09134

Co-Evolving Harnesses and Models: On-Policy Correction Helps Weaker Models Catch Up Where Imitation Fails

Published on Sep 8
· Submitted by
SF-Foundation
on Sep 10
Authors:
,
,
,
,
,
,
,
,
,
,

Abstract

Combining harness evolution with localized expert correction improves weaker models without disrupting their native planning style.

Agent harnesses (the system prompt, tool set, execution hooks, and context-management scaffolding around a model) are a critical determinant of agentic task success. Automated harness evolution can enable smaller models to perform well on domain-specific tasks at a fraction of frontier-model cost. Since both the harness and model weights shape behavior, we ask how harness evolution and lightweight fine-tuning should be combined. Across seven enterprise agent tasks, we first evolve a harness with the weaker model, then find that a stronger expert often uses it more effectively, suggesting expert supervision could close the remaining gap. However, training the weaker model on the expert's complete trajectories under the evolved harness backfires: performance regresses on all seven tasks by 4 to 30 points across Qwen3-Coder and Gemma 4, even though the same procedure helps under the unevolved harness. Our analysis shows that imitation transfers knowledge and increases scaffold usage, but disrupts model-harness fit: the weaker model adopts the expert's planning strategy without the competence to execute it and no longer matches the harness evolved around its native planning style. We therefore develop an on-policy expert-correction pipeline, automated by a meta-level MLE agent, that localizes the failing turn in the weaker model's own rollout and asks the expert to rewrite only that turn. This preserves the model's planning style and combines the gains of harness evolution and model adaptation. Our results identify and resolve a source of contention between harness and weight updates, yielding a compatibility-preserving recipe for economical co-evolution on domain-specific enterprise tasks.

Community

We study how agent harnesses (system prompts, tool sets, and scaffolding) and model fine-tuning should be combined. Across seven enterprise tasks, harnesses evolved with weaker models are used more effectively by stronger models, but training weaker models by imitating expert trajectories causes 4–30 point regressions. The weaker model adopts expert strategies it lacks the competence to execute, breaking model–harness compatibility. We instead use an on-policy expert-correction pipeline: a meta-level agent identifies the failing steps in the weaker model's own rollouts and has experts rewrite only those turns. This preserves the model's planning style while combining the benefits of harness evolution and model adaptation, giving an economical co-evolution recipe for domain-specific enterprise tasks.

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2609.09134
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2609.09134 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2609.09134 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2609.09134 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.