arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.15884cs.AIcs.CRcs.SE
收藏

RetryBench:在GPT工具使用中分离重试权限与恢复结果

RetryBench: Separating Retry Permission from Recovery Outcomes in GPT Tool Use

You Liu, Yue Liu, Quanchao Lu

AI总结:

该研究提出RetryBench,分离GPT工具使用中的重试权限与恢复结果,通过多组控制实验发现虚假重试权限现象,支持在接口变体中同时报告权限与恢复情况。

摘要:

虚假重试权限(FRP)指智能体在无可见契约支持的情况下,对超时的工具调用进行重试的现象。RetryBench将该错误与实际恢复效果分离开来,成功的受保护恢复并不意味着对不支持的重试的可靠拒绝。在一项包含720个响应的密钥控制实验中,有效密钥通常能实现安全进展,但更改后的密钥会在Sol(1/80)、Terra(55/80)和Luna(60/80)中引发不支持的重试。后续一项包含240个响应的控制实验移除了候选密钥,要求模型提供密钥,Luna仍出现8/80次不支持的调度,Sol和Terra在80次响应中均未出现此类情况。因此,接受显示的错误密钥无法解释所有观察到的错误,尽管更改后的输出要求和条件排除了纯显示效果的比较。在一项包含六个端点的研究中,移除弱契约标签增加了Sol和Terra编码动作条件下的重试次数。另一项包含1536个响应的规范动作块研究也发现Terra存在正对比(115/128次重试对比124/128次),集中在两个任务/顺序条件下;其余五个对比经多重性校正后仍未解决。显式契约提示控制在所有762个返回响应中引发了弃权(不执行),使恢复效果未明确。这些结果支持在声明的接口变体中同时报告权限和恢复情况,证据涵盖四项有目的任务、固定GPT端点和一次恢复决策;该研究既未确定内部机制,也未确定情节级安全性。

英文摘要:

LLM agents that call external tools must decide what to do when a tool call times out: retrying risks duplicate side effects, while not retrying can leave the task incomplete. We present RetryBench, an evaluation protocol for retry decisions and failure recovery in tool-using LLM agents. Each decision is scored on retry permission (is the retry justified by an idempotency-key guarantee or proof of non-execution?), settled effects (duplicates and omissions), and completion, by replaying it across all hidden execution worlds consistent with the observation. On four synthetic software-engineering tasks, we run two controlled prompt-sensitivity studies (1,728 decisions). Study 1 (idempotency-key descriptions): with the contract fixed, GPT-5.6 Luna reuses the valid idempotency key in 10/40 decisions when an extra key is described as a "Candidate recovery key" but in 39/40 when it is an "Alternative key string"; across three further phrasings per family the gap is 27/120 versus 113/120. GPT-5.6 Sol and Terra are at ceiling (40/40). Study 2 (action order): under underspecified lookup guarantees, retry rates are 17-27 points lower for GPT-5.6 Terra and GPT-5.4 when retry is listed first (option-order bias), mainly on two tasks; we make no claim about which behavior is better. Findings are limited to researcher-chosen phrasings, four tasks and unpinned model aliases. Code and all model responses are released.

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

↑