mlsanityData to 14 Oct 2026

A Multi-Perspective Analysis of Memorization in Large Language Models

arXiv 2405.11577 ↗First posted 19 May 2024cs.CL cs.AIcited by 8

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs), trained on massive corpora with billions of parameters, show unprecedented performance in various fields. Though surprised by their excellent performances, researchers also noticed some special behaviors of those LLMs. One of those behaviors is memorization, in which LLMs can generate the same content used to train them. Though previous research has discussed memorization, the memorization of LLMs still lacks explanation, especially the cause of memorization and the dynamics of generating them. In this research, we comprehensively discussed memorization from various perspectives and extended the discussion scope to not only just the memorized content but also less and unmemorized content. Through various studies, we found that: (1) Through experiments, we revealed the relation of memorization between model size, continuation size, and context size. Further, we showed how unmemorized sentences transition to memorized sentences. (2) Through embedding analysis, we showed the distribution and decoding dynamics across model size in embedding space for sentences with different memorization scores. The n-gram statistics analysis presents d (3) An analysis over n-gram and entropy decoding dynamics discovered a boundary effect when the model starts to generate memorized sentences or unmemorized sentences. (4)We trained a Transformer model to predict the memorization of different models, showing that it is possible to predict memorizations by context.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 22 of its 42 references that are in the map. First posted on arXiv 19 May 2024.

Builds on

22 of 42 references.

References · 22

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020Scaling Laws for Neural Language Modelscited by 6,586
  4. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  5. 2019Language Models as Knowledge Bases?cited by 1,936
  6. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  7. 2016Understanding deep learning requires rethinking generalizationcited by 1,674
  8. 2016Understanding intermediate layers using linear classifier probescited by 1,353
  9. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
  10. 2022Quantifying Memorization Across Neural Language Modelscited by 763
  11. 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 523
  12. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 460
10 more
  1. 2023NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each Benchmarkcited by 348
  2. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 314
  3. 2022Can language models learn from explanations in context?cited by 249
  4. 2022A Review on Language Models as Knowledge Basescited by 157
  5. 2023Are Emergent Abilities in Large Language Models just In-Context Learning?cited by 109
  6. 2021Exploring the Limits of Large Scale Pre-trainingcited by 104
  7. 2022Preventing Verbatim Memorization in Language Models Gives a False Sense of Privacycited by 100
  8. 2024Localizing Paragraph Memorization in Language Modelscited by 31
  9. 2024ROME: Memorization Insights from Text, Logits and Representationcited by 8
  10. 2024Scaling Behavior of Machine Translation with Large Language Models under Prompt Injection Attackscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 3; 2026: 3.

8 papers.