TransHarness: From Benchmark Overfitting to Transferable Harness Evolution

Tianze Xia, Zimo Wang, Heng Tong, Zhaoxiang Liu, Shiguo Lian, Fan Huang, Wenyu Liu, Yunchao Wei and 1 others

Huazhong University of Science and Technology · China Unicom · Xiamen University · Beijing Jiaotong University

Published November 25, 2026 · on the feed December 1, 2026 · ▲ 5 · arXiv 2611.33757

The abstract

Harness evolution offers a path to improving coding agents without updating model weights. However, existing methods can overfit their evolution benchmarks, producing gains that fail to carry over to new tasks. To address this challenge, we introduce Transferable Harness Evolution (TransHarness), which evolves harness intervention policies from same-task success-failure contrasts. These policies couple execution-context triggers with diagnostic guidance, enabling task-dependent checks and corrections beyond the source executions. Cross-task replay and independent semantic selection retain policies that intervene selectively and ground corrections in current-task evidence rather than source-specific solutions. We further curate an independent evolution set for cross-distribution transfer and conduct a cross-benchmark evaluation covering multiple strong models and a range of lightweight and mature harnesses. Experiments show that, with only 300 source trajectories from outside the test distribution, TransHarness further improves strong agents across distinct target benchmarks, demonstrating transferable harness evolution beyond benchmark overfitting. Specifically, TransHarness achieves state-of-the-art scores of 76.4% on DeepSWE v1.1 and 95.5% on Terminal-Bench 2.1, surpassing the strongest baseline model, GPT-6 Astra, by 2.4 and 5.6 percentage points, respectively.

The Brief

2:02

A short podcast summary of the paper. Written and voiced by AI.

Transcript

TransHarness. From Benchmark Overfitting to Transferable Harness Evolution. By Tianze Xia and eight others, from Huazhong University of Science and Technology, China Unicom, and two other institutions. Published on the twenty-fifth of November.

Harness evolution improves coding agents without updating model weights: what changes is the harness around the model. Existing methods, though, can overfit the benchmarks they evolve on, producing gains that fail to carry over to new tasks. A harness tuned on one benchmark can end up encoding that benchmark, rather than anything general about how coding agents go wrong, and its improvement then stays behind when the agent moves on.

Transferable Harness Evolution, or TransHarness, evolves harness intervention policies from contrasts between success and failure on the same task. Each policy couples a trigger, based on execution context, with diagnostic guidance. That pairing lets it make checks and corrections that depend on the task at hand, reaching beyond the executions it was learned from. A policy, then, is less a fixed answer than a rule about when to step in and what to check.

Two filters decide which policies survive: cross-task replay, and an independent semantic selection. What they keep are policies that intervene selectively, and that ground their corrections in evidence from the current task rather than in solutions specific to the source. The authors also curate an independent evolution set for transfer across distributions, and run a cross-benchmark evaluation covering multiple strong models and a range of harnesses, from lightweight to mature.

With only three hundred source trajectories, drawn from outside the test distribution, TransHarness further improves strong agents across distinct target benchmarks. It reaches state-of-the-art scores of seventy-six point four percent on DeepSWE, and ninety-five point five percent on Terminal-Bench. Those beat the strongest baseline model, GPT-6 Astra, by two point four percentage points and five point six percentage points.

The target is the gap between scoring well where a harness was evolved and scoring well somewhere else. By learning when to step in, and tying each correction to the task in front of it, TransHarness aims for gains that survive the move to a new benchmark.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.