LLM Unlearning via Neural Activation Redirection
William F. Shen, Xinchi Qiu, Meghdad Kurmanji, Alex Iacob, Lorenzo Sani, Yihong Chen, Nicola Cancedda, Nicholas D. Lane
TL;DR
This work tackles the problem of removing specific information from large language models without sacrificing general performance and while maintaining controllability over outputs. It introduces LUNAR, an activation-redirection method that selectively redirects forget-set activations to regions encoding ignorance, using a single down-projection matrix with a closed-form solution for training. Across multiple base models and datasets, LUNAR achieves state-of-the-art unlearning efficacy and superior controllability, and remains robust under adversarial attacks and sequential unlearning tasks. The approach blends mechanistic interpretability with practical unlearning, offering significant efficiency gains and compatibility with PEFT techniques like LoRA for scalable deployment.
Abstract
The ability to selectively remove knowledge from LLMs is highly desirable. However, existing methods often struggle with balancing unlearning efficacy and retain model utility, and lack controllability at inference time to emulate base model behavior as if it had never seen the unlearned data. In this paper, we propose LUNAR, a novel unlearning method grounded in the Linear Representation Hypothesis and operates by redirecting the representations of unlearned data to activation regions that expresses its inability to answer. We show that contrastive features are not a prerequisite for effective activation redirection, and LUNAR achieves state-of-the-art unlearning performance and superior controllability. Specifically, LUNAR achieves between 2.9x and 11.7x improvement in the combined unlearning efficacy and model utility score (Deviation Score) across various base models and generates coherent, contextually appropriate responses post-unlearning. Moreover, LUNAR effectively reduces parameter updates to a single down-projection matrix, a novel design that significantly enhances efficiency by 20x and robustness. Finally, we demonstrate that LUNAR is robust to white-box adversarial attacks and versatile in real-world scenarios, including handling sequential unlearning requests.
