TL;DR
This paper introduces "Proof of Unlearning" (PoUL), a novel framework and system to cryptographically verify that data has been truly removed from trained machine learning models, addressing the "Right to be Forgotten" in MLaaS. By leveraging Trusted Execution Environments (TEEs) like Intel SGX, they provide end-to-end assurances against dishonest servers who might otherwise fake unlearning.
What Problem Does This Paper Address?
The "Right to be Forgotten" (RTBF), mandated by regulations like GDPR, requires that individuals can request the deletion of their data from machine learning models. While "machine unlearning" techniques aim to achieve this, verifying that data is truly removed is a significant challenge, especially in a Machine Learning as a Service (MLaaS) context where the server is untrusted. Previous verification methods are susceptible to "forging attacks" where a dishonest server can present a fake unlearned model. This paper tackles the problem of providing verifiable proof that data has been effectively deleted from a trained ML model, ensuring compliance with RTBF even when the service provider is not fully trusted.
Methods
The authors propose a two-phase definition framework for Proof of Unlearning (PoUL):
- Setup Phase: The server proves that a target model was indeed trained on the data. This involves authenticating the data and verifying the learning process.
- Deletion Phase: The server proves that a new model was correctly unlearned from the target model, effectively removing the specified data.
To instantiate this, they leverage Intel Software Guard Extensions (SGX) enclaves to create a secure environment for critical operations. Key innovations include:
- Memory-Efficient Authentication: Custom data structures (cuckoo filter, key list) are designed to efficiently track data lineage and submodel updates outside the enclave, minimizing the memory footprint within SGX.
- Proving Layer: This layer, working with the authentication layer, uses SGX to attest to the correctness of both learning and unlearning processes. They employ a "commit-and-prove" approach, where the server commits to model states and then proves their integrity.
- Self-Verification and Auditing Enclave: To manage verification overhead for the data owner, they introduce a self-verification mechanism within the enclave and an optional auditing enclave for third-party verification.
Datasets
- Purchase Dataset: Used for training and evaluation. It's described as a dataset with 280,367 data points for training and 31,152 for testing, used for a binary classification task with two classes.
Key Insights and Ideas
- The Need for Verifiable Unlearning: Simply claiming data is deleted isn't enough; robust cryptographic proof is necessary to build trust in MLaaS.
- SGX as a Foundation: Trusted Execution Environments (TEEs) like SGX are well-suited for enforcing integrity and confidentiality in unlearning processes, but require careful design to overcome memory limitations.
- Data Lineage is Crucial: Tracking how data points influence specific submodels is key to efficient and verifiable unlearning, especially in frameworks like SISA.
- Balancing Security and Practicality: The proposed solution carefully balances strong cryptographic guarantees with practical considerations like memory usage, computation overhead, and proof size.
- Auditing Enclave for Scalability: Offloading verification to a dedicated auditing enclave makes the system more practical for data owners and enables third-party audits.
Key Results
- Performance Gains: The custom cuckoo filter implementation achieved significant speedups (185x, 360x, 340x) in insertion, query, and deletion operations compared to an MHT baseline.
- Storage Costs: The authentication layer added approximately 3.00 MB of storage overhead for the Purchase dataset.
- Unlearning Time: Unlearning time was found to be relatively low, with minimal impact on accuracy for single data point deletions. The time taken for unlearning increased when the deleted data point was in earlier slices, as more submodels needed retraining.
- Accuracy Preservation: Single data point deletions generally did not significantly impact the trained accuracy, aligning with previous findings.
- Slice Impact: Varying the number of slices (1, 3, 6, 12) had a minimal effect on both training time and accuracy.
Limitations and Future Work
- SGX Limitations: The authors acknowledge the inherent memory limitations of SGX, which necessitated custom data structures and careful design.
- Bug-Free Assumption: The system relies on the assumption that programs running inside the SGX enclave are bug-free.
- Side-Channel Attacks: The work does not address side-channel attacks or control-flow attacks on SGX enclaves.
- Future Work:
- Scaling to Hardware Accelerators: Exploring more efficient auditing with specialized hardware accelerators.
- Flexible Deletion: Enabling deletion of groups of sensitive attributes or entire data points rather than single instances.
- Privacy Preservation: Integrating with privacy-preserving ML techniques (e.g., data-oblivious computation, differential privacy) for a more comprehensive solution.
Summary updated