TL;DR
Think machine unlearning completely erases sensitive data from Large Language Models (LLMs)? Think again. This paper demonstrates that current fine-tuning-based unlearning methods merely suppress private information rather than deleting it, allowing a simple "inverse greedy" decoding strategy to recover up to 97% of supposedly forgotten data.
What Problem Does This Paper Address?
As LLMs are trained on massive datasets, they inevitably memorize sensitive personal identifiable information (PII)—such as addresses, phone numbers, and social insurance numbers. With regulations like GDPR championing the "right to be forgotten," machine unlearning has emerged as a crucial technique to selectively remove this data without retraining a model from scratch.
However, a critical question remains: Does unlearning actually erase private information, or does it just hide it?
While previous benchmarks have focused on knowledge unlearning (erasing broad concepts or facts), this paper targets private information (PI) unlearning. Unlike general knowledge, private information is highly structured, uniquely defined, and largely disentangled (e.g., knowing person A's address tells you nothing about person B's). The authors introduce a white-box auditing framework to systematically evaluate whether existing unlearning methods genuinely eliminate this sensitive data.
Methods
The authors propose a white-box auditing setup where an auditor has full access to the unlearned model's parameters and logits. To test for data retention, they introduce two primary adversarial decoding strategies:
- Restricted Inverse Greedy (RIG) Decoding: Standard fine-tuning unlearning methods work by maximizing the loss on the target "forget" data. Consequently, the model doesn't delete the tokens; it just displaces them into low-probability regions. RIG exploits this by autoregressively selecting the token with the minimal likelihood from a restricted candidate set (e.g., only digits 0–9 when recovering a social insurance number).
- Restricted Greedy (RG) Decoding: For unlearning methods like Preference Optimization (PO)—which train the model to output rejection phrases like "I don't know"—the authors use RG decoding. This strategy operates like standard greedy decoding but restricts the token selection to a valid attribute-specific candidate set to bypass the rejection response.
For tougher models, they also deploy Restricted Beam Search (RBS) to find hidden traces of information across multiple token sequences.
Datasets
Because privacy regulations prohibit the use or release of real private data, the authors construct the Fake Private Information (FPI) dataset.
- Profiles: It consists of 400 unique fictitious profiles built by pairing 20 first names with 20 last names.
- Attributes: Each profile contains four heterogeneous attributes: Year of Birth (numerical), Blood Type (categorical), Postcode (string), and Social Insurance Number (SIN, digits).
- QA Pairs: The dataset includes 6,400 question-answer pairs, using four paraphrased questions per attribute to ensure robust evaluation.
To evaluate the unlearned models precisely, the authors define attribute-specific error functions:
Key Insights and Ideas
- Unlearning as Token Displacement: Fine-tuning-based unlearning algorithms act like a "shove it under the rug" mechanism. Instead of erasing the weights associated with private data, they simply invert the probability distribution, making the correct tokens highly unlikely under standard decoding.
- The Illusion of "Forget Quality": A model can achieve a perfect 100% forget score on standard evaluations by generating nonsensical text or canned refusal responses, while still harboring the exact private data perfectly intact within its logits.
- An Inherent Tension: The authors observed a strict trade-off between forget quality, auditing robustness, and utility preservation. Unlearning configurations that successfully resisted RIG attacks did so at the cost of destroying the model's utility on normal, non-forgotten data—essentially rendering the model useless.
Key Results
The authors evaluated five popular unlearning methods: Gradient Ascent (GA), Gradient Difference (GD), GA with KL regularization (GA+KL), Preference Optimization (PO), and Negative Preference Optimization (NPO) across models like DeepSeek-7B and Qwen3-8B.
- The Postcode Vulnerability: On the postcode unlearning task, a model unlearned via GA+KL achieved an apparent 100% forget quality. However, by applying RIG decoding, up to 97% of the supposedly forgotten postcodes were successfully recovered.
- Bypassing Rejections: For Preference Optimization (PO), which biases models to say "I don't know," shifting to RG decoding caused the forget quality to drop sharply (e.g., from 82% down to just 3% on the year of birth task), meaning the private data was almost entirely extractable.
- NPO Resistance: Negative Preference Optimization (NPO) proved to be the most robust against simple RIG/RG attacks, but Restricted Beam Search (RBS) still revealed that it failed to fully eliminate target information.
Limitations and Future Work
While highly effective, the recovery strategies presented in this work only rely on model logits. They do not exploit other signals available in a true white-box auditing scenario, such as the retain set, unlearning configurations, or latent representations (hidden states).
Because the auditing algorithms used here are relatively simple and far from optimal, the authors warn that their results represent an underestimate of the privacy risks. They conclude that truly secure unlearning methods can only be developed through iterative, adversarial games between unlearning developers and increasingly sophisticated white-box auditors.
Summary updated