‹ 返回 2026-07-19

重新思考智能体驾驭能力进化的评估方法

Rethinking the Evaluation of Harness Evolution for Agents

▲ 1 💬 2 2026-07-19

Yike Wang, Huaisheng Zhu, Zhengyu Hu, Yige Yuan, Zhengyu Chen, Shakti Senthil, Hannaneh Hajishirzi, Yulia Tsvetkov, Pradeep Dasigi, Teng Xiao

摘要

我们重新审视了LLM代理的自动框架优化的评估方法。现有的框架优化方法使用单元测试案例来寻找合适的框架配置,然后在同一公共基准测试中报告最终性能。但这种方法存在两个根本问题。首先,框架优化本身是一种迭代式搜索过程,需要不断根据任务反馈来评估和调整候选框架。与代理式测试时间扩展方法一样,应该将框架优化方法与在相同反馈和推理预算下的简单任务级搜索方法进行比较,以判断其优势是源于更好的框架设计还是仅仅因为额外的搜索过程。其次,由于搜索过程与最终评估都基于相同的基准测试,因此所得到的优化效果可能会过度拟合于特定的任务集。为了解决这些问题,我们进行了广泛的实验,将框架优化方法与简单的测试时间扩展方法和发现型基准方法在相似的反馈和推理预算下进行比较,同时还在保留的任务上对优化后的框架进行评估,以判断所发现的改进效果是否具有普遍性。在Terminal-Bench 2.1环境下,使用GPT-5.4和Claude Opus 4.6进行的实验表明,自动框架优化并不能始终优于简单的测试时间扩展方法,且其泛化能力也有限。我们的研究结果引发了关于自动框架优化有效性的重要疑问,也凸显出需要更公平的评价方法和基准测试来评估自动框架设计的效果。我们的代码可以在https://github.com/rethinking-harness-evolution上获取。

English Abstract

We revisit the evaluation of automatic harness evolution for LLM agents. Existing harness evolution methods use unit test cases to search for harness configurations and then report final performance on the same public benchmark. This protocol raises two fundamental concerns. First, harness evolution is itself an iterative search procedure that repeatedly evaluates and revises candidate harnesses using task feedback. As in agentic test-time scaling, it should therefore be compared with simple task-level search baselines under matched feedback and inference budgets to determine whether its gains arise from improved harness design or from additional search alone. Second, because the search and the final evaluation share the same benchmark, the reported gains risk overfitting to that specific task set. To address these concerns, we conduct an extensive evaluation comparing harness evolution with simple test-time scaling and discovery baselines under comparable feedback and inference budgets, and also evaluate evolved harnesses on held-out tasks to assess whether the discovered improvements generalize. Experiments on Terminal-Bench 2.1 with GPT-5.4 and Claude Opus 4.6 show that automatic harness evolution does not consistently outperform simple test-time scaling methods and exhibits limited generalization. Our results raise important questions about the effectiveness of automatic harness evolution and highlight the need for fairer evaluation protocols and benchmarks for automatic harness design. Our code is available at https://github.com/rethinking-harness-evolution.