Princeton and Anthropic paper finds agents can generalize unsafe behavior from memories of harmless conversations
A Princeton and Anthropic paper introduces the memory trap problem, finding that preferences recorded in harmless conversations generalize to high-risk tasks where they should not apply.
The paper quantifies how often benign memories generalize into high-risk unsafe behavior across six frontier models, and proposes scoping memories to their context.
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.
Source: Rohan Paul · x.com