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

大型语言模型的马赛克记忆

The Mosaic Memory of Large Language Models

Imperial College London(伦敦帝国学院)

Igor Shilov, Matthieu Meeus, Yves-Alexandre de Montjoye

AI总结:

本文提出LLM的“马赛克记忆”现象,证明模型会整合相似序列信息且记忆主要是句法性的,模糊重复普遍存在并影响隐私与评估。

摘要:

随着大型语言模型(LLM)被广泛采用,理解它们如何从训练数据中学习并记忆训练数据变得至关重要。人们普遍认为,LLM中的记忆只会因序列在训练数据中重复而发生。相反,我们表明LLM通过组合来自相似序列的信息进行记忆,我们将这种现象称为马赛克记忆。我们表明主流LLM表现出马赛克记忆,其中模糊重复对记忆的贡献高达精确重复的0.8,即使经过大幅修改的序列也对记忆有显著贡献。尽管模型展现出推理能力,但我们有些令人惊讶地表明,记忆主要是句法层面的,而非语义层面的。最后,我们表明模糊重复在真实世界数据中无处不在,去重技术无法将其去除。综合来看,我们的结果挑战了广泛持有的信念,并表明记忆是一个更复杂的马赛克过程,对隐私、保密性、模型效用和评估具有现实意义。

英文摘要:

As Large Language Models (LLMs) become widely adopted, understanding how they learn from, and memorize, training data becomes crucial. Memorization in LLMs is widely assumed to only occur as a result of sequences being repeated in the training data. Instead, we show that LLMs memorize by assembling information from similar sequences, a phenomena we call mosaic memory. We show major LLMs to exhibit mosaic memory, with fuzzy duplicates contributing to memorization as much as 0.8 of an exact duplicate and even heavily modified sequences contributing substantially to memorization. Despite models display reasoning capabilities, we somewhat surprisingly show memorization to be predominantly syntactic rather than semantic. We finally show fuzzy duplicates to be ubiquitous in real-world data, untouched by deduplication techniques. Taken together, our results challenge widely held beliefs and show memorization to be a more complex, mosaic process, with real-world implications for privacy, confidentiality, model utility and evaluation.

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

↑