Get Confused Cautiously: Textual Sequence Memorization Erasure with Selective Entropy Maximization
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have been found to memorize and recite some of the textual sequences from their training set verbatim, raising broad concerns about privacy and copyright issues when using LLMs. This Textual Sequence Memorization (TSM) phenomenon leads to a high demand to regulate LLM output to prevent it from generating certain memorized text to meet user requirements. However, our empirical study reveals that existing methods for TSM erasure fail to forget massive memorized samples without substantially jeopardizing the model utility. To achieve a better trade-off between the effectiveness of TSM erasure and model utility in LLMs, our paper proposes a new framework based on Entropy Maximization with Selective Optimization (EMSO), where the updated weights are chosen with a novel contrastive gradient metric without any participation of additional model or data. Our analysis shows that training with the entropy maximization loss has a more stable optimization process and better keeps model utility than existing methods. The contrastive gradient metric localizes the most influential weight for TSM erasure by taking both the gradient magnitude and direction into consideration. Extensive experiments across three model scales demonstrate that our method excels in handling large-scale forgetting requests while preserving model ability in language generation and reasoning.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 41 of its 60 references that are in the map. First posted on arXiv 9 Aug 2024.
Builds on
41 of 60 references.
References · 41
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
29 more
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
- 2018Sanity Checks for Saliency Mapscited by 1,149
- 2019Machine Unlearningcited by 1,020
- 2019When Does Label Smoothing Help?cited by 985
- 2022Mass-Editing Memory in a Transformercited by 976
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2024TOFU: A Task of Fictitious Unlearning for LLMscited by 507
- 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 488
- 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearningcited by 484
- 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Modelscited by 424
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 415
- 2023SalUn: Empowering Machine Unlearning via Gradient-based Weight Saliency in Both Image Classification and Generationcited by 376
- 2023Who's Harry Potter? Approximate Unlearning in LLMscited by 366
- 2020Amnesiac Machine Learningcited by 305
- 2024MUSE: Machine Unlearning Six-Way Evaluation for Language Modelscited by 251
- 2022A Contrastive Framework for Neural Text Generationcited by 224
- 2023Model Sparsity Can Simplify Machine Unlearningcited by 206
- 2022Are Large Pre-Trained Language Models Leaking Your Personal Information?cited by 195
- 2022Can Bad Teaching Induce Forgetting? Unlearning in Deep Networks using an Incompetent Teachercited by 189
- 2024Towards Safer Large Language Models through Machine Unlearningcited by 134
- 2022Measuring Forgetting of Memorized Training Examplescited by 118
- 2023KGA: A General Machine Unlearning Framework Based on Knowledge Gap Alignmentcited by 94
- 2023DEPN: Detecting and Editing Privacy Neurons in Pretrained Language Modelscited by 75
- 2024Demystifying Verbatim Memorization in Large Language Modelscited by 55
- 2024Selective Forgetting: Advancing Machine Unlearning Techniques and Evaluation in Language Modelscited by 36
- 2021Revisiting Sanity Checks for Saliency Mapscited by 20
- 2024Sparse Matrix in Large Language Model Fine-tuningcited by 8
Built on by
Citing papers per year: 2024: 2; 2025: 0; 2026: 2.
4 papers.
- 2024Conformity in Large Language Modelscited by 30
- 2024Privacy-preserved LLM Cascade via CoT-enhanced Policy Learningcited by 8
- 2026GSS: Gated Subspace Steering for Selective Memorization Mitigation in LLMscited by 2
- 2026Confidence Should Be Calibrated More Than One Turn Deepcited by 1
- 2026Confidence Should Be Calibrated More Than One Turn Deep7 Apr 2026
- 2026GSS: Gated Subspace Steering for Selective Memorization Mitigation in LLMs9 Feb 2026
- 2024Conformity in Large Language Models16 Oct 2024
- 2024Privacy-preserved LLM Cascade via CoT-enhanced Policy Learning10 Oct 2024