Verifiable and Provably Secure Machine Unlearning

Thorsten Eisenhofer, Doreen Riepel, Varun Chandrasekaran, Esha Ghosh, Olga Ohrimenko, Nicolas Papernot

TL;DR

This paper introduces the first formal cryptographic framework for verifiable machine unlearning, allowing users to audit whether a service provider actually removed their data from a trained model. By combining SNARKs (Succinct Non-Interactive Arguments of Knowledge) with hash chains, the authors provide a way for servers to generate mathematical proofs that an agreed-upon unlearning process was executed correctly and that specific data points are no longer part of the training set.

What Problem Does This Paper Address?

The "right to be forgotten" (mandated by regulations like GDPR and CCPA) gives individuals the right to request that their personal data be deleted. In the context of machine learning, this means "unlearning": updating a model so that the influence of a specific user's data is removed.

However, there is a massive trust gap. Currently, a user has no way to verify if a company actually performed the unlearning. A dishonest company might simply claim they deleted the data to avoid the high computational cost of retraining or to maintain the model's accuracy. Crucially, prior research has shown that you cannot verify unlearning just by looking at the model's final parameters or predictions—different datasets can often result in identical models. This paper shifts the perspective, treating unlearning as a security problem that requires cryptographic proof of correct execution.

Methods

The authors propose a framework based on three "admissible functions": initialization, training, and unlearning. The core of their approach is an iterative protocol between a User and a Server:

  1. Evolution Tracking: Instead of a one-shot proof, the protocol tracks the model's evolution across multiple iterations of training and unlearning. This prevents a malicious server from "deleting" data in one step and secretly re-adding it in the next.
  2. SNARKs for Computation: The server uses SNARKs (specifically the Spartan proof system) to prove that the model updates were computed correctly according to the specified training or unlearning algorithms.
  3. Hash Chains for Membership: To prove that a specific data point is not in the current dataset, the framework uses hash chains (utilizing the Poseidon hash function). This allows for efficient "non-membership" proofs.
  4. Formal Security Definitions: The paper provides the first game-based security definition for verifiable unlearning, ensuring that a malicious server cannot win a "security game" by successfully providing a proof for a model that still contains "deleted" data.
The Unlearning Framework describes an iterative protocol where the server provides proofs of training, unlearning, and non-membership to users.

Datasets

The authors evaluated their implementation on:

  • Synthetic Datasets: Used for initial benchmarking of linear regression models.
  • PMLB Benchmark Suite: A collection of real-world binary classification tasks, including datasets like Creditscore, Patient, Cy Young, Corral, Lawsuit, Breast cancer, and Monk3. These were used to test the scalability of the system across different feature counts and sample sizes.

Key Insights and Ideas

  • Parameters are not enough: The most important "aha moment" is the formal recognition that model parameters alone cannot serve as proof of unlearning. Cryptographic proofs of the process are the only way to provide hard guarantees.
  • Unlearning is faster than retraining: While "exact" unlearning often requires retraining from scratch, "approximate" unlearning techniques (like amnesiac or optimization-based unlearning) are much more efficient to prove.
  • The "Append-Only" Requirement: To ensure security, the set of "unlearnt" data must be treated as an append-only list. This ensures that once a point is proven deleted, the server cannot sneak it back in during a later training iteration.
The CU circuit logic ensures that the server correctly updates the hashed training and unlearnt data records during an unlearning step.

Key Results

  • Feasibility: The system is practical for standard models like linear regression, logistic regression, and small neural networks.
  • Performance: For a linear regression model with 100 data points, generating a proof of training takes about 4.5 minutes.
  • Efficiency Gains: Proving unlearning is significantly faster than proving retraining. Amnesiac unlearning was found to be ~2x faster, and optimization-based unlearning was ~5x faster than retraining-based proofs.
  • User Verification: Verification by the user is highly efficient, typically taking between 20 seconds and 1.5 minutes for the NIZK variant, or less than 1 second if using the SNARK variant (though the latter requires a one-time pre-processing step).
  • Non-Membership Proofs: Proving that a specific point is gone is extremely lightweight, taking less than one second.

Limitations and Future Work

  • Scalability to Large Models: The primary bottleneck is the complexity of the SNARK circuits. While it works for simple neural networks, proving the training of a massive modern transformer (like GPT) would currently be computationally prohibitive.
  • User Participation: In the current framework, users (or a trusted auditor) must verify every update to ensure data isn't re-added later. The authors suggest exploring "proofs of secure erasure" to minimize this redundancy.
  • Privacy: While the proofs themselves don't leak data (thanks to zero-knowledge properties), the framework doesn't yet formally define "deletion hiding"—the idea that an observer shouldn't even be able to tell which point was deleted. This is flagged as a key area for future research.

Summary updated

BibTeX
@inproceedings{eisenhofer2025verifiable,
  author = {Thorsten Eisenhofer and Doreen Riepel and Varun Chandrasekaran and Esha Ghosh and Olga Ohrimenko and Nicolas Papernot},
  title = {{Verifiable and Provably Secure Machine Unlearning}},
  booktitle = {SaTML},
  year = {2025},
  doi = {10.1109/satml64287.2025.00033},
}
Figure