arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.08124cs.SEcs.LG
收藏

测试时工具演化

TTHE: Test-Time Harness Evolution

Hong Kong Baptist University(香港 Baptist 大学);University of Science and Technology of China(中国科学技术大学);Hong Kong Generative AI Research & Development Center, The Hong Kong University of Science and Technology(香港生成式人工智能研究与开发中心,香港科技大学);TCL Corporate Research (HK) Co., Ltd(TCL 企业研究(香港)有限公司)

Jun Nie, Yonggang Zhang, Jun Song, Qianshu Cai, Dahai Yu, Yike Guo, Xinmei Tian, Bo Han

AI总结:

研究LLM智能体测试时工具优化问题,提出TTHE方法,通过维护候选工具种群,基于执行轨迹推理优化,无需黄金标签或特定任务监督,在多任务实验中改进基线工具,将测试时适应重塑为程序演化并确定代理可靠性挑战。

摘要:

大语言模型(LLM)智能体的行为不仅取决于基础模型,还受其工具(用于构建上下文、调用工具、验证中间结果和从故障中恢复的可执行程序)影响。现有方法在部署前优化工具,限制了测试时的适应性。本文提出测试时工具演化(TTHE),将可执行工具视为测试时适应的状态。评估期间,TTHE维护候选工具种群,通过基于执行轨迹推理的智能提议者进行优化,无需黄金标签或特定任务监督。法官根据执行衍生的代理信号选择改进的工具。通过在多个任务上的实验,TTHE改进了固定的ReAct式基线工具,实现了持久、可检查的改进,将LLM智能体的测试时适应重塑为可执行控制程序的演化,并将执行衍生的代理可靠性确定为强大的无监督智能体改进的核心挑战。

英文摘要:

The behavior of an LLM agent is determined not only by the underlying model, but also by its harness: the executable program that constructs context, invokes tools, verifies intermediate results, and recovers from failures. Existing approaches typically optimize harnesses on training or development data and freeze the resulting programs at test time, limiting adaptation to shifts in task distributions, failure modes, and tool interactions. We ask whether the harness can instead be optimized during evaluation using unlabeled execution traces. We introduce Test-Time Harness Evolution (TTHE), which treats the executable harness as the state of test-time adaptation. On each unlabeled test batch, TTHE iteratively evolves a population of candidate harnesses through agentic proposers that reason over execution traces and explore diverse edit directions. A judge selects a candidate using execution traces and execution-derived proxy signals. The selected harness determines the current batch's outputs and initializes adaptation on the next. Crucially, the solver, proposers, and judge operate through different harnesses around the same frozen LLM, without weight updates, access to final-answer labels, or a separately trained adaptation model. Across six execution-grounded benchmarks spanning text-to-SQL, competitive programming, software engineering, data-science coding, terminal-based tasks, and agentic tool use, TTHE improves fixed ReAct-style baseline harnesses through persistent, inspectable program adaptation. These results recast test-time adaptation for LLM agents as evolution over executable control programs and identify execution-derived proxy reliability as a central challenge for robust unsupervised agent improvement.

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

↑