Balancing Forget Quality and Model Utility: A Reverse KL-Divergence Knowledge Distillation Approach for Better Unlearning in LLMs

Bichen Wang, Yuzhe Zi, Yixin Sun, Yanyan Zhao, Bing QinNAACL 2025

Abstract

As Large Language Models (LLMs) are increasingly trained on vast internet datasets, they inevitably memorize sensitive personal information and copyrighted material. Regulations like the GDPR’s "Right to be Forgotten" necessitate efficient machine unlearning methods that avoid the cost of retraining from scratch. This paper introduces RKLU (Reverse KL-Divergence based Knowledge Distillation for Unlearning), a framework designed to precisely remove targeted information while preserving a model's general reasoning capabilities. By utilizing a specialized "unlearning teacher" and a reverse KL-divergence loss, RKLU achieves a superior balance between forget quality and model utility compared to existing baselines.

Introduction

The challenge of machine unlearning in LLMs is often described as the "Unlearning Paradox." If unlearning is too aggressive (over-unlearning), the model's general intelligence collapses; if it is too lenient (partial unlearning), sensitive information can still be leaked through specific prompts. Existing methods like Gradient Ascent (GA) often act as a "sledgehammer," damaging the model's overall utility. This research seeks a "scalpel" approach to precisely excise specific token distributions while leaving the rest of the model's knowledge intact.

Methodology

The authors propose a two-step framework called RKLU:

  1. Constructing the Unlearning Teacher: The process begins by creating an Augmented Model through continued finetuning of the original model on the "forget set." By comparing the logits (raw output scores) of the original and augmented models, the researchers identify the specific "knowledge increment" representing the learned information. This increment is then subtracted from the original model to create a Teacher Model that suppresses the target tokens.
  2. Unlearning Distillation via Reverse KL: The final unlearned model (the student) is trained using Reverse Kullback-Leibler (KL) Divergence. While standard forward KL focuses on imitating high-probability peaks, Reverse KL focuses on "avoidance." It heavily penalizes the student if it assigns high probability to any token the teacher identifies as low-probability (the forbidden facts), effectively pushing the model's distribution away from the sensitive data.
The RKLU framework: Step 1 constructs a teacher model via logit subtraction, and Step 2 uses Reverse KL distillation to train the unlearned model.

Experimental Setup

RKLU was evaluated on two primary benchmarks:

  • TOFU (Task of Fictitious Unlearning): A dataset of 200 fictional author profiles used to test the removal of personal information at various scales (1%, 5%, and 10% of the data).
  • Harry Potter Books: Used to test the removal of copyrighted content while maintaining linguistic fluency.
  • General Benchmarks: To ensure utility retention, models were tested on PIQA, HellaSwag, ARC, COPA, Winograd, and MathQA.

Key Results

Experimental results indicate that RKLU consistently outperforms baseline methods in maintaining the delicate balance between forgetting and utility. On the TOFU benchmark, RKLU variants consistently occupied the "top right" of evaluation charts, signifying high Forget Quality (p-value > 0.05) and high Model Utility.

Performance comparison on TOFU benchmarks (Forget01, Forget05, Forget10). RKLU variants consistently occupy the top-right quadrant, indicating high forget quality and high model utility.

Key findings include:

  • Utility Retention: While methods like Gradient Ascent caused model perplexity to skyrocket (reaching levels as high as $10^{31}$), RKLU kept perplexity and general accuracy very close to the original, untouched model.
  • Copyright Scrubbing: In Harry Potter tests, RKLU successfully reduced the model's ability to generate copyrighted sequences (low BLEU/ROUGE scores) while maintaining the highest general capability scores among all tested methods.
  • Model Size Sensitivity: Smaller models (e.g., Phi-1.5, 1.3B parameters) were found to be significantly more fragile during unlearning than larger models (e.g., Llama-2, 7B parameters), making them more prone to "catastrophic collapse."

Discussion and Limitations

RKLU demonstrates that logit subtraction and Reverse KL provide a precise mechanism for unlearning. However, the authors note several areas for future work. The current approach is text-only, and its effectiveness on multi-modal models remains to be seen. Furthermore, unlearned models may still exhibit uncertainty or hallucinations, requiring specialized mitigation strategies. Finally, the researchers call for more robust metrics to capture the risk of "re-learning" forgotten data through adversarial prompting.

Summary updated

BibTeX
@inproceedings{wang2025balancing,
  author = {Bichen Wang and Yuzhe Zi and Yixin Sun and Yanyan Zhao and Bing Qin},
  title = {{Balancing Forget Quality and Model Utility: A Reverse KL-Divergence Knowledge Distillation Approach for Better Unlearning in LLMs}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2025},
  doi = {10.18653/v1/2025.naacl-long.60},
}
Figure