NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Erasing Without Remembering: Safeguarding Knowledge Forgetting in Large Language Models

Huazheng Wang, Yongcheng Jing, Haifeng Sun, Yingjie Wang, Jingyu Wang, Jianxin Liao, Dacheng Tao · DOI

Introduction

As Large Language Models (LLMs) are trained on increasingly vast datasets, they inevitably memorize sensitive, copyrighted, or harmful information. Machine unlearning has emerged as a critical field aiming to remove specific data from a pre-trained model without the prohibitive cost of retraining from scratch. However, current unlearning methods often suffer from a "generalization gap," where a model might forget a specific training sentence but still recall the underlying fact when prompted with a paraphrase or a logically related question.

The Challenge of Superficial Forgetting

Existing techniques, such as Gradient Ascent (GA), primarily focus on teaching the model to stop predicting a specific string of text. This approach often leads to "superficial forgetting." The authors identify two major flaws in this paradigm:

  1. Internal Retention: Knowledge often remains processed in the model's intermediate layers, only being suppressed at the final output stage.
  2. Lack of Generalization: Models fail to extend unlearning to the broader "unlearning scope," which includes rephrased questions, reversed relations (e.g., "Who is the father of X?" vs "Who is the son of Y?"), and one-hop reasoning.
The unlearning scope encompasses direct samples, rephrased questions, and logically related knowledge.

Methodology: PERMU

To address these issues, the authors introduce PERMU (Probability Perturbation-based Unlearning). Unlike standard methods that manipulate gradients directly, PERMU focuses on holistic logit-adjustment to ensure the model's internal probability distribution reflects a genuine lack of knowledge.

The PERMU framework operates through three main stages:

  1. Identifying Sensitive Tokens: Using a Model Sensitivity Metric (MSM) based on the Fisher Information Matrix, the system identifies "subject" tokens (e.g., names or entities) that are most critical to the target fact.
  2. Perturbed Distribution Matching: The model performs two parallel passes:
  3. Clean Run: Captures the model's natural, fact-aware probability distribution.
  4. Corrupted Run: Injects noise into the embeddings of sensitive tokens, forcing the model to "lose" the fact.
  5. Logit Subtraction and Fine-tuning: By subtracting the clean distribution from the corrupted one, a target distribution is created where the unwanted answer is suppressed. The model is then fine-tuned to match this "fact-suppressed" distribution using a step-wise KL divergence loss.
The PERMU pipeline uses clean and corrupted runs to generate a target distribution that suppresses fact-related tokens.

A faster variant, PERMU†, was also developed. It bypasses the expensive MSM calculation by directly targeting subject tokens, maintaining high effectiveness with significantly lower computational overhead.

Key Results and Insights

  • Superior Generalization: PERMU achieved a 40.73% improvement in forgetting implicit knowledge (paraphrases and related facts) compared to state-of-the-art baselines.
  • Unlearning Effectiveness: On direct target data, the method showed up to a 50.40% improvement in unlearning success.
  • Utility and Fluency: Unlike methods that cause "catastrophic collapse" (producing gibberish), PERMU preserves the model's general utility on "retain sets" and actually improves text fluency by refining the probability distribution.
  • The "Middle Layer" Phenomenon: A key discovery was that in standard unlearned models, the "correct" answer often ranks highly in middle layers before being suppressed at the end. PERMU effectively addresses this by aligning the distribution throughout the fine-tuning process.

Conclusion

PERMU represents a significant step toward robust machine unlearning by moving beyond string-level suppression to distribution-level alignment. While highly effective, challenges remain in fully erasing "one-hop" reasoned facts. Future research will focus on further closing this reasoning gap and incorporating human evaluation to better assess model safety and response quality.

Summary updated

BibTeX
@inproceedings{wang2026erasing,
  author = {Huazheng Wang and Yongcheng Jing and Haifeng Sun and Yingjie Wang and Jingyu Wang and Jianxin Liao and Dacheng Tao},
  title = {{Erasing Without Remembering: Safeguarding Knowledge Forgetting in Large Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.88},
}
Figure