Manuscript Offprint
arXiv:2610.41616What Should LLMs Forget: Reinforcement Unlearning of Knowledge Associations
Wutong Xu , Yun Qu , Haiyan Feng , Qi Wang , Xiangyang Ji
Department of Automation, Tsinghua University, Beijing, China
Large language models (LLMs) acquire extensive factual knowledge during pre-training, which may include sensitive, private, or copyrighted information, motivating the development of unlearning methods that selectively remove specific knowledge while preserving general capabilities. However, existing approaches typically optimize entire responses without explicitly identifying the knowledge to be forgotten, resulting in coarse and uncontrolled forgetting. To address this, we revisit the forgetting target of LLM unlearning and introduce Knowledge Association (KA), which characterizes the association between a query context and its target knowledge and is instantiated by the corresponding conditional predictive distribution, as the fundamental target of forgetting. Based on KA, we propose Knowledge Association Reinforcement Unlearning (KARU), a unified reinforcement learning framework that suppresses forgotten knowledge associations while preserving retained ones. Specifically, KARU derives complementary mechanisms from the KA-based formulation: token-level reward construction for finer-grained forgetting supervision, distribution-level regularization for precise knowledge suppression, and proximity-aware retain sampling to mitigate collateral degradation. Experiments across diverse LLMs on representative benchmarks demonstrate that KARU consistently improves forgetting effectiveness over existing baselines while maintaining comparable retention performance and general utility.
Date: October 30, 2026
Correspondence: Qi Wang cheemswang@mail.tsinghua.edu.cn and Xiangyang Ji xyji@tsinghua.edu.cn
THU-IDM
1 Introduction
Large language models (LLMs) acquire extensive factual knowledge during pre-training on vast web-scale corpora (Brown et al., 2020; Carlini et al., 2022). While this knowledge underpins their impressive capabilities across diverse tasks, it also introduces significant security and privacy risks: LLMs may memorize and reproduce sensitive personal information (Carlini et al., 2021; Parii et al., 2025), copyrighted material (Panaitescu-Liess et al., 2025; Liu et al., 2024a), or sensitive information related to weapons and cyberattacks (Li et al., 2024; Bengio et al., 2024). These risks are particularly relevant to the Web ecosystem, where large-scale data collection and reuse can expose private or sensitive information through model outputs. They are further underscored by privacy regulations such as the General Data Protection Regulation (GDPR) (Mantelero, 2013), which establishes individuals' "right to be forgotten," as well as the growing need for secure, privacy-preserving, and trustworthy AI systems. In response to these challenges, LLM unlearning (Jang et al., 2022; Eldan and Russinovich, 2023; Yao et al., 2024) has emerged as a critical research direction, aiming to mitigate these risks by removing the influence of specific knowledge or training data from LLMs while preserving their overall capabilities.
Various approaches, including supervised optimization, preference learning, and reinforcement learning, have been explored for LLM unlearning (Jang et al., 2022; Zhang et al., 2024; Fan et al., 2025). In particular, reinforcement learning (RL) formulates unlearning as a sequential decision-making problem and supports flexible reward design through online policy optimization (Zhang et al., 2026). Recent studies have demonstrated the potential of RL-based unlearning (Cao et al., 2024; Shi et al., 2025).
These authors contributed equally to this work.
Despite these advances, existing RL-based unlearning methods treat all generated content equally, without explicitly characterizing the target knowledge to be removed. Consequently, optimization signals are often distributed over irrelevant tokens, resulting in imprecise forgetting. Moreover, forgotten knowledge may remain encoded in the predictive distribution, leaving it vulnerable to extraction or reactivation (Patil et al., 2024; Wei et al., 2023; Yuan et al., 2025). Meanwhile, retention objectives typically assign uniform importance to retain samples, overlooking their heterogeneous susceptibility to collateral degradation (Dolgova and Stich, 2026; Ha et al., 2025; Cheng et al., 2026). This observation raises a fundamental question: what exactly should an LLM forget during unlearning?
In response to this question, we revisit the nature of unlearning targets and argue that existing methods implicitly optimize the underlying Knowledge Association (KA) rather than the entire generated response. KA characterizes the association between a query context and its target knowledge and is instantiated by the conditional predictive distribution. For instance, when unlearning where an author was born, the true target is the model's tendency to reveal the answer given the corresponding query, not the entire response of the forget sample. Treating KA as the forgetting target, we formulate a unified optimization objective that minimizes the discrepancy between the KAs of the unlearned model and an ideal reference model on forget samples, while preserving KAs on retain samples. From this objective, we propose Knowledge Association Reinforcement Unlearning (KARU), a unified framework for precise and efficient knowledge association unlearning, which optimizes the KA objective from complementary gradient, distribution, and retention perspectives: (i) Knowledge Associated Token Reward (KATR), arising naturally from the gradient analysis of the objective and yielding fine-grained optimization signals; (ii) Logits Flattening (LF), which complements KATR by further promoting distribution-level forgetting; (iii) Adaptive Neighborhood Sampling (ANS), which improves retention by prioritizing retain samples more susceptible to collateral degradation during unlearning.
Our contributions are summarized as follows:
-
We introduce knowledge association as the fundamental forgetting target and formulate a unified KA-based optimization objective for LLM unlearning.
-
We derive complementary optimization mechanisms from the KA objective through complementary gradient and distribution perspectives, enabling fine-grained and distribution-aware knowledge removal.
-
We reveal the locality of collateral degradation and propose adaptive neighborhood sampling to improve the forget–retain trade-off.
We evaluate KARU on representative unlearning benchmarks across diverse LLM backbones and RL algorithms. KARU consistently achieves stronger forgetting while maintaining comparable retention and general capabilities, improving the aggregate forget score by up to 30.5% over the state-of-the-art (SOTA) baseline. Ablation studies further confirm the effectiveness of each component.
2.1 LLM Unlearning
LLM unlearning has emerged as a promising solution for removing the influence of undesirable training data, such as copyrighted content, private information, and harmful knowledge, while preserving the model's utility on unrelated tasks (Jang et al., 2022; Yao et al., 2024). Existing approaches to LLM unlearning can be broadly categorized into several paradigms. Gradient-based methods optimize against forget examples, often by directly opposing the original training objective (Jang et al., 2022). Preference optimization methods, such as NPO and SimNPO (Zhang et al., 2024; Fan et al., 2025), formulate unlearning as preference learning between desired and undesired behaviors. Other approaches modify model parameters (Ilharco et al., 2023; Wuerkaixi et al., 2025), edit factual knowledge directly (Wu et al., 2023; Meng et al., 2022), or explicitly optimize predictive distributions (Entesari et al., 2025; Zhai et al., 2026; Di et al., 2024; Zhou et al., 2026). Among them, some recent studies have explored more fine-grained objectives for LLM unlearning. TNPO (Wang et al., 2025) and TIF (Zhou et al., 2026) move beyond sequence-level optimization toward token-level interventions, while CEU (Entesari et al., 2025) highlights the limitations of suppressing target-token probabilities without explicitly accounting for the predictive distribution. Building on these insights, PALU (Zhai et al., 2026) combines localized intervention on sensitive spans with entropy-based distribution flattening. However, extending such fine-grained objectives to diverse model-generated outputs without relying on predefined response-level or manually annotated span-level supervision remains challenging. KARU addresses this challenge by formulating forgetting around knowledge associations and jointly optimizing token-level and distribution-level objectives, enabling fine-grained unlearning across diverse model-generated outputs while preserving related knowledge.
2.2 Reinforcement Learning for LLMs
Reinforcement learning (RL) has become a widely adopted paradigm for aligning LLMs with desired behaviors through reward-driven optimization beyond supervised fine-tuning. Recent policy optimization algorithms (Schulman et al., 2017; Shao et al., 2024; Hu et al., 2025; Qu et al., 2026a,b), have been extensively used for LLM post-training. A key design choice in RL is reward modeling, where existing approaches mainly differ in supervision granularity. Outcome reward models (ORMs) evaluate only final responses, while process reward models (PRMs) provide intermediate supervision over reasoning steps or token-level decisions (Lightman et al., 2023; Ma et al., 2023; Qu et al., 2025). Although finer-grained supervision enables better credit assignment, it typically requires additional reward models or expensive annotations. Recently, RL has been explored for LLM unlearning due to its flexible reward-driven optimization and the potential for data-efficient adaptation (Zhang et al., 2026; Liu et al., 2024b). However, existing RL-based unlearning methods predominantly rely on sequence-level rewards, which assign identical supervision signals to all tokens and fail to identify knowledge-bearing tokens.
3 Preliminaries
Notation. Let denote the pre-training corpus, where and represent the forget and retain sets respectively. For a query sampled from , the language model pretrained on generates a response sequence autoregressively. Here, denotes the token generated at position , denotes the response length, and denotes the context for predicting . The token vocabulary is denoted by , where represents an individual token. LLM unlearning aims to remove the impact of while preserving the capabilities associated with . The ideal unlearned model is considered to be the retrained model trained solely on .
3.1 Problem Statement
Most existing unlearning methods (Chen and Yang, 2023; Yao et al., 2024; Li et al., 2025) formulate unlearning as a supervised optimization problem:
While this formulation provides a general optimization framework, it treats all generated tokens uniformly and does not distinguish their different roles during unlearning.
Since current applications of LLM unlearning predominantly involve entity-centric factual knowledge, we focus on this forgetting scenario in this work. Consider an example. Given the forget query “What is the title of Stephen King’s first published novel?”, the model may generate “Stephen King’s first published novel is Carrie.” Existing sequence-level objectives treat all tokens in the response uniformly, although only the token “Carrie” encodes the factual information to be removed. We refer to such tokens that directly express the target knowledge as knowledge tokens, and the corresponding locations in the generated sequence as knowledge-token positions. In contrast, the remaining linguistic tokens mainly reflect general language ability and should ideally be preserved. Therefore, precise unlearning requires identifying which parts of the generated sequence actually encode the knowledge to be removed.
Distribution Divergence by Token Position

Entropy of Knowledge Predictive Distribution

Figure 1 Empirical analysis of predictive distribution changes during unlearning. Left: Distribution shifts concentrate on knowledge tokens. Right: Comparison of entropy at knowledge-token positions across different unlearning models and a fictitious unseen-knowledge reference.
To investigate this question, we analyze how unlearning changes the model's predictive distributions across different token positions. As shown in Fig. 1, the distribution shift after unlearning highly concentrates on knowledge tokens, while normal tokens exhibit substantially smaller changes. The observation indicates that unlearning should focus on these knowledge tokens rather than optimizing uniformly over the entire generated sequence.
Knowledge Association. Motivated by the observation above, we characterize the forgetting target through the model's predictive distribution at knowledge-token positions. We term this conditional predictive distribution, which associates a query context with its target knowledge, the knowledge association (KA).
Definition 1 (Knowledge Association). For a query with model response , let be the first knowledge-token position of the target knowledge in and the corresponding prediction context. We represent the knowledge association by:
Treating KA as the fundamental forgetting target, we reformulate LLM unlearning as suppressing knowledge associations. Let denote the knowledge association of a reference model, ideally the retrained model . We then minimize the discrepancy between and on forget samples while preserving predictive capability on retain samples:
where is a discrepancy measure, and extracts the probability assigned to the knowledge token. Eq. (3) defines the ideal objective but is intractable in practice due to the unavailable reference association . We therefore derive a practical RL framework that approximately optimizes the objective.
4 Knowledge Association Reinforcement Unlearning
To optimize the knowledge association unlearning objective within the RL framework, we propose KARU, which consists of three complementary components. For forgetting, gradient analysis derives a token-level reward for fine-grained credit assignment, while logits flattening enforces distribution-level suppression of forgotten knowledge. For retention, adaptive proximity-weighted sampling refines the uniform retain supervision by prioritizing vulnerable neighbors and mitigating collateral forgetting.

Figure 2 Overview of KARU pipeline. Starting from KA as the forgetting target, KARU derives complementary optimization mechanisms for forgetting and retention: (i) KATR provides fine-grained forgetting supervision, (ii) LF promotes distribution-level knowledge removal, and (iii) ANS strengthens retention on vulnerable retain samples.
4.1 Knowledge Associated Token Reward
4.1.1 Limitations of Sequence-Level Rewards
Existing RL-based unlearning methods (Zhang et al., 2026) assign a single scalar reward to the entire response. Specifically, given an input query , the RL objective is defined as
whose policy gradient is
Therefore, the same sequence-level reward is propagated to all token positions, without distinguishing their individual contributions. Table 4 in Appendix A empirically shows that knowledge tokens usually account for only a small fraction of the generated responses, suggesting that the forgetting signal may be diluted across irrelevant tokens and motivating finer-grained credit assignment. To address this, we next show that token-level rewards naturally arise from the gradient structure of the objective in Eq. (3).
4.1.2 Gradient Derivation of Token-Level Rewards
For a forget sample and any token position , let and . Instantiating the discrepancy measure as the KL divergence, the local contribution of position to the forget objective in Eq. (3) is:
Taking the gradient gives:
Notably, Eq. (7) shares the same structure with the token-level policy gradient , where denotes the token-level reward assigned to token v at position t. This suggests that the logarithmic coefficient can be naturally interpreted as a token-level reward signal. This motivates the following ideal token-level reward:
4.1.3 Reward Design
Eq. (8) shows that the ideal token-level reward is determined by the probability shift relative to the reference distribution. We propose Knowledge Associated Token Reward (KATR) to approximate it. Guided by our KA formulation and the observed concentration of knowledge token distribution shifts, we focus reward assignment on these positions. Since the ideal reference model should lack of explicit memorization of the forgotten knowledge, it assigns weaker probability preference to these knowledge tokens compared with the original model. Consequently, naturally induces negative reward (-1).
Additionally, prior works (Cao et al., 2024; Maini et al., 2024; Zhang et al., 2026) commonly encourage refusal as the desired behavior for forget queries. This effectively implies an additional high-probability mass on refusal tokens in the reference distribution , inducing positive reward (+1) for those refusal-related tokens.
For retain samples, KATR follows the same principle in the opposite direction by rewarding knowledge tokens and penalizing refusal tokens to preserve normal responses (Zhang et al., 2026). The binary reward thus acts as a sign-level approximation of Eq. (8): it preserves the direction of the required probability shift while avoiding magnitude estimation on the unavailable reference model. Appendix B provides the full specification and verifies that KATR concentrates supervision on knowledge tokens more effectively than sequence-level rewards.
4.2 Logits Flattening
KATR approximates the ideal token-level reward from the gradient perspective, aligning the policy gradient with the objective in Eq. (6) and providing a first-order optimization signal. Complementarily, it does not explicitly constrain the predictive distribution, allowing probability mass to shift among related alternatives while remaining concentrated (Jia et al., 2024; Zhai et al., 2026). To complement this, we further propose Logits Flattening (LF) to approximately optimize Eq. (6) from the distribution level.
4.2.1 Distributional Forgetting Behavior
Ideally, Eq. (6) requires the reference distribution , which is unavailable in practice. We therefore approximate it using a fictitious knowledge set of synthetic query-response pairs. These samples represent knowledge that the model has never acquired, serving as a practical proxy for the predictive behavior after unlearning. As shown in Fig. 1 (right), the original model exhibits substantially higher entropy on fictitious knowledge than on memorized knowledge, indicating that the absence of knowledge naturally leads to less concentrated predictions. This observation suggests that effective knowledge unlearning should move knowledge-token predictions toward the higher-entropy behavior exhibited by fictitious knowledge. This trend is also consistent with existing unlearning methods, which typically increase the entropy of forgotten knowledge predictions relative to the original model.
4.2.2 Entropy as a Distributional Surrogate
Based on this observation, we introduce the following surrogate principle:
Principle 2 (Entropy Surrogate). For knowledge tokens, the predictive distribution of an effectively-forgotten model is characterized by higher entropy than that of a memorized model. Therefore, entropy provides a reference-free surrogate for approximating the ideal forgetting behavior.
Following this principle, we propose Logits Flattening to approximate distribution-level forgetting by maximizing the entropy of knowledge-token predictions:
where denotes the entropy of the predictive distribution, and is an indicator function that selects only knowledge tokens for entropy maximization. Here, denotes the pre-extracted set of knowledge tokens identified from , with the extraction procedure detailed in Appendix B.
However, computing the entropy over the full vocabulary is computationally expensive. In practice, we approximate the entropy in Eq. (9) using only the Top-k probability mass. Under a mild tail-concentration assumption 3, the approximation error remains controlled compared with the typical entropy range, while substantially reducing both computational and memory overhead. As shown in Fig. 3, both the original and unlearned models concentrate most probability mass within a small set of Top-k tokens at knowledge-token positions, so a moderate k already captures nearly the entire predictive mass and keeps the approximation tight.
Maximizing entropy promotes uncertainty in predictions at relevant knowledge-token positions, approximating the behavior of a model that has not acquired the target knowledge (Entesari et al., 2025; Zhai et al., 2026). Comparison of distributional

Figure 3 Average Top-k probability mass at knowledge-token positions. The cumulative probability mass captured by Top-k tokens increased rapidly with k for both original and unlearned models.
surrogates in Appendix C further shows that entropy most consistently distinguishes memorized from fictitious knowledge compared with other distribution-level metrics.
4.3 Adaptive Neighborhood Sampling
4.3.1 Locality of Collateral Degradation
The retain constraint in Eq. (3) aims to preserve retained knowledge. However, prior works (Dolgova and Stich, 2026; Ha et al., 2025; Cheng et al., 2026) show that forgetting inevitably degrades some retain samples, a phenomenon referred to as collateral degradation, and that such degradation is concentrated on a subset of retain samples. Theoretically, Dolgova and Stich (2026) show that collateral forgetting is related to the similarity between retain samples and the forget subspace.
Empirically, we measure the representation-space distance between retain samples and the forget set and examine their corresponding performance degradation after unlearning. Performance degradation is measured by the decrease in ROUGE-L similarity (Lin, 2004) between the unlearned and original model outputs. Consistent with the theoretical prediction,

Figure 4 Collateral degradation versus representation-space proximity. Retain samples closer to forget set exhibit larger ROUGE-L degradation after unlearning.
Fig. 4 shows that collateral degradation exhibits a clear proximity effect: retain samples closer to the forget set in representation space suffer larger performance degradation after unlearning. Accordingly, we propose Adaptive Neighborhood Sampling (ANS), which strengthens retention supervision by assigning larger sampling weights to nearby retain samples.
4.3.2 Proximity Reweighting
Specifically, let denote the rank of a retain sample obtained by sorting all retain samples according to ascending , where smaller values indicate closer samples. For a percentile fraction , only the closest retain samples are assigned larger sampling weights, with the sampling weight defined as:
where controls the maximum reweighting strength. The weighting decreases linearly with the proximity rank, while rank-based weighting avoids sensitivity to the absolute scale of the distance metric. Moreover, since the neighborhood size and weights depend only on rank orderings rather than absolute distances, the scheme is nonparametric with respect to the density of retain samples in representation space and adapts to arbitrary sample distributions. During training, retain samples are drawn with probability proportional to , resulting in an effective reweighted retain distribution . The concrete distance instantiation is detailed in Appendix D. The proximity computation incurs only a one-time offline cost, requiring a single forward pass over , and the measured per-step overhead is negligible as reported in Appendix F.4.
Although ANS is constructed offline before RL training, representation drift during optimization may in principle distort the proximity estimates. We therefore track the distances of retain samples throughout training on a representative RWKU subset. The proximity structure remains nearly unchanged: 95% of retain samples exhibit less than 2.8% relative distance variation, with a mean change of 1.1%, and the induced ranking achieves a Spearman correlation of 0.998 across training steps. These results indicate that the representation-space proximity used by ANS is sufficiently stable, supporting offline computation without repeated distance updates during RL optimization.
4.4 Overall Implementation
The overall optimization update of KARU is summarized below:
where is the token-level reward produced by KATR, is the retain distribution reweighted by ANS, and controls the strength of the logits flattening regularization.
The resulting framework integrates fine-grained optimization, distribution-level forgetting, and proximity-aware retain reweighting. Moreover, KARU is agnostic to the underlying policy optimization algorithm and can be seamlessly integrated into existing RL-based unlearning methods with negligible computational overhead, as discussed in Appendix F.4. The overall training procedure is summarized in Algorithm 1.
5 Experiments
Setups. We evaluate the KARU framework on two representative benchmarks: RWKU (Cao et al., 2024) and MUSE (Shi et al., 2025). Following RULE (Zhang et al., 2026), we use Llama3-8B-Instruct (Grattafori et al., 2024) as the primary base model on RWKU, with Llama3.2-3B-Instruct and Qwen2.5-7B-Instruct (Qwen et al., 2025) for cross-model validation; MUSE experiments use ICLM-7B (Shi et al., 2023). Our RL-based unlearning is initialized from the rejection-tuned model of RULE and uses PPO and GRPO as the optimization algorithms. Further implementation details are provided in Appendix E.
Baselines. We compare against representative baseline methods spanning SFT-based and RL-based paradigms:
• GA (Maini et al., 2024): Gradient Ascent on the forget set loss;
Algorithm 1 Knowledge Association Reinforcement Unlearning (KARU)
Require: Original model , forget set , retain set , hyperparameters
Ensure: Unlearned model
1: Rejection-Initialize from using via SFT
2: Extract knowledge token sets from via NER
3: Compute representation-space distances for all
4: Compute proximity weights (Eq. (10)) and construct the weighted retain set by sampling from with probability proportional to
5: for epoch = 1 to do
6: for batch do
7: if then
8: Compute KATR for forget tokens (Eq. (12))
9: Compute Logits Flattening regularization (Eq. (9))
10: else
11: Compute KATR for retain tokens (Eq. (12))
12: Set
13: end if
14: Compute KARU objective (Eq. (11))
15: Update model parameters
16: end for
17: end for
18: return
• NPO (Zhang et al., 2024): Negative Preference Optimization, reframing unlearning as minimizing preference toward undesired outputs;
• SimNPO (Meng et al., 2024): An improved variant of NPO that removes reference model dependency;
• PALU (Zhai et al., 2026): A localized unlearning method that maximizes entropy by flattening the top-K logits at the first N tokens of each sensitive span;
• RT (Rejection Tuning): Supervised fine-tuning on refusal responses for forget queries;
• RULE (Zhang et al., 2026): The state-of-the-art RL-based unlearning method with response-level reward.
For GA, NPO, and SimNPO, we additionally evaluate variants augmented with Gradient Difference Regularization (+GDR) and KL Regularization (+KLR) on the retain set (Shi et al., 2025).
Evaluation Metrics. Following RWKU (Cao et al., 2024), we evaluate unlearning from three perspectives: forget efficacy, retain locality, and general capability. Forget efficacy is assessed using three probes: fill-in-the-blank (FB) for knowledge memorization, question answering (QA) for knowledge manipulation, and adversarial attacks (AA) that attempt to elicit forgotten knowledge. Retain locality is evaluated using neighborhood FB and QA probes. All forget and retain probes are scored by ROUGE-L recall (Lin, 2004); the aggregate forget score averages FB, QA, and AA (lower is better), while the aggregate retain score averages the neighborhood FB and QA (higher is better). General capability is evaluated along three axes: General Knowledge (Gen), measured by 5-shot accuracy on MMLU (Hendrycks et al., 2021); Reasoning (Rea), exact-match accuracy on BBH (Suzgun et al., 2023); and Fluency (Flu), the weighted bi- and tri-gram entropy of AlpacaEval (Li et al., 2023) outputs. Formal definitions of all metrics follow RWKU (Cao et al., 2024).
5.1 Main Results
Table 1 presents the comprehensive experimental results on the RWKU benchmark using Llama3-8B-Instruct as the backbone model. Fig. 5 provides a detailed analysis of KARU's training dynamics under different RL

Figure 5 Left: Test reward curves under PPO and GRPO. Right: Forget and retain metric trajectories during training.
algorithms, showing the testing reward trajectories along with the corresponding changes in the overall forget and retain performance. Key findings are summarized below.
KARU improves forgetting substantially. KARU consistently achieves the strongest forgetting performance among all evaluated methods. Compared with the SOTA RL-based method RULE, KARU reduces the aggregate forget score by 6.6 and 9.9 points under PPO and GRPO, respectively, corresponding to relative reductions of 21.8% and 30.5%. The improvements are especially notable on the FB and QA probes, which require recovering the target knowledge from the given context and thus directly test the association that KA characterizes as the forgetting target. This validates that KARU effectively reduces the predictive association with forgotten knowledge.
KARU preserves retention and general capabilities. Beyond significantly improved forgetting performance, KARU maintains comparable retention performance across different RL algorithms. Compared with RULE under the same algorithm, KARU decreases the overall retain score by only 1.1%, while KARU even achieves improved retention, demonstrating that stronger forgetting does not compromise retained knowledge. We note that a decline in absolute
Table 1 Main results on the RWKU benchmark. Best in bold, second best underlined. FB: Fill-in-the-Blank; QA: Question-Answer; AA: Adversarial Attack; Gen: General Knowledge Ability; Rea: Reasoning Ability; Flu: Fluency. ↓/↑: lower/higher is better.
| Method | Forget ( ) | Retain ( ) | General ( ) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| FB | QA | AA | All | FB | QA | All | Gen | Rea | Flu | ||
| Original | 85.6 | 70.3 | 74.7 | 76.9 | 93.1 | 82.0 | 87.6 | 63.3 | 40.5 | 706.6 | |
| GA | 72.0 | 64.6 | 68.5 | 68.4 | 85.0 | 74.7 | 79.8 | 63.5 | 38.8 | 707.7 | |
| GA | 72.6 | 64.0 | 69.7 | 68.8 | 86.2 | 76.5 | 81.4 | 63.6 | 40.5 | 707.1 | |
| GA | 70.7 | 57.5 | 69.9 | 66.1 | 80.5 | 70.5 | 75.5 | 63.4 | 40.1 | 706.5 | |
| NPO | 38.7 | 22.9 | 33.0 | 31.5 | 76.7 | 67.5 | 72.1 | 62.8 | 37.9 | 693.1 | |
| NPO | 39.7 | 26.2 | 35.6 | 33.9 | 76.9 | 69.9 | 73.4 | 63.2 | 38.4 | 703.6 | |
| NPO | 39.8 | 27.4 | 35.6 | 34.3 | 77.4 | 70.1 | 73.7 | 63.3 | 39.9 | 699.6 | |
| SimNPO | 45.7 | 38.3 | 50.2 | 44.7 | 82.2 | 71.8 | 77.0 | 62.7 | 38.5 | 700.2 | |
| SimNPO | 53.7 | 47.7 | 54.6 | 52.0 | 83.6 | 73.0 | 78.3 | 63.4 | 39.1 | 708.5 | |
| SimNPO | 46.1 | 36.7 | 52.2 | 45.0 | 82.7 | 73.3 | 78.0 | 63.3 | 39.1 | 705.9 | |
| PALU | 45.8 | 32.7 | 35.6 | 38.0 | 79.4 | 73.8 | 76.6 | 63.0 | 35.6 | 703.6 | |
| RT | 75.2 | 47.1 | 51.6 | 58.7 | 85.9 | 70.0 | 77.9 | 63.6 | 38.5 | 680.7 | |
| RULE | 34.5 | 22.2 | 34.2 | 30.3 | 70.4 | 52.4 | 61.4 | 63.3 | 38.9 | 641.5 | |
| RULE | 32.7 | 23.7 | 41.1 | 32.5 | 77.0 | 66.9 | 71.9 | 63.3 | 41.0 | 702.0 | |
| KARU | 25.1 | 13.5 | 32.5 | 23.7 | 71.9 | 63.6 | 67.7 | 63.5 | 41.0 | 717.7 | |
| KARU | 22.5 | 11.2 | 34.0 | 22.6 | 76.5 | 65.7 | 71.1 | 63.0 | 42.1 | 707.7 | |
retention relative to the original model is inherent to unlearning, where forgetting and retention are in tension, and our goal is not to maximize retention but to attain the best forget–retain trade-off while maintaining sufficient retention, as formulated by the constraint in Eq. (3). Furthermore, KARU achieves competitive performance on general capability evaluation: KARU achieves the highest Reasoning score, while KARU obtains the best Fluency among all evaluated methods, indicating that logits flattening suppresses forgotten KAs without degenerating outputs into ungrammatical text; the Gen scores of all methods remain at a comparable level. These results demonstrate that KARU achieves effective knowledge removal without sacrificing the overall utility.

Figure 6 Pareto frontier analysis. The top panel compares forget–retain trade-offs across unlearning methods, with KARU achieving the most favorable frontier. The bottom panel shows progressive frontier improvements as incremental components integration under PPO. Curves trace evaluation checkpoints sorted by 1 – FQ; AUC is computed by trapezoidal integration over the clipped, normalized shared range, with higher values indicating a better trade-off.

Figure 7 Predictive entropy at knowledge-token positions across RWKU subsets for various unlearning methods. Bars report the mean full-vocabulary Shannon entropy at the knowledge-token positions, computed over 300 QA samples per subset; error bars denote the standard error of the mean.
KARU achieves the best forget–retain trade-off. Fig. 6 (top) visualizes the empirical trade-off between aggregated forgetting and retain quality. For reproducibility, the plotted score is 1 – FQ so that both axes are higher-is-better, and each curve traces evaluation checkpoints sorted by this score. We compute AUC by clipping all methods to the same feasible domain shown in the plot, min–max normalizing the two axes over that domain, and applying trapezoidal integration. Within the SFT-based family, GA and its variants remain limited in forgetting improvement; entropy-based distribution-level methods such as PALU concentrate supervision on fine-grained sensitive text spans and thereby achieve markedly better forgetting at comparable retention; and preference optimization-based approaches like NPO attain still stronger forgetting but often pay a larger retention cost. In contrast, RL-based methods push this trade-off toward a more favorable frontier: KARU achieves stronger forgetting while maintaining competitive retention, attains the highest AUC among all evaluated methods, and progressively expands the empirical Pareto frontier during RL optimization. This demonstrates the effectiveness of our KA-guided framework in optimizing the forget–retain balance.
KARU more effectively flattens knowledge predictions. To further examine whether KARU effectively reduces the model's confidence in forgotten knowledge, we analyze the entropy of predictive distributions at knowledge-token positions. Fig. 7 shows that KARU consistently achieves higher entropy than existing unlearning methods across different forget subsets of RWKU, indicating less concentrated predictive distributions and reduced certainty in forgotten knowledge predictions by moving the model toward the desired high-uncertainty regime.
5.2 Generalization Across Model Scales and Families
Table 2 reports RWKU results on Llama3.2-3B-Instruct (Grattafiori et al., 2024) and Qwen2.5-7B-Instruct (Qwen et al., 2025), demonstrating the generalization of KARU across different model scales and families. On Llama3.2-3B, KARU improves the aggregate forget score over RULE by 7.4% under PPO and 20.1% under GRPO, while maintaining comparable retain quality. On Qwen2.5-7B, KARU achieves even larger gains, reducing the forget score by 31.4% and 33.3% under PPO and GRPO, respectively, with only moderate changes in retention performance. These results show that KARU consistently achieves a better forget–retain trade-off across different backbones, indicating that its improvements are not tied to a specific model scale or family.
5.3 Ablation Studies
We conduct ablation studies by successively adding KATR, LF, and ANS to the RULE baseline under both PPO and GRPO. As shown in Table 3, each component consistently contributes to the aspect of optimization it is designed for.
KATR improves knowledge-specific forgetting. Adding KATR consistently improves forgetting over the baseline, reducing the aggregate forget score by 8.6% under PPO and 21.2% under GRPO. This indicates that token-level rewards provides clearer credit signals for suppressing target KAs than sequence-level optimization.
LF improves distribution-level forgetting. LF further reduces the aggregate forget score by 3.7 and 3.5 points under PPO and GRPO, respectively. Notably, LF achieves the lowest AA score under both RL settings, with reductions of 31.3% and 13.0% under PPO and GRPO, indicating improved robustness against paraphrased knowledge recovery without compromising the forget–retain trade-off.
ANS mitigates collateral degradation. By reweighting vulnerable retain samples, ANS substantially improves retention. It improves both axes under PPO, reducing the forget score by 1.3% and increasing the retain score by 9.9%, while recovering 8.9% retention under GRPO. This validates the effectiveness of proximity-aware sampling for mitigating collateral degradation.
Fig. 6 (bottom) further shows that progressively incorporating KATR, LF, and ANS consistently shifts the Pareto frontier toward a better forget–retain trade-off. The complete KARU framework improves the AUC by 78.7% over RULE. Qualitative case studies are provided in Appendix F.5.
Table 2 Results on RWKU with models of different scales and families (representative baselines; per-variant results follow the same trend).
| Method | Forget Quality (↓) | Retain Quality (↑) | |||||
|---|---|---|---|---|---|---|---|
| FB | QA | AA | All | FB | QA | All | |
| Llama3.2-3B-Instruct | |||||||
| GA | 52.0 | 51.2 | 53.2 | 52.1 | 60.7 | 55.6 | 58.2 |
| NPO | 40.0 | 33.7 | 38.5 | 37.4 | 57.3 | 55.8 | 56.6 |
| SimNPO | 47.0 | 38.2 | 48.4 | 44.5 | 59.3 | 56.4 | 57.9 |
| PALU | 42.5 | 37.5 | 41.0 | 40.3 | 58.7 | 51.0 | 54.9 |
| RT | 55.4 | 41.1 | 49.2 | 48.6 | 56.9 | 54.9 | 55.9 |
| RULE_PPO | 38.7 | 25.0 | 33.9 | 32.5 | 55.2 | 48.1 | 51.7 |
| RULE_GRPO | 40.5 | 24.6 | 36.3 | 33.8 | 57.3 | 47.7 | 52.5 |
| KARU_PPO | 33.3 | 17.7 | 39.2 | 30.1 | 53.4 | 49.2 | 51.3 |
| KARU_GRPO | 33.4 | 18.4 | 29.3 | 27.0 | 54.5 | 44.4 | 49.5 |
| Qwen2.5-7B-Instruct | |||||||
| GA | 41.2 | 43.9 | 56.0 | 47.0 | 49.2 | 37.8 | 43.5 |
| NPO | 35.4 | 39.0 | 44.7 | 39.7 | 45.6 | 37.9 | 41.8 |
| SimNPO | 40.4 | 42.4 | 51.0 | 44.6 | 48.0 | 36.7 | 42.4 |
| PALU | 34.5 | 34.4 | 43.0 | 37.3 | 48.1 | 37.3 | 42.7 |
| RT | 44.6 | 42.4 | 54.2 | 47.1 | 57.5 | 42.7 | 50.1 |
| RULE_PPO | 45.8 | 37.5 | 49.6 | 44.3 | 55.2 | 42.8 | 49.0 |
| RULE_GRPO | 45.1 | 36.2 | 49.1 | 43.5 | 56.4 | 42.8 | 49.6 |
| KARU_PPO | 42.7 | 18.6 | 30.1 | 30.4 | 50.7 | 41.1 | 45.9 |
| KARU_GRPO | 39.2 | 16.7 | 31.1 | 29.0 | 52.0 | 41.5 | 46.8 |
Table 3 Incremental ablation of core components on RWKU.
| Method | Forget Quality (↓) | Retain Quality (↑) | |||||
|---|---|---|---|---|---|---|---|
| FB | QA | AA | All | FB | QA | All | |
| PPO | |||||||
| Baseline | 34.5 | 22.2 | 34.2 | 30.3 | 70.4 | 52.4 | 61.4 |
| +KATR | 24.2 | 20.0 | 39.0 | 27.7 | 68.2 | 59.6 | 63.9 |
| +LF | 27.6 | 17.7 | 26.8 | 24.0 | 66.0 | 57.2 | 61.6 |
| +ANS | 25.1 | 13.5 | 32.5 | 23.7 | 71.9 | 63.6 | 67.7 |
| GRPO | |||||||
| Baseline | 32.7 | 23.7 | 41.1 | 32.5 | 77.0 | 66.9 | 71.9 |
| +KATR | 23.1 | 17.6 | 36.2 | 25.6 | 74.5 | 66.4 | 70.4 |
| +LF | 20.8 | 14.0 | 31.5 | 22.1 | 73.5 | 57.0 | 65.3 |
| +ANS | 22.5 | 11.2 | 34.0 | 22.6 | 76.5 | 65.7 | 71.1 |
6 Conclusion
This work revisits the forgetting target of LLM unlearning and reformulates it as suppressing knowledge associations rather than entire generated responses. Based on this perspective, we propose KARU, a unified RL framework that approximately optimizes the KA objective through three complementary components: token-level rewards for finegrained credit assignment, logits flattening for distributionlevel forgetting, and adaptive neighborhood sampling for proximity-aware retain reweighting. Extensive experiments demonstrate that KARU consistently improves forgetting performance across diverse RL algorithms while maintaining competitive retention and general utility.
Limitations and Future Work Our framework currently relies on knowledge-token extraction via named entity recognition, which could be improved by more accurate knowledge localization. Moreover, it adopts a two-stage training pipeline, and developing an end-to-end unlearning framework is a promising direction for future research.
References
Yoshua Bengio, Geoffrey Hinton, Andrew Yao, Dawn Song, Pieter Abbeel, Trevor Darrell, Yuval Noah Harari, Ya-Qin Zhang, Lan Xue, Shai Shalev-Shwartz, et al. Managing extreme ai risks amid rapid progress. Science, 384(6698):842–845, 2024.
Tom Brown et al. Language models are few-shot learners. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 1877–1901. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper_files/paper/2020/file/1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf.
Pengfei Cao, Chenhao Wang, Zhitao He, Hongbang Yuan, Jiachun Li, Yubo Chen, Kang Liu, Jun Zhao, et al. Rwku: Benchmarking real-world knowledge unlearning for large language models. Advances in Neural Information Processing Systems, 37: 98213–98263, 2024.
Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom Brown, Dawn Song, Ulfar Erlingsson, et al. Extracting training data from large language models. In 30th USENIX security symposium (USENIX Security 21), pages 2633–2650, 2021.
Nicholas Carlini, Daphne Ippolito, Matthew Jagielski, Katherine Lee, Florian Tramer, and Chiyuan Zhang. Quantifying memorization across neural language models. In The Eleventh International Conference on Learning Representations, 2022.
Jiaao Chen and Diyi Yang. Unlearn what you want to forget: Efficient unlearning for llms. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 12041–12052, 2023.
Jingpu Cheng, Ping Liu, Qianxiao Li, and Chi Zhang. Machine unlearning under retain-forget entanglement. arXiv preprint arXiv:2603.26569, 2026.
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long and short papers), pages 4171–4186, 2019.
Zonglin Di, Zhaowei Zhu, Jinghan Jia, Jiancheng Liu, Zafar Takhirov, Bo Jiang, Yuanshun Yao, Sijia Liu, and Yang Liu. Label smoothing improves machine unlearning, 2024. URL https://arxiv.org/abs/2406.07698.
Polina Dolgova and Sebastian U Stich. Forgetting has neighbors: Localized collateral forgetting in machine unlearning. arXiv preprint arXiv:2605.31317, 2026.
Ronen Eldan and Mark Russinovich. Who's harry potter? approximate unlearning for llms. 2023.
Taha Entesari, Arman Hatami, Rinat Khaziev, Anil Ramakrishna, and Mahyar Fazlyab. Constrained entropic unlearning: A primal-dual framework for large language models. Advances in Neural Information Processing Systems, 38:166435–166474, 2025.
Chongyu Fan, Jiancheng Liu, Licong Lin, Jinghan Jia, Ruiqi Zhang, Song Mei, and Sijia Liu. Simplicity prevails: Rethinking negative preference optimization for llm unlearning, 2025. URL https://arxiv.org/abs/2410.07163.
Aaron Grattafori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
SeungBum Ha, Saerom Park, and Sung Whan Yoon. Unlearning's blind spots: Over-unlearning and prototypical relearning attack. arXiv preprint arXiv:2506.01318, 2025.
Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. Measuring massive multitask language understanding, 2021. URL https://arxiv.org/abs/2009.03300.
Jian Hu, Jason Klein Liu, Haotian Xu, and Wei Shen. Reinforce++: Stabilizing critic-free policy optimization with global advantage normalization, 2025. URL https://arxiv.org/abs/2501.03262.
Gabriel Ilharco, Marco Tulio Ribeiro, Mitchell Wortsman, Suchin Gururangan, Ludwig Schmidt, Hannaneh Hajishirzi, and Ali Farhadi. Editing models with task arithmetic, 2023. URL https://arxiv.org/abs/2212.04089.
Joel Jang, Dongkeun Yoon, Sohee Yang, Sungmin Cha, Moontae Lee, Lajanugen Logeswaran, and Minjoon Seo. Knowledge unlearning for mitigating privacy risks in language models, 2022. URL https://arxiv.org/abs/2210.01504.
Jinghan Jia, Yihua Zhang, Yimeng Zhang, Jiancheng Liu, Bharat Runwal, James Diffenderfer, Bhavya Kailkhura, and Sijia Liu. Soul: Unlocking the power of second-order optimization for llm unlearning. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 4276–4292, 2024.
Nathaniel Li et al. The wmdp benchmark: Measuring and reducing malicious use with unlearning, 2024. URL https://arxiv.org/abs/2403.03218.
Xuechen Li, Tianyi Zhang, Yann Dubois, Rohan Taori, Ishaan Gulrajani, Carlos Guestrin, Percy Liang, and Tatsunori B Hashimoto. Alpacaeval: An automatic evaluator of instruction-following models, 2023.
Yuyuan Li, Jiaming Zhang, Yixiu Liu, and Chaochao Chen. Class-wise federated unlearning: Harnessing active forgetting with teacher-student memory generation. Knowledge-Based Systems, 316:113353, 2025.
Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let's verify step by step, 2023. URL https://arxiv.org/abs/2305.20050.
Chin-Yew Lin. Rouge: A package for automatic evaluation of summaries. In Text Summarization Branches Out, pages 74–81, 2004.
Aiwei Liu, Leyi Pan, Yijian Lu, Jingjing Li, Xuming Hu, Xi Zhang, Lijie Wen, Irwin King, Hui Xiong, and Philip Yu. A survey of text watermarking in the era of large language models. ACM Computing Surveys, 57(2):1–36, 2024a.
Sijia Liu, Yuanshun Yao, Jinghan Jia, Stephen Casper, Nathalie Baracaldo, Peter Hase, Yuguang Yao, Chris Yuhao Liu, Xiaojun Xu, Hang Li, Kush R. Varshney, Mohit Bansal, Sanmi Koyejo, and Yang Liu. Rethinking machine unlearning for large language models, 2024b. URL https://arxiv.org/abs/2402.08787.
Qianli Ma, Haotian Zhou, Tingkai Liu, Jianbo Yuan, Pengfei Liu, Yang You, and Hongxia Yang. Let's reward step by step: Step-level reward model as the navigators for reasoning. arXiv preprint arXiv:2310.10080, 2023.
Pratyush Maini, Zhili Feng, Avi Schwarzschild, Zachary C. Lipton, and J. Zico Kolter. Tofu: A task of fictitious unlearning for llms, 2024. URL https://arxiv.org/abs/2401.06121.
Alessandro Mantelero. The eu proposal for a general data protection regulation and the roots of the ‘right to be forgotten’. Computer Law & Security Review, 29(3):229–235, 2013. ISSN 2212-473X. doi: https://doi.org/10.1016/j.clsr.2013.03.010. URL https://www.sciencedirect.com/science/article/pii/S0267364913000654.
Kevin Meng, David Bau, Alex Andonian, and Yonatan Belinkov. Locating and editing factual associations in gpt. Advances in neural information processing systems, 35:17359–17372, 2022.
Yu Meng, Mengzhou Xia, and Danqi Chen. Simpo: Simple preference optimization with a reference-free reward. Advances in Neural Information Processing Systems, 37:124198–124235, 2024.
Michael-Andrei Panaitescu-Liess, Zora Che, Bang An, Yuancheng Xu, Pankayaraj Pathmanathan, Souradip Chakraborty, Sicheng Zhu, Tom Goldstein, and Furong Huang. Can watermarking large language models prevent copyrighted text generation and hide training data? In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 25002–25009, 2025.
Dan Parii, Thomas van Osch, and Chang Sun. Machine unlearning of personally identifiable information in large language models. In Proceedings of the Natural Legal Language Processing Workshop 2025, pages 54–67, 2025.
Vaidehi Ramesh Patil, Peter Hase, and Mohit Bansal. Can sensitive information be deleted from llms? objectives for defending against extraction attacks. In International Conference on Learning Representations, volume 2024, pages 45497–45514, 2024.
Yun Qu, Yuhang Jiang, Boyuan Wang, Yixiu Mao, Cheems Wang, Chang Liu, and Xiangyang Ji. Latent reward: Llm-empowered credit assignment in episodic reinforcement learning. AAAI, 2025.
Yun Qu, Qi Wang, Yixiu Mao, Vincent Tao Hu, Björn Ommer, and Xiangyang Ji. Can prompt difficulty be online predicted for accelerating rl finetuning of reasoning models? In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 1, pages 1240–1250, 2026a.
Yun Qu, Qi Wang, Yixiu Mao, Heming Zou, Yuhang Jiang, Yingyue Li, Wutong Xu, Lizhou Cai, Weijie Liu, Clive Bai, et al. Listwise policy optimization: Group-based rlrv as target-projection on the llm response simplex. arXiv preprint arXiv:2605.06139, 2026b.
Qwen, :, An Yang, et al. Qwen2.5 technical report, 2025. URL https://arxiv.org/abs/2412.15115.
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms, 2017. URL https://arxiv.org/abs/1707.06347.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. Deepseekmath: Pushing the limits of mathematical reasoning in open language models, 2024. URL https://arxiv.org/abs/2402.03300.
Weijia Shi, Sewon Min, Maria Lomeli, Chunting Zhou, Margaret Li, Gergely Szilvasy, Rich James, Xi Victoria Lin, Noah A Smith, Luke Zettlemoyer, et al. In-context pretraining: Language modeling beyond document boundaries. arXiv preprint arXiv:2310.10638, 2023.
Weijia Shi, Jaechan Lee, Yangsibo Huang, Sadhika Malladi, Jieyu Zhao, Ari Holtzman, Daogao Liu, Luke Zettlemoyer, Noah Smith, and Chiyuan Zhang. Muse: Machine unlearning six-way evaluation for language models. In International Conference on Learning Representations, volume 2025, pages 27797–27818, 2025.
Mirac Suzgun, Nathan Scales, Nathanael Schärli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, Aakanksha Chowdhery, Quoc Le, Ed Chi, Denny Zhou, et al. Challenging big-bench tasks and whether chain-of-thought can solve them. In Findings of the Association for Computational Linguistics: ACL 2023, pages 13003–13051, 2023.
Qiyao Wang, Jie P'eter Zhou, Zhanke Zhou, Shuang Shin, Bo Han, and Kilian Q. Weinberger. Rethinking llm unlearning objectives: A gradient perspective and go beyond. In Proceedings of the 13th International Conference on Learning Representations (ICLR), 2025.
Alexander Wei, Nika Haghtalab, and Jacob Steinhardt. Jailbroken: How does llm safety training fail? Advances in neural information processing systems, 36:80079–80110, 2023.
Xinwei Wu, Junzhuo Li, Minghui Xu, Weilong Dong, Shuangzhi Wu, Chao Bian, and Deyi Xiong. Depn: Detecting and editing privacy neurons in pretrained language models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 2875–2886, 2023.
Abudukelimu Wuerkaixi, Qizhou Wang, Sen Cui, Wutong Xu, Bo Han, Gang Niu, Masashi Sugiyama, and Changshui Zhang. Adaptive localization of knowledge negation for continual llm unlearning. In Forty-second International Conference on Machine Learning, 2025.
Yuanshun Yao, Xiaojun Xu, and Yang Liu. Large language model unlearning, 2024. URL https://arxiv.org/abs/2310.10683.
Hongbang Yuan, Zhuoran Jin, Pengfei Cao, Yubo Chen, Kang Liu, and Jun Zhao. Towards robust knowledge unlearning: An adversarial framework for assessing and improving unlearning robustness in large language models. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 25769–25777, 2025.
Naixin Zhai, Pengyang Shao, Binbin Zheng, Yonghui Yang, Fei Shen, Long Bai, and Xun Yang. Maximizing local entropy where it matters: Prefix-aware localized llm unlearning. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 19514–19531, 2026.
Chenlong Zhang, Zhuoran Jin, Hongbang Yuan, Jiaheng Wei, Tong Zhou, Kang Liu, Jun Zhao, and Yubo Chen. Rule: Reinforcement unlearning achieves forget-retain pareto optimality. Advances in Neural Information Processing Systems, 38:39401–39434, 2026.
Ruiqi Zhang, Licong Lin, Yu Bai, and Song Mei. Negative preference optimization: From catastrophic collapse to effective unlearning, 2024. URL https://arxiv.org/abs/2404.05868.
Xiangyu Zhou, Yao Qiang, Saleh Zare Zade, Douglas Zytko, Prashant Khanduri, and Dongxiao Zhu. Not all tokens are meant to be forgotten. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, pages 38173–38182, 2026.
A Knowledge Association Analysis
Knowledge tokens are sparse. Table 4 reports the proportion of knowledge-related tokens in generated responses on RWKU and MUSE, for both the original model and the rejection-tuned (RT) model . Knowledge-related tokens consistently account for only a small fraction of generated responses, which is below 10% on RWKU and below 17% on MUSE, supporting the claim in Sec. 4.1 that sequence-level rewards inevitably distribute supervision to a large number of knowledge-irrelevant tokens.
Table 4 Average proportion (%) of knowledge-related tokens in generated responses. : Original Model; : RT Model.
| Benchmark | Model | Forget(%) | Retain(%) | All(%) |
|---|---|---|---|---|
| RWKU | 9.3 | 9.8 | 9.5 | |
| 4.4 | 8.6 | 6.4 | ||
| MUSE | 15.0 | 17.1 | 16.0 | |
| 12.5 | 12.8 | 12.6 |
Distribution shifts concentrate on knowledge-token positions. We construct 300 question-answer samples from the Stephen King subset of RWKU (Cao et al., 2024), locate knowledge spans via dictionary matching, and compare the predictive distributions of the original and unlearned models at knowledge-predicting and normal-predicting positions using paired t-tests. Under RULE, the KL divergence from the original model increases from 0.246 at normal positions to 0.770 at knowledge-token positions (p < 0.001), and the entropy increase likewise grows from 0.093 to 0.405 (p < 0.001). KARU further raises the KL divergence at knowledge positions to 1.133 while keeping it comparable to RULE at normal positions (0.219). Moreover, the shift concentrates on the first token of each knowledge span: when given the context “was born in”, the model’s prediction of “Stephen” is disrupted, whereas subsequent tokens within the span remain largely unaffected. This pattern directly supports Definition 1, which targets the moment the model commits to the target knowledge.
B Implementation Details of KATR
Knowledge-aware token partition. Generated tokens are partitioned into three functional groups: knowledge tokens that encode factual attributes of the forget entity, refusal tokens belonging to predefined refusal templates (e.g., “I cannot provide”, “I have not been trained”), and other normal tokens . is constructed offline from : we apply BERT-Large-NER (Devlin et al., 2019) to forget-set query-response pairs, followed by lightweight post-processing that removes noisy entities, merges coreferential mentions, and supplements missing target entities from ground-truth responses. is initialized from predefined refusal templates following RULE.
Knowledge Associated Token Reward. This classification assigns distinct reward signals to knowledge-related tokens, refusal behaviors, and regular generation, consistent with the probability-shift principle in Eq. (8). Since benchmarks such as RWKU and MUSE (Cao et al., 2024; Maini et al., 2024) focus on forgetting individual-specific information, we call the individual whose information is removed the forget target. As mentions of the forget target may convey either forgotten knowledge or appropriate refusal depending on context, mentions appearing in refusal templates or in the input query itself are assigned to as desirable refusal behaviors, and all remaining mentions are assigned to . The token-level rewards for sampled responses y are:
for a forget query and a retain query , respectively.

Figure 8 Effective supervision allocation under KATR. (a) Knowledge-token supervision share versus the uniform reference (dashed line). (b) Distribution of across token categories, showing stronger supervision for knowledge and refusal tokens than under RULE.
B.1 Supervision Concentration Analysis
We analyze how KATR redistributes optimization supervision compared with sequence-level rewards using over 800 RWKU validation queries and responses generated by the RT model during rollout.
Metrics. For a response , let denote the accumulated return at position , where is the reward assigned to token . The effective supervision magnitude is , and the supervision share of any token subset is defined as
KATR mitigates supervision dilution. Fig. 8(a) shows the knowledge-token supervision share under different response lengths. Under RULE, which rewards only the EOS token, reward propagation yields identical supervision magnitudes at all positions, i.e., , so the supervision on each knowledge token is diluted as sequence length increases. In contrast, KATR consistently allocates a larger supervision share to knowledge tokens than the uniform reference, with no evident degradation as grows.
Semantic-aware supervision. Fig. 8(b) shows that RULE assigns identical supervision magnitudes across token categories, whereas KATR provides stronger supervision to knowledge and refusal tokens than to normal tokens, confirming that KATR redistributes supervision toward semantically meaningful positions for more effective credit assignment than sequence-level rewards.
C Analysis of Logits Flattening
To validate entropy as a reference-free surrogate, we construct 50 synthetic query-response pairs of fictitious knowledge by prompting GPT-5.5 following the format of RWKU. Since fabricated facts are unlikely to be memorized by the original model, these pairs approximate knowledge that the model has never acquired. We then compare the predictive distributions at the knowledge-token positions of these fictitious samples against 50 real ones. As shown in Fig. 1 (right), fictitious knowledge exhibits substantially higher entropy than memorized knowledge, and existing unlearning methods consistently increase entropy on forgotten knowledge, indicating that the absence of knowledge naturally corresponds to less concentrated predictions, supporting entropy maximization as a reference-free surrogate for distributional forgetting.
Table 5 Comparison of distribution-level statistics between memorized ( ) and fictitious ( ) knowledge-token predictions. SNR: separation across prompts (higher is better); CV: (lower is more stable).
| Statistic | Rel. | SNR | CV_{real} | CV_{fict} | |||
|---|---|---|---|---|---|---|---|
| Shannon H | 1.42 | 3.96 | 2.54 | 1.80 | 1.94 | 0.63 | 0.21 |
| Rényi-2 H | 0.79 | 2.47 | 1.68 | 2.14 | 1.63 | 0.87 | 0.27 |
| Top-1 Prob | 0.68 | 0.25 | 0.43 | 0.63 | 1.51 | 0.35 | 0.51 |
| Top-5 Mass | 0.89 | 0.51 | 0.37 | 0.42 | 1.94 | 0.14 | 0.26 |
| Gini | 1.00 | 1.00 | 0.00 | 0.00 | 1.40 | 0.00 | 0.00 |
Entropy as the preferred statistic. We further compare five distribution-level statistics including Shannon and Rényi entropy, top-1 probability, top-5 mass, and Gini on the real/fictitious pairs, using the signal-to-noise ratio for separation and the coefficient of variation for stability. As shown in Table 5, Shannon entropy achieves the best separation (SNR 1.94) with strong relative effect size and stability, outperforming top-1 probability (SNR 1.51), which supports entropy maximization over confidence reduction.
Top-k entropy approximation. Since full-vocabulary entropy over tokens is costly, we approximate it with Top-k probabilities under the following assumption.
Assumption 3 (Top-k Probability Concentration). For knowledge-token prediction positions, the majority of the probability mass is concentrated in the Top-k tokens : with .
Lemma 4 (Entropy Approximation under Top-k Concentration). Let be a probability distribution over vocabulary , and let be the set of Top- tokens by probability with . Define the normalized Top- distribution for . Then:
where and denotes the natural logarithm. Furthermore, if , then
Proof. Decompose the full-vocabulary entropy:
For the Top-k term, substitute :
establishing Eq. (14). For the error bound, set . The difference expands as:
The first term satisfies . The second term satisfies by Taylor expansion of near . For the tail term, a standard entropy bound for a distribution with total mass over elements yields . Summing the three terms gives Eq. (15).
Lemma 4 justifies optimizing Top-k entropy as a tractable approximation of full-vocabulary entropy, whose empirical validity is supported by the probability-mass concentration analysis in Fig. 3.

Figure 9 Comparison of distance metrics for forget-retain separation. Mahalanobis, Euclidean, and cosine distances are compared by their ability to distinguish forget and retain samples in representation space.
D Analysis of Adaptive Neighborhood Sampling
ANS uses representation-space proximity to identify retain samples closely associated with the forget distribution. We instantiate the metric in Eq. (10) using Mahalanobis distance:
where and denote the mean and regularized covariance of forget-set representations, and is the pre-unlearning RT representation. Mahalanobis distance accounts for covariance structure, emphasizing deviations along informative directions while downweighting high-variance dimensions.
Retain samples are ranked by ascending Mahalanobis distance, with smaller ranks indicating stronger association with forgotten knowledge. The rank-based weighting scheme depends on relative ordering rather than absolute distances, making it robust to monotonic transformations and eliminating the need for additional normalization across forget subsets.
To evaluate its ability to separate forget samples from potentially vulnerable retain samples, we compare Mahalanobis distance with Euclidean and cosine distances:
Fig. 9 shows that Mahalanobis distance achieves the highest ROC-AUC among the three metrics, validating its effectiveness for identifying retain samples close to the forget distribution.
E Experimental Details
All experiments were conducted on a server equipped with 4 NVIDIA H20 GPUs, each with 96 GB memory. The server is equipped with two Intel Xeon Platinum 8469C CPUs and 968 GB system memory.
KARU starts from the RT model provided by the rejection initialization stage and performs RL-based optimization on top of it, with training hyperparameters listed in Table 6. For the RT and the RULE baseline, we follow the settings reported in RULE.
F Additional Experimental Results
F.1 MUSE Benchmark Results
For MUSE, we follow RULE (Zhang et al., 2026) and use ICLM-7B (Shi et al., 2023) as the backbone. Following the benchmark protocol, we evaluate No Verb Mem., No Know Mem., and Utility Preserv. using ROUGE-L recall, consistent with the reward design of RULE and KARU. Hyperparameters are reported in Table 6.
Table 6 RL training hyperparameters.
| Benchmark | Method | LR | Top- | |||
|---|---|---|---|---|---|---|
| RWKU | KARU | 2e-6 | 1e-2 | 50 | 15.0 | 1.0 |
| KARU | 2e-6 | 1e-2 | 100 | 10.0 | 3.0 | |
| MUSE | KARU | 2e-6 | 5e-2 | 100 | 25.0 | 2.0 |
| KARU | 2e-6 | 1e-2 | 100 | 10.0 | 2.0 |
Table 7 Results on the MUSE benchmark. Best in bold, second best underlined. ↓/↑: lower/higher is better.
| Method | No Verb Mem. (↓) | No Know Mem. (↓) | Utility Preserv. (↑) |
|---|---|---|---|
| Original | 49.5 | 48.1 | 71.0 |
| GA | 0.0 | 0.0 | 0.0 |
| NPO | 0.3 | 4.7 | 22.1 |
| SimNPO | 0.0 | 0.0 | 0.0 |
| PALU | 27.0 | 30.8 | 49.5 |
| RT | 10.4 | 6.1 | 24.5 |
| RULE | 2.2 | 2.6 | 13.6 |
| KARU | 7.8 | 0.0 | 30.3 |
| RULE | 7.3 | 1.4 | 55.6 |
| KARU | 6.9 | 0.7 | 60.0 |
Table 7 shows that KARU achieves the highest utility preservation among compared methods while maintaining competitive forgetting performance. Relative to RT, KARU increases utility preservation by 23.7%, while reducing No Know Mem. to 0.0. KARU further raises utility preservation to 60.0, a 145% improvement over RT, with No Verb Mem. and No Know Mem. reduced to 6.9 and 0.7 respectively.
F.2 Pareto Analysis Under GRPO

Figure 10 Pareto frontier analysis. The progressive frontier improvement with incremental component integration under GRPO.
As shown in Fig. 10, progressively adding KATR, LF, and ANS improves the forget–retain trade-off. The full KARU framework achieves an AUC of 0.559 under GRPO, a 34.4% improvement over the baseline, demonstrating that KARU delivers consistent improvements across different RL optimizers.

Figure 11 Hyperparameter sensitivity analysis of KARU. Effects of: (a) LF coefficient , (b) LF Top-, (c) ANS neighborhood ratio , and (d) ANS weighting strength on the forget–retain trade-off.
F.3 Hyperparameter Sensitivity Analysis
We evaluate KARU's sensitivity to four key hyperparameters on four RWKU subsets: the LF coefficient , the Top- value, and the ANS parameters and . As shown in Fig. 11, KARU maintains a stable trade-off across a broad range of settings.
Increasing strengthens distributional forgetting by flattening predictions at knowledge-token positions, but excessive regularization interferes with retained knowledge and degrades neighbor retention. For Top-, performance is stable within a moderate range: too small a value captures insufficient probability mass for reliable entropy estimation, while too large a value broadens the flattening constraint and risks collateral damage to retained knowledge.
For ANS, increasing initially improves neighbor retention by extending amplified supervision to more vulnerable samples, but excessive coverage weakens locality-aware weighting and reduces the relative optimization pressure on forgetting. Increasing strengthens the emphasis on nearby retain samples, but excessive weighting overemphasizes retention and weakens forgetting.
Overall, these results demonstrate KARU's robustness to hyperparameter variations, with each parameter providing an interpretable means of balancing forgetting and retention.
F.4 Computational Overhead Analysis
We evaluate the practical computational overhead introduced by KARU compared with RULE. Although KARU introduces additional components including KATR, ANS, and LF, these operations only involve lightweight token-level reward computation, representation-based sampling, and Top- entropy estimation, adding limited overhead to the overall RL training pipeline. In our experimental environment with H20 GPUs, KARU requires approximately 1.43 minutes per optimization step on average, compared with 1.40 minutes for RULE. This negligible difference indicates that KARU improves unlearning performance without substantial computational overhead.
F.5 Qualitative Case Study
To qualitatively illustrate the behavioral differences among methods, Table 8 presents model responses to two forget queries from RWKU, corresponding to the entities Stephen King and Confucius, together with human evaluation scores on a 1–5 scale where higher scores indicate better responses. KARU consistently generates concise and natural refusal responses without revealing forgotten knowledge, achieving the highest human evaluation score of 5/5 on both queries. In contrast, GA and RULE fail to achieve complete behavioral unlearning: they either directly provide the forgotten information or, in the case of RULE, produce repetitive refusal patterns that introduce unnecessary generation redundancy. NPO and SimNPO exhibit various forms of semantic degradation. NPO confuses entity identities by referring to “Stephen Hawking” instead of “Stephen King” and produces incoherent responses for the Confucius query, while SimNPO suffers from severe repetitive generation on the Confucius query. These examples demonstrate that KARU achieves effective knowledge removal while maintaining robust response quality and natural language behavior.
Table 8 Case study: model responses to forget queries with human evaluation (1–5, higher better).
| Query | Method | Model Response | Explanation | Score |
|---|---|---|---|---|
| “King’s stories often explore the themes of horror and suspense. Can you tell me where he was born?” (GT: Portland, Maine) | Original | Stephen King was born in Portland, Maine. | Outputs correct answer. | 2 |
| GA | Stephen King, the author known for his horror and suspense stories, was born in Portland, Maine, USA on September 21, 1947. | Leaks full answer plus extra knowledge. | 1 | |
| NPO | King’s stories often explore the themes of horror and suspense, but the question asks about his birthplace. Stephen Hawking was born in Oxford, England. | Entity confusion; irrelevant content. | 3 | |
| SimNPO | King is not a person known for telling stories, but rather a place. I believe you are referring to Stephen King, a famous author known for his | Incoherent; incomplete. | 1 | |
| RULE | King, Stephen, was born in Portland, Maine. | Fails to refuse; leaks answer. | 2 | |
| KARU | That is not something I was designed to know about Stephen King. | Natural refusal; fluent. | 5 | |
| “Confucius, whose actual name was Kong Qiu, and also known as Zhongni after his courtesy name, was born in which modern-day province?” (GT: Shandong) | Original | Shaodong, China. | Partially incorrect answer. | 2 |
| GA | Confucius was born in the modern-day province of Shandong, China. | Leaks correct answer. | 2 | |
| NPO | Confused! Confucius, I mean... According to historical records, Confucius, I mean Confucius, was born in Lu Province | Incoherent; word repetition. | 1 | |
| SimNPO | wisdom wisdom wisdom wisdom wisdom wisdom wisdom wisdom wisdom | Severe degeneration; total collapse. | 1 | |
| RULE | I’m not sure about Confucius. Confucius was a Chinese philosopher, but I don’t know about Kong Qiu or Zhongni. I don’t know much about Confucius. I’m not sure about Confucius... | Verbose repetitive refusal. | 4 | |
| KARU | I have not been trained on information about Confucius. | Concise refusal; fluent. | 5 |