Agent Recovery Gone Wrong: Measuring Harm Beyond Duplicate Calls
- ID: 45d0a75b
- 原文链接: https://arxiv.org/abs/2611.31554
- 作者: Artem Trofimov, Boris Novikov
- 日期: 2026-11-23
- 更新: N/A
- 分类: agents
- 来源类型: paper
- 标签: agent-safety, recovery, idempotency, appworld
- 质量评分: 4/5
- 抓取时间: 2026-11-26T15:44:07Z
中文导读
测 agent 恢复路径的副作用:代码块失败后重写继续,部分写入已生效时恢复本身可能伤外部状态AppWorld 轨迹分层抽样 200 episode/10 模型,145 例数据库证实的部分执行;可判定结果的 143 例中 30 例跟着有害恢复且违规留到运行结束,加权估计 24.6%三分之二是重复写入,其余删数据或首次写错(下单错商品)按重复调用规则抓到 75% 重复但只覆盖 41% 全部伤害;模型自报操作 ID 无效(同一操作换新 ID),按调用内容推导 ID 反事实评估可在 30 例中匹配 14-18 例全部有害写入数据与脚本开源
为什么值得关注
24.6% of natural agent recoveries harm external state; duplicate-call rules catch 75% of dupes but only 41% of harm
Grounded by opencli arxiv metadata (abstract) plus the vault paper-pipeline digest (论文流水线 2026-11-26, entry 3); data repo github.com/flame-stream/agent-recovery-harm.
关键信息
- 标题: Agent Recovery Gone Wrong: Measuring Harm Beyond Duplicate Calls
- 作者: Artem Trofimov, Boris Novikov
- 链接: https://arxiv.org/abs/2611.31554
- 发布时间: 2026-11-23
- 分类: agents
- 关联标签: agent-safety, recovery, idempotency, appworld
English Summary
Code-executing LLM agents submit code blocks issuing several API writes; when a block fails mid-way, the agent rewrites and continues, and the recovery itself can harm external state. From recorded AppWorld trajectories, a stratified sample of 200 episodes across ten models yields 145 partial executions confirmed by database state; 30 of 143 with determinable outcome are followed by harmful recovery persisting at run end - weighted estimate 24.6%. Two-thirds duplicate an effect; the rest delete user data or make a wrong first-time write. A repeated-call rule finds 75% of duplications but only 41% of all harm. Model-supplied operation IDs do not reduce harm (new ID per same operation); content-derived IDs, evaluated counterfactually, would match every harmful write in 14-18 of 30 cases. Data: flame-stream/agent-recovery-harm.
Source Excerpts
Abstract (opencli arxiv paper, 2026-11-26)
Code-executing LLM agents submit blocks of code that issue several API writes. If a block fails after some of its writes have taken effect, the agent rewrites the block and continues. In a stratified random sample of 200 candidate episodes across ten models, 145 are partial executions confirmed by the database state. 30 of 143 confirmed partial executions with a determinable outcome are followed by a harmful recovery, and its violation remains at the end of the run, which gives a stratification-weighted estimate of 24.6%. A rule that searches for repeated calls finds 75% of duplications but only 41% of all harm.
论文流水线 digest note (2026-11-26)
2/3 为重复写入,其余删数据或首次写错;重复调用规则抓 75% 重复但仅 41% 全部伤害;模型自供操作 ID 无效(同操作换新 ID),按调用内容推导 ID 可匹配 14-18/30 但在 30 episode 误伤必需写操作。