TransHarness: From Benchmark Overfitting to Transferable Harness Evolution

Tianze Xia, Zimo Wang, Heng Tong, Zhaoxiang Liu, Shiguo Lian +4 more
11/25/2026
cs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xia2026transharness,
  title  = {TransHarness: From Benchmark Overfitting to Transferable Harness Evolution},
  author = {Tianze Xia and Zimo Wang and Heng Tong and Zhaoxiang Liu and Shiguo Lian and Fan Huang and Wenyu Liu and Yunchao Wei and Xinggang Wang},
  year   = {2026},
  eprint = {2611.33757},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.33757v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.33757.svg)](https://codeofpaper.com/paper/2611.33757)

Discussion