System-Aware Unlearning Algorithms: Use Lesser, Forget Faster

Linda Lu, Ayush Sekhari, Karthik Sridharan

Introduction

Traditional machine unlearning is computationally expensive because it assumes an "all-knowing" attacker. This paper introduces system-aware unlearning, a more realistic framework that leverages the fact that many models only rely on a small subset of data—a "core set." By using selective sampling, the authors develop the first exact unlearning algorithm for linear classification that requires sublinear memory and offers significantly faster deletion times than retraining from scratch.

As privacy regulations like GDPR and CCPA grant users the "right to be forgotten," machine learning systems must be able to "unlearn" specific data points. The "gold standard" for this is certified unlearning, which requires the updated model to be indistinguishable from a model retrained from scratch without the deleted data. However, this definition is incredibly strict. It assumes a worst-case attacker who knows every single remaining data point in the original dataset. For simple but ubiquitous models like linear classifiers, researchers recently proved that this strictness makes efficient unlearning impossible: you essentially have to store the entire dataset to handle a single deletion request. This creates a massive storage and computation bottleneck for large-scale systems.

The System-Aware Unlearning Framework

The authors propose a shift in perspective: System-Aware Unlearning. Instead of worrying about an all-knowing attacker, they focus on what the system actually stores and uses.

Comparison of (a) Hard Margin SVM with Deletion, (b) Traditional Unlearning, and (c) System-Aware Unlearning.
  1. Core Set Framework: If a learning algorithm only uses a small subset of data (a core set) to produce its model, it only needs to perform a real "unlearning" update if a point within that core set is deleted. If a non-core point is deleted, the model doesn't change, and the system remains secure because that point was never stored or used.
  2. Selective Sampling (BBQ-Sampler): To implement this for linear classification, they use a selective sampling algorithm called the BBQ-Sampler. This algorithm only queries the labels of points it is "uncertain" about. These queried points form the core set.
  3. Monotonicity: A critical technical contribution is ensuring the query condition is "monotonic." This means that if a point was important enough to be in the core set before a deletion, it remains in the core set after. This property allows the system to update the model efficiently (using techniques like the Sherman-Morrison update) without having to re-scan the entire original dataset.

Experimental Evaluation

The authors evaluated their approach on two primary benchmarks:

  • Purchase Dataset: A real-world binary classification dataset based on item purchase data (approx. 249,000 points, 600 dimensions).
  • Margin Dataset: A synthetic binary classification dataset (200,000 points, 100 dimensions) designed with a specific "hard margin" to test the algorithm's performance under favorable compression conditions.

Key Results

  • Massive Memory Savings: On the synthetic Margin dataset, the algorithm only needed to store 0.6% of the data. On the real-world Purchase dataset, it stored only 13.1%.
  • Speedups: The accumulated deletion time for 80,000 requests on the Purchase dataset was roughly 10x faster than retraining from scratch and 20x faster than the SISA method.
  • Accuracy Maintenance: The algorithm maintained accuracy levels comparable to exact retraining, significantly outperforming SISA as the number of deletions increased.

Discussion and Future Work

The core philosophy of this work is "Use Lesser, Forget Faster." By storing less information during training, the system naturally exposes less information to potential attackers, making the unlearning process both more secure and more efficient. This work provides a theoretical "loophole" to previous impossibility results. By changing the definition to be system-aware, they achieve exact unlearning for linear models with sublinear memory (memory that grows much slower than the total number of samples).

Furthermore, the proposed algorithm is robust to distribution shifts. Traditional unlearning methods like SISA (Sharded, Isolated, Sliced, and Aggregated) can suffer in accuracy if deletions are not random (e.g., deleting all samples from one specific class). Because the proposed algorithm is based on core sets with theoretical risk bounds, it maintains high accuracy even under "label-dependent" deletion sequences.

While the paper provides a general framework for any function class, the most efficient implementation is currently limited to linear classification. There is also a theoretical limit (deletion capacity) to how many core set points can be removed before the model's accuracy degrades or the core set needs to be rebuilt. Future work could explore approximate system-aware unlearning, which could lead to even more dramatic improvements for complex models like deep neural networks.

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