用于定位智能体故障的可执行前缀值
Executable Prefix Values for Locating Agent Failures
AI总结:
该研究针对LLM智能体调试中“首个错误”标记的有效性问题,提出通过重构中间状态计算前缀值与不可返回点的方法,发现现有评判标记存在缺陷,测量的重启点可提升智能体预期成功概率。
摘要:
针对大语言模型(LLM)智能体的调试工作,将人类或LLM评判者标记的“第一个错误”视为轨迹失败位置的真实值。本文探究此类标记指向的是原因还是症状,并将该区分转化为可执行操作:从失败轨迹的重构中间状态重启智能体,估计其前缀值V(h_t)(即从每一步开始的成功概率),并确定失败的认证“不可返回点(PNR)”。在包含两个冻结开放权重智能体的150个SWE-bench Verified任务上,我们为47和60条失败轨迹构建此类曲线,并探查Traverse规则下四个前沿评判者标记的每一步。研究发现,这些标记并非控制器所需:不同谱系的评判者仅在21/57的案例中就确切步骤达成一致,最新评判者在8/10和10/10的成功运行中标记了错误;66%的标记对应的智能体成功概率未在标记步骤下降,仅7/188的答案命名了决定性步骤。在测量的重启点重启可将预期成功概率从0.44提升至0.57(离线场景),实际重启也证实了该优势,而在评判者标记处重启则无此效果(预期成功概率从-0.08降至-0.03)。我们发布了代码、曲线和标记数据。
英文摘要:
Work on debugging LLM agents treats the "first mistake" marked by a human or LLM judge as ground truth for where a trajectory failed. We ask whether such labels point at causes or symptoms, and make the distinction executable: we restart the agent from reconstructed intermediate states of a failed trajectory and estimate its prefix value V(h_t), the probability of success from each step, with a certified point of no return (PNR) for a failure. On 150 SWE-bench Verified tasks with two frozen open-weight agents, we build such curves for 47 and 60 failed trajectories and probe every step labeled by four frontier judges under the Traverse rubric. We find that the labels do not mark what a controller needs. Judges of different lineages agree on the exact step in only 21/57 cases, and the newest judges flag mistakes in 8/10 and 10/10 successful runs. For 66% of the labels, the agent's success probability does not drop at the labeled step; only 7/188 answers name the decisive step. Restarting at the measured restart point raises expected success from 0.44 to 0.57 offline, and real restarts confirm the advantage, whereas restarting at a judge's label does not (-0.08 to -0.03). We release our code, curves, and labels.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。