arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.20799cs.CLcs.AIcs.CRcs.LG
收藏

从多路径中检索的记忆:一种多前缀框架,用于在大型语言模型中稳健检测训练数据泄露

Memories Retrieved from Many Paths: A Multi-Prefix Framework for Robust Detection of Training Data Leakage in Large Language Models

Department of Computer Science, University of Central Florida(计算机科学系,中央佛罗里达大学)

Trung Cuong Dang, David Mohaisen

AI总结:

本文提出多前缀框架,通过量化记忆的检索路径多样性,稳健检测大型语言模型中的训练数据泄露问题。

摘要:

大型语言模型在训练过程中会从大规模语料中verbatim记忆数据,从而产生显著的隐私和版权风险。尽管先前的工作提出了多种关于记忆化的定义,但许多方法在全面捕捉这一现象方面存在不足,尤其是在对齐模型中。为了解决这一问题,我们引入了一个新的框架:多前缀记忆。我们的核心见解是,记忆序列被深度编码,因此可以通过显著更多的不同前缀来检索。我们通过定义一个序列为记忆化,如果外部对抗性搜索可以识别出一个目标数量的不同前缀来触发它。该框架将焦点从单路径提取转向量化记忆的鲁棒性,通过其检索路径的多样性来衡量。通过在开源和对齐聊天模型上的实验,我们证明了我们的多前缀定义能够可靠地区分记忆化和非记忆化数据,提供了一种稳健且实用的工具,用于审计LLM中的数据泄露。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑