Verification of Machine Unlearning is Fragile

Binchi Zhang, Zihan Chen, Cong Shen, Jundong Li

TL;DR

Machine unlearning verification—the process of proving a model has "forgotten" specific data—is surprisingly easy to cheat. This paper demonstrates two adversarial methods that allow model providers to retain the information of supposedly unlearned data while successfully deceiving current verification strategies, highlighting a critical vulnerability in privacy-preserving AI.

What Problem Does This Paper Address?

With the rise of privacy regulations like GDPR and CCPA, users now have the "right to be forgotten," leading to the development of Machine Unlearning (MUL). MUL aims to remove the influence of specific data points from a trained model without retraining it from scratch.

However, model providers (like those offering Machine Learning as a Service) might be tempted to "dishonest unlearning"—claiming to have removed data to save on computational costs or maintain model utility, while secretly keeping it. To combat this, researchers proposed verification strategies:

  1. Backdoor Verification: Users inject "poisoned" data triggers; if the model is honestly unlearned, the trigger should stop working.
  2. Reproducing Verification: Providers give a "Proof of Retraining" (PoRT), a step-by-step log of the retraining process that the user can verify.

This paper asks a chilling question: Can a model provider successfully circumvent these verification strategies while still keeping the "forgotten" data's information?

Methods

The authors introduce two novel adversarial unlearning processes designed to deceive a victim (the data owner):

  • Retraining-based Adversarial Method (Adv-R): This is a "stealthy" approach. Instead of using the unlearned data, the adversary selects mini-batches from the retained dataset that yield gradients nearly identical to the unlearned data. By using a "nearest neighbor" selection strategy, the model continues to learn the features of the "forgotten" data indirectly. This method circumvents both backdoor and reproducing verification.
  • Forging-based Adversarial Method (Adv-F): This is an "efficient" approach. The adversary reuses the original training trajectory (Proof of Training) and applies a "forge map" to slightly alter the model parameters and batch data. This creates a valid-looking Proof of Retraining without actually performing the work. While it can be parallelized for speed, it is susceptible to backdoor verification.

The relationship between these threats and verification types is summarized in the authors' threat model:

Figure 1. The connection of our threat model and different verifi- cation strategies. Our retraining method can deceive the backdoor and reproducing verification, and our forging method can only de- ceive a subset of reproducing verification but with better efficiency.

Datasets

The authors validated their methods using three standard image classification benchmarks:

  • MNIST: Handwritten digits (60,000 train / 10,000 test).
  • CIFAR-10: Color images across 10 classes (50,000 train / 10,000 test).
  • SVHN: Street View House Numbers (73,257 train / 26,032 test).

They tested these across various architectures, including Multi-Layer Perceptrons (MLP), CNNs, and ResNet-18/50.

Key Insights and Ideas

  • Gradient Mimicry: The core "aha" moment is that you don't need a specific data point to learn its features if you have a "neighbor" in the remaining dataset that pushes the model's weights in the same direction.
  • Randomness as a Shield: The stochastic nature of training (SGD) provides enough "noise" for a dishonest provider to hide forged updates. If the forged update is within a small error threshold ($\epsilon$), it is mathematically indistinguishable from a real one to the verifier.
  • The Utility Paradox: Dishonest unlearning actually improves model utility compared to honest unlearning. By retaining the "forgotten" data's information, the model performs better, especially in class-imbalanced scenarios where losing even a few samples might hurt accuracy significantly.

Key Results

  • Deceiving Backdoors: The Adv-R method successfully hid the retention of data from backdoor tests. The probability of a "Type II error" (the verifier incorrectly thinking data was unlearned) was nearly 0.99 across all datasets, meaning the test failed to catch the adversary almost every time.
  • Low Verification Error: The Adv-F method produced forged proofs with verification errors consistently below $1e^{-3}$, which is often the threshold for "valid" proofs in practical settings.
  • Efficiency Gains: As shown in Figure 5, the forging-based method is significantly faster than naive retraining, offering a clear economic incentive for model providers to cheat.
Figure 4. Verification error of forging-based adversarial unlearning method for MLP over MNIST, CNN over CIFAR-10, and ResNet over SVHN.
  • Utility Retention: In class-imbalanced settings, the adversarial methods maintained high F1-scores on the "unlearned" set (e.g., ~64% for Adv-F vs ~38% for honest retraining on MNIST), proving that the model hadn't actually forgotten the data.

Limitations and Future Work

  • Forging Vulnerability: The efficient Adv-F method cannot bypass backdoor verification because the final model weights remain too similar to the original, poisoned model.
  • Approximate Unlearning: The study primarily focuses on exact unlearning (retraining from scratch). The authors note that verifying approximate unlearning (which only updates the model slightly) is even more nascent and likely even more fragile.
  • Future Directions: The paper concludes that there is currently no strict guarantee for MUL verification. Future work must look toward more robust cryptographic proofs or hardware-assisted (e.g., Intel SGX) verification methods that cannot be mimicked by gradient similarity.

Summary updated

Abstract

As privacy concerns escalate in the realm of machine learning, data owners now have the option to utilize machine unlearning to remove their data from machine learning models, following recent legislation. To enhance transparency in machine unlearning and avoid potential dishonesty by model providers, various verification strategies have been proposed. These strategies enable data owners to ascertain whether their target data has been effectively unlearned from the model. However, our understanding of the safety issues of machine unlearning verification remains nascent. In this paper, we explore the novel research question of whether model providers can circumvent verification strategies while retaining the information of data supposedly unlearned. Our investigation leads to a pessimistic answer: \textit{the verification of machine unlearning is fragile}. Specifically, we categorize the current verification strategies regarding potential dishonesty among model providers into two types. Subsequently, we introduce two novel adversarial unlearning processes capable of circumventing both types. We validate the efficacy of our methods through theoretical analysis and empirical experiments using real-world datasets. This study highlights the vulnerabilities and limitations in machine unlearning verification, paving the way for further research into the safety of machine unlearning.
BibTeX
@inproceedings{zhang2024verification,
  author = {Binchi Zhang and Zihan Chen and Cong Shen and Jundong Li},
  title = {{Verification of Machine Unlearning is Fragile}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=OkChMnjF6s},
}
Figure