Large language models, trained on massive corpora, are prone to verbatim memorization of training data, creating significant privacy and copyright risks. While previous works have proposed various definitions for memorization, many exhibit shortcomings in comprehensively capturing this phenomenon, especially in aligned models. To address this, we introduce a novel framework: multi-prefix memorization. Our core insight is that memorized sequences are deeply encoded and thus retrievable via a significantly larger number of distinct prefixes than non-memorized content. We formalize this by defining a sequence as memorized if an external adversarial search can identify a target count of distinct prefixes that elicit it. This framework shifts the focus from single-path extraction to quantifying the robustness of a memory, measured by the diversity of its retrieval paths. Through experiments on open-source and aligned chat models, we demonstrate that our multi-prefix definition reliably distinguishes memorized from non-memorized data, providing a robust and practical tool for auditing data leakage in LLMs.
MemChain: Learning Interpretable Memory Traces for Memory-Augmented LLM Agents
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences(中国科学院大学交叉科学学院);Memorax AI(Memorax人工智能公司);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
Less Is Personal: Learning Minimal Sufficient User Profiles for Personalized Language Models
State Key Laboratory of AI Safety, Institute of Computing Technology, CAS(中国科学院计算技术研究所人工智能安全国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学)
Hidden in Memory: Sleeper Memory Poisoning in LLM Agents
SPAR;ELLIS Institute Tübingen(图宾根ELLIS研究所);MPI for Intelligent Systems(智能系统马克斯·普朗克研究所);Tübingen AI Center(图宾根人工智能中心);APTA;CISPA Helmholtz Center for Information Security(信息安全海德堡中心)
MemAudit: Post-hoc Auditing of Poisoned Agent Memory via Causal Attribution and Structural Anomaly Detection
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Qiyuan Tech(齐元科技);Laboratory of Multimedia Information Processing, School of Computer Science, Peking University(北京大学计算机科学学院多媒体信息处理实验室);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)