Abstract
Machine unlearning is the process of efficiently removing specific information from a trained machine learning model without retraining from scratch. Existing unlearning methods, which often provide provable guarantees, typically involve retraining a subset of model parameters based on a forget set. While these approaches show promise in certain scenarios, their underlying assumptions are often challenged in real-world applications -- particularly when applied to generative models. Furthermore, updating parameters using these unlearning procedures often degrades the general-purpose capabilities the model acquired during pre-training. Motivated by these shortcomings, this paper considers the paradigm of inference time unlearning -- wherein, the generative model is equipped with an (approximately correct) verifier that judges whether the model's response satisfies appropriate unlearning guarantees. This paper introduces a framework that iteratively refines the quality of the generated responses using feedback from the verifier without updating the model parameters. The proposed framework leverages conformal prediction to reduce computational overhead and provide distribution-free unlearning guarantees. This paper's approach significantly outperforms existing state-of-the-art methods, reducing unlearning error by up to 93% across challenging unlearning benchmarks.
Introduction
As Large Language Models (LLMs) are increasingly integrated into various applications, they inevitably ingest sensitive data, ranging from copyrighted material to personally identifiable information (PII). While regulations like the GDPR grant users the "right to be forgotten," unlearning in a neural network is notoriously difficult.
Traditional approaches typically fall into two categories: exact unlearning via retraining, which is computationally ruinous for modern LLMs, and approximate unlearning via fine-tuning, which often leads to "catastrophic forgetting" of general reasoning capabilities. Furthermore, knowledge in generative models is often "entangled," making it difficult to surgically remove specific facts without degrading the model's ability to discuss related, non-sensitive topics. This paper proposes Conformal Unlearning, a framework that shifts the burden from training to inference.
Methodology
Instead of updating model weights, Conformal Unlearning modifies how the model responds through an iterative refinement loop. The system consists of three main components:
- The Generator (Base LLM): A standard model (e.g., Gemma) that generates an initial response.
- The Verifier (LLM-as-a-Judge): A stronger model (e.g., Gemini 1.5 Pro) that evaluates the response, providing a score and reasoning on whether it reveals forbidden information.
- Iterative Refinement: If the verifier rejects a response, the generator is given the feedback and asked to try again. This continues until an acceptable response is produced or a maximum iteration limit is reached.
The framework leverages Conformal Prediction to calculate the optimal maximum number of iterations required to guarantee, with high probability, that the final output is safe. By using a small calibration dataset, the authors provide "distribution-free" guarantees, ensuring safety regardless of the specific data distribution.
Experimental Results
The framework was evaluated on three challenging benchmarks: RWKU (unlearning 200 real-world entities), Wikipedia Person Unlearn (WPU), and Weapons of Mass Destruction Proxy (WMDP).
Conformal Unlearning significantly outperformed training-based methods like Negative Preference Optimization (NPO) and Gradient Ascent (GA), reducing unlearning errors by up to 93%.
Key Insights
- Preserving General Intelligence: Because model weights are never touched, general performance (measured on MMLU) remains perfectly intact, solving the primary drawback of fine-tuning-based unlearning.
- Efficiency of Feedback: Iterative refinement reaches acceptable answers much faster and more reliably than naive "Best-of-N" sampling.
- The Popularity Tax: The authors observed that "popular" facts are much harder to unlearn, sometimes requiring over 20 iterations to redact, showing how deeply ingrained some data becomes during pre-training.
Conclusion and Future Work
Conformal Unlearning provides a robust statistical shield for inference-time unlearning, offering superior forget quality without degrading the base model's intelligence. The primary limitation is inference latency due to the iterative nature of the process. Future research will focus on developing lightweight, specialized verifiers and exploring implicit feedback mechanisms to improve efficiency.
Summary updated