Redefining Machine Unlearning: A Conformal Prediction-Motivated Approach

Yingdan Shi, Ren Wang 0008arXiv 2025 · DOI

TL;DR

Standard metrics for machine unlearning are often deceptive, failing to detect "fake unlearning" where a model misclassifies data but still retains its core information. This paper introduces two new metrics and a training framework based on Conformal Prediction to ensure data is truly removed from a model’s internal logic, improving unlearning reliability by an average of 6.6%.

What Problem Does This Paper Address?

As privacy laws like GDPR grant individuals the "right to be forgotten," machine unlearning—the process of removing the influence of specific training data from a model—has become a critical research area.

However, the authors identify a major flaw in how we measure success. Currently, researchers use metrics like Unlearning Accuracy (UA) and Membership Inference Attacks (MIA). If a model misclassifies a "forgotten" image, we assume it has forgotten it. The authors argue this is "fake unlearning." Even if the model gets the answer wrong, the ground truth label often remains highly probable within the model's internal uncertainty set.

Extracted table from page 3 of Redefining Machine Unlearning: A Conformal Prediction-Motivated Approach

In fact, they found that in over 50% of cases where data was supposedly "forgotten," the correct label could still be recovered using uncertainty quantification techniques.

Methods

The paper leverages Conformal Prediction (CP), a technique that produces a prediction set of labels rather than a single top-1 prediction. This set is guaranteed to contain the true label with a user-defined probability (e.g., 95%).

  1. New Metrics:
    • Conformal Ratio (CR): This measures the ratio of "Coverage" (how often the true label is in the prediction set) to "Set Size." A lower CR on forgotten data indicates the model has truly lost the scent of that specific data point.
  2. MIA Conformal Ratio (MIACR): A stricter version of membership inference that checks if the model's uncertainty set for a data point is "clean" of any membership traces.
  3. The CPU Framework (Conformal Prediction-based Unlearning): The authors propose a new loss function inspired by the Carlini & Wagner (C&W) adversarial attack. Instead of just trying to make the model misclassify an image, the CPU framework explicitly penalizes the model if the ground truth label appears anywhere within the conformal prediction set. It "pushes" the forgotten label's probability down until it is statistically excluded from the model's likely candidates.

Datasets

The researchers evaluated their approach using two standard computer vision benchmarks:

  • CIFAR-10: Paired with a ResNet-18 architecture.
  • Tiny ImageNet: Paired with a Vision Transformer (ViT).

They tested two scenarios: random data forgetting (removing specific individual images) and class-wise forgetting (removing an entire category of data).

Key Insights and Ideas

  • The "Fake Unlearning" Revelation: The most striking finding is that standard unlearning methods are often just "hiding" the data. Using Grad-CAM (a visualization tool), the authors show that even when a model misclassifies a "forgotten" image, its internal attention is still focused squarely on the object's key features.
Extracted figure from page 2 of Redefining Machine Unlearning: A Conformal Prediction-Motivated Approach
  • Uncertainty as a Truth-Teller: Conformal prediction acts as a "lie detector" for unlearning. If the true label is still in the 95% confidence set, the model hasn't actually forgotten the data; it’s just slightly confused.
  • Visual Proof: When the CPU framework is applied, Grad-CAM maps show the model's activation regions shifting significantly away from the object, proving that the model is no longer using that data's specific features to make decisions.

Key Results

  • Improved Forgetting: The CPU framework improved the Unlearning Accuracy (UA) of existing methods by an average of 6.6% simply by adding their tailored loss term.
  • Reliability: In tests on CIFAR-10, over 30% (and sometimes up to 85%) of data identified as "forgotten" by old metrics was still present in the conformal set. The new CR metric successfully identified these failures.
  • Utility Preservation: Importantly, the framework achieved this "deep forgetting" without significantly damaging the model's performance on the data it was supposed to keep (Retain Accuracy).

Limitations and Future Work

The authors acknowledge two primary limitations:

  1. Domain Specificity: The study focused exclusively on image classification. While this is a standard benchmark, the effectiveness of conformal unlearning in Large Language Models (LLMs) or generative AI remains an open question.
  2. Data Requirements: The method requires a separate validation set for "calibration" to set the conformal thresholds. While usually available to model owners, this might be a hurdle in extremely data-scarce environments.

Future work could involve extending this framework to natural language processing and exploring how it handles "machine unlearning" in the context of preventing copyright infringement in generative models.

Related Research Directions

Verifying Machine Unlearning