Knowledge Unlearning for Mitigating Privacy Risks in Language Models
Joel Jang, Dongkeun Yoon, Sohee Yang, Sungmin Cha, Moontae Lee, Lajanugen Logeswaran, Minjoon Seo
Abstract
Pretrained Language Models (LMs) memorize a vast amount of knowledge during initial pretraining, including information that may violate the privacy of personal lives and identities. Previous work addressing privacy issues for LMs has mostly focused on data preprocessing and differential privacy methods, both requiring re-training the underlying LM. We propose knowledge unlearning as an alternative method to reduce privacy risks for LMs post hoc. We show that simply performing gradient ascent on target token sequences is effective at forgetting them with little to no degradation of general language modeling performances for larger-sized LMs. We also find that sequential unlearning is better than trying to unlearn all the data at once and that unlearning is highly dependent on which kind of data (domain) is forgotten. By showing comparisons with previous methods known to mitigate privacy risks for LMs, we show that our approach can give a stronger empirical privacy guarantee in scenarios where the data vulnerable to extraction attacks are known a priori while being much more efficient and robust 1 .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
151 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Large Language Model Unlearning via Embedding-Corrupted Prompts cites PIQA: Reasoning about Physical Commonsense in Natural Language
- Large Language Model Unlearning via Embedding-Corrupted Prompts cites The WMDP Benchmark: Measuring and Reducing Malicious Use with Unlearning
- Large Language Model Unlearning via Embedding-Corrupted Prompts cites In-Context Unlearning: Language Models as Few-Shot Unlearners
- Large Language Model Unlearning via Embedding-Corrupted Prompts cites Language Models are Few-Shot Learners
- Large Language Model Unlearning via Embedding-Corrupted Prompts cites Machine Unlearning
- Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning cites Large Language Model Unlearning via Embedding-Corrupted Prompts
- Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning cites The WMDP Benchmark: Measuring and Reducing Malicious Use with Unlearning
- Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning cites In-Context Unlearning: Language Models as Few-Shot Unlearners
- Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning cites Machine Unlearning
- The WMDP Benchmark: Measuring and Reducing Malicious Use with Unlearning cites In-Context Unlearning: Language Models as Few-Shot Unlearners
- In-Context Unlearning: Language Models as Few-Shot Unlearners cites Language Models are Few-Shot Learners
- Reversing the Forget-Retain Objectives: An Efficient LLM Unlearning Framework from Logit Difference cites Machine Unlearning
- Reversing the Forget-Retain Objectives: An Efficient LLM Unlearning Framework from Logit Difference cites Extracting Training Data from Large Language Models
- Machine Unlearning cites Deep Learning with Differential Privacy
- Extracting Training Data from Large Language Models cites Language Models are Few-Shot Learners
- Extracting Training Data from Large Language Models cites Deep Learning with Differential Privacy
Cited by top-tier papers151
- The WMDP Benchmark: Measuring and Reducing Malicious Use with UnlearningNathaniel Li, Alexander Pan, Anjali Gopal, Summer Yue et al.ICML 2024 · 390 citations
- In-Context Unlearning: Language Models as Few-Shot UnlearnersMartin Pawelczyk, Seth Neel, Himabindu LakkarajuICML 2024 · 217 citations
- Simplicity Prevails: Rethinking Negative Preference Optimization for LLM UnlearningChongyu Fan, Jiancheng Liu, Licong Lin, Jinghan Jia et al.NeurIPS 2025 · 182 citations
- Large Language Model Unlearning via Embedding-Corrupted PromptsChris Yuhao Liu, Yaxuan Wang, Jeffrey Flanigan, Yang LiuNeurIPS 2024 · 138 citations
- Reversing the Forget-Retain Objectives: An Efficient LLM Unlearning Framework from Logit DifferenceJiabao Ji, Yujian Liu, Yang Zhang, Gaowen Liu et al.NeurIPS 2024 · 106 citations
Builds on17
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
- PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao et al.AAAI 2020 · 2,916 citations
- Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski et al.USENIX Security 2021 · 2,866 citations
- Machine UnlearningLucas Bourtoule, Varun Chandrasekaran, Christopher A. Choquette-Choo, Hengrui Jia et al.S&P 2021 · 1,381 citations
Related papers
- Protecting Privacy Through Approximating Optimal Parameters for Sequence Unlearning in Language ModelsDohyun Lee, Daniel Rim, Minseok Choi, Jaegul ChooACL Findings 2024 · 2 citations
- REVS: Unlearning Sensitive Information in Language Models via Rank Editing in the Vocabulary SpaceTomer Ashuach, Martin Tutek, Yonatan BelinkovACL Findings 2025 · 1 citation
- To Each (Textual Sequence) Its Own: Improving Memorized-Data Unlearning in Large Language ModelsGeorge-Octavian Barbulescu, Peter TriantafillouICML 2024 · 41 citations
- Fine-grained Pluggable Gradient Ascent for Knowledge Unlearning in Language ModelsXiaohua Feng, Chaochao Chen, Yuyuan Li, Zibin LinEMNLP 2024 · 6 citations
- Towards Robust and Parameter-Efficient Knowledge Unlearning for LLMsSungmin Cha, Sungjun Cho, Dasol Hwang, Moontae LeeICLR 2025
