ArXiv

HarnessOpt-Bench: Evaluating LLMs at Harness Optimization

Authors
Varun Ursekar, Apaar Shanker, Yash Maurya...
Categories
cs.AI, cs.CL, cs.LG
arXiv
https://arxiv.org/abs/2608.06301v1
PDF
https://arxiv.org/pdf/2608.06301v1

Brief

HarnessOpt-Bench defines an end-to-end benchmark (arXiv 2026-08-06) for automated harness optimization under expensive, stochastic evaluation. An optimizer LLM edits a seed harness using graded feedback and a fixed budget; a trusted execution environment enforces evaluation and scores normalized gain on a held-out test partition. Evaluations of 5 LLMs across 4 tasks and 111 runs show optimizer model matters more than coding harness, and native harnesses are not consistently superior. Full text not available; summary from abstract.

Why it matters

Introduces HarnessOpt-Bench (arXiv 2026-08-06): an end-to-end benchmark for automated harness optimization under expensive, stochastic evaluation; a trusted execution environment (TEE) enforces evaluation boundaries, meters target-agent resources, and preserves candidate versions for audit.

Key details

  • Benchmark protocol: an optimizer (LLM + coding harness) receives a seed harness, graded evaluation feedback, and a fixed target-evaluation budget, edits the harness, and nominates a final candidate scored by normalized gain on a held-out test partition that is inaccessible during search.
  • Empirical results: authors evaluate 5 frontier LLMs (both via a shared coding harness and their native harnesses) across 4 downstream tasks over 111 scored runs; findings show optimizer model identity separates more than the coding harness, native harnesses are not consistently superior, and gains vary substantially by task and seed regime.
Source evidence

Abstract

As LLMs are increasingly deployed within agentic systems, their capabilities depend not only on the model weights but also on the harness: the prompts, tools, control flow, memory, and orchestration code surrounding them. This makes automated harness optimization -- the iterative and evaluation-guided improvement of a harness by an AI system -- both an important route to improving AI systems and a demanding capability for AI systems themselves. Yet the community lacks a common protocol for measuring how well frontier LLMs perform at this task. We introduce HarnessOpt-Bench, a benchmark for end-to-end harness optimization under expensive and stochastic evaluation. An optimizer, an LLM paired with a coding harness, receives a target agent's seed harness, graded evaluation feedback, and a fixed target-evaluation budget. It edits the harness and nominates a final candidate, which is scored by its normalized gain over the seed on a held-out test partition that remains inaccessible throughout search. A trusted execution environment enforces the evaluation boundary, meters target-agent resource use, and preserves candidate versions for audit. We evaluate 5 frontier LLMs as optimizers both under a shared coding harness and under their native harnesses across 4 downstream tasks, over 111 scored runs. Experiment results show that optimizer models separate more than the coding harnesses they act through, native harnesses are not consistently superior, and gains vary substantially across tasks and seed regimes. These results establish harness optimization as a measurable and discriminative capability with large space for improvement.