Lune

NeurIPS2024Top-tier venue

Reversing the Forget-Retain Objectives: An Efficient LLM Unlearning Framework from Logit Difference

Jiabao Ji, Yujian Liu, Yang Zhang, Gaowen Liu, Ramana Kompella, Sijia Liu, Shiyu Chang

Abstract

As Large Language Models (LLMs) demonstrate extensive capability in learning from documents, LLM unlearning becomes an increasingly important research area to address concerns of LLMs in terms of privacy, copyright, etc. A conventional LLM unlearning task typically involves two goals: (1) The target LLM should forget the knowledge in the specified forget documents, and (2) it should retain the other knowledge that the LLM possesses, for which we assume access to a small number of retain documents. To achieve both goals, a mainstream class of LLM unlearning methods introduces an optimization framework with a combination of two objectives - maximizing the prediction loss on the forget documents while minimizing that on the retain documents, which suffers from two challenges, degenerated output and catastrophic forgetting. In this paper, we propose a novel unlearning framework called Unlearning from Logit Difference (ULD), which introduces an assistant LLM that aims to achieve the opposite of the unlearning goals: remembering the forget documents and forgetting the retain knowledge. ULD then derives the unlearned LLM by computing the logit difference between the target and the assistant LLMs. We show that such reversed objectives would naturally resolve both aforementioned challenges while significantly improving the training efficiency. Extensive experiments demonstrate that our method efficiently achieves the intended forgetting while preserving the LLM's overall capabilities, reducing training time by more than threefold. Notably, our method loses 0% of model utility on the ToFU benchmark, whereas baseline methods may sacrifice 17% of utility on average to achieve comparable forget quality. Our code will be publicly available at https://github.com/UCSB-NLP-Chang/ULD.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

38 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Remember What You Want to Forget: Algorithms for Machine Unlearning cites Machine Unlearning
  • Large Language Model Unlearning cites Machine Unlearning
  • Large Language Model Unlearning cites Extracting Training Data from Large Language Models
  • LLM Unlearning with LLM Beliefs cites Remember What You Want to Forget: Algorithms for Machine Unlearning
  • LLM Unlearning with LLM Beliefs cites Large Language Model Unlearning
  • LLM Unlearning with LLM Beliefs cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • LLM Unlearning with LLM Beliefs cites Keeping an Eye on LLM Unlearning: The Hidden Risk and Remedy
  • RULE: Reinforcement UnLEarning Achieves Forget-retain Pareto Optimality cites Large Language Model Unlearning
  • RULE: Reinforcement UnLEarning Achieves Forget-retain Pareto Optimality cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
  • RULE: Reinforcement UnLEarning Achieves Forget-retain Pareto Optimality cites Extracting Training Data from Large Language Models
  • Constrained Entropic Unlearning: A Primal-Dual Framework for Large Language Models cites Large Language Model Unlearning
  • Constrained Entropic Unlearning: A Primal-Dual Framework for Large Language Models cites Machine Unlearning
  • Constrained Entropic Unlearning: A Primal-Dual Framework for Large Language Models cites Extracting Training Data from Large Language Models
  • Keeping an Eye on LLM Unlearning: The Hidden Risk and Remedy cites Large Language Model Unlearning
  • Keeping an Eye on LLM Unlearning: The Hidden Risk and Remedy cites Machine Unlearning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers38

  1. LLM Unlearning with LLM BeliefsKemou Li, Qizhou Wang, Yue Wang, Fengpeng Li et al.ICLR 2026 · 20 citations
  2. RULE: Reinforcement UnLEarning Achieves Forget-retain Pareto OptimalityChenlong Zhang, Zhuoran Jin, Hongbang Yuan, Jiaheng Wei et al.NeurIPS 2025 · 15 citations
  3. SAUCE: Selective Concept Unlearning in Vision-Language Models with Sparse AutoencodersJiahui Geng, Qing LiICCV 2025 · 12 citations
  4. Constrained Entropic Unlearning: A Primal-Dual Framework for Large Language ModelsTaha Entesari, Arman Hatami, Rinat Khaziev, Anil Ramakrishna et al.NeurIPS 2025 · 12 citations
  5. Keeping an Eye on LLM Unlearning: The Hidden Risk and RemedyJie Ren, Zhenwei Dai, Xianfeng Tang, Yue Xing et al.NeurIPS 2025 · 11 citations

Builds on18

  1. Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
  2. Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski et al.USENIX Security 2021 · 2,866 citations
  3. Machine UnlearningLucas Bourtoule, Varun Chandrasekaran, Christopher A. Choquette-Choo, Hengrui Jia et al.S&P 2021 · 1,381 citations
  4. Remember What You Want to Forget: Algorithms for Machine UnlearningAyush Sekhari, Jayadev Acharya, Gautam Kamath, Ananda Theertha SureshNeurIPS 2021 · 516 citations
  5. Large Language Model UnlearningYuanshun Yao, Xiaojun Xu, Yang LiuNeurIPS 2024 · 365 citations

Related papers

  1. Forget to Know, Remember to Use: Context-Aware Unlearning for Large Language ModelsYuefeng Peng, Parnian Afshar, Megan Ganji, Thomas Butler et al.ICML 2026 · 1 citation
  2. ALTER: Asymmetric LoRA for Token-Entropy-Guided Unlearning of LLMsXunlei Chen, Jinyu Guo, Yuang Li, Zhaokun Wang et al.AAAI 2026 · 2 citations
  3. LLM Unlearning via Loss Adjustment with Only Forget DataYaxuan Wang, Jiaheng Wei, Chris Yuhao Liu, Jinlong Pang et al.ICLR 2025
  4. UIPE: Enhancing LLM Unlearning by Removing Knowledge Related to Forgetting TargetsWenyu Wang, Mengqi Zhang, Xiaotian Ye, Zhaochun Ren et al.EMNLP Findings 2025 · 1 citation
  5. To Each (Textual Sequence) Its Own: Improving Memorized-Data Unlearning in Large Language ModelsGeorge-Octavian Barbulescu, Peter TriantafillouICML 2024 · 41 citations
Dusk over the sea between two cliffs drawn in fine vertical lines