Memorization Sinks: Isolating Memorization during LLM Training
Not on the map. Why?
Abstract (arXiv)
Large language models are susceptible to memorizing repeated sequences, posing privacy and copyright concerns. A popular mitigation strategy is to remove memorized information from specific neurons post-hoc. However, such approaches have shown limited success so far. In a controlled setting, we show that the memorization of natural sequences (those that resemble linguistically plausible text) become mechanistically entangled with general language abilities, thereby becoming challenging to remove post-hoc. In this work, we put forward a new paradigm of MemSinks that promotes isolation of memorization by design. We leverage a sequence identifier that activates a unique set of memorization neurons for each sequence across repetitions. By analyzing the dynamics of learning and forgetting, we argue that MemSinks facilitates isolation of memorized content, making it easier to remove without compromising general language capabilities. We implement MemSinks at the billion-parameter and billion-token scale, and observe both effective isolation and strong generalization. To our knowledge, this is the first proof-of-concept on real data demonstrating that simultaneous generalization and isolation is achievable. We open-source our code at http://github.com/grghosal/MemSinks.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 24 of its 33 references that are in the map. First posted on arXiv 14 Jul 2025.
Builds on
24 of 33 references.
References · 24
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2019Machine Unlearningcited by 1,061
- 2022Quantifying Memorization Across Neural Language Modelscited by 763
- 2018An Empirical Study of Example Forgetting during Deep Neural Network Learningcited by 678
- 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearningcited by 504
- 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 497
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 434
- 2022ST-MoE: Designing Stable and Transferable Sparse Expert Modelscited by 399
- 2019Gradient Descent with Early Stopping is Provably Robust to Label Noise for Overparameterized Neural Networkscited by 159
- 2021DEMix Layers: Disentangling Domains for Modular Language Modelingcited by 132
12 more
- 2024How Do Large Language Models Acquire Factual Knowledge During Pretraining?cited by 90
- 2022Polysemanticity and Capacity in Neural Networkscited by 77
- 2023Can Neural Network Memorization Be Localized?cited by 69
- 2024To Each (Textual Sequence) Its Own: Improving Memorized-Data Unlearning in Large Language Modelscited by 43
- 2020Coherent Gradients: An Approach to Understanding Generalization in Gradient Descent-based Optimizationcited by 41
- 2022Characterizing Datapoints via Second-Split Forgettingcited by 37
- 2020Improving Generalization by Controlling Label-Noise Information in Neural Network Weightscited by 35
- 2024Gradient Routing: Masking Gradients to Localize Computation in Neural Networkscited by 34
- 2024Localizing Paragraph Memorization in Language Modelscited by 31
- 2023Do Localization Methods Actually Localize Memorized Data in LLMs? A Tale of Two Benchmarkscited by 29
- 2024Learnable Privacy Neurons Localization in Language Modelscited by 27
- 2024Monet: Mixture of Monosemantic Experts for Transformerscited by 13
Built on by
Citing papers per year: 2025: 3; 2026: 4.
7 papers.
- 2025Pretraining with hierarchical memories: separating long-tail and common knowledgecited by 14
- 2025Beyond Data Filtering: Knowledge Localization for Capability Removal in LLMscited by 11
- 2025Geometric-disentangelment Unlearningcited by 4
- 2026Natively Unlearnable Large Language Modelscited by 2
- 2026Protecting patient privacy in clinical foundation models: Technical and legal perspectivescited by 1
- 2026LaCy: What Small Language Models Can and Should Learn is Not Just a Question of Losscited by 0
- 2026Co-LMLM: Continuous-Query Limited Memory Language Modelscited by 0
- 2026Protecting patient privacy in clinical foundation models: Technical and legal perspectives7 Aug 2026
- 2026Co-LMLM: Continuous-Query Limited Memory Language Models8 Jul 2026
- 2026Natively Unlearnable Large Language Models11 Jun 2026
- 2026LaCy: What Small Language Models Can and Should Learn is Not Just a Question of Loss12 Feb 2026
- 2025Beyond Data Filtering: Knowledge Localization for Capability Removal in LLMs5 Dec 2025
- 2025Geometric-disentangelment Unlearning21 Nov 2025
- 2025Pretraining with hierarchical memories: separating long-tail and common knowledge29 Sep 2025