arXiv:2607.12649cs.LGcs.CL2026-07被引 1

提出严谨验证大模型记忆性的新方法,避免误判和漏判。

Extractable Memorization From First Principles

论文配图:Extractable Memorization From First Principles
图 1 · 摘自论文原文
  • 通过匹配对比法,区分记忆与可预测性生成
  • 实测非训练文本生成概率达训练文本24%,属假阳性
  • 设定极低阈值(如1e-27),支持可信记忆性判断

大语言模型中的可提取记忆性研究存在两种有效性问题:部分研究高估提取能力,依赖过短序列导致无法区分记忆与可预测性;另一些则认为提取不可靠,因模型能复现未显式训练的现实文本。本文指出,有效记忆性声明需满足:模型对训练序列的生成概率显著高于合理基线。为此,提出两种匹配对比方法:一是基于种群采样的置信度检验,校准固定假阳性率下的阈值;二是针对单个文档(如书籍)的普查法,以匹配的非训练文档为基线。实验表明,对维基百科的OLMo 2 32B模型,非训练10词后缀的生成率约为训练序列的24%,反映的是假阳性而非真实记忆。对于Llama 3.1 70B在书籍上的表现,校准阈值低至1e-27,说明现有采样预算无法提取真正记忆的序列。因此,修正‘可提取记忆性’定义,要求具备有效记忆性声明且在实际采样预算下近乎确定生成。

原文摘要 · Abstract (English)

Recent work on extractable memorization in LLMs suffers from two contrasting validity problems. Some studies overstate extraction, e.g., relying on sequences too short to distinguish memorization from predictability. Others imply that extraction is unreliable evidence of memorization, since models can also reproduce real-world text they weren't explicitly trained on. In different ways, both overlook what makes a valid extraction claim: the model must generate a training sequence with high enough probability to indicate memorization. To determine what's high enough, one has to perform a matched comparison: measuring the generation probabilities of both the training sequences of interest and comparable non-training sequences. Because non-training sequences cannot have been memorized, their probabilities provide a baseline for predictability; a training sequence exceeding this baseline provides evidence of memorization. We formalize matched comparisons in two ways: (1) a conformal test that calibrates a threshold to a chosen FPR when training and non-training sequences are sampled from populations, and (2) a census that calibrates against a matched non-training document when the object is a single document (e.g., a book). We show that matched comparisons enable rigorous, calibrated memorization claims, and reveal where prior setups have validity issues. For instance, on Wikipedia OLMo 2 32B reproduces non-training 10-token suffixes roughly 24% as often as training ones: that share of the training generation rate reflects false positives, not memorization. For Llama 3.1 70B on books, the thresholds we calibrate are as low as 1e-27, supporting memorization claims for sequences that no feasible sampling budget would extract. Based on these results, we refine "extractable memorization" to require a valid memorization claim and near-certain generation within a realistic budget.

大模型记忆可提取性可靠性验证

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。