System-Aware Unlearning Algorithms: Use Lesser, Forget Faster

Linda Lu, Ayush Sekhari, Karthik Sridharan

TL;DR

This paper introduces system-aware unlearning, a realistic reformulation of machine unlearning that protects against attackers who can only access what a system actually stores, rather than an omniscient adversary. By leveraging sample compression and selective sampling, the authors develop the first exact unlearning algorithms for linear and general classifiers that require sublinear memory and deliver massive computational speedups.

What Problem Does This Paper Address?

With the rise of privacy regulations like GDPR and CCPA, machine unlearning—the ability to remove a user's data from a trained model without retraining from scratch—has become essential.

Traditionally, "exact unlearning" guarantees that an unlearned model is statistically identical to a model retrained from scratch without the deleted data. However, this standard assumes a worst-case attacker who already knows the entire remaining dataset. Recent theoretical work proved that under this strict definition, even simple models like linear classifiers must store the entire dataset in memory to perform exact unlearning. For large-scale systems, storing everything is a dealbreaker.

The authors ask a fundamental question: Why protect against an attacker who knows data the system itself discarded? If a system never stores or uses a piece of data, that data cannot be leaked.

Methods

The authors propose System-Aware Unlearning, which redefines privacy around the State-of-System (everything the system internally stores). If the system can achieve high accuracy using less data, it becomes inherently more secure and easier to update.

To operationalize this, they introduce a framework based on Core-Set Algorithms (or sample compression). If a model can be trained using only a small subset of data (a core set), deletions of any data points outside this core set are completely free—the model simply doesn't change.

Algorithm 1: Linear Classification via Selective Sampling

For linear models, the authors use BBQSAMPLER, a selective sampling algorithm. Crucially, its query condition is monotonic because it depends only on the feature vectors ($x$), not the labels ($y$).

  • Why monotonicity matters: If you delete a data point, a monotonic condition ensures that previously unqueried points do not suddenly need to be queried. This allows the system to handle deletions simply by removing the deleted points from the core set and updating the model efficiently using the Sherman-Morrison formula.

Algorithm 2: General Function Classes

The authors extend this concept to general function classes by introducing a novel reduction from monotonic active learning (using an eluder-dimension-based sampler) to system-aware unlearning.

Datasets

The authors evaluated their approach on two primary benchmarks:

  1. Purchase Dataset: A real-world binary classification dataset based on item purchase history, containing 249,215 data points in 600 dimensions.
  2. Margin Dataset: A synthetic binary classification dataset containing 200,000 data points in 100 dimensions, engineered with a hard margin condition ($\gamma = 0.1$).

Key Insights and Ideas

  • Bypassing Theoretical Impossibility: By shifting the threat model to a system-aware attacker, the authors bypass the pessimistic lower bounds of traditional unlearning, achieving exact unlearning with sublinear memory.
  • The Power of Label-Independence: Traditional active learning algorithms decide to query data based on label uncertainty. However, label-dependent queries are non-monotonic under deletion; removing a point changes the noise landscape, causing a cascade of new query requirements. Relying on geometry ($x$) instead of labels ($y$) is what makes efficient unlearning possible.
  • Unlearning for Free: For the vast majority of users (anyone outside the core set), unlearning requires zero computation and zero model updates, as illustrated in the comparison between traditional and system-aware paradigms:
Comparison of Hard Margin SVM unlearning under traditional vs. system-aware definitions.

Key Results

The proposed selective sampling approach (Algorithm 1) drastically outperforms exact retraining and SISA (Sharded, Isolated, Sliced, and Aggregated) training across memory and time metrics:

  • Sublinear Memory Storage: On the Purchase Dataset, Algorithm 1 only needed to store 13.1% of the data in memory. On the Margin Dataset, it stored a mere 0.6%.
  • Massive Speedups: For a sequence of 80,000 deletions on the Purchase Dataset, Algorithm 1 accumulated a deletion time of 58.3 seconds, compared to 579.3 seconds for exact retraining. On the Margin Dataset, it took just 0.5 seconds compared to retraining's 27.1 seconds.
  • Robustness to Distribution Shifts: When facing "label-dependent" deletions (e.g., deleting only negative samples, which causes a massive distribution shift), Algorithm 1 maintained stable accuracy, whereas heuristic methods like SISA collapsed.
Test accuracy over 80,000 label-dependent deletions on Purchase and Margin datasets.

Limitations and Future Work

While highly effective, the paper notes a few limitations:

  • Slight Initial Risk Trade-off: Because the selective sampler ignores labels during its query phase, the initial model's accuracy can be slightly suboptimal compared to standard active learning methods that leverage label noise.
  • Stability Constraints for General Functions: Extending the excess risk bounds to general function classes requires the underlying regression oracle to satisfy uniform stability, which may not hold for highly complex, non-convex models like deep neural networks.

Future Direction: The authors suggest exploring approximate system-aware unlearning ($\epsilon, \delta \neq 0$), which could yield even faster and more memory-efficient algorithms for deep learning architectures.

Summary updated

BibTeX
@inproceedings{lu2025system,
  author = {Linda Lu and Ayush Sekhari and Karthik Sridharan},
  title = {{System-Aware Unlearning Algorithms: Use Lesser, Forget Faster}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=DnuuFjCsDo},
}
Figure