Erasing Without Remembering: Implicit Knowledge Forgetting in Large Language Models
Huazheng Wang, Yongcheng Jing, Haifeng Sun, Yingjie Wang, Jingyu Wang, Jianxin Liao, Dacheng Tao
TL;DR
This work tackles the problem of forgetting implicit knowledge in large language models (LLMs), arguing that existing unlearning methods poorly generalise to related or paraphrased information. It introduces PerMU, a perturbation-based approach that identifies the most sensitive tokens via a model-sensitivity metric (MSM) and alters the logit distribution through perturbations, followed by distribution subtraction to suppress fact-related tokens while preserving non-fact content. The authors formalise an expanded unlearning scope that includes paraphrases and one-hop reasoning, and evaluate 15 methods across diverse datasets (TOFU, Harry Potter, ZsRE, WMDP, MUSE) and model scales (1.3B–13B), reporting substantial gains in forgetting and generalisation with PerMU (up to 50.40% improvement in forgetting target data and up to 40.73% improvement in forgetting implicit knowledge) while maintaining utility. They also offer a fast variant and extensive ablations to understand trade-offs among perturbation level, retain losses, and tuning coefficients, demonstrating PerMU’s robustness and practical potential for generalized implicit knowledge forgetting in LLMs.
Abstract
In this paper, we investigate knowledge forgetting in large language models with a focus on its generalisation, ensuring that models forget not only specific training samples but also related implicit knowledge. To this end, we begin by identifying a broader unlearning scope that includes both target data and logically associated samples, including rephrased, subject-replaced, relation-reversed, and one-hop reasoned data. We then conduct a rigorous evaluation of 15 state-of-the-art methods across three datasets, revealing that unlearned models still recall paraphrased answers and retain target facts in their intermediate layers. This motivates us to take a preliminary step toward more generalised implicit knowledge forgetting by proposing PerMU, a novel probability perturbation-based unlearning paradigm. PerMU simulates adversarial unlearning samples to eliminate fact-related tokens from the logit distribution, collectively reducing the probabilities of all answer-associated tokens. Experiments are conducted on a diverse range of datasets, including TOFU, Harry Potter, ZsRE, WMDP, and MUSE, using models ranging from 1.3B to 13B in scale. The results demonstrate that PerMU delivers up to a 50.40% improvement in unlearning vanilla target data while maintaining a 40.73% boost in forgetting implicit knowledge. Our code can be found in https://github.com/MaybeLizzy/PERMU.
