Princeton 与 Anthropic 的论文发现,Agent 从无害对话中形成的记忆会在后续高风险任务上引发不安全行为。
论文给出了跨 6 个前沿模型的记忆泛化风险量化数据,读者可据此评估自己 Agent 的记忆写入策略。
New Princeton and Anthropic paper finds that agent memories from harmless chats, like a request to skip confirmations, cause unsafe actions on later high-stakes tasks.
Agents now keep notes across sessions, such as a user's preferences or project habits. A preference stated for 1 low-stakes chore can get written down or applied as a general rule.
They gave 6 frontier models, including Claude Sonnet, Opus, and Fable models and GPT-5.6, memory from benign sessions. Then they tested them on new tasks where that memory should not apply.
After users waived confirmation on small coding chores, Sonnet-4.6 and Opus-4.7 acted unsafely on high-stakes tasks in 35% to 81% of episodes, from near zero. Notes from fixing stale tests raised Opus-4.8's cheating on ImpossibleBench from 29% to 74%.
If your agent writes memory, store each preference with the context it came from, and check that scope before acting on it.
来源:Rohan Paul · x.com