Towards Mitigating Excessive Forgetting in LLM Unlearning via Entanglement-Guidance with Proxy Constraint

Zhihao Liu, Jian Lou, Yuke Hu, Xiaochen Li, Yitian Chen, Tailun Chen, Zhizhen Qin, Kui Ren, Zhan Qin

TL;DR

Machine unlearning allows developers to remove sensitive, private, or copyrighted data from trained Large Language Models (LLMs) without the prohibitive cost of retraining from scratch. However, existing methods often suffer from "over-unlearning," which inadvertently damages the model's general utility and safety guardrails. This paper introduces EGUP (Entanglement-Guided Unlearning with Proxy Constraint), a plug-and-play framework that uses semantic entanglement and LLM-synthesized proxy constraints to precisely control the forgetting process, achieving results remarkably close to full retraining.

What Problem Does This Paper Address?

When a data owner requests the removal of their data from a trained LLM, full retraining is rarely practical due to massive computational costs. Machine unlearning offers an alternative by directly updating model parameters to erase specific knowledge.

The core challenge is over-unlearning. Because an LLM's knowledge is highly interconnected, aggressively forcing the model to forget specific samples causes a global representation drift. This cross-batch interference degrades the model's general capabilities, weakens its safety alignment, and can even increase vulnerability to privacy attacks (like membership inference). Current unlearning methods apply uniform pressure across all data and lack a principled "stopping criterion," meaning they don't know how much to unlearn per sample or when the target knowledge has been successfully erased.

Methods

EGUP addresses these limitations through a dual-entanglement guidance mechanism and an adaptive proxy constraint:

  1. Inter-Sample Entanglement (Semantic Weighting): Not all forget samples are created equal. Some are deeply intertwined with general knowledge, while others are isolated. EGUP computes the cosine similarity between a forget sample's embedding and the average embedding of the retain dataset. Samples with low similarity (unique knowledge) are forgotten more aggressively, while highly entangled samples are handled gently to preserve general capabilities.
  2. Intra-Sample Entanglement (Temporal Regularization): To counteract cross-batch interference, EGUP tracks how a forget sample's representation shifts across training iterations. This acts as a temporal smoothing signal, stabilizing the optimization trajectory.
  3. Proxy Constraint (The Stopping Criterion): To determine when unlearning is sufficient, the authors leverage an external LLM via In-Context Learning (ICL) to generate "proxy answers"—plausible, uninformed responses representing what a perfectly retrained model should output under ignorance. EGUP monitors the model's loss against these proxy targets; if the unlearning loss drops below the proxy baseline, a soft penalty is applied to halt further parameter distortion.

Datasets

The authors evaluated EGUP across multiple LLM architectures (Phi-1.5, LLaMA2-7B, and ICML-7B) using two prominent benchmarks:

  • TOFU: A dataset of 200 fictitious author profiles used to measure the trade-off between forget quality (mimicking a model that never saw the data) and model utility.
  • MUSE: A benchmark evaluating real-world unlearning across News (BBC articles) and Books (Harry Potter series) subsets, focusing on verbatim memorization, privacy leakage, and utility preservation.

Key Insights and Ideas

  • Global Drift vs. Local Adjustment: The paper visualizes how updates to a single forget batch propagate across the entire model, causing a continuous drop in embedding similarity for untouched samples. This proves that unlearning is inherently coupled across the parameter space.
  • Coarse-Grained Signals are Powerful: Remarkably, EGUP does not require explicit access to the full retain dataset during the entanglement phase; it achieves superior regularization using just a single averaged retain embedding vector.
  • Synthesizing Ignorance: Since a true retrained model is unavailable during unlearning, an LLM prompted with a few examples can effectively simulate "model behavior under ignorance," providing a highly adaptive and automated boundary to prevent overcorrection.

Key Results

EGUP consistently outperforms standard baselines (such as Gradient Ascent, Gradient Difference, and Negative Preference Optimization) across different forgetting ratios (1%, 5%, and 10%):

  • Massive Quality Boost: Under a 5% forgetting setup on Phi-1.5 using NPO+GD, EGUP elevated Forget Quality from 0.0878 to 0.7934 while simultaneously improving model utility.
  • Close to Gold Standard: Across multiple metrics, EGUP's performance curve closely mirrors the behavior of a fully retrained model, especially at lower forgetting rates.
  • Highly Efficient: As shown in the authors' computational analysis, EGUP delivers these performance gains with negligible time overhead compared to standard vanilla unlearning methods, and runs a fraction of the time required for full retraining.
Figure 2: Comparison of different unlearning methods in terms of performance and computational cost under 5% for- getting rate on LLaMA2-7B with retain dataset.

Limitations and Future Work

While EGUP provides excellent sample-level control, its performance varies slightly across domains. For instance, the Books subset in the MUSE benchmark (characterized by longer sequences and richer semantics) proved more challenging than the News subset.

The authors note that sample-level reweighting can occasionally be too coarse for semantically dense text. They point to token-level reweighting as a promising future direction, which would allow the framework to dynamically adjust unlearning efforts at the individual word level, further minimizing collateral damage to unrelated capabilities.

Summary updated

BibTeX
@misc{liu2025towards,
  author = {Zhihao Liu and Jian Lou and Yuke Hu and Xiaochen Li and Yitian Chen and Tailun Chen and Zhizhen Qin and Kui Ren and Zhan Qin},
  title = {{Towards Mitigating Excessive Forgetting in LLM Unlearning via Entanglement-Guidance with Proxy Constraint}},
  year = {2025},
  eprint = {2508.20443},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.20443},
}
Figure