arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.17746cs.CLcs.AI
收藏

背诵、重构与回忆:语言模型中的记忆现象作为一个多面性现象

Recite, Reconstruct, Recollect: Memorization in LMs as a Multifaceted Phenomenon

EleutherAI;Microsoft(微软);New York University(纽约大学);DatologyAI;Northeastern University(东北大学);MPI-SWS;IIIT Delhi(德里印度理工学院);Google DeepMind(谷歌DeepMind);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Harvard University(哈佛大学);Kempner Institute(Kempner研究所)
USVSN Sai Prashanth, Alvin Deng, Kyle O'Brien, Jyothir S, Mohammad Aflah Khan, Jaydeep Borkar, Christopher A. Choquette-Choo, Jacob Ray Fuehne, Stella Biderman,… 展开作者

USVSN Sai Prashanth, Alvin Deng, Kyle O'Brien, Jyothir S, Mohammad Aflah Khan, Jaydeep Borkar, Christopher A. Choquette-Choo, Jacob Ray Fuehne, Stella Biderman, Tracy Ke, Katherine Lee, Naomi Saphra

AI总结:

本文将语言模型记忆现象分解为背诵、重构与回忆三类,构建预测模型并分析因素依赖,揭示不同类别下记忆影响因素各异。

摘要:

语言模型中的记忆通常被视为一种同质现象,忽略了被记忆数据的具体特征。我们转而将记忆建模为一组复杂因素的作用,这些因素描述每个样本,并将其与模型和语料库关联起来。为了建立对这些因素的直观理解,我们将记忆分解为一个分类体系:对高度重复序列的背诵、对本质上可预测序列的重构,以及对既非高度重复也非本质上可预测的序列的回忆。我们通过利用该分类体系构建记忆预测模型来证明其有用性。通过分析依赖关系并检查预测模型的权重,我们发现不同因素对记忆可能性的影响因分类类别而异。

英文摘要:

Memorization in language models is typically treated as a homogenous phenomenon, neglecting the specifics of the memorized data. We instead model memorization as the effect of a set of complex factors that describe each sample and relate it to the model and corpus. To build intuition around these factors, we break memorization down into a taxonomy: recitation of highly duplicated sequences, reconstruction of inherently predictable sequences, and recollection of sequences that are neither. We demonstrate the usefulness of our taxonomy by using it to construct a predictive model for memorization. By analyzing dependencies and inspecting the weights of the predictive model, we find that different factors influence the likelihood of memorization differently depending on the taxonomic category.

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

↑