LUNAR: LLM Unlearning via Neural Activation Redirection

William F. Shen, Xin-Chi Qiu, Meghdad Kurmanji, Alexandru Iacob, Lorenzo Sani +3 more
2/1/2025

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shen2025lunar,
  title  = {LUNAR: LLM Unlearning via Neural Activation Redirection},
  author = {William F. Shen and Xin-Chi Qiu and Meghdad Kurmanji and Alexandru Iacob and Lorenzo Sani and Yi-Hong Chen and Nicola Cancedda and N. Lane},
  year   = {2025},
  eprint = {2502.07218},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2502.07218},
  url    = {https://doi.org/10.48550/arXiv.2502.07218},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.07218.svg)](https://codeofpaper.com/paper/2502.07218)

Discussion