mlsanityData to 14 Oct 2026

Rethinking Memorization Measures and their Implications in Large Language Models

arXiv 2507.14777 ↗First posted 20 Jul 2025cs.LGcited by 1

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

We investigate foundational questions about the interplay between memorization and learning in large language models (LLMs). When an LLM generates a string, can we disentangle the roles of rote memorization and contextual learning? Rote memorization results in an LLM regurgitating specific details of a training string, while contextual learning leads to the generation of new strings that follow generalizable patterns of the underlying language. Related questions of interest include: can an LLM avoid memorization when optimally learning a language?, and if not, can we design training schemes to reduce memorization and improve learning? To address these questions, we propose contextual memorization, a new measure that precisely disentangles memorization from learning. Using this measure, we establish that different training strings are memorized at different epochs in training, and that memorization of some training strings is unavoidable when optimally learning a language. Finally, we propose memorization-aware training, a scheme that dynamically down-samples training strings based on their memorization, and in doing so, equalizes learning across strings, reduces memorization, and improves learning. Our conclusions are supported by extensive experiments on multiple LLMs using formal languages as a controlled testbed, enabling precise language specification, exact string sampling, and elimination of data contamination; and further validated on natural languages.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 48 of its 65 references that are in the map. First posted on arXiv 20 Jul 2025.

Builds on

48 of 65 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Rethinking LLM Memorization through the Lens of Adversarial Compression23 Apr

Other references · 47

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2024Qwen2.5 Technical Reportcited by 4,942
  3. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  4. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  5. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  6. 2020Extracting Training Data from Large Language Modelscited by 2,189
  7. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  8. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
  9. 2022Quantifying Memorization Across Neural Language Modelscited by 763
  10. 2021Deduplicating Training Data Makes Language Models Bettercited by 714
  11. 2024OLMo: Accelerating the Science of Language Modelscited by 613
  12. 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 497
35 more
  1. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 314
  2. 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
  3. 2022Transformers Learn Shortcuts to Automatacited by 268
  4. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 220
  5. 2022Neural Networks and the Chomsky Hierarchycited by 217
  6. 2023Cross-Entropy Loss Functions: Theoretical Analysis and Applicationscited by 210
  7. 2022Are Large Pre-Trained Language Models Leaking Your Personal Information?cited by 200
  8. 2021Counterfactual Memorization in Neural Language Modelscited by 156
  9. 2023Emergent and Predictable Memorization in Large Language Modelscited by 148
  10. 2023ProPILE: Probing Privacy Leakage in Large Language Modelscited by 129
  11. 2021How much do language models copy from their training data? Evaluating linguistic novelty in text generation using RAVENcited by 124
  12. 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 122
  13. 2022Measuring Forgetting of Memorized Training Examplescited by 118
  14. 2023Foundation Models and Fair Usecited by 116
  15. 2024In-Context Language Learning: Architectures and Algorithmscited by 89
  16. 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 85
  17. 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structurescited by 83
  18. 2024Why are Sensitive Functions Hard for Transformers?cited by 74
  19. 2022Understanding Transformer Memorization Recall Through Idiomscited by 62
  20. 2021On Memorization in Probabilistic Deep Generative Modelscited by 60
  21. 2018Are All Languages Equally Hard to Language-Model?cited by 53
  22. 2019What Kind of Language Is Hard to Language-Model?cited by 50
  23. 2022Characterizing Intrinsic Compositionality in Transformers with Tree Projectionscited by 41
  24. 2021Examining the Inductive Bias of Neural Language Models with Artificial Languagescited by 40
  25. 2023Injecting structural hints: Using language models to study inductive biases in language learningcited by 35
  26. 2024Undesirable Memorization in Large Language Models: A Surveycited by 29
  27. 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languagescited by 20
  28. 2023Quantifying and Analyzing Entity-level Memorization in Large Language Modelscited by 18
  29. 2024Exploring Memorization and Copyright Violation in Frontier LLMs: A Study of the New York Times v. OpenAI 2023 Lawsuitcited by 18
  30. 2024LLMs and Memorization: On Quality and Specificity of Copyright Compliancecited by 16
  31. 2023Transformer Working Memory Enables Regular Language Reasoning and Natural Language Length Extrapolationcited by 13
  32. 2024Measuring memorization in RLHF for code completioncited by 13
  33. 2023Transparency at the Source: Evaluating and Interpreting Language Models With Access to the True Distributioncited by 10
  34. 2021Learning Bounded Context-Free-Grammar via LSTM and the Transformer:Difference and Explanationscited by 7
  35. 2025Revisiting Privacy, Utility, and Efficiency Trade-offs when Fine-Tuning Large Language Modelscited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025The Landscape of Memorization in LLMs: Mechanisms, Measurement, and Mitigation
  2. 2026Do LLMs Really Memorize Personally Identifiable Information? Revisiting PII Leakage with a Cue-Controlled Memorization Framework
  3. 2025Shared Path: Unraveling Memorization in Multilingual LLMs through Language Similarities
  4. 2025Impact of Fine-Tuning Methods on Memorization in Large Language Models
  5. 2025Analyzing Memorization in Large Language Models through the Lens of Model Attribution
  6. 2024Demystifying Verbatim Memorization in Large Language Models
  7. 2026Unintended Memorization of Sensitive Information in Fine-Tuned Language Models
  8. 2025Leaner Training, Lower Leakage: Revisiting Memorization in LLM Fine-Tuning with LoRA