mlsanityData to 7 Oct 2026

SoK: Memorization in General-Purpose Large Language Models

arXiv 2310.18362 ↗First posted 24 Oct 2023cs.CL cs.CR cs.LGcited by 36

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) are advancing at a remarkable pace, with myriad applications under development. Unlike most earlier machine learning models, they are no longer built for one specific application but are designed to excel in a wide range of tasks. A major part of this success is due to their huge training datasets and the unprecedented number of model parameters, which allow them to memorize large amounts of information contained in the training data. This memorization goes beyond mere language, and encompasses information only present in a few documents. This is often desirable since it is necessary for performing tasks such as question answering, and therefore an important part of learning, but also brings a whole array of issues, from privacy and security to copyright and beyond. LLMs can memorize short secrets in the training data, but can also memorize concepts like facts or writing styles that can be expressed in text in many different ways. We propose a taxonomy for memorization in LLMs that covers verbatim text, facts, ideas and algorithms, writing styles, distributional properties, and alignment goals. We describe the implications of each type of memorization - both positive and negative - for model performance, privacy, security and confidentiality, copyright, and auditing, and ways to detect and prevent memorization. We further highlight the challenges that arise from the predominant way of defining memorization with respect to model behavior instead of model weights, due to LLM-specific phenomena such as reasoning capabilities or differences between decoding algorithms. Throughout the paper, we describe potential risks and opportunities arising from memorization in LLMs that we hope will motivate new research directions.

Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Builds on 136 of its 183 references that are in the map. First posted on arXiv 24 Oct 2023.

Builds on

136 of 183 references.

References · 136

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2022Training language models to follow instructions with human feedbackcited by 15,712
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  7. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  8. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  9. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  10. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  11. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  12. 2023Mistral 7Bcited by 3,065
38 more
  1. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  2. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  3. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  4. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  5. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  6. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  7. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  8. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  9. 2020Extracting Training Data from Large Language Modelscited by 2,144
  10. 2022Survey of Hallucination in Natural Language Generationcited by 2,056
  11. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  12. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  13. 2019Language Models as Knowledge Bases?cited by 1,922
  14. 2019Invariant Risk Minimizationcited by 1,832
  15. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  16. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
  17. 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
  18. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
  19. 2022Editing Models with Task Arithmeticcited by 1,076
  20. 2023Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecturecited by 982
  21. 2022Mass-Editing Memory in a Transformercited by 976
  22. 2019How Can We Know What Language Models Know?cited by 953
  23. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  24. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  25. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  26. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
  27. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
  28. 2021Deduplicating Training Data Makes Language Models Bettercited by 705
  29. 2023In-Context Retrieval-Augmented Language Modelscited by 694
  30. 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 663
  31. 2022Towards Reasoning in Large Language Models: A Surveycited by 593
  32. 2018Exploiting Unintended Feature Leakage in Collaborative Learningcited by 509
  33. 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 505
  34. 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 492
  35. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  36. 2023Reinforced Self-Training (ReST) for Language Modelingcited by 486
  37. 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 481
  38. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452

50 most cited of 136 All 136 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 14; 2025: 16; 2026: 6.

36 papers.

Sort:

By area:

  1. 2024On Memorization of Large Language Models in Logical Reasoningcited by 114
  2. 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 83
  3. 2024Undesirable Memorization in Large Language Models: A Surveycited by 29
  4. 2025Membership Inference Attacks Against Vision-Language Modelscited by 26
  5. 2025HCAST: Human-Calibrated Autonomy Software Taskscited by 19
  6. 2024The Curious Case of Nonverbal Abstract Reasoning with Multi-Modal Large Language Modelscited by 17
  7. 2024Special Characters Attack: Toward Scalable Training Data Extraction From Large Language Modelscited by 16
  8. 2024Verifiable by Design: Aligning Language Models to Quote from Pre-Training Datacited by 13
  9. 2024Replication in Visual Diffusion Models: A Survey and Outlookcited by 11
  10. 2025LLEMA: Evolutionary Search with LLMs for Multi-Objective Materials Discoverycited by 11
  11. 2025The Landscape of Memorization in LLMs: Mechanisms, Measurement, and Mitigationcited by 9
  12. 2024U Can't Gen This? A Survey of Intellectual Property Protection Methods for Data in Generative AIcited by 7
24 more
  1. 2025Extracting alignment data in open modelscited by 7
  2. 2024Evaluation of Geographical Distortions in Language Modelscited by 6
  3. 2025Detecting Benchmark Contamination Through Watermarkingcited by 6
  4. 2025Unveiling Chain of Step Reasoning for Vision-Language Models with Fine-grained Rewardscited by 6
  5. 2026LLM-ACES: Closed-Loop Discovery of Dynamical Systems with LLM-Guided Adaptive Searchcited by 5
  6. 2024At First Sight: Zero-Shot Classification of Astronomical Images with Large Multimodal Modelscited by 3
  7. 2025Agent-ScanKit: Unraveling Memory and Reasoning of Multimodal Agents via Sensitivity Perturbationscited by 3
  8. 2025Rectifying Belief Space via Unlearning to Harness LLMs' Reasoningcited by 2
  9. 2025Identifying Legal Holdings with LLMs: A Systematic Study of Performance, Scale, and Memorizationcited by 2
  10. 2025Mirage of Mastery: Memorization Tricks LLMs into Artificially Inflated Self-Knowledgecited by 2
  11. 2024Seeds of Stereotypes: A Large-Scale Textual Analysis of Race and Gender Associations with Diseases in Online Sourcescited by 1
  12. 2024Parameter Choice and Neuro-Symbolic Approaches for Deep Domain-Invariant Learningcited by 1
  13. 2024SoK: A Systems Perspective on Compound AI Threats and Countermeasurescited by 1
  14. 2025Enigme: Generative Text Puzzles for Evaluating Reasoning in Language Modelscited by 1
  15. 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
  16. 2026Model See, Model Do? Exposure-Aware Evaluation of Bug-vs-Fix Preference in Code LLMscited by 1
  17. 2026Cascade: Composing Software-Hardware Attack Gadgets for Adversarial Threat Amplification in Compound AI Systemscited by 1
  18. 2024Mothman at SemEval-2024 Task 9: An Iterative System for Chain-of-Thought Prompt Optimizationcited by 0
  19. 2025Representation in large language modelscited by 0
  20. 2025The Synthetic Mirror -- Synthetic Data at the Age of Agentic AIcited by 0
  21. 2025Improving AGI Evaluation: A Data Science Perspectivecited by 0
  22. 2026Output Vector Editing for Memorization Mitigation in Large Language Modelscited by 0
  23. 2026Do LLMs Know Your Neighborhood? Auditing LLM Priors for Neighborhood-Level Mobility Prediction and Structural Alignmentcited by 0
  24. 2026Is Memorization Context-Sensitive? Prefix-Based Extraction Beyond Isolated Prefixescited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Analyzing Memorization in Large Language Models through the Lens of Model Attribution
  2. 2025Grokking in LLM Pretraining? Monitor Memorization-to-Generalization without Test
  3. 2024Rethinking LLM Memorization through the Lens of Adversarial Compression
  4. 2024The Mosaic Memory of Large Language Models
  5. 2025LLM Post-Training: A Deep Dive into Reasoning Large Language Models
  6. 2023A Comprehensive Overview of Large Language Models
  7. 2024Survey of different Large Language Model Architectures: Trends, Benchmarks, and Challenges
  8. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories