arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.26770cs.LGcs.CL
收藏

HarnessPro:基于帕累托优化的递归Harness自改进,用于性能-成本权衡

HarnessPro: Recursive Harness Self-Improvement with Pareto Optimization for Performance-Cost Trade-offs

Tsinghua University(清华大学);Z.AI Co., Ltd.(Z.AI公司);Shanghai Jiao Tong University(上海交通大学);University of Warwick(华威大学);Kuaishou Technology(快手科技)

Zhuoshi Pan, ZhiYuan Feng, Yukuo Cen, Honglin Lin, Junru Lu, Zhongxia Chen, Shuo Yang, H. Vicky Zhao, Jie Tang

AI总结:

HarnessPro是一种无标签Harness演化方法,通过帕累托优化实现性能-成本权衡,在Terminal-Bench 2等基准上,其heavy模式相比RHO提升通过率并降低成本。

摘要:

Harness开发是构建强大AI智能体的关键环节。现有方法通过递归自改进(RSI)优化Harness,但性能提升往往伴随执行成本上升。本文提出HarnessPro,一种无标签的Harness演化方法,旨在提升任务性能的同时降低执行成本。该方法中,候选Harness通过大语言模型(LLM)生成的测试进行评估,无需访问真实解决方案或官方测试。专用智能体分析执行轨迹,根据不同性能-成本优先级规划更新,并将其实现为候选Harness。HarnessPro不返回单一Harness,而是采用归一化加权平方距离选择,提供成本导向(lite)、平衡导向(medium)和性能导向(heavy)三种Harness,以适配不同部署预算。选中的Harness进入下一轮迭代,执行反馈将指导进一步更新。实验覆盖Terminal-Bench 2、SWE-Bench Pro和ProgramBench三个基准,使用的模型包括带Codex的GPT-5.5和带Claude Code的GLM-5.2。在使用带Codex的GPT-5.5的基准测试中,HarnessPro的heavy模式相比RHO,平均通过率提升2.0个百分点,平均单任务成本降低26.1%;在使用带Claude Code的GLM-5.2时,该优势依然存在。代码可在指定URL获取。

英文摘要:

Harness development plays a crucial role in building capable AI agents. Recent approaches improve harnesses through recursive self-improvement (RSI), but their performance gains often come with higher execution costs. We introduce HarnessPro, a label-free method for evolving harnesses to improve task performance while reducing execution cost. In this setting, candidate harnesses are evaluated using LLM-generated tests without access to ground-truth solutions or official tests. Specialized agents diagnose execution trajectories, plan updates with different performance-cost priorities, and implement them as candidate harnesses. Rather than returning a single harness, HarnessPro uses normalized weighted squared-distance selection to provide cost-focused (lite), balanced (medium), and performance-focused (heavy) harnesses for different deployment budgets. Selected harnesses enter the next iteration, where execution feedback guides further updates. Our experiments cover Terminal-Bench 2, SWE-Bench Pro, and ProgramBench, using GPT-5.5 with Codex and GLM-5.2 with Claude Code. Across these benchmarks using GPT-5.5 with Codex, the heavy mode of HarnessPro achieves an average pass-rate gain of 2.0 percentage points and an average per-task cost reduction of 26.1% relative to RHO. This advantage also holds when using GLM-5.2 with Claude Code. Code is available at https://github.com/pzs19/HarnessPro

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑