arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.14600cs.CR
收藏

PerProb:间接评估大语言模型中的记忆化

PerProb: Indirectly Evaluating Memorization in Large Language Models

City University of Hong Kong(香港城市大学);Hong Kong Metropolitan University(香港都会大学)

Yihan Liao, Jacky Keung, Xiaoxue Ma, Jingyu Zhang, Yicheng Sun

AI总结:

PerProb提出了一种无标签框架,通过比较困惑度和对数概率变化间接评估大语言模型的记忆化漏洞,并验证了多种缓解策略的有效性。

摘要:

大语言模型(LLMs)的快速发展是由包含敏感信息的大量数据集驱动的,这引发了严重的隐私问题。其中值得注意的威胁是成员推断攻击(MIA),攻击者可以推断出特定样本是否被用于模型训练。然而,由于研究结果不一致以及缺乏标准化的评估方法,MIA对LLMs的真实影响仍不清楚,这进一步被LLMs训练集的不透明性所复杂化。为了解决这些限制,我们提出了PerProb,一个统一的、无标签的框架,用于间接评估LLMs的记忆化漏洞。PerProb通过比较受害者和攻击者模型生成的数据的困惑度和平均对数概率的变化,来间接估计训练引起的记忆。与依赖成员/非成员标签或内部访问的先前MIA方法相比,PerProb独立于模型和任务,并且适用于黑盒和白盒设置。通过系统地将MIA分类为四种攻击模式,我们在五个数据集中评估了PerProb的有效性,揭示了LLMs中不同的记忆行为和隐私风险。此外,我们评估了缓解策略,包括知识蒸馏、提前停止和差分隐私,证明了这些方法在减少数据泄露方面的有效性。我们的发现提供了一个实用且可推广的框架,用于评估和改进LLMs的隐私性。

英文摘要:

The rapid advancement of Large Language Models (LLMs) has been driven by extensive datasets that may contain sensitive information, raising serious privacy concerns. One notable threat is the Membership Inference Attack (MIA), where adversaries infer whether a specific sample was used in model training. However, the true impact of MIA on LLMs remains unclear due to inconsistent findings and the lack of standardized evaluation methods, further complicated by the undisclosed nature of many LLM training sets. To address these limitations, we propose PerProb, a unified, label-free framework for indirectly assessing LLM memorization vulnerabilities. PerProb evaluates changes in perplexity and average log probability between data generated by victim and adversary models, enabling an indirect estimation of training-induced memory. Compared with prior MIA methods that rely on member/non-member labels or internal access, PerProb is independent of model and task, and applicable in both black-box and white-box settings. Through a systematic classification of MIA into four attack patterns, we evaluate PerProb's effectiveness across five datasets, revealing varying memory behaviors and privacy risks among LLMs. Additionally, we assess mitigation strategies, including knowledge distillation, early stopping, and differential privacy, demonstrating their effectiveness in reducing data leakage. Our findings offer a practical and generalizable framework for evaluating and improving LLM privacy.

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

↑