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

大语言模型中实体级记忆的量化与分析

Quantifying and Analyzing Entity-level Memorization in Large Language Models

Beijing University of Posts and Telecommunications(北京邮电大学);University of Michigan(密歇根大学)

Zhenhong Zhou, Jiuyang Xiang, Chaomeng Chen, Sen Su

AI总结:

该研究针对现有大语言模型记忆量化方法的局限性,提出细粒度实体级记忆量化定义与敏感实体高效提取方法,实验证实模型实体级记忆能力强且能理解实体关联,为隐私风险防控提供依据。

摘要:

大语言模型(LLMs)已被证实能够记忆其训练数据,这些数据可通过专门设计的提示词提取出来。随着数据集规模持续增长,由记忆引发的隐私风险受到越来越多的关注。量化语言模型的记忆有助于评估潜在的隐私风险。然而,以往的记忆量化研究需要获取精确的原始数据,或是会产生极高的计算开销,难以应用于实际场景中的语言模型。针对这一问题,我们提出了一种细粒度的实体级定义,采用更贴近真实场景的条件和指标来量化记忆程度。此外,我们还提出了一种从自回归语言模型中高效提取敏感实体的方法。我们基于所提出的方法开展了大量实验,探究语言模型在不同设置下重构敏感实体的能力。研究发现,语言模型在实体层面具有很强的记忆能力,即便仅存在部分信息泄露,也能复现训练数据。结果表明,LLMs不仅能记忆训练数据,还能理解实体之间的关联。这些发现要求LLM的训练方对模型记忆问题保持更高的审慎态度,采用记忆缓解技术以防范隐私侵犯。

英文摘要:

Large language models (LLMs) have been proven capable of memorizing their training data, which can be extracted through specifically designed prompts. As the scale of datasets continues to grow, privacy risks arising from memorization have attracted increasing attention. Quantifying language model memorization helps evaluate potential privacy risks. However, prior works on quantifying memorization require access to the precise original data or incur substantial computational overhead, making it difficult for applications in real-world language models. To this end, we propose a fine-grained, entity-level definition to quantify memorization with conditions and metrics closer to real-world scenarios. In addition, we also present an approach for efficiently extracting sensitive entities from autoregressive language models. We conduct extensive experiments based on the proposed, probing language models' ability to reconstruct sensitive entities under different settings. We find that language models have strong memorization at the entity level and are able to reproduce the training data even with partial leakages. The results demonstrate that LLMs not only memorize their training data but also understand associations between entities. These findings necessitate that trainers of LLMs exercise greater prudence regarding model memorization, adopting memorization mitigation techniques to preclude privacy violations.

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

↑