# AfterDeleteBench: Auditing Post-Deletion Information Persistence in LLM Agents

DevFeed: [AfterDeleteBench: Auditing Post-Deletion Information Persistence in LLM Agents](<https://devfeed.tech/articles/afterdeletebench-auditing-post-deletion-information-persistence-in-llm-agents-96608.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.31366>)

Author: Ehsan Saleh, Roozbeh Nahavandi, Sama Salarian, Raef Bassily, Andrew Perrault

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [harvestbench](<https://devfeed.tech/topics/harvestbench.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [auditing](<https://devfeed.tech/tags/auditing.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [information](<https://devfeed.tech/tags/information.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-agents](<https://devfeed.tech/tags/llm-agents.md>), [memory](<https://devfeed.tech/tags/memory.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [persistent-memory](<https://devfeed.tech/tags/persistent-memory.md>), [primary](<https://devfeed.tech/tags/primary.md>), [provenance](<https://devfeed.tech/tags/provenance.md>), [query](<https://devfeed.tech/tags/query.md>), [qwen](<https://devfeed.tech/tags/qwen.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [secret](<https://devfeed.tech/tags/secret.md>), [storage](<https://devfeed.tech/tags/storage.md>), [synthetic](<https://devfeed.tech/tags/synthetic.md>)

## AI overview

AfterDeleteBench tests whether fixed-weight LLM agents can recover information after its original memory record is deleted. It compares agents exposed to synthetic secrets and then cleared with matched agents never exposed. In the primary Qwen2.5-7B-Instruct setting, one query recovered the deleted secret in roughly two thirds of cases; controls had zero recovery. When only secret components remained under a public composition rule, exact reconstruction succeeded in 62-99% of cases across Qwen, Mistral, and Phi-3. The authors note that format and parser mismatches can score target-bearing replies as failures. Provenance-aware closure eliminated observed recovery in tested settings with positive baseline recovery, while an exact-literal write filter blocked reinsertion but could not erase information already present. The findings support evaluating deletion behavior across the agent and its memory system, rather than storage alone.

## Source excerpt

arXiv:2610.31366v1 Announce Type: new Abstract: Many LLM agents maintain external persistent memory and derive additional state from past interactions, such as summaries. Deleting an original memory record therefore need not remove information carried by its descendants. We introduce AfterDeleteBench, a controlled behavioral audit for this failure mode in fixed-weight LLM agents. For each synthetic secret, we compare an exposed-then-deleted agent with an otherwise matched agent that was never exposed to the secret, allowing post-deletion recovery to be attributed to the original exposure. In our primary setting, a single query recovers the deleted secret from Qwen2.5-7B-Instruct in roughly two thirds of cases, while matched never-exposed controls have zero recovery. Crucially, recovery does not require a surviving verbatim copy: when the complete secret string is absent and only separately stored components remain under a public composition rule, exact reconstruction succeeds in 62-99% of cases across Qwen, Mistral, and Phi-3. We also show that the response interface is part of the measurement system: target-bearing replies can be scored as failures when the requested format and parser are misaligned. Finally, we separate reconstruction from write-back and fresh-session recall. Provenance-aware closure eliminates observed recovery in the tested positive-baseline settings, whereas an exact-literal write filter blocks reinsertion but cannot erase information already present. Together, these results show that source deletion should be evaluated behaviorally at the level of the agent and its memory system, not only as a storage operation.