Decouple to Forget: Semantic Mediation for Sensitive Unlearning in Large Language Models
cs.CL
Submitted: 2026-10-13
Updated: 2026-10-13
Comments: 26 pages, 6 figures
Code: https://github.com/JingyueCong/D2F
License: http://creativecommons.org/licenses/by/4.0/
The gist: Machine unlearning for large language models seeks to remove specified knowledge while preserving general capability, yet current methods often treat an entire response as the unit of forgetting.
Abstract
Machine unlearning for large language models seeks to remove specified knowledge while preserving general capability, yet current methods often treat an entire response as the unit of forgetting. This coarse granularity causes unnecessary utility loss when the forget target is only a small set of sensitive facts embedded within otherwise benign explanations. In this paper, we introduce Decouple to Forget (D2F), a targeted unlearning method inspired by semantic mediation that separates sensitive factual content from non-sensitive meaning and surface expression. For each example to be forgotten, D2F extracts a fact-level "mediator" representation from the answer, identifies which parts are sensitive, and removes only those parts while leaving the rest of the structure intact. We then generate counterfactual answers grounded in this mediator that preserve non-sensitive content but exclude sensitive facts, employing preference-based contrastive optimization to reduce the likelihood of information leakage while maintaining helpfulness and fluency. Experiments across various benchmark datasets show that D2F achieves a better balance between forgetting and retention than strong baseline methods. Our code is available at https://github.com/JingyueCong/D2F.
Sources
- GPT-4 Technical Report
- MEOW: MEMOry Supervised LLM Unlearning Via Inverted Facts
- Adam: A Method for Stochastic Optimization
- Hallucinate Less by Thinking More: Aspect-Based Causal Abstention for Large Language Models
- GUARD: Guided Unlearning and Retention via Data Attribution for Large Language Models
- Llama 2: Open Foundation and Fine-Tuned Chat Models
- RULE: Reinforcement UnLEarning Achieves Forget-Retain Pareto Optimality
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering