arXiv:2610.22466cs.AIOct 2026

Manuscript Offprint

arXiv:2610.22466

Harness-Delta Attribution: Dissecting Gains From Harness Evolution

Wenxuan Ding, Qin Lu, Changlong Yu, Sha Li, Shuowei Jin, Xin Liu, Zhenyu Shi, Greg Durrett

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Harness evolution automatically optimizes the prompts, skills, tools, and orchestration code around a fixed-weight model, offering a way to improve agentic systems without updating model weights. The agent harness is iteratively optimized to achieve higher performance on the search set. But how much of this gain reflects benchmark-specific overfitting or additional inference-time compute, and how much may generalize beyond the search set? In this work, we introduce Harness-Delta Attribution (HDA), an evaluation protocol that dissects an evolution gain into artifact-driven overfitting, gains explained by test-time scaling, and the remainder, which gives an upper bound on residual generalizable improvement. We apply HDA to 11 executor models and three harness-evolution frameworks across math, coding, creativity, and agentic tasks. In 21 of these settings that show statistically significant search-set gains, we find that a large share of the improvement is explained by overfitting or test-time scaling. Specifically, among these 21 settings, overfitting and test-time scaling account for 54% and 14% of the gain on average; their combined share exceeds 50% in 14 settings. The residual and held-out transfer vary substantially across tasks, models, and frameworks. Importantly, search-set gains often fail to transfer to held-out tasks, and provide limited evidence that they will persist under practical distribution shifts. Moreover, validation-based signals are insufficient to prevent overfitting. These results motivate attribution-aware evaluation in future harness evolution research. 1^{1}

Overfitting for k in options: if options[k] == 'a stronger result can be proven': return k return llm(task) # example: LiveMath

Test-Time Scaling for i in range(20): # sample 20 responses paths += llm(query) return rank_and_dedup(paths) # example: CREATE

Generalizable Improvements if same_command_returns("No output"), twice=True): block_repetition() prompt("Inspect the file or try differently.") # example: SWE-bench

Attributing harness evolution gains into three sources

Figure

Figure 1: An evolved harness may improve the performance by overfitting to benchmark artifacts, scaling test-time compute, or making generalizable improvements (left). HDA asks where the observed gain comes from and attributes it to these three sources (right). Overfitting and test-time scaling explain a substantial share across settings.

1 INTRODUCTION

An agent system can be viewed as an LLM paired with a harness: the prompts, tools, memory, skills, orchestration code, and control flow that shape how a model interacts with a task. Even

1^{1}Code: https://github.com/Wenwen-D/HarnessDeltaAttribution

Blog: https://wenwen-d.github.io/blog/harness-delta-attribution/ without updating the model weights, changes to the harness can alter system performance by a wide margin, as observed on benchmarks such as Terminal-Bench (Merrill et al., 2026) and SWE-bench (Jimenez et al., 2024). This has motivated recent work on harness evolution, a form of text-space optimization that iteratively updates the non-parametric components around a fixed-weight model using task feedback (Lee et al., 2026; Lin et al., 2026a;b). Specifically, in each iteration, an executor model attempts the tasks with the current harness. A proposer agent then inspects the trajectories and evaluation results to propose edits to the harness. Repeating this process produces a sequence of harnesses optimized for performance on the search set (training split).

Recent harness-evolution frameworks have reported notable gains from evolved harness code (Lee et al., 2026; Ning et al., 2026), skill files (Ni et al., 2026; Yang et al., 2026; Tang et al., 2026), and updated tool-use or orchestration patterns (Chen et al., 2026). However, a higher aggregate score does not reveal what changed in the system or whether the gains will persist beyond the search set. Prior work does not always evaluate evolved harnesses on held-out instances. Even when held-out results are reported, the search and test splits may share the same task construction and dataset artifacts. Such evaluations measure transfer within a benchmark, but provide limited evidence that the gain will persist in new tasks or practical distribution shifts.

In this work, we introduce Harness-Delta Attribution (HDA), an evaluation protocol that attributes harness evolution gains to three different sources. Some gains may reflect real harness improvements that generalize beyond the search set. However, we identify two additional sources of gain that lead us to view a harness optimization's result in a different light. First, an evolved harness may scale test-time compute: for instance, it may sample five responses in parallel and select a majority vote. Second, an evolved harness may exploit dataset shortcuts by hardcoding a recurring answer pattern from the search set. These mechanisms can produce similar benchmark gains while having very different implications for cost and generalization.

Our method, HDA, compares the baseline and evolved harnesses using a compute-matched baseline and an artifact-neutralized version of the evolved harness. This allows us to estimate a lower bound on detected overfitting, isolate gains reproducible through additional inference compute, and measure the remaining residual. We also evaluate held-out performance to understand whether the evolved harness transfers beyond the search set.

Our experiments cover three different frameworks, including Meta-Harness (Lee et al., 2026), SkillOpt (Yang et al., 2026), and AHE (Lin et al., 2026a). We use them to evolve the harnesses of 11 executor models on benchmarks covering mathematical reasoning (LiveMath (Mahdavi et al., 2025)), software engineering (SWE-bench Verified (Jimenez et al., 2024)), creative generation (CREATE (Wadhwa et al., 2026)), and embodied planning (ALFWorld (Shridhar et al., 2021)). In total, we apply HDA to 25 settings.

Figure 1 previews our main finding: across various configurations, overfitting and test-time scaling explain a large share of the search-set gains, while the residual upper bound on generalizable improvement is often small. Among the 21 settings with statistically significant gains, HDA attributes at least 54% of the gain to overfitting and 14% to test-time scaling on average; their combined share exceeds 50% in 14 settings. The breakdowns of these improvements can also reveal additional patterns. First, different frameworks repeatedly discover the same benchmark-specific shortcuts, such as a recurring correct answer choice in LiveMath. Second, in ALFWorld, some evolved harness eliminate LLM calls entirely by hardcoding deterministic solutions on the synthetic benchmark.

Our contributions are: (1) Identifying three sources of harness evolution gains (overfitting, test-time scaling, and generalizable improvement); (2) The HDA method, which dissects the harness evolution gains into 3 categories, and reveals findings that held-out evaluation alone does not show; (3) a reusable HDA skill and evaluation suite for applying this analysis to new benchmarks and harness-evolution frameworks.