A new test shows that AI agents do not fully forget secrets
A reader can find a secret from the items that stay in memory after the message with the secret is removed.
Claimed, not confirmed
Researchers published MemCut, a test of if AI agents forget private data when a user tells them to forget it. The test has 456 secrets in long conversations. In one test, a model removed 10 more messages from 20 search results. In that test, the recovery rate of the reader was 39% to 76%. The authors say that agent memory keeps signs of a secret.
What the test does
MemCut checks if the long-term memory of an agent can forget a secret when a user tells it to forget it. Long-term memory is the storage where an agent keeps facts from conversations with a user.
Some hints are in messages that do not give the secret.
The two scores
- Native recovery: a reader tries to find the secret with the search of the memory system.
- Residual recovery: the same reader gets the items that stay in memory and show the secret.
What the tests found
A model that removes the message with the secret decreases native recovery much more than residual recovery. The authors tested 5 memory designs and 4 language models.
The authors add candidates to the pool and keep the budget the same. Then residual recovery decreases more than when the model removes all of the first candidates. The authors say that candidate coverage limits their baselines.
What to do
Builders that keep user data in agent memory can use the 2 scores to test if the memory removes a secret. A test of search results only can not find items that stay. The authors do not give a full solution.
Sources
Posted