A Multi-Perspective Analysis of Memorization in Large Language Models
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2016Understanding deep learning requires rethinking generalizationcited by 1,674
- 2016Understanding intermediate layers using linear classifier probescited by 1,353
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
- 2022Quantifying Memorization Across Neural Language Modelscited by 763
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 523
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 460
10 more
- 2023NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each Benchmarkcited by 348
- 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 314
- 2022Can language models learn from explanations in context?cited by 249
- 2022A Review on Language Models as Knowledge Basescited by 157
- 2023Are Emergent Abilities in Large Language Models just In-Context Learning?cited by 109
- 2021Exploring the Limits of Large Scale Pre-trainingcited by 104
- 2022Preventing Verbatim Memorization in Language Models Gives a False Sense of Privacycited by 100
- 2024Localizing Paragraph Memorization in Language Modelscited by 31
- 2024ROME: Memorization Insights from Text, Logits and Representationcited by 8
- 2024Scaling Behavior of Machine Translation with Large Language Models under Prompt Injection Attackscited by 4
Built on by
Citing papers per year: 2024: 2; 2025: 3; 2026: 3.
8 papers.
- 2024Undesirable Memorization in Large Language Models: A Surveycited by 29
- 2024Beyond Math: Stories as a Testbed for Memorization-Constrained Reasoning in LLMscited by 12
- 2025Dataset distillation for memorized data: Soft labels can leak held-out teacher knowledgecited by 10
- 2025Extracting alignment data in open modelscited by 8
- 2025Realizing LLMs' Causal Potential Requires Science-Grounded, Novel Benchmarkscited by 4
- 2026Mitigating Memorization Where It Happenscited by 2
- 2026GR-SAP: Generative Replay for Safety Alignment Preservation during Fine-Tuningcited by 2
- 2026Responsible AI for General-Purpose Systems: Overview, Challenges, and A Path Forwardcited by 0
- 2026GR-SAP: Generative Replay for Safety Alignment Preservation during Fine-Tuning10 Mar 2026
- 2026Mitigating Memorization Where It Happens9 Feb 2026
- 2026Responsible AI for General-Purpose Systems: Overview, Challenges, and A Path Forward19 Jan 2026
- 2025Extracting alignment data in open models21 Oct 2025
- 2025Realizing LLMs' Causal Potential Requires Science-Grounded, Novel Benchmarks18 Oct 2025
- 2025Dataset distillation for memorized data: Soft labels can leak held-out teacher knowledge17 Jun 2025
- 2024Beyond Math: Stories as a Testbed for Memorization-Constrained Reasoning in LLMs18 Dec 2024
- 2024Undesirable Memorization in Large Language Models: A Survey3 Oct 2024