LinEra aims to erase forgotten information and its derivatives from LLM-agent memory

Paper / preprint arXiv cs.CR · Reported findings, not independently verified by us.

A new method called LinEra aims to make a deletion request render not just a stored message but also memories derived from it unreadable. The paper examines a security problem in LLM agents that create summaries, facts, and embeddings from user input for long-term memory.

LinEra encrypts each memory with a key derived from the keys of its predecessors in a derivation graph. Source keys are generated using a puncturable pseudorandom function; the researchers say forgetting requires just one key operation. Descendants then become unreadable without needing to be located individually. The lineage rule requires recording as parents all information the writer saw while creating a memory.

In tests using LoCoMo conversations and language models from two families, ranging from 1.5 billion to 7 billion parameters, an attacker reportedly recovered 70 of 71 forgotten secrets from the ten conversations written by the largest model after logical deletion alone. The attacker recovered none with LinEra; the paper says this also held for every writer tested. The method was integrated with mem0.

The security benefit can affect more memories than just the directly forgotten content: forgetting one percent of conversation turns erased 73 percent of derived memories with session-level summaries, compared with 3.8 percent using four-turn windows. The paper says lost memories can be restored by deriving them again. The original arXiv paper details the method, proofs, and tests.

🇬🇧 https://arxiv.org/abs/2611.18133v1

Leave a Comment

The weekly brief: selected developments, projects and videos