研究:Agent历史记录清理需匹配真实世界状态,否则反而降低任务成功率
Cleaning an Agent's History Hurts When the World Still Holds the Error
研究在AgentCE-Bench和AppWorld上冻结agent任务状态后编辑历史或世界,发现历史编辑的效果取决于其所描述的世界状态。AgentCE-Bench中保留错误旁加真实备注将恢复率从51%提升至66%,而"已完成动作"式编辑反使恢复率从50%降至44%。AppWorld中数据库写入成功回执在效果缺失时使整任务成功率从45%降至28%,效果存在时则从38%升至49%。
arXiv:2611.14654v1 Announce Type: new 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. 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org