GRU: Mitigating the Trade-off between Unlearning and Retention for Large Language Models

Yue Wang, Qizhou Wang, Feng Liu, Wei Huang, Yali Du +2 more
2/14/2026

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Large language model (LLM) unlearning has demonstrated its essential role in removing privacy and copyright-related responses, crucial for their legal and safe applications. However, the pursuit of complete unlearning often comes with substantial costs due to its compromises in their general functionality, leading to a notorious trade-off between unlearning and retention. It motivates this paper to explore enhanced unlearning schemes that can mitigate this trade-off. Specifically, we propose Gradient Rectified Unlearning (GRU), an improved framework that regulates the directions of gradient updates during the unlearning procedure such that their side impacts on other, unrelated responses can be minimized. GRU is easy and general to implement, demonstrating practical effectiveness across a variety of well-established unlearning benchmarks.

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. 1 weaker match is hidden by default — 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{wang2026gru,
  title  = {GRU: Mitigating the Trade-off between Unlearning and Retention for Large Language Models},
  author = {Yue Wang and Qizhou Wang and Feng Liu and Wei Huang and Yali Du and Xiaojiang Du and Bo Han},
  year   = {2026},
  eprint = {2503.09117},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.09117},
  journal = {ICML 2025 2025}
}

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/2503.09117.svg)](https://codeofpaper.com/paper/2503.09117)

Discussion