东北大学研究发现编码智能体很少备份即将修改的状态
New Northeastern University paper finds coding agents rarely back up what they change.
东北大学论文发现,编码智能体虽能完成 86.1% 的任务,却仅在 15.2% 的数据丢失风险点前保存原状态。研究构建了含 205 项真实案例任务的 RegretBench,并提出检查每次工具调用的 BackUpper,将 rm 改为移至回收站,复杂情况交给小型子智能体处理。BackUpper 覆盖了所有风险点,以每项任务额外 $0.014 的成本将状态恢复至 92.2% 相似度。
正文
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.
AI 热点