Proof of Unlearning: Definitions and Instantiation

Jiasi Weng, Shenglong Yao, Yuefeng Du, Junjie Huang, Jian Weng, Cong Wang

TL;DR

This paper introduces Proof of Unlearning (PoUL), a cryptographic and hardware-backed framework that allows users to verify that their data has been truly removed from a machine learning model. By combining the SISA unlearning framework with Intel SGX (Software Guard Extensions), the authors provide a way to audit the "Right to be Forgotten" in a way that is resistant to dishonest servers who might try to forge proofs or maintain "ghost" versions of models.

What Problem Does This Paper Address?

Under regulations like GDPR and CCPA, individuals have the "Right to be Forgotten," meaning they can request that their data be deleted from trained machine learning (ML) models. While "machine unlearning" techniques exist to do this without retraining from scratch, there is a major trust gap: how does a user know the service provider actually did it?

A dishonest server has several ways to cheat:

  1. Forging: Generating a fake proof that looks like unlearning happened when it didn't.
  2. Forking: Maintaining the original model to provide high-quality predictions while presenting a separate "unlearned" model only for auditing purposes.
  3. Black-box evasion: Exploiting the fact that users usually only have API access to a model, making it hard to inspect the internal parameters.

The authors aim to move verification from the easily-evaded "parameter-space" (checking weights) to the "algorithm-level" (proving the unlearning process itself was executed correctly).

Figure 2 illustrates the three main threats: substituting models at the prediction stage, incorrectly executing unlearning, and deploying the wrong model post-deletion.

Methods

The authors build their solution on the SISA (Sharded, Isolated, Sliced, and Aggregated) framework. SISA speeds up unlearning by dividing data into shards and slices, meaning only a small "submodel" needs to be retrained when a data point is deleted.

Figure 1 shows the SISA pipeline where data is sharded and sliced to allow for incremental training and targeted unlearning.

To make this verifiable, they introduce two layers:

  • Authentication Layer: Uses a Cuckoo Filter inside an Intel SGX enclave to track data membership. This allows the system to prove which data points were used for which submodels without exceeding the enclave's strict memory limits.
  • Proving Layer: A "commit-and-prove" protocol. The server commits to a model state, and when a deletion request comes, it must prove that the new model was derived from the old one by correctly re-executing the training algorithm on the remaining data slices.

To keep verification costs low for the user, they use a self-verification strategy. The enclave itself verifies the chain of intermediate submodels, so the user only needs to verify a single signature on the final predictive model.

Figure 3 provides an overview of how the in-enclave Cuckoo filter and key list interact with out-of-enclave data stores to maintain a secure lineage.

Datasets

The implementation was evaluated using the Purchase dataset, a common benchmark for privacy in ML.

  • Training set: 280,367 data points.
  • Test set: 31,152 data points.
  • Configuration: The data was divided into 5 shards, with each shard further divided into up to 12 slices.

Key Insights and Ideas

  • Binding Prediction to Audit: The core "aha" moment is ensuring that the model used for daily predictions is cryptographically bound to the same state that was audited. This prevents the "forking" attack where a server lies about which model it is actually running.
  • Memory-Efficient Integrity: Intel SGX has very limited protected memory (often ~94MB). The authors realized that standard Merkle Hash Trees (MHT) are too slow and memory-intensive for tracking thousands of model updates. Their use of Cuckoo filters and linked lists outside the enclave provides a massive performance boost while maintaining security.
  • Stateful Attestation: Most TEE applications focus on stateless tasks. PoUL extends this to stateful ML training by using "seeds" and MACs (Message Authentication Codes) to ensure that each step of incremental training uses the correct, untampered previous state.

Key Results

  • Performance: The Cuckoo filter-based authentication is 185x to 360x faster than a standard Merkle Hash Tree implementation for insertion, query, and deletion operations.
  • Storage Overhead: The system is highly efficient, adding only about 3MB of storage overhead for the Purchase dataset.
  • Accuracy: Deleting a single data point had negligible impact on model accuracy, which remained stable at approximately 95.14%.
  • Verification: The user's verification cost is constant and extremely low, as they only need to check a single signature from the trusted enclave.

Limitations and Future Work

  • Hardware Bottlenecks: The current implementation relies on CPUs (Intel SGX). Scaling this to deep neural networks will require integrating TEEs with GPUs, which presents significant new challenges for maintaining integrity at high speeds.
  • Batch Deletion: While the paper focuses on single-point deletion, the authors note that real-world systems would likely need to process deletions in batches to remain efficient.
  • Privacy vs. Auditability: The current framework focuses on integrity (proving the data was deleted). Future work is needed to ensure that the auditing process itself doesn't leak sensitive information about the remaining training data, perhaps through Differential Privacy.

Summary updated

BibTeX
@article{weng2022proof,
  author = {Jiasi Weng and Shenglong Yao and Yuefeng Du and Junjie Huang and Jian Weng and Cong Wang},
  title = {{Proof of Unlearning: Definitions and Instantiation}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2022},
}
Figure