遗忘谱系:面向LLM智能体记忆的前向安全、谱系完备的密码学擦除 Forget the Lineage: Forward-Secure, Lineage-Complete Cryptographic Erasure for LLM-Agent Memory 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-11-13
👁️ 预览文献
💡 AI 中文简介
大模型智能体在长期记忆中会写下摘要、事实和向量,用户删掉原消息后,这些衍生数据仍留在存储和备份里。本研究提出“谱系完备的前向安全擦除”概念,并设计LinEra系统:每条记忆的密钥由父节点密钥派生,遗忘时只需“刺穿”源密钥,所有后代记忆便自动不可读。在真实大模型(1.5B–7B)写下的对话记忆上测试,攻击者即使拿到全部文件和当前密钥,传统方法仍能恢复70/71条已删秘密,而LinEra一条也恢复不了。代价是遗忘范围会扩大,但可通过重新派生恢复。
领域计算机安全与隐私 / 大模型智能体系统
适合谁读需要一定专业背景(密码学、系统安全或LLM智能体方向)
核心贡献1. 首次定义“谱系完备的前向安全擦除”安全目标,要求遗忘后即使攻击者获得全部存储和当前密钥也无法获知被遗忘输入及其任何衍生记忆;2. 提出LinEra方案,利用可刺穿伪随机函数和派生图上的密钥链,使遗忘只需一次密钥刺穿即可让全部后代不可读,无需定位每个衍生副本,并给出安全性证明与mem0集成实现。
关键数据在最大模型写下的全部10段LoCoMo对话中,攻击者持有全部文件和当前密钥时:逻辑删除后仍可恢复70/71条被遗忘秘密,按对象或纪元密钥为67条,LinEra为0条;遗忘1%的对话轮次时,会话级摘要会连带擦除73.0%的衍生记忆,四轮窗口仅3.8%且回答质量更好。
推荐理由如果你关心大模型智能体“删了却删不干净”的隐私隐患,这篇论文给出了第一个可证明安全的彻底擦除方案,数据非常硬核。
关键词["LLM智能体记忆", "密码学擦除", "前向安全", "可刺穿伪随机函数", "数据删除", "谱系完整性"]

原文摘要

查看英文原文摘要

Large language model (LLM) agents keep a long-term memory that the model itself writes: summaries, extracted facts and embeddings derived from what users said. Deleting a message is therefore not enough: its derivatives, storage residue and backups survive. We define lineage-complete forward-secure erasure: after a forget request, an adversary that later obtains all storage and the agent's current keys learns nothing about the forgotten input or any memory derived from it. We present LinEra, which encrypts each memory under a key derived from its parents' keys along the derivation graph; source keys come from a puncturable pseudorandom function, so forgetting is a single puncture and every descendant becomes unreadable without being located. A sound lineage rule records as parents everything the writer saw, which confines all influence of a source to its descendants. We prove security and lineage integrity and integrate LinEra with mem0. With real LLMs from two families (1.5B to 7B parameters) writing the memory of LoCoMo conversations, an attacker holding every file and the current keys recovers, on all ten conversations written by the largest model, 70 of 71 forgotten secrets after logical deletion, 67 with per-object or epoch keys, and none with LinEra; the same holds for every writer tested. The price is a larger forgetting radius, which follows a simple law in the writer's fan-in: forgetting 1% of turns erases 73.0% of derived memories with session-level summaries but only 3.8% with four-turn windows, which also answer better; re-deriving restores what is lost.