Cleaning an Agent's History Hurts When the World Still Holds the Error
本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。
Title: Cleaning an Agent’s History Hurts When the World Still Holds the Error
标题:当世界仍存在错误时,清理智能体的历史记录反而有害
Computer Science > Artificial Intelligence arXiv:2611.14654 (cs) [Submitted on 10 Nov 2026] Title: Cleaning an Agent’s History Hurts When the World Still Holds the Error Authors: Egor Pakhomov, Anurag Koul, Hongjun Liu, Bo Pang, Shafiq Joty, Erik Nijkamp.
计算机科学 > 人工智能 arXiv:2611.14654 (cs) [2026年11月10日提交] 标题:当世界仍存在错误时,清理智能体的历史记录反而有害 作者:Egor Pakhomov, Anurag Koul, Hongjun Liu, Bo Pang, Shafiq Joty, Erik Nijkamp。
Abstract: Tool-using language-model agents accumulate histories of their own mistakes, and a system that compacts, repairs or hands off such a history decides what it says about those mistakes while their effects stay in the world. Prior work cleans the history at a fixed world, where showing a corrected step and saying it is done move together. We ask whether the same correct content helps or hurts depending on how the history states it and what the world holds.
摘要:使用工具的语言模型智能体会积累其自身错误的记录,而一个对这些历史进行压缩、修复或移交的系统,在错误影响依然存在于现实世界时,必须决定如何表述这些错误。以往的研究在固定的世界状态下清理历史,即将纠正步骤与完成声明同步处理。我们探讨了同样正确的内容,是否会根据历史记录的表述方式以及世界当前的状态,产生帮助或损害的效果。
We freeze an agent mid-task with its exact world state, edit the history or the world, and let a receiver model continue. On AgentCE-Bench, after the agent commits a wrong value, we hold the world fixed and add the correct value by two natural edits: a truthful note beside the preserved error or the agent’s own completed action. The note raises recovery, the share of remaining targets the receiver gets right, from 51% under a matched neutral note to 66%. The completed action lowers it below the unedited history, from 50% to 44%, so the value’s presence alone does not predict the effect.
我们将智能体在任务中途及其精确的世界状态下冻结,编辑历史或世界,并让接收模型继续执行。在 AgentCE-Bench 上,当智能体提交错误值后,我们保持世界状态不变,并通过两种自然编辑方式添加正确值:在保留的错误旁添加真实注释,或由智能体自身完成操作。注释将恢复率(接收者正确处理剩余目标的比例)从匹配的中性注释下的 51% 提高到 66%。而完成操作则将其降至未编辑历史水平以下,从 50% 降至 44%,因此仅凭值的存在并不能预测其效果。
On AppWorld, after a database write, we vary whether its receipt reports success or failure and whether its effect is present. A success receipt lowers whole-task success from 45% to 28% while the effect is absent and raises it from 38% to 49% once present. The two effects differ by 27 points pooled over two receivers, a difference positive in six of eight receivers at 97.5% and seven at 95%. A history edit’s effect thus depends on the world it describes, and a history made to look clean while the world still holds the error can leave an agent worse off than no edit at all.
在 AppWorld 中,在数据库写入后,我们改变其回执报告成功或失败的状态,以及其影响是否实际存在。当影响缺失时,成功回执将整体任务成功率从 45% 降至 28%;而当影响存在时,则将其从 38% 提高到 49%。这两个效果在两个接收者汇总后相差 27 个百分点,该差异在八个接收者中的六个(置信度 97.5%)和七个(置信度 95%)中均为正值。因此,历史编辑的效果取决于它所描述的世界;如果在一个世界仍存在错误的情况下将历史记录修饰得看起来很“干净”,反而可能使智能体的表现比不做任何编辑时更糟糕。