# TransHarness: From Benchmark Overfitting to Transferable Harness Evolution

DevFeed: [TransHarness: From Benchmark Overfitting to Transferable Harness Evolution](<https://devfeed.tech/articles/transharness-from-benchmark-overfitting-to-transferable-harness-evolution-156283.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.33757>)

Author: Tianze Xia, Zimo Wang, Heng Tong, Zhaoxiang Liu, Shiguo Lian, Fan Huang, Wenyu Liu, Yunchao Wei, Xinggang Wang

Published: 2026-11-26T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [benchmark overfitting machine learning](<https://devfeed.tech/topics/benchmark-overfitting-machine-learning.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [enum](<https://devfeed.tech/topics/enum.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [evolution](<https://devfeed.tech/tags/evolution.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [failure](<https://devfeed.tech/tags/failure.md>), [gpt-6-astra](<https://devfeed.tech/tags/gpt-6-astra.md>), [guidance](<https://devfeed.tech/tags/guidance.md>), [harness](<https://devfeed.tech/tags/harness.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [model-weights](<https://devfeed.tech/tags/model-weights.md>), [models](<https://devfeed.tech/tags/models.md>), [multiple](<https://devfeed.tech/tags/multiple.md>), [overfitting](<https://devfeed.tech/tags/overfitting.md>), [policies](<https://devfeed.tech/tags/policies.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [set](<https://devfeed.tech/tags/set.md>), [source](<https://devfeed.tech/tags/source.md>), [target](<https://devfeed.tech/tags/target.md>), [tasks](<https://devfeed.tech/tags/tasks.md>)

## AI overview

TransHarness aims to make coding-agent harness improvements transfer beyond the tasks used to evolve them, without changing model weights. It derives intervention policies from same-task success/failure contrasts, pairing execution-context triggers with diagnostic guidance. Cross-task replay and independent semantic selection are used to favor selective interventions grounded in evidence from the current task. In reported cross-benchmark evaluations, 300 source trajectories outside the test distribution improved strong agents; TransHarness reached 76.4% on DeepSWE v1.1 and 95.5% on Terminal-Bench 2.1, reported as 2.4 and 5.6 points above the strongest baseline, GPT-6 Astra.

## Source excerpt

arXiv:2611.33757v1 Announce Type: new 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.