Johns Hopkins and CMU Paper Shows 4B Model Improving Agent Harnesses
The counterintuitive result is that a 4B model outperforms its 35B teacher on this editing task, suggesting harness optimisation is a better fit for small specialised models than raw capability. Builders running agent pipelines can delegate harness tuning to such an editor instead of hand-adjusting tool calls and context, iterating over several rounds per task for best results.
A Johns Hopkins and Carnegie Mellon University paper trains a small model to rewrite an agent's harness code — the code that decides what the model sees and which tools it calls — based on failure reports from runs.
On 21 unseen reasoning task types, a 4B editor raised its average edit score from 0.32 to 0.
62, surpassing its 35B teacher.A separate editor trained on HotpotQA continued improving harnesses on 2 other QA benchmarks, showing the skill transfers across tasks.
The authors recommend running multiple edit rounds per task, since repeated edits beat single fixes.
New John Hopkins and Carnegie Mellon University Paper Shows that a small model can learn to improve an agent's harness code from run results, and the skill transfers to new tasks.
A small model trained to rewrite an agent's harness code from failure reports can adapt agents to new tasks, so let it tune your harness instead of doing it by hand.
The harness is the code that decides what the model sees and which tools it calls. The editor reads the harness and what failed, then writes a code change, rewarded by how well the new harness scores.
On 21 unseen reasoning task types, a 4B editor's average edit score rose from 0.32 to 0.62, above its 35B teacher. A separate editor trained on HotpotQA kept improving harnesses on 2 other QA benchmarks.
Run it for several rounds per task, since repeated edits beat single fixes.
This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Agent, harness, HotpotQA, JHU.
Source attribution: curated from rohanpaul_ai (@rohanpaul_ai). Cross-source corroboration: 2 independent sources have covered this development (including elvis), confirming industry-wide signal strength.
- elvis10-03 23:38Source