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

USVSN Sai Prashanth, Alvin Deng, Kyle O'Brien, V JyothirS, Mohammad Aflah Khan +7 more
6/1/2024
37 citations

Official code: EleutherAI/semantic-memorization (45 stars, Jupyter Notebook, last commit 2024-11-17).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

456Jupyter Notebook, PythonMar 15, 20232 years ago

Similar Papers

Cite this paper

@article{prashanth2024recite,
  title  = {Recite, Reconstruct, Recollect: Memorization in LMs as a Multifaceted Phenomenon},
  author = {USVSN Sai Prashanth and Alvin Deng and Kyle O'Brien and V JyothirS and Mohammad Aflah Khan and Jaydeep Borkar and Christopher A. Choquette-Choo and Jacob Ray Fuehne and Stella Biderman and Tracy Ke and Katherine Lee and Naomi Saphra},
  year   = {2024},
  eprint = {2406.17746},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2406.17746},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.17746.svg)](https://codeofpaper.com/paper/2406.17746)

Discussion