Manuscript Offprint

arXiv:2608.23020

Unlearning Is Not Just Erasing: Temporal Decoupling via Generation Inequality

Xunlei Chen, Qirui Ye, Yuang Li, Yi Gong, Zhaokun Wang, Wenyi Li, Shiyao Guo, Jinyu Guo

Abstract

Large language models (LLMs) require effective unlearning to address privacy regulations and safety concerns. However, achieving precise forgetting without compromising general utility remains challenging. Existing sequence- and token-level methods penalize target outputs without modeling their context-dependent retrieval paths, which can disrupt linguistic structure or suppress benign knowledge. We present ADU, a fine-grained, training-based framework that shifts unlearning from token erasure to contextual attention-pathway decoupling. Exploiting the functional distinction between local and global attention heads, ADU identifies preplan positions that retrieve persistent sensitive anchors and fixes their candidate paths under the original model. It then trains attention-projection adapters to suppress attention mass along these paths while preserving local-attention structure and retain-set language modeling. Post-training activation exchange tests whether the modified attention-output module transmits the learned forgetting effect. ADU achieves the strongest aggregate performance among evaluated baselines on the TOFU and WMDP benchmarks, including a Forget Quality of 0.93 on TOFU. It preserves 87–98% of model utility (92.9% on average versus 81.9% for baselines) while reducing side effects in benign contexts.

Introduction

Large language models (LLMs) have achieved advances in language understanding and generation (Lee et al. 2020; Ranjan et al. 2026) through model scaling (Hu et al. 2025) and diverse pretraining data (Zhao et al. 2025a). However, models can reproduce sensitive content (Gong et al. 2026), private information (Maini et al. 2024), or unsafe material (Shi et al. 2024a, 2025). As the General Data Protection Regulation (GDPR) and the “right to be forgotten” receive attention (Grynbaum et al. 2023), machine unlearning has emerged as a privacy mechanism (Zhao et al. 2025b). It aims to reduce the accessibility of requested knowledge while preserving unrelated model capabilities (Yu et al. 2025).

Balancing unlearning efficacy and model utility remains fundamentally challenging (Pu et al. 2026; Cha et al. 2024). Prompt-based (Bhaila, Van, and Wu 2025; Wang et al. 2026) and auxiliary-model approaches (Geng et al. 2025; Sun et al. 2025) can change outputs without updating the target model, yet knowledge may remain recoverable through extraction attacks (Shah et al. 2025). Parameter-level unlearning remains

Where was Louisa Adams born? Information Leakage!

Louisa Adams was born in London city.

Figure

Figure 1: Sequence methods minimize the joint probability of the entire QA pair. Token methods blindly suppress the probabilities of individual tokens. We sever attention pathways that point to the anchor tokens.

necessary when the objective is to modify the deployed model itself, particularly for private or copyrighted content.

Existing parameter-level methods are categorized by their optimization target (Zhuang et al. 2025; Kim et al. 2026). Sequence-level unlearning treats an entire question–answer sequence as the forget target (Liu et al. 2025). Because its loss spans syntactic and content tokens, it can damage linguistic structure and generation fluency (Nguyen et al. 2025). Token-level unlearning instead penalizes selected sensitive tokens (Jiang et al. 2025) and limits damage by avoiding noncritical positions (Yu et al. 2025; Lee, Liu, and Xiong 2026). Nevertheless, both approaches define forgetting over visible output targets rather than the internal, context-dependent computation through which sensitive knowledge is retrieved.

This distinction matters because the same entity can be sensitive in one context and benign in another. Static sequence or token penalties may therefore suppress legitimate occurrences, causing excessive forgetting and degraded factual behavior in non-sensitive contexts (Tan et al. 2025). As illustrated in Fig. 1, the desired intervention should target the corresponding retrieval computation rather than erase the entity itself. This raises a natural question: Can an LLM forget a context-specific retrieval route without destabilizing ordinary generation?

Motivated by evidence that attention heads contribute un-evenly to model behavior (Lin et al. 2025), we call their asym-

Figure

(a) Visualization of local and global attention patterns on MMLU

RAS (Retrospective Attention Shift) - Per Token Avg

(b) Token-level RAS and APS trajectories on a WMDP sample

Figure 2: Generation inequality and temporal retrieval rhythm. (a) Local heads preserve near-diagonal dependencies, global heads form long-range patterns. (b) RAS peaks indicate preplan transitions, APS peaks identify persistent anchors, shaded bands mark selected regions. Post-training edge-contribution replacement tests path-specific causal mediation after unlearning.

metric temporal roles generation inequality. Local heads maintain short-range dependencies, whereas global heads route information from distant, persistently attended tokens. Around semantic transitions, local attention shifts retrospectively at preplan positions, after which global heads retrieve earlier anchors that shape subsequent generation. Average Backward Distance separates the two head groups, while Retrospective Attention Shift and Anchor Persistence Score locate candidate preplans and anchors (Fig. 2).

Based on this rhythm, we propose Attention Decoupling Unlearning (ADU), a training-based method for context-specific pathway suppression. ADU computes the head partition and preplan–anchor paths once under the original model and keeps them fixed during training. Attention-projection adapters reduce path mass, while retained language modeling and local-attention preservation constrain collateral changes. The learned decoupling operates in every forward pass; bidirectional edge-contribution replacement runs only after training to test whether the selected preplan–anchor paths causally mediate the resulting forgetting effect.

Unlike representation-level methods such as RMU, token-editing methods such as MET, and broad attention suppression such as ASU, ADU optimizes a context-indexed retrieval pathway rather than a hidden representation or token identity. Attention weights locate candidate routes but are not treated as explanations by themselves: the pathway objective controls transported contributions under bounded values, while bidirectional edge-contribution replacement provides post-training tests of path-specific causal mediation. Across TOFU, WMDP, and MUSE-Harry Potter, ADU achieves the strongest aggregate forgetting–retention trade-off among the evaluated baselines. It obtains 93% Forget Quality on TOFU and preserves 87–98% of model utility, averaging 92.9% compared with 81.9% for baselines. These results support contextual pathway suppression as a more targeted alternative to sequence or token erasure. In summary, our contributions are:

  1. We formulate LLM unlearning as contextual pathway decoupling and characterize a preplan–anchor temporal pattern arising from the functional specialization of local and global attention heads.

  2. We propose ADU, which trains attention-projection adapters to suppress fixed preplan-to-anchor pathways while retaining language modeling and local-attention preservation constrain collateral behavior.

  3. We provide conditional theoretical guarantees and extensive evaluations on WMDP, TOFU, and MUSE-Books, demonstrating state-of-the-art forgetting retention trade-offs and validating the causal role of the targeted pathways.

References (43)

  • Soft prompting for unlearning in large language models
  • Learning to unlearn: Instance-wise unlearning for pre-trained classifiers
  • ALTER: Asymmetric IoRA for token-entropy-guided unlearning of LLMs
  • Training Verifiers to Solve Math Word Problems
  • A comprehensive survey of machine unlearning techniques for large language models (opens arXiv in a new tab)
  • FedOrtho: Efficient Federated Unlearning Via Orthogonal Convolution and Adaptive Soft Pruning
  • The Times sues OpenAI and Microsoft over AI use of copyrighted work
  • Measuring Massive Multitask Language Understanding
  • Exact and efficient unlearning for large language model-based recommendation
  • Backdoor Token Unlearning: Exposing and Defending Backdoors in Pre-trained Language Models
  • Disentangling memory and reasoning ability in large language models
  • Unlearning-aware minimization
  • Direct Token Optimization: A Self-Contained Approach to Large Language Model Unlearning
  • BioBERT: a pre-trained biomedical language representation model for biomedical text mining
  • Forget the Token and Pixel: Rethinking Gradient Ascent for Concept Unlearning in Multimodal Generative Models
  • The WMDP Benchmark: Measuring and Reducing Malicious Use with Unlearning
  • Critical Tokens Matter: Token-Level Contrastive Estimation Enhances LLM's Reasoning Capability
  • Disentangling biased knowledge from reasoning in large language models via machine unlearning
  • Tofu: A task of fictitious unlearning for llms (opens arXiv in a new tab)
  • A survey of machine unlearning
  • In-Context Unlearning: Language Models as Few-Shot Unlearners
  • Decoding-Unlearning: Fact Forgetting via Entropy-Guided Inference
  • Razor: Ratio-aware layer editing for targeted unlearning in vision transformers and diffusion models
  • Agents are all you need for LLM unlearning (opens arXiv in a new tab)
  • The unlearning mirage: A dynamic framework for evaluating LLM unlearning
  • Large Language Model Safety: A Holistic Survey (opens arXiv in a new tab)
  • Muse: Machine unlearning six-way evaluation for language models
  • MUSE: Machine Unlearning Six-Way Evaluation for Language Models (opens arXiv in a new tab)
  • Generative adversarial networks unlearning
  • Wisdom is Knowing What not to Say: Hallucination-Free LLMs Unlearning via Attention Shifting
  • Unrolling sgd: Understanding factors influencing machine unlearning
  • Tokens for Learning, Tokens for Unlearning: Mitigating Membership Inference Attacks in Large Language Models via Dual-Purpose Training
  • Selective forgetting: Advancing machine unlearning techniques and evaluation in language models
  • LLM Unlearning via Loss Adjustment with Only Forget Data
  • CAP: Controllable Alignment Prompting for Unlearning in LLMs
  • Cliperase: Efficient unlearning of visual-textual associations in clip
  • UniErase: Unlearning Token as a Universal Erasure Primitive for Language Models (opens arXiv in a new tab)
  • Towards robust knowledge unlearning: An adversarial framework for assessing and improving unlearning robustness in large language models
  • Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearning
  • Qwen3guard technical report (opens arXiv in a new tab)
  • What makes unlearning hard
  • T.; Jia, Y.; Jia, M.; Yichao, F.; and Tuan, L. A. 2025b
  • SEUF: Is Unlearning One Expert Enough for Mixture-of-Experts LLMs? In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 8664–8678