mlsanityData to 14 Oct 2026

UCD: Unlearning in LLMs via Contrastive Decoding

arXiv 2506.12097 ↗First posted 12 Jun 2025cs.CL cs.CR cs.LGcited by 9

On the map: LLM safety and security → Machine unlearning

Abstract (arXiv)

Machine unlearning aims to remove specific information, e.g. sensitive or undesirable content, from large language models (LLMs) while preserving overall performance. We propose an inference-time unlearning algorithm that uses contrastive decoding, leveraging two auxiliary smaller models, one trained without the forget set and one trained with it, to guide the outputs of the original model using their difference during inference. Our strategy substantially improves the tradeoff between unlearning effectiveness and model utility. We evaluate our approach on two unlearning benchmarks, TOFU and MUSE. Results show notable gains in both forget quality and retained performance in comparison to prior approaches, suggesting that incorporating contrastive decoding can offer an efficient, practical avenue for unlearning concepts in large-scale models.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Machine unlearning, one of 12 directions in LLM safety and security. Builds on 47 of its 55 references that are in the map. First posted on arXiv 12 Jun 2025.

Builds on

47 of 55 references.

Closest ancestors · 26

Same direction, newest first

  1. 2025Exact Unlearning of Finetuning Data via Model Merging at Scale6 Apr
  2. 2025Open Problems in Machine Unlearning for AI Safety9 Jan
  3. 2024Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning9 Oct
  4. 2024An Adversarial Perspective on Machine Unlearning for AI Safety26 Sep
  5. 2024MUSE: Machine Unlearning Six-Way Evaluation for Language Models8 Jul
  6. 2024Towards Scalable Exact Machine Unlearning Using Parameter-Efficient Fine-Tuning24 Jun
  7. 2024Split, Unlearn, Merge: Leveraging Data Attributes for More Effective Unlearning in LLMs17 Jun
  8. 2024Large Language Model Unlearning via Embedding-Corrupted Prompts12 Jun
  9. 2024Large Scale Knowledge Washing26 May
  10. 2024SOUL: Unlocking the Power of Second-Order Optimization for LLM Unlearning28 Apr
  11. 2024Rethinking LLM Memorization through the Lens of Adversarial Compression23 Apr
  12. 2024Guardrail Baselines for Unlearning in LLMs5 Mar
14 more
  1. 2024Rethinking Machine Unlearning for Large Language Models13 Feb
  2. 2023Unlearn What You Want to Forget: Efficient Unlearning for LLMs31 Oct
  3. 2023Large Language Model Unlearning14 Oct
  4. 2023In-Context Unlearning: Language Models as Few Shot Unlearners11 Oct
  5. 2023Ticketed Learning-Unlearning Schemes27 Jun
  6. 2023Towards Unbounded Machine Unlearning20 Feb
  7. 2022Privacy Adhering Machine Un-learning in NLP19 Dec
  8. 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Models4 Oct
  9. 2022Algorithms that Approximate Data Removal: New Results and Limitations25 Sep
  10. 2022A Survey of Machine Unlearning6 Sep
  11. 2022Quark: Controllable Text Generation with Reinforced Unlearning26 May
  12. 2022Continual Learning and Private Unlearning24 Mar
  13. 2021Adaptive Machine Unlearning8 Jun
  14. 2021Remember What You Want to Forget: Algorithms for Machine Unlearning4 Mar

Other references · 21

  1. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  2. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  3. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  4. 2020Extracting Training Data from Large Language Modelscited by 2,189
  5. 2022Editing Models with Task Arithmeticcited by 1,120
  6. 2019Machine Unlearningcited by 1,061
  7. 2022Mass-Editing Memory in a Transformercited by 1,001
  8. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
  9. 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 509
  10. 2022Memory-Based Model Editing at Scalecited by 447
  11. 2023Detecting Pretraining Data from Large Language Modelscited by 387
  12. 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 372
9 more
  1. 2020Descent-to-Delete: Gradient-Based Methods for Machine Unlearningcited by 311
  2. 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Modelscited by 301
  3. 2023Text-to-image Diffusion Models in Generative AI: A Surveycited by 265
  4. 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 254
  5. 2023Model evaluation for extreme riskscited by 177
  6. 2023Copyright Violations and Large Language Modelscited by 108
  7. 2023Contrastive Decoding Improves Reasoning in Large Language Modelscited by 74
  8. 2024GenARM: Reward Guided Generation with Autoregressive Reward Model for Test-time Alignmentcited by 54
  9. 2023Knowledge Sanitization of Large Language Modelscited by 37

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 8.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025LLM Unlearning Under the Microscope: A Full-Stack View on Methods and Metrics
  2. 2025BLUR: A Benchmark for LLM Unlearning Robust to Forget-Retain Overlap
  3. 2024Catastrophic Failure of LLM Unlearning via Quantization
  4. 2025A Comprehensive Survey of Machine Unlearning Techniques for Large Language Models
  5. 2025Unlearning That Lasts: Utility-Preserving, Robust, and Almost Irreversible Forgetting in LLMs
  6. 2024LLM Unlearning via Loss Adjustment with Only Forget Data
  7. 2024Contrastive Unlearning: A Contrastive Approach to Machine Unlearning
  8. 2024A Closer Look at Machine Unlearning for Large Language Models