Command Palette
Search for a command to run...
에이전트를 위한 하네스 진화 평가의 재고
에이전트를 위한 하네스 진화 평가의 재고
Yike Wang Huaisheng Zhu Zhengyu Hu Yige Yuan Zhengyu Chen Shakti Senthil Hannaneh Hajishirzi Yulia Tsvetkov Pradeep Dasigi Teng Xiao
초록
우리는 LLM 에이전트를 위한 자동 하네스 진화 평가를 재검토한다. 기존 하네스 진화 방법들은 단위 테스트 케이스를 사용하여 하네스 구성을 탐색한 후, 동일한 공개 벤치마크에서 최종 성능을 보고한다. 이 프로토콜은 두 가지 근본적인 문제를 제기한다. 첫째, 하네스 진화는 그 자체로 작업 피드백을 이용해 후보 하네스를 반복적으로 평가하고 수정하는 탐색 절차이다. 에이전트 테스트 시간 확장에서처럼, 그 이득이 개선된 하네스 설계에서 비롯된 것인지 아니면 단순한 추가 탐색에서 비롯된 것인지 판단하기 위해, 일치된 피드백 및 추론 예산 하에서 단순한 작업 수준 탐색 기준선과 비교해야 한다. 둘째, 탐색과 최종 평가가 동일한 벤치마크를 공유하기 때문에 보고된 이득은 특정 작업 집합에 과적합될 위험이 있다. 이러한 문제를 해결하기 위해, 우리는 비교 가능한 피드백 및 추론 예산 하에서 하네스 진화를 단순한 테스트 시간 확장 및 발견 기준선과 비교하는 광범위한 평가를 수행하고, 발견된 개선 사항이 일반화되는지 평가하기 위해 별도 보류 작업에서 진화된 하네스를 평가한다. GPT-5.4와 Claude Opus 4.6을 사용한 Terminal-Bench 2.1 실험 결과, 자동 하네스 진화는 단순한 테스트 시간 확장 방법을 일관되게 능가하지 못하며 제한된 일반화를 보인다. 우리의 결과는 자동 하네스 진화의 효과성에 대한 중요한 의문을 제기하며, 자동 하네스 설계를 위한 더 공정한 평가 프로토콜과 벤치마크의 필요성을 강조한다. 코드는 https://github.com/rethinking-harness-evolution에서 확인할 수 있다.
One-sentence Summary
Researchers from the Allen Institute for AI and the University of Washington find that automatic harness evolution for LLM agents does not consistently outperform simple test-time scaling methods under matched feedback and inference budgets on Terminal-Bench 2.1 with GPT-5.4 and Claude Opus 4.6, and exhibits limited generalization to held-out tasks, calling for fairer evaluation protocols.
Key Contributions
- A controlled comparison of automatic harness evolution against test-time scaling baselines under matched feedback and inference budgets shows that evolution methods do not consistently outperform simpler scaling approaches on Terminal-Bench 2.1 with GPT-5.4 and Claude Opus 4.6.
- Evaluating evolved harnesses on held-out tasks from the same benchmark reveals limited generalization, questioning the practical utility of the discovered improvements.
- The study identifies a flawed evaluation protocol where search and final evaluation share the same benchmark, risking overfitting, and advocates for fairer evaluation protocols and benchmarks for automatic harness design.
Introduction
Large language model (LLM) agents rely on external harnesses (prompts, tools, memory, verification, and control logic) to interact with complex environments, and prior work shows that harness design can dramatically affect agent performance even when the underlying model is fixed. However, harness engineering remains mostly manual, motivating automatic harness evolution methods that search over harness configurations using benchmark feedback. The existing evaluation of these methods has two key limitations: it often uses the same public benchmark for both search and final measurement, which risks overfitting, and it lacks comparisons to test-time scaling baselines that allocate additional computation directly to evaluation tasks. The authors revisit the evaluation of automatic harness evolution, comparing it against parallel sampling and sequential refinement under a controlled budget that matches feedback and inference compute. Their findings show that harness evolution does not consistently outperform simple test-time scaling, and that gains observed on overlapping tasks may reflect adaptation to specific instances rather than generalizable harness improvements, underscoring the need for stricter evaluation protocols.
Experiment
The experiments compare automatic harness evolution with test-time scaling methods (parallel sampling, sequential refinement, harness scaling) on Terminal-Bench using three frontier models, under settings with and without unit test feedback, and on a held-out task split. Harness evolution does not consistently outperform simpler test-time discovery; its gains largely come from making multiple attempts rather than from genuinely improved harness design, and it fails to generalize to unseen tasks, instead overfitting to task-specific shortcuts. Qualitative analysis shows that while the meta agent produces rational edits, these rarely convert hard failures into successes, suggesting that harness evolution may only be beneficial when tasks are both difficult and strongly harness-dependent.
When unit tests are unavailable, test-time scaling via parallel sampling provides consistent gains, while automatic harness evolution underperforms the baseline and can harm stronger models. Self-generated feedback alone is too noisy to reliably guide harness revision, making parallel sampling a safer and more effective strategy in this setting. Parallel sampling improved average pass@1 across all three models and achieved the highest overall average, while harness evolution fell below the direct sampling baseline. Harness evolution caused a sharp drop of over 5 points on GPT-5.4, showing that iterative self-revision can degrade performance when correctness signals are absent.
When unit tests are available, test-time scaling methods substantially outperform direct sampling and automatic harness evolution. Parallel sampling and sequential refinement both achieve large gains, with sequential refinement reaching the highest pass@5 scores. Harness evolution improves only modestly over the baseline and remains well below the test-time scaling approaches. Parallel sampling delivers the highest pass@1 performance, raising average scores from 72.9 to 86.0 and matching its pass@5 accuracy. Sequential refinement achieves the best pass@5 results, reaching 93.3 on GPT-5.4, far exceeding harness evolution’s best pass@5 of 89.3.
When a harness is evolved on a set of training tasks and evaluated on unseen held-out tasks, it provides almost no benefit over the initial harness. The evolved harness yields a small improvement on one model and none on the other, averaging less than one point, indicating that the process overfits the training data and fails to generalize. The discovered modifications appear to be task-specific shortcuts rather than reusable design principles. On held-out tasks, Harness Evolution improved Claude Opus 4.6 by only 1.2 points and left GPT-5.4 unchanged, for an average gain of 0.6 points. The near-zero transfer performance suggests that the algorithm overfits training tasks, memorizing fixes instead of learning general scaffolding strategies.
The evaluation compares test-time scaling methods (parallel sampling and sequential refinement) to automatic harness evolution first without and then with unit tests, and finally on held-out tasks. In both settings, test-time scaling reliably improves performance, while harness evolution is harmful without tests, provides only modest gains with tests, and fails to generalize to unseen tasks due to overfitting.