Machine Unlearning

Lucas Bourtoule, Varun Chandrasekaran, Christopher A. Choquette-Choo, Hengrui Jia, Adelin Travers, Baiwu Zhang, David Lie, Nicolas Papernot

Abstract

Modern privacy regulations like the GDPR grant individuals the "right to be forgotten," posing a significant challenge for machine learning. Deep neural networks often memorize training data, making simple deletion insufficient. This paper introduces SISA (Sharded, Isolated, Sliced, and Aggregated) training, a framework that enables efficient machine unlearning by strategically partitioning data and using incremental training with checkpoints. SISA provides a structural guarantee of zero influence for unlearned data points while significantly reducing retraining costs compared to the gold standard of retraining from scratch.

The Challenge of the "Right to be Forgotten"

In traditional databases, removing a user's data is a straightforward deletion of a record. However, in machine learning, a model's weights are influenced by every data point in its training set. Even if the source record is deleted, its influence—or "ghost"—remains embedded in the model.

The conceptual difficulty of machine unlearning: achieving a model state $M_C$ that is equivalent to having never seen the unlearned data point $d_u$.

The most rigorous way to "unlearn" is to retrain the model from scratch without the target data. For large-scale models like ResNet-50, this is computationally prohibitive if done for every individual request. The goal is to provide a "certificate of removal"—a guarantee that a specific data point has zero influence on the final model—without the massive overhead of full retraining.

The SISA Training Framework

The authors propose the SISA framework to make unlearning computationally efficient. It is built on four key pillars:

  1. Sharding: The training data $D$ is partitioned into $S$ disjoint shards. A separate constituent model $M_s$ is trained independently on each shard. Since there is no information sharing between shards, an unlearning request for a point in Shard A only affects model $M_A$.
  2. Isolation: By maintaining independence between shards, the cost of unlearning is reduced by a factor of $S$, as only one small constituent model needs retraining.
  3. Slicing: Within each shard, data is further divided into $R$ slices. Training proceeds incrementally: the model trains on Slice 1 and saves a checkpoint, then continues on Slice 2, and so on. If a point in Slice $r$ must be unlearned, the model is rolled back to the checkpoint from Slice $r-1$ and retraining resumes from there, skipping all previous slices.
  4. Aggregation: During inference, the system acts as an ensemble. The input is passed to all $S$ constituent models, and their predictions are aggregated (e.g., via majority voting) to produce the final output.
The SISA framework architecture, illustrating data sharding, incremental slicing within shards, and final output aggregation.

Experimental Evaluation

The SISA framework was tested across various datasets, ranging from simple tasks (MNIST, SVHN, Purchase) to complex ones (CIFAR-100, ImageNet).

Key Results

  • Efficiency Gains: SISA achieved significant speedups in unlearning time. For the Purchase dataset, unlearning was 4.63x faster than retraining from scratch. For SVHN, the speedup was 2.45x.
  • Accuracy Trade-offs: On simpler datasets, accuracy loss was minimal (under 2%). For complex tasks like ImageNet, a naive implementation saw a drop in top-5 accuracy from 92% to 76%.
  • Mitigation via Transfer Learning: The accuracy gap for complex tasks can be bridged using transfer learning. By pre-training on public data and applying SISA only to the private fine-tuning phase, the accuracy drop on CIFAR-100 was reduced to less than 1 percentage point.

Insights and Future Directions

A critical distinction made by the authors is that unlearning is not the same as Differential Privacy (DP). While DP bounds influence to a small $\epsilon$, unlearning requires influence to be exactly zero. SISA provides this through its structural design.

However, challenges remain. Slicing introduces storage overhead due to multiple checkpoints. Additionally, sharding can turn strong models into "weak learners" because each constituent model sees less data. Future research may explore data replication strategies or cryptographic methods to verify unlearning without exposing the deleted data.

Summary updated

BibTeX
@inproceedings{bourtoule2021machine,
  author = {Lucas Bourtoule and Varun Chandrasekaran and Christopher A. Choquette-Choo and Hengrui Jia and Adelin Travers and Baiwu Zhang and David Lie and Nicolas Papernot},
  title = {{Machine Unlearning}},
  booktitle = {IEEE Symposium on Security and Privacy},
  year = {2021},
  url = {https://openreview.net/forum?id=Bc8ZmKdOLx5},
}
Figure