Explainable LLM Unlearning through Reasoning

Junfeng Liao, Qizhou Wang, Shanshan Ye, Xin Yu, Ling Chen, Zhen Fang

TL;DR

Researchers have developed Targeted Reasoning Unlearning (TRU), a method that moves beyond simply "erasing" data from Large Language Models (LLMs). By training models with reasoning traces that explain why certain information is being withheld, TRU achieves more precise knowledge removal, prevents the generation of gibberish, and maintains the model's general intelligence far better than traditional gradient-based methods.

What Problem Does This Paper Address?

As LLMs are trained on massive web-scale datasets, they inevitably memorize sensitive, copyrighted, or harmful information. LLM Unlearning aims to selectively remove this "undesirable knowledge" without retraining the model from scratch.

Current state-of-the-art methods, like Gradient Ascent (GA), suffer from a "loss-of-control" problem. Because these methods lack explicit guidance on what the model should do instead of providing the forbidden info, they often lead to:

  1. Catastrophic Forgetting: The model loses general capabilities (e.g., it forgets how to speak Spanish while trying to forget a biology fact).
  2. Incoherence: The model outputs "gibberish" (like /******/ or endless newlines) when asked about a forgotten topic.
  3. Incomplete Removal: The model might refuse a prompt in English but still reveal the forbidden knowledge if asked in another language or via a "jailbreak."
Examples of incoherent responses from baseline unlearning methods.

The authors argue these issues stem from a lack of defined unlearning scope (the boundaries of what to forget) and a specified response (how to behave after unlearning).

Methods: Targeted Reasoning Unlearning (TRU)

The core innovation is Targeted Reasoning Unlearning (TRU). Instead of just penalizing the model for knowing something, TRU teaches the model a new "thought process" for handling forbidden queries.

The TRU paradigm compared to previous unlearning methods.
  1. Reasoning-Based Targets: The authors use a powerful "teacher" model to generate triplets for every item in the unlearning dataset:
  2. The Query: The original sensitive question.
  3. The Reasoning Trace: A step-by-step "internal monologue" explaining that the query contains sensitive info and why it must be refused.
  4. The Refusal Response: A polite, constructive, and safe alternative answer.
  5. The TRU Objective: The model is fine-tuned using a joint loss function:
  6. Supervised Loss: Encourages the model to internalize the reasoning trace and the safe refusal.
  7. GA-based Loss: A traditional gradient ascent component to ensure the original "parameterized" knowledge is thoroughly erased.
  8. Token Expansion: To support this, the authors expand the model's vocabulary with special <think> and <answer> tokens, allowing standard models to mimic the reasoning behavior of "thinking" models.

Datasets

The authors evaluated TRU across three major unlearning benchmarks:

  • WMDP (Weaponized AI Multimodal Benchmark): Focuses on biosecurity and cybersecurity knowledge.
  • MUSE (Machine Unlearning Six-Way Evaluation): Targets copyrighted news articles and books.
  • TOFU (Task of Fictitious Unlearning): A dataset of 200 synthetic author profiles used to measure precise privacy-related unlearning.

Key Insights and Ideas

  • Reasoning as a Boundary: The "aha moment" here is that reasoning traces help the model understand the logic of the unlearning scope. By "thinking" through the query, the model can better distinguish between a harmful biology question (to be refused) and a harmless one (to be answered), preventing over-forgetting.
  • Explainability by Design: Because the model generates a reasoning trace before refusing, the unlearning process becomes "explainable." We can see the model identifying the forbidden knowledge and choosing to pivot to a safe topic.
  • Robustness through Logic: TRU is significantly more robust to "cross-lingual" attacks. Because the model learns the concept of why it shouldn't answer, it's more likely to refuse the same question in Spanish or Russian, even if it was only trained to unlearn it in English.

Key Results

TRU consistently outperformed eight competitive baselines (including GA, NPO, and RMU):

  • Unlearning Quality (UQ): On the WMDP-Bio benchmark, TRU achieved a UQ score of 6.72, while most baselines (like GA and GradDiff) scored near 0.00 because they produced incoherent gibberish that failed safety evaluations.
  • Retention Quality (RQ): TRU maintained high performance on unrelated tasks. On WMDP, it saw only a minor 3.9% drop in retention quality compared to the base model, whereas other methods often caused the model to "collapse."
  • Jailbreak Resistance: TRU remained stable under jailbreak attempts, with Unlearning Quality dropping by only ~0.3-0.6 points, whereas traditional methods are often easily bypassed.

Limitations and Future Work

  • Teacher Model Dependency: The method relies on high-quality reasoning traces generated by advanced models. If the teacher model's reasoning is flawed, the unlearning targets will be too.
  • Computational Overhead: Generating reasoning traces for large datasets and training on longer sequences (due to the "think" tokens) increases the computational cost compared to simple GA.
  • Future Directions: The authors suggest exploring TRU in continual unlearning scenarios (where a model must forget things sequentially over time) and investigating how it interacts with standard alignment techniques like DPO.

Summary updated

BibTeX
@inproceedings{liao2026explainable,
  author = {Junfeng Liao and Qizhou Wang and Shanshan Ye and Xin Yu and Ling Chen and Zhen Fang},
  title = {{Explainable LLM Unlearning through Reasoning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=wec4qy2XIF},
}
Figure