arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.11581cs.AIcs.AR
收藏

相同错误,不同恢复:传递方式如何改变大语言模型智能体的行为

Same Error, Different Recovery: How Delivery Changes LLM Agent Behavior

Universidad Politécnica de Madrid(马德里理工大学)

Sunghyeun Woo, Javier Conde, Pedro Reviriego

AI总结:

该研究发现错误反馈的传递方式是影响大语言模型智能体恢复行为的独立因素,提出保留失败交互的恢复方法,在ToolMaze上提升了多规模模型的显式错误成功率。

摘要:

使用工具的语言模型必须决定是重试失败的调用、修正该调用,还是停止并告知用户。仅错误文本可能不够:相同的反馈会根据其在对话中出现的位置导致不同的行动。我们通过改变错误的位置、引导信息、保留的历史记录和对话轮次结构来分离这种传递问题。我们在数据收集前固定计划,对来自3B至70B参数的3个开放模型开展两项研究,比较后续行动和后续任务完成情况,并进行精确的确定性重运行。保留失败交互的新用户轮次可避免在移除该交互时Llama模型出现的严重停止失败;在汇总合成比较中,它不劣于历史重写,但并非对所有模型都是最优的。我们将此形式作为确定性推理引擎内的可选恢复层实现,并在公共基准和编码智能体上进行评估。在ToolMaze中,它使7-8B模型的显式错误成功率提升14.2个百分点,32-70B模型提升10.5个百分点;在Loud/Quiet(24项带有可见失败和静默损坏的多轮任务,按最终状态一致性评分)中,无可测量增益。给定确切故障类型的客户端表现更佳。这些发现支持传递是恢复中的一个独立因素,而非引擎专属解决方案或通用重试策略。

英文摘要:

A tool-using language model must decide whether to retry a failed call, correct it, or stop and tell the user. The error text alone may not be enough: the same feedback can lead to different actions depending on where it appears in the conversation. We isolate this delivery problem by varying placement, guidance, retained history and turn structure. Two studies with plans fixed before data collection, across 13 open models from 3B to 70B parameters, compare the next action and subsequent task completion, with exact deterministic reruns. A new user turn that retains the failed exchange avoids the severe stopping failure observed in Llama models when that exchange is removed. It is non-inferior to history rewriting in pooled synthetic comparisons, but is not best for every model. We implement this form as an opt-in recovery layer within a deterministic inference engine and evaluate it on public benchmarks and a coding agent. On ToolMaze, it raises success on explicit errors by 14.2 points with 7-8B models and 10.5 points with 32-70B models; Loud/Quiet, 24 multi-turn tasks with visible failures and silent corruption, scored by final-state agreement, shows no measurable gain. A client given the exact fault kind performs better still. The findings support delivery as a distinct factor in recovery, not an engine-exclusive solution or a universal retry policy.

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

↑