arXiv(opens in a new tab)cs.LGOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.27889

Elicitation or Expansion? Demystifying Gains from Agent Harness Optimization

Younghyun Kim, Wooseok Seo, Minseo Kim, Seunghyuk Oh, Minjae Lee, Donghoon Kim, Hyung Il Koo, Jaehyung Kim, Wonjun Kang

ABSTRACT

Recent studies in harness optimization have shown substantial performance gains in language model agents without updating model weights. A well-designed harness more effectively leverages the underlying model's capabilities by shaping context, tool use, and execution workflows. However, naïve success rates alone do not fully characterize whether optimized harness yields more reliable success on tasks already within reach (elicitation) or a broader range of solvable tasks (expansion). This distinction is crucial for recursive self-improvement and evolutionary search, as expansion may provide a broader range of successful experiences to push the capability boundaries. Despite the growing significance, this distinction remains underexplored in harness optimization. We conduct a systematic analysis to study the effect of gains from harness optimization. Building on pass@k analyses in the reinforcement learning (RL) literature that compare models before and after RL training, we compare optimized harnesses with their pre-optimization counterparts. Specifically, we assess changes in reachable task coverage, compare harness optimization with model scaling and increased inference-time compute, and examine how gains vary with task difficulty. Across static prediction and dynamic tasks, we find that pass@1 advantages of harness over stronger interventions can reverse at larger attempt budgets and aggregate gains conceal shortfalls on hard tasks, underscoring the need for a fine-grained diagnosis.

1 INTRODUCTION

The ability of a language model agent is influenced by the design of its harness, which governs prompting, context management, tool use, and execution logic (Young, 2025; OpenAI, 2026). Refining these components can substantially improve agent performance without updating model parameters, motivating growing interest in harness optimization. By broadening the scope of harness optimization beyond prompts (Agrawal et al., 2026) and context (Zhang et al., 2026d) to agent code and execution workflows (Hu et al., 2025; Lee et al., 2026b), recent methods have achieved huge performance gains across diverse tasks. However, these aggregate benchmark gains alone do not reveal which aspects of the agent system have improved. For instance, comparable gains arise either from simply reformatting otherwise correct answers to satisfy the evaluation protocol or from enabling the agent to more effectively leverage its environment and external feedback to deal with previously unsolved tasks. This distinction is especially important for approaches that leverage successful experience for subsequent improvement, including recursive self-improvement (Zhang et al., 2026b; Lee et al., 2026a). In these settings, even rare successes on previously unreachable tasks can provide a foundation for further search or learning.

Recent studies have begun to examine the nature of harness gains by relating prompt edits to task-dependent performance changes (Gong & Wen, 2026), attributing improvements to recoverable execution defects (Yang et al., 2026), and comparing harness evolution with simple retries (Wang et al., 2026). However, these analyses leave open how task coverage under the original and optimized harnesses differs as the attempt budget increases. Whether the task coverage of optimized harness persists, disappears, or reverses matters for assessing how far the optimized harness can extend an agent's practical problem-solving reach without further model training. A closely related debate in

∗^{*}Equal contribution. †\daggerCo-corresponding authors.

reinforcement learning (RL) provides a useful diagnostic perspective. Comparisons between RL-trained models and their pre-RL counterparts show that improvements in pass@1 can diminish or reverse at larger sampling budgets, suggesting improved sampling efficiency rather than broader task coverage (Yue et al., 2025). Other studies report broader coverage under the valid reasoning evaluation (Wen et al., 2026) or additional tool use (Zhai et al., 2026), while controlled experiments show that coverage gains depend on pre-training exposure and training-task difficulty (Zhang et al., 2026a). Together, these studies lay the ground for examining how improvements behave across sampling budgets and task conditions, rather than inferring their nature from a single aggregate score.

In this work, we investigate whether harness optimization makes success more frequent on tasks already solved by the baseline (elicitation) or broadens observed task coverage (expansion) through the lens of pass@k (Chen et al., 2021). We complement this analysis by comparing optimized harnesses with base harness using larger models from the same family or higher reasoning effort. These baselines provide empirical reference for assessing how far harness optimization alone enhances an agent's capability. Finally, we examine whether gains are concentrated on easier tasks or extend to harder ones. Figure 1 depicts why these multi-axis analyses matter. Here, overall pass@1 gain does not fully characterize harness gains; the optimized harness leaves the agent less capable of solving harder problems than under the original harness. Our analysis thus unveils concealed coverage loss on harder tasks. 1^{1}

Figure

Figure 1: On HotpotQA, the optimized harness enables Qwen3-8B to outperform even 32B under base harness in overall pass@1. On easy questions, this advantage holds at both pass@1 and pass@128. On hard questions, however, the optimized harness outperforms the original 8B baseline at pass@1 but falls below it at pass@128.

The heterogeneous effects recur throughout our analyses on various benchmarks. First, advantages over stronger references can reverse as the attempt budget increases: on LawBench (Fei et al., 2024), the optimized GPT-OSS-20B harness exceeds the GPT-OSS-120B baseline by 16.05 percentage points (pp) at pass@1, but trails it by 4.00 pp at pass@64. Second, on HotpotQA (Yang et al., 2018) and AppWorld (Trivedi et al., 2024), the selected harnesses approach or exceed stronger references in aggregate but do not surpass them on hard subsets. Third, the transferred text-classification harness falls below its baseline at pass@64 on all out-of-distribution datasets, despite small pass@1 gains on two. This heterogeneity makes systematic analysis necessary: understanding harness gains requires distinguishing reliability from coverage and examining how both change across attempt budgets, task groups, reference systems.

References (49)