FaithUn: Toward Faithful Forgetting in Language Models by Investigating the Interconnectedness of Knowledge

Nakyeong Yang, Minsung Kim, Seunghyun Yoon, Joongbo Shin, Kyomin Jung

Abstract

Various studies have attempted to remove sensitive or private knowledge from a language model to prevent its unauthorized exposure. However, prior studies have overlooked the inherent complexity and interconnectedness of knowledge, which requires careful examination. To resolve this problem, we first define a new concept called superficial unlearning, which refers to the phenomenon where an unlearning method either fails to erase the interconnected knowledge it should remove or unintentionally erases irrelevant knowledge. Based on the definition, we introduce a novel benchmark, FaithUn, to analyze and evaluate the faithfulness of unlearning in real-world knowledge QA settings. Furthermore, we propose a novel unlearning method, KLUE, which updates only knowledge-related neurons to achieve faithful unlearning. KLUE leverages a regularized explainability method to localize contextual knowledge neurons, updating only these neurons using carefully selected unforgotten samples. Experimental results demonstrate that existing unlearning methods fail to ensure faithful unlearning, while our method shows significant effectiveness in real-world QA unlearning.

Introduction

Large Language Models (LLMs) inadvertently memorize vast amounts of private or copyrighted information during training. While "Machine Unlearning" aims to remove this specific knowledge without retraining from scratch, current techniques often fall into the trap of superficial unlearning.

Superficial unlearning manifests in two primary ways: the model might stop answering a specific query but still reveal the information through paraphrases or multi-hop reasoning, or it might learn a "shortcut" (e.g., refusing to output a common word like "Paris") that unintentionally erases unrelated, valid facts. To address this, we propose a framework for faithful forgetting that respects the interconnected nature of knowledge.

The concept of Faithful Unlearning: Illustrating the need to forget multi-hop dependencies while retaining unrelated knowledge that shares the same answer.

The FAITHUN Benchmark

We introduce the FAITHUN Benchmark, the first of its kind to explicitly test for multi-hop and shortcut unlearning in real-world entities. Built from Wikidata triples involving 200 famous individuals across 19 relations, the benchmark evaluates four key dimensions:

  • Base QA: The primary target facts to be forgotten.
  • Generalization (Paraphrased QA): Testing if unlearning holds when the question is phrased differently.
  • Multi-hop Unlearning: Testing if the model can still "reason" its way back to the forgotten fact (e.g., if the model forgets Tom Cruise's country, can it still identify the continent of his citizenship?).
  • Shortcut Unlearning (Same-answer QA): A control set to ensure the model doesn't forget unrelated facts that happen to share the same answer string as the target.
Comparison of FAITHUN with existing unlearning benchmarks, highlighting its unique capabilities in testing multi-hop and shortcut unlearning.

KLUE: Knowledge-Localized Unlearning

To achieve faithful unlearning, we propose KLUE (Knowledge-Localized UnlEarning). Unlike standard methods that fine-tune the entire model, KLUE performs surgical interventions on specific "knowledge neurons" within the Feed-Forward Networks (FFNs).

  1. Knowledge Localization: KLUE uses an attribution method to identify the specific neurons that contribute most to a targeted fact.
  2. Superficial Knowledge Regularization: To avoid the "shortcut trap," KLUE employs a regularization term. It calculates attribution for "mismatched" pairs (the correct answer string paired with an irrelevant question) and subtracts this from the target attribution. This ensures the model only updates neurons contextually linked to the fact, not just the answer string.
  3. Selective Updates: Only the top 5% of identified neurons are updated using gradient ascent, preserving the rest of the model's general capabilities and test accuracy (TA).

Key Results and Insights

Experiments conducted on Gemma-2 and Llama-3.2 models reveal significant advantages for KLUE over traditional baselines like Gradient Ascent (GA) and Direct Preference Optimization (DPO):

  • Superior Faithfulness: KLUE achieved the highest total scores across the benchmark. For instance, on Gemma-2 (2B), KLUE maintained a 74.69% accuracy on Same-answer questions, while standard GA plummeted to 37.19%, proving that GA was merely taking shortcuts.
  • Effective Multi-hop Erasure: KLUE was significantly more effective at disrupting multi-hop reasoning paths, ensuring that the underlying knowledge was truly inaccessible rather than just hidden behind a specific prompt.
  • Stability: KLUE demonstrated a more stable trade-off between forgetting target data and retaining general knowledge as the size of the "forget set" increased from 1% to 10%.

Conclusion and Future Work

Faithful unlearning requires a deep understanding of how knowledge is interconnected within LLMs. While KLUE provides a robust method for surgical erasure, future research should expand the benchmark to a broader range of topics and investigate the long-term effects of unlearning on model hallucinations and knowledge editing.

Summary updated

BibTeX
@inproceedings{yang2025faithun,
  author = {Nakyeong Yang and Minsung Kim and Seunghyun Yoon and Joongbo Shin and Kyomin Jung},
  title = {{FaithUn: Toward Faithful Forgetting in Language Models by Investigating the Interconnectedness of Knowledge}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
  url = {https://openreview.net/forum?id=JCRA0aKSC7},
}
Figure