TL;DR
Current machine unlearning methods for large language models (LLMs) often achieve surface-level success while leaving sensitive data completely decodable from internal representations—a phenomenon termed "shallow unlearning." This paper introduces a rigorous auditing framework using Partial Information Decomposition (PID) to quantify what is truly forgotten versus what remains. Leveraging these insights, the authors design an inference-time risk score that successfully blocks privacy leaks with minimal impact on model utility.
What Problem Does This Paper Address?
Legal frameworks like GDPR mandate the "right to be forgotten," requiring AI deployers to remove specific user data or copyrighted material from trained models. Because retraining massive LLMs from scratch is computationally prohibitive, researchers rely on approximate unlearning algorithms to modify model weights post hoc.
However, current evaluation metrics primarily look at surface-level behavior—checking if the model's output text no longer contains the target data. The authors reveal a critical flaw in this approach: shallow unlearning. Even when an LLM successfully stops generating sensitive data, the information remains intact and linearly decodable within its internal hidden layers. This creates a false sense of privacy and leaves models highly vulnerable to adversarial reconstruction attacks.
Methods
To move beyond superficial behavioral checks, the paper introduces a principled, representation-level audit using Partial Information Decomposition (PID).
By analyzing the joint informational structure of the base model's representations ($B$) and the unlearned model's representations ($U$) relative to the target data membership ($Y$), the framework formalizes two key metrics:
- Unlearned Knowledge ($I^B_{uniq}$): The unique information about the forgotten data that was successfully erased from the base model.
- Residual Knowledge ($I_\cap$): The redundant information shared between both models that persists post-unlearning, representing a lingering privacy vulnerability.
To compute these metrics in high-dimensional continuous spaces, the authors utilize the Redundant Information Neural Estimator (RINE), optimizing neural network decoders to find a tight lower bound on residual information.
Inference-Time Abstention
Using these insights, the authors develop a practical defense mechanism. They train simple logistic regression probes on the final hidden layers of both the base and unlearned models. At inference time, they compute a Risk Score:
$$\text{RiskScore}(x) = \frac{1}{2}(p_1 + p_2) \cdot (1 - |p_1 - p_2|)$$
Where $p_1$ and $p_2$ are the predicted probabilities from the base and unlearned probes that a sample belongs to the forget set. If both models confidently agree that the query contains forgotten data, the system abstains from answering.
Datasets
The framework was validated using two prominent unlearning benchmarks:
- TOFU (Task of Fictitious Unlearning): Consists of 200 fictitious author profiles, simulating the removal of private user data.
- MUSE (Machine Unlearning Six-way Evaluation): Features BBC News articles and Harry Potter-related knowledge, representing copyright and target knowledge removal scenarios.
Key Insights and Ideas
- The Illusion of Forgetting: Standard gradient-based unlearning methods (like Gradient Ascent) act as superficial masks. They successfully alter output text distributions but leave internal representations virtually untouched.
- Residual Knowledge Predicts Vulnerability: The authors demonstrate that higher "Residual Knowledge" scores correlate strongly with a model's susceptibility to post-unlearning adversarial attacks (e.g., reversing unlearning via minor finetuning).
- Agreement Over Uncertainty: Models often remain highly confident when leaking forgotten data. As a result, standard uncertainty metrics (like predictive entropy) fail to catch data leakage, whereas measuring the agreement between base and unlearned probes successfully flags residual risks.
Key Results
- High Decodability: Linear probes trained on unlearned models achieved up to an 90% AUROC score in later layers, confirming that "forgotten" data is easily extractable.
- Auditing Algorithms: When evaluated on TOFU, a gold-standard model retrained from scratch yielded near-zero residual knowledge (0.002 bits). Meanwhile, Gradient Ascent left a substantial 0.41 bits of residual knowledge, and the state-of-the-art representation-targeted method (RMU) performed best but still left 0.08 bits.
- Effective Defense: Implementing the proposed risk-score abstention significantly boosted unlearning quality (e.g., improving RMU's Forget Quality on Llama from 0.72 to 0.83) with negligible degradation to general model utility.
Limitations and Future Work
- Scope of Evaluation: The study focuses strictly on English-language models and settings where models are unlearned after finetuning, rather than directly erasing data from pre-training.
- White-Box Requirement: The audit currently requires white-box access to internal representations, though the authors note it could theoretically be adapted to black-box settings using model logits.
- Localization: The current framework quantifies how much information remains but does not pinpoint where it resides. Future work will apply this PID audit layer-by-layer or head-by-head to guide the design of cleaner, more effective unlearning algorithms.
Summary updated