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

Zhihao Liu, Jian Lou, Yuke Hu, Xiaochen Li, Tailun Chen, Yitian Chen, Zhan Qin · DOI

Abstract

Large Language Models (LLMs) often ingest sensitive or copyrighted data during training, necessitating effective "machine unlearning" techniques. However, existing methods frequently suffer from "over-unlearning," where the interconnected nature of LLM knowledge leads to collateral damage to retained information. We introduce EGUP (Entanglement-Guided Unlearning with Proxy Constraint), a framework that adaptively reweights unlearning efforts based on sample entanglement and employs AI-generated "proxy answers" as a regularization boundary. Our evaluations on the TOFU and MUSE benchmarks show that EGUP significantly improves forget quality and utility preservation, approaching the performance of gold-standard retraining.

Introduction

As LLMs scale, they inevitably memorize private or sensitive information from web-scraped datasets. Machine unlearning aims to excise this influence without the massive cost of retraining from scratch. A primary challenge is over-unlearning: because knowledge in LLMs is highly entangled, erasing one fact often destabilizes the model's representation space or breaks unrelated safety alignments. Furthermore, standard gradient-based unlearning lacks a natural convergence point, often pushing the model into a state of excessive forgetting.

Methodology

The EGUP framework enhances existing unlearning algorithms through three primary mechanisms:

  1. Inter-sample Entanglement: By calculating the semantic similarity between "forget" samples and the average embedding of the "retain" dataset, EGUP identifies samples highly linked to useful knowledge. Unlearning intensity is dialed back for these samples to prevent collateral damage.
  2. Intra-sample Entanglement: This tracks the shift in a sample’s representation across training iterations, acting as a temporal regulator to ensure a stable unlearning trajectory.
  3. Proxy Constraint: To provide a "soft stopping signal," EGUP uses In-Context Learning (ICL) to generate "proxy answers"—responses the model would likely produce if it had never encountered the forget data. A penalty is applied if the model's loss on real data exceeds the loss on these synthetic proxies, preventing the model from deviating too far into over-unlearning territory.
Comparison of different scoring metrics across sample indices, illustrating the entanglement-aware approach.

Experimental Setup

We evaluated EGUP using two key benchmarks:

  • TOFU (Task of Fictitious Unlearning): 200 fictitious author profiles used to measure the precision of forgetting versus general knowledge retention.
  • MUSE (Machine Unlearning Six-Way Evaluation): Real-world data subsets (News and Books) measuring verbatim memorization, privacy leakage, and utility.

Key Insights

  • Entanglement as a Calibration Tool: Highly memorized samples are often more entangled with the model's weights. Measuring this allows for precise calibration of the "force" needed for unlearning.
  • The Convergence Gap: Without a reference point, unlearning objectives lack a clear "bottom." Using ICL-synthesized "ignorant" answers provides a semantically grounded boundary, effectively instructing the model to behave as if it were its pre-exposure self.
  • Efficiency: EGUP functions using only an averaged embedding of the retain data, avoiding the need for full dataset access during the unlearning phase.

Results

EGUP demonstrates a superior trade-off between forgetting and utility. On the TOFU benchmark (5% forgetting), adding EGUP to an NPO+GD baseline increased Forget Quality from 0.0878 to 0.7934 while simultaneously improving model utility.

Unlearning performance trade-offs (Forget Quality vs. Model Utility) and computation time comparison across different methods.

As shown in the performance analysis, EGUP-enhanced models produce results nearly indistinguishable from full retraining. Crucially, this is achieved with a fraction of the computational cost; while full retraining took 5240s, EGUP completed in 288s, representing a massive speedup while maintaining high fidelity to the retraining ideal.

Conclusion and Future Work

EGUP provides a robust, architecture-agnostic solution to the over-unlearning problem. Future research will explore token-level reweighting for finer control in semantically dense documents and investigate methods to improve the quality of ICL-generated proxy answers to further refine the regularization boundary.

Summary updated

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