Abstract
We study the data deletion problem for convex models. By leveraging techniques from convex optimization and reservoir sampling, we give the first data deletion algorithms that are able to handle an arbitrarily long sequence of adversarial updates while promising both per-deletion run-time and steady-state error that do not grow with the length of the update sequence. We also introduce several new conceptual distinctions: for example, we can ask that after a deletion, the entire state maintained by the optimization algorithm is statistically indistinguishable from the state that would have resulted had we retrained, or we can ask for the weaker condition that only the observable output is statistically indistinguishable from the observable output that would have resulted from retraining. We are able to give more efficient deletion algorithms under this weaker deletion criterion.
Introduction
As data privacy regulations like GDPR and the "Right to be Forgotten" become standard, machine unlearning has emerged as a critical technical challenge. Simply removing a user's record from a database is insufficient if their information remains embedded in the weights of a trained model. While the gold standard for unlearning is retraining from scratch, this is computationally prohibitive for large-scale datasets. Previous attempts at unlearning often suffered from "weak" guarantees, where the computational cost or model error accumulated as more deletion requests were processed. This work introduces "strong" unlearning algorithms for convex models, ensuring that the cost and accuracy remain stable regardless of the number of deletions.
Methodology
The authors propose a framework based on Perturbed Gradient Descent (PGD) to achieve efficient unlearning. Two primary approaches are explored:
- Basic Perturbed GD: Instead of retraining, the algorithm warm-starts from the current model weights and performs a small, fixed number of gradient descent steps on the updated dataset. To ensure privacy, Gaussian noise is added to the resulting parameters, making the updated model $(\epsilon, \delta)$-indistinguishable from one that never saw the deleted data.
- Distributed PGD: To handle high-dimensional data, the dataset is partitioned into $K$ subsets. Models are trained independently on each subset and then averaged. Upon a deletion request, only the affected partition is updated. A reservoir sampling mechanism is employed to maintain the statistical representativeness of these partitions over time, even under adversarial updates.
The paper also distinguishes between Perfect Unlearning, where the entire internal state is indistinguishable from retraining, and Observable Unlearning, where only the final output model must meet the indistinguishability criterion.
Key Insights
- Noise as a Privacy Mechanism: The core insight is that reaching the exact global minimum is unnecessary for unlearning. By getting "close enough" via gradient descent and applying calibrated noise, the influence of specific data points can be effectively masked.
- Stability of Strong Unlearning: A "strong" unlearning algorithm maintains constant or logarithmic runtime per update relative to the sequence length, preventing performance degradation over time.
- Internal State vs. Public Output: Maintaining a "secret" internal state (e.g., unperturbed weights) allows for significantly better accuracy compared to systems that must be perfectly indistinguishable at every internal step.
- Reservoir Sampling for Adversarial Robustness: In distributed settings, reservoir sampling ensures that data partitions remain independent and identically distributed (i.i.d.), which is crucial for maintaining accuracy guarantees during long sequences of deletions.
Results and Tradeoffs
This theoretical work establishes provable upper bounds for Empirical Risk Minimization (ERM) under convex, Lipschitz, and smooth loss functions. The findings provide a comprehensive "menu" of tradeoffs between accuracy, computation, and the strength of the unlearning guarantee.
Key results include:
- Strongly Convex Models: These models allow for strong, perfect unlearning with stable error and runtime independent of the deletion sequence length.
- General Convex Models: By utilizing regularization, strong unlearning is achievable with a minor tradeoff in steady-state accuracy.
- Computational Efficiency: Distributed PGD significantly reduces the gradient computation budget for high-dimensional problems compared to the baseline of full retraining.
- Inherent Privacy: The $(\epsilon, \delta)$-indistinguishability framework provides a natural defense against membership inference attacks, aligning unlearning with Differential Privacy principles.
Discussion and Future Work
While this work provides a rigorous foundation for unlearning in convex settings, several challenges remain. The reliance on convexity is a significant constraint; extending these strong guarantees to non-convex models like deep neural networks is a primary area for future research. Additionally, the requirement for a "secret state" in some efficient algorithms may pose challenges for fully transparent or audited systems. Finally, the practical impact of the added noise on model performance needs empirical validation on real-world benchmarks to determine the optimal balance between privacy and utility.
Summary updated