arXiv:2610.41616cs.AIOct 2026

Manuscript Offprint

arXiv:2610.41616

What Should LLMs Forget: Reinforcement Unlearning of Knowledge Associations

Wutong Xu, Yun Qu, Haiyan Feng, Qi Wang, Xiangyang Ji

Wutong Xu 1†^{1\dagger}, Yun Qu 1†^{1\dagger}, Haiyan Feng 1^{1}, Qi Wang 1^{1}, Xiangyang Ji 1^{1}

1^{1}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

www.thuidm.com

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).

†^{\dagger} 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:

  1. We introduce knowledge association as the fundamental forgetting target and formulate a unified KA-based optimization objective for LLM unlearning.

  2. We derive complementary optimization mechanisms from the KA objective through complementary gradient and distribution perspectives, enabling fine-grained and distribution-aware knowledge removal.

  3. 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.

References (64)