大语言模型会泄露训练数据吗?基于倾向性的LLM记忆评估 LLMs Can Leak Training Data But Do They Want To? A Propensity-Aware Evaluation of Memorization in LLMs 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-06-04
⬇️ 3 次下载
👁️ 预览文献
💡 AI 中文简介
现有评估大语言模型记忆训练数据的方法,大多测试模型“能否被强制复述”,而非“日常使用中会不会主动泄露”。本文提出PropMe框架,对比前缀攻击与普通提示两种场景,并开发SimpleTrace工具追踪生成内容与训练语料的对应关系。在Comma和DFM Decoder两个开源模型、两种语言数据集上测试发现:前缀攻击能显著激发记忆,但普通提示下泄露倾向整体很低。研究呼吁同时报告最坏情况和日常泄露倾向,以更全面评估记忆风险。
领域自然语言处理 / 大语言模型安全与隐私
适合谁读需要一定专业背景(了解大语言模型训练与评估基础)
核心贡献1. 提出PropMe框架,首次系统区分记忆的“能力”与“倾向”,并给出将现有指标转化为倾向性指标的通用变换方法。2. 开发SimpleTrace轻量级追踪工具,基于infini-gram实现生成内容到大规模训练语料的确定性归因,支持逐字、近似逐字和倾向性记忆指标计算。
关键数据在Comma和DFM Decoder两个全开源模型、Common Pile和Dynaword两个数据集、两种语言上评估:前缀攻击激发的记忆信号显著强于通用或数据集特定提示,但倾向性得分整体较低;DFM Decoder(从Comma继续预训练)对Common Pile的记忆能力和倾向均下降,证明后续训练数据部分不同可降低记忆。
推荐理由如果你关心大模型到底会不会在日常使用中泄露训练数据,这篇论文用扎实的实验告诉你:能背出来不等于会背出来,评估记忆风险必须看“倾向”而非只看“能力”。
关键词["大语言模型", "训练数据记忆", "隐私泄露", "倾向性评估", "前缀攻击", "模型审计"]

原文摘要

查看英文原文摘要

Large language models can reproduce training data, but existing memorization evaluations mostly measure whether models can be forced to do so, rather than whether they do so under ordinary use. We introduce PropMe, a propensity-aware framework for memorization evaluation that contrasts prefix-based capability attacks with non-adversarial evaluations. We propose a metric transformation that, applied to existing functions, allows to create propensity metrics. We further introduce SimpleTrace, a lightweight tracing pipeline built on infini-gram that deterministically attributes model generations to large-scale training corpora and computes verbatim, near-verbatim, and propensity-transformed memorization metrics. Evaluating two fully-open models: Comma and DFM Decoder on two datasets: Common Pile and Dynaword in two languages, we find a consistent gap between capability and propensity: prefix attacks elicit substantially stronger memorization signals than generic or dataset-specific prompts, while propensity scores remain low overall. Thus, the models can reveal training data when directly elicited, but rarely do so in more common non-adversarial settings. We also find that DFM Decoder, which is continually pre-trained from Comma, exhibits reduced memorization and memorization propensity for Common Pile, confirming that memorization capability can decrease when later training emphasizes partially different data. Our results suggest, and we encourage, that memorization audits should report both worst-case extractability and ordinary leakage propensity in order to have a more comprehensive view of this phenomenon.