PapersSelected

Northeastern 论文:编程智能体完成 86.1% 任务但仅 15.2% 会备份数据

Why we picked it

做智能体的都该看看:模型任务完成率很高,但删库删包前会备份的不到两成。RegretBench 有 205 个真实翻车案例,BackUpper 靠拦截 tool call 把 rm 改成移入回收站,恢复相似度 92.2%,每任务才多花 1.4 美分。如果你的 agent 会碰工作区外的东西,这方案可以直接抄。

Northeastern University 的论文提出 RegretBench,用 205 个来自真实数据丢失案例的任务,测试编程智能体在执行删除、升级、改库等高风险操作前是否会保存现场。

Body

结果显示,6 个前沿模型平均能完成 86.1% 的任务,但只有 15.

2% 的情况会在不可逆操作前做好备份。问题根源在于主流 harness 的内置备份只覆盖工作目录,而智能体实际会操作目录之外的包、数据库和邮件,一旦出错旧状态无法找回。

论文给出的修复方案是 BackUpper:在工具调用层面拦截每个操作,把 rm 重写为移入回收站,复杂场景再交给一个小型子智能体处理。BackUpper 覆盖了全部 regret 时刻,恢复状态相似度达 92.

2%,每个任务只增加 0.014 美元成本。

对开发者而言,结论很直接:凡智能体触及工作区之外的资源,就应在 tool-call 层做备份,而不是指望模型自己记得。

Original · rohanpaul_ai

New Northeastern University paper finds coding agents rarely back up what they change. That agents complete 86.1% of tasks but save the state they are about to destroy in only 15.2%.

Agents now upgrade packages, edit databases, and delete emails outside their working folder. Built-in harness backups cover only the workspace, so when users later need the old state, it is gone.

They built RegretBench, 205 tasks based on real cases where people regretted losing data. BackUpper, their fix, checks every tool call, turns rm into a move to trash, and sends harder cases to a small subagent.

Across 6 frontier models, agents completed 86.1% of tasks but backed up before the regret moment in only 15.2%. BackUpper covered every regret moment and restored state to 92.2% similarity, at $0.014 extra per task.

If your agent touches anything outside its workspace, add backups at the tool-call level instead of trusting the model to remember.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include RegretBench, BackUpper, agents, coding assistants.

Source attribution: curated from rohanpaul_ai (@rohanpaul_ai).