arXiv:2610.17654cs.CLOct 2026

Manuscript Offprint

arXiv:2610.17654

Decouple to Forget: Semantic Mediation for Sensitive Unlearning in Large Language Models

Jingyue Cong, Andy Song, Yang Yu, Tabinda Sarwar, Xinshu Li, Ziqi Xu, Xun Yi, Ke Wang, Bo Han, Estrid He

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 Introduction

Large language models (LLMs) can memorize and reproduce information from their training data (Carlini et al., 2022; Elangovan et al., 2021; Carlini et al., 2021), creating a practical need for targeted machine unlearning: removing specific sensitive or proprietary knowledge upon request, while preserving general capabilities (Chang and Lee, 2025; Gu et al., 2025; Li et al., 2025a; Ashuach et al., 2025). This requirement is increasingly relevant for privacy-driven deletion requests, proprietary

How to forget answer-only sensitive facts without refusing?

Policy: prompt-given attributes are allowed; redact sensitive attributes introduced by the model.

Figure

Goal: shift probability mass from Leak or Refuse to Selective.

Figure 1: In TOFU-style unlearning (Maini et al., 2024), each instance is a question-answer pair. The question can explicitly provide prompt-given (benign) attributes. However, the corresponding model-generated ground-truth answer may additionally introduce answer-only sensitive attributes (e.g., family occupations) attributed to model memorization; these constitute the facts to be forgotten. Existing unlearning methods often exhibit an undesirable trade-off: they either over-forget by refusing to answer, or under-forget by continuing to reveal answer-only sensitive attributes under paraphrased prompts. Our goal is to shift probability mass from Leak or Refuse toward Selective, producing informative responses that preserve non-sensitive meaning while redacting answer-only sensitive facts, including under paraphrase attacks.

data revocation, and model governance workflows, where a model should no longer reveal a protected fact but should remain fluent, helpful, and reliable on non-sensitive content.

Existing LLM unlearning methods mainly differ in how they suppress or replace forget-set behavior. Reverse-optimization methods, such as gradient ascent, reduce the likelihood of forget examples directly (Jang et al., 2023). Preference-based methods, such as NPO and DPO-style unlearning, treat leaky responses as dispreferred out-puts (Zhang et al., 2024; Rafailov et al., 2023). Positive-optimization methods, such as ReLearn, train the model on synthesized alternatives that represent the desired post-unlearning behavior (Xu et al., 2025). More recent fine-grained objectives further localize the update to spans, tokens, or token-level preference weights (Wan et al., 2025).

Despite these advances, existing methods still operate at the imprecise semantic level: they either suppress an entire answer or localize the update to surface tokens, while the actual deletion target is often a factual attribute that can be expressed in many ways. This creates two failure modes. First, if the whole answer is suppressed, the model may remove not only the sensitive fact but also the non-sensitive meaning, discourse structure, and useful answer scaffold, leading to vague refusal or degraded retention. Second, if only local tokens are suppressed, the model may still reconstruct the same fact through aliases, paraphrases, related attributes, or distributed explanatory cues. Thus, selective unlearning requires more than deciding where to apply an unlearning loss.

This distinction is particularly important in question-answer unlearning, where a forget example may contain only a small protected payload embedded within an otherwise benign response. Treating the full answer as the deletion target conflates the sensitive fact with non-sensitive semantics, discourse structure, and surface realization. Token-level suppression only partially addresses this issue, since the same underlying fact may be recoverable through aliases, paraphrases, relations, or distributed contextual cues. Therefore, the key challenge is not merely where to apply the unlearning loss, but what semantic information should be removed and what answer-generating structure should remain intact.

We ask: Can we unlearn a model’s ability to reconstruct the sensitive facts, while preserving its ability to generate a natural answer with similar structure and non-sensitive meaning? Addressing this question requires a representation that isolates factual content within an answer, a principled mechanism for intervening on the sensitive portion, and a training objective that encourages the model to prefer safe generations while maintaining overall competence.

To address this challenge, we propose Decouple to Forget, namely D2F, which is a mediation-inspired framework for selective unlearning in LLMs. The central idea is to control forgetting at the level of answer semantics rather than treating an entire QA pair as the unlearning target. We introduce an explicit semantic mediator. That is, a compact representation of an answer's factual content (e.g., atomic relation tuples) that separates what is said (e.g., facts and attributes) from how it is said (e.g., syntax and style), following a mediation-inspired modeling principle (Pearl, 2009; Li et al., 2024). This is motivated by evidence that LLMs can memorize and reproduce training facts, making sensitive disclosure often driven by a small set of factual attributes rather than by the surrounding linguistic scaffold (Carlini et al., 2021, 2022). With an intervened mediator, we generate counterfactual positive answers that remain fluent and informative but omit the sensitive facts and perform preference-based contrastive learning to achieve model unlearning.

We evaluate D2F on two standard unlearning benchmarks, TOFU (Maini et al., 2024) and KNOWUNDO (Tian et al., 2024), and further stress-test it under human evaluation, mutual-information diagnostics, precision variation, and AIM jailbreak attacks (Wei et al., 2023). Across both datasets, D2F achieves the strongest forget-retain trade-off among the evaluated methods. On TOFU, D2F obtains a high knowledge forget rate (KFR) of 0.89 while preserving retain ROUGE-L/KRR of 0.83/0.92, improving retain ROUGE-L by +0.28 over DPO (Rafailov et al., 2023) and +0.36 over ReLearn (Xu et al., 2025), and retain KRR by +0.22 over DPO and +0.10 over ReLearn. On KNOWUNDO, D2F achieves KFR of 0.92, improving over DPO and ReLearn by +0.22 and +0.10, respectively, while also yielding the best retain ROUGE-L/KRR (0.78/0.88), with gains of +0.08/+0.22 over DPO and +0.13/+0.06 over ReLearn.

This paper makes three contributions: (1) We formalize policy-guided sensitive fact unlearning, where the deletion unit is the set of answer-introduced sensitive facts rather than the entire QA instance, and augment TOFU and KNOWUNDO with answer-only sensitive-span annotations for policy-consistent evaluation; (2) We introduce D2F, a mediator-inspired unlearning framework that represents answers with fact-level mediators, identifies minimal disclosure-enabling facts, and trains on mediator-grounded counterfactual preferences with retention regularization; (3) We provide a comprehensive empirical assessment using standard forget/retain metrics, human evaluation, ablation studies, various robustness stress tests, and model representation diagnostics.