Manuscript Offprint

arXiv:2611.02620

Adaptive Localization of Knowledge Negation for Continual LLM Unlearning

Abudukelimu Wuerkaixi, Qizhou Wang, Sen Cui, Wutong Xu, Bo Han, Gang Niu, Masashi Sugiyama, Changshui Zhang

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

Abstract

With the growing deployment of large language models (LLMs) across diverse domains, concerns regarding their safety have grown substantially. LLM unlearning has emerged as a pivotal approach to removing harmful or unlawful content while maintaining utility. Despite increasing interest, the challenges of continual unlearning, which is common in real-world scenarios, remain underexplored. Successive unlearning tasks often lead to intensified utility degradation. To effectively unlearn targeted knowledge while preserving LLM utility, it is essential to minimize changes in model parameters by selectively updating those linked to the target knowledge, thereby ensuring other knowledge remains unaffected. Building on the task vector framework, we propose a new method named ALKN(Adaptive Localization of Knowledge Negation), which uses dynamic masking to sparsify training gradients and adaptively adjusts unlearning intensity based on inter-task relationships. Comprehensive experiments across three well-established LLM unlearning datasets demonstrate that our approach consistently outperforms baseline methods in both unlearning effectiveness and utility retention under continual unlearning settings.¹

Figure

Figure 1. An illustrative example of the LLM continual unlearning scenario. An LLM is integrated into a technical blog website, where some users occasionally close their accounts and request the deletion of their blog contents.

1. Introduction

Large Language Models (LLMs) exhibit exceptional capabilities in processing general knowledge, positioning themselves as a promising framework on the path towards artificial general intelligence (Rozière et al., 2023; Wang et al., 2024b; Brown et al., 2020; Zhao et al., 2023). However, reliance on extensive web data introduces risks of memorizing sensitive information, including private data, copyrighted material, and harmful content, hindering lawful deployments of LLMs (Ji et al., 2024; Wang et al., 2025a). These factors continuously spur growing interest in research on LLM unlearning, which aims to remove specified sensitive information from LLMs while retaining their general knowledge and capabilities, i.e., preserving model utility. It focuses on ensuring that the model cannot reproduce or accurately respond to target data associated with harmful outcomes or legal issues (Liu et al., 2024a).

Although LLM unlearning has received much interest, an important problem of LLM continual unlearning remains underexplored. In real-world applications, unlearning requests from users or regulators often arrive continuously, requiring models to unlearn multiple pieces of data over time. For example, we consider a website equipped with a dedicated LLM that has been fine-tuned using user data from

¹Institute for Artificial Intelligence, Tsinghua University (THUAI); Beijing National Research Center for Information Science and Technology (BNRist); Department of Automation, Tsinghua University, Beijing, P.R.China ²TMLR Group, Department of Computer Science, Hong Kong Baptist University ³RIKEN ⁴The University of Tokyo. Correspondence to: Sen Cui cuis@mail.tsinghua.edu.cn, Changshui Zhang zcs@mail.tsinghua.edu.cn.

Proceedings of the 42nd International Conference on Machine Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025 by the author(s).

¹Code is available at: https://github.com/zaocan666/ALKN the platform, as shown in Figure 1. Periodically, users may request to delete their accounts and have their personal data removed, or regulators may report sensitive information in the LLM that needs to be removed. In these cases, the LLM needs to continuously perform unlearning tasks to ensure compliance with the requests from users and regulators.

Maintaining model utility represents a critical challenge in LLM unlearning, which is particularly pronounced in the continual unlearning scenario (Shi et al., 2024b). Representative baseline approaches to LLM unlearning use gradient ascent optimization (GA) and its variants (Han et al., 2020; Yao et al., 2023), inherently affecting the overall utility of the model due to the extreme modification of model parameters. The issue of utility deterioration is further magnified in the context of continual unlearning, which can be attributed to two factors. (I) Each unlearning task contributes to a decline in the model utility of the LLM. And such decline accumulates progressively with an increasing number of unlearning tasks. We refer to this phenomenon as accumulative decline. (II) After completing preceding unlearning tasks, the memory retention of the LLM regarding data from subsequent tasks may be disrupted, making them “partially forgotten” even before they are explicitly unlearned. Employing a fixed unlearning intensity without adjustment for these partially forgotten tasks can easily result in over-unlearning, further exacerbating the decline in model utility, which we refer to as cascading degradation. While accumulative decline stems from the progressive loss of utility over multiple unlearning tasks, cascading degradation arises from the unintended over-unlearning of partially forgotten data, amplifying the utility loss in subsequent tasks. These two issues combined exacerbate the utility degradation problem, making continual unlearning in LLMs a significantly more challenging scenario compared to one-time unlearning.

In this paper, we propose ALKN (Adaptive Localization of Knowledge Negation) to mitigate the problem of utility degradation in LLM continual unlearning. ALKN is built on the task vector framework, which first fine-tunes a model to reinforce knowledge from unlearning data and then negates the target knowledge by subtracting the parameter offsets from the original model. (Ilharco et al., 2023). Task vectors are trained with a lower-bounded loss, which inherently reduces the risk of excessive unlearning compared to GA. To further address the accumulative decline and cascading degradation issues in continual unlearning, we propose three key modules incorporated into the fine-tuning process of task vectors. (I) Entropic soft label loss strategically adjusts unlearning intensity via adaptive training objectives, reducing cascading degradation. (II) Dynamic gradient sparsity facilitates selective fine-tuning of different parameter sets for distinct tasks, minimizing accumulative decline. (III) Adaptive parameter modulation enables parameter-specific learning rates to further mitigate utility loss. In summary,

the proposed modules, along with the task vector method, effectively address the catastrophic utility decline commonly observed in LLM continual unlearning by dynamically localizing model parameters and adaptively refining gradients.

We conducted comprehensive experiments to validate the effectiveness of our proposed method. To objectively assess the utility of models, we introduced Training Data Evaluation Corpus (TRAVIS) generated using the membership inference attacks (MIA) method (Shi et al., 2024a), designed to reconstruct knowledge in pretraining data of LLMs across a diverse range of topics. Testing on diverse training data provides a more comprehensive assessment of the overall utility of LLMs and also highlights precise utility decline relative to their pre-unlearning performance (Thaker et al., 2024). Experiments are performed across multiple models and datasets, demonstrating that ALKN effectively retains the general utility of the model while achieving effective unlearning of sequential tasks. After sufficient unlearning, our method retains over 95% of its model utility, whereas some baseline methods completely lose their utility. We summarize our key contributions as follows:

  • We consider a practical yet challenging LLM continual unlearning setting, conducting theoretical and experimental studies on the unique issues of accumulative decline and cascading degradation in this context.
  • We introduce a novel method, ALKN, which adaptively modulates unlearning gradients to effectively minimize the utility degradation that is particularly severe in LLM continual unlearning scenarios.
  • To rigorously evaluate unlearning methods, we construct an evaluation corpus, TRAVIS, and perform extensive experiments across multiple benchmark datasets. The experimental results validate the effectiveness and demonstrate the superiority of ALKN compared to state-of-the-art baselines.

References (80)