背诵、重构与回忆:语言模型中的记忆现象作为一个多面性现象
Recite, Reconstruct, Recollect: Memorization in LMs as a Multifaceted Phenomenon
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分析而来,可能存在错误,请以论文正文为准。