Descent-to-Delete: Gradient-Based Methods for Machine Unlearning

Seth Neel, Aaron Roth, Saeed Sharifi-Malvajerdi

Abstract

As data privacy regulations like GDPR mandate the "Right to be Forgotten," machine learning systems must efficiently remove the influence of specific users' data. This paper introduces "Descent-to-Delete," a framework of gradient-based algorithms that allow models to "unlearn" data points without retraining from scratch. By combining convex optimization with differential privacy-inspired perturbations, the authors provide the first unlearning algorithms that remain efficient even after an arbitrarily long sequence of deletions.

Introduction

The gold standard for machine unlearning is full retraining: deleting the data and training a new model from scratch. However, for large-scale models, this is computationally prohibitive. Previous "machine unlearning" attempts often suffered from efficiency decay—where runtime or error grew as more points were deleted—or were limited to very specific, simple models. The challenge is to create a deletion operation that is statistically indistinguishable from full retraining while being orders of magnitude faster, even under adversarial deletion sequences.

Algorithmic Framework

The authors propose three main approaches for convex models:

1. Basic Perturbed Gradient Descent (PGD)

When a deletion request arrives, the algorithm starts from the current model and performs a small, fixed number of gradient descent steps toward the new optimum. To hide the optimization path and prevent information leakage about the deleted point, Gaussian noise is added to the final model.

2. Regularized PGD

For models that lack strong convexity, the authors introduce a regularizer to force stability. This ensures the unlearning process remains predictable and accurate even in landscapes with flat regions.

3. Perturbed Distributed Descent

This sophisticated method partitions the dataset into $K$ parts, optimizing each independently. Upon a deletion request, only the affected partition is updated. A variant of reservoir sampling is used to ensure partitions remain representative of the dataset over time, maintaining theoretical guarantees.

Key Insights

  • Indistinguishability Levels: The paper distinguishes between "perfect" unlearning (internal state indistinguishable from retraining) and "weak" unlearning (only output is indistinguishable). Maintaining a "secret state" significantly boosts efficiency.
  • Stability and Sensitivity: Strongly convex functions are inherently stable; changing one data point doesn't move the optimum far. The authors exploit this sensitivity to achieve unlearning with minimal gradient steps and noise.
  • Strong Unlearning: Defined as having a per-deletion runtime that is constant or logarithmic relative to the update sequence length, "strong" unlearning is a major advancement over prior "weak" methods.

Results and Tradeoffs

The theoretical bounds for these methods are summarized in the table below. PGD for strongly convex models achieves "strong" unlearning with an accuracy error scaling with $d/n^2$. Distributed PGD offers superior tradeoffs for high-dimensional data by updating only small partitions, allowing for more optimization steps within a fixed computational budget.

Summary of theoretical tradeoffs for (ε, δ)-unlearning across different PGD variants.

Limitations

While providing a rigorous theoretical foundation, the framework has limitations:

  • Convexity: The proofs rely on convex loss functions; extending these to deep neural networks remains an open challenge.
  • Accuracy Trade-off: The addition of noise to guarantee privacy inherently impacts model accuracy.
  • Trust: Some efficient variants require a "secret state," necessitating trust in the service provider.

Summary updated

BibTeX
@inproceedings{neel2021descent,
  author = {Seth Neel and Aaron Roth and Saeed Sharifi-Malvajerdi},
  title = {{Descent-to-Delete: Gradient-Based Methods for Machine Unlearning}},
  booktitle = {ALT},
  year = {2021},
  url = {https://openreview.net/forum?id=Thb8fKBFxX},
}
Figure