mlsanityData to 7 Oct 2026

Get Confused Cautiously: Textual Sequence Memorization Erasure with Selective Entropy Maximization

arXiv 2408.04983 ↗First posted 9 Aug 2024cs.CLcited by 4

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  6. 2020Scaling Laws for Neural Language Modelscited by 6,411
  7. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  8. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  9. 2016Pointer Sentinel Mixture Modelscited by 2,992
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  11. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  12. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
29 more
  1. 2020Extracting Training Data from Large Language Modelscited by 2,144
  2. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  3. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
  4. 2018Sanity Checks for Saliency Mapscited by 1,149
  5. 2019Machine Unlearningcited by 1,020
  6. 2019When Does Label Smoothing Help?cited by 985
  7. 2022Mass-Editing Memory in a Transformercited by 976
  8. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
  9. 2024TOFU: A Task of Fictitious Unlearning for LLMscited by 507
  10. 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 488
  11. 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearningcited by 484
  12. 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Modelscited by 424
  13. 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 415
  14. 2023SalUn: Empowering Machine Unlearning via Gradient-based Weight Saliency in Both Image Classification and Generationcited by 376
  15. 2023Who's Harry Potter? Approximate Unlearning in LLMscited by 366
  16. 2020Amnesiac Machine Learningcited by 305
  17. 2024MUSE: Machine Unlearning Six-Way Evaluation for Language Modelscited by 251
  18. 2022A Contrastive Framework for Neural Text Generationcited by 224
  19. 2023Model Sparsity Can Simplify Machine Unlearningcited by 206
  20. 2022Are Large Pre-Trained Language Models Leaking Your Personal Information?cited by 195
  21. 2022Can Bad Teaching Induce Forgetting? Unlearning in Deep Networks using an Incompetent Teachercited by 189
  22. 2024Towards Safer Large Language Models through Machine Unlearningcited by 134
  23. 2022Measuring Forgetting of Memorized Training Examplescited by 118
  24. 2023KGA: A General Machine Unlearning Framework Based on Knowledge Gap Alignmentcited by 94
  25. 2023DEPN: Detecting and Editing Privacy Neurons in Pretrained Language Modelscited by 75
  26. 2024Demystifying Verbatim Memorization in Large Language Modelscited by 55
  27. 2024Selective Forgetting: Advancing Machine Unlearning Techniques and Evaluation in Language Modelscited by 36
  28. 2021Revisiting Sanity Checks for Saliency Mapscited by 20
  29. 2024Sparse Matrix in Large Language Model Fine-tuningcited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 0; 2026: 2.

4 papers.