Online Learning and Unlearning
Yaxi Hu, Bernhard Schölkopf, Amartya Sanyal
TL;DR
This work extends online learning to handle interleaved data deletions by formalizing an $(\alpha,\varepsilon)$-online unlearning guarantee and proposing two strategies: Passive Unlearning, which injects calibrated noise at deletion times without extra computation, and Active Unlearning, which uses a descent-to-delete step toward an offline ERM solution. Both approaches maintain sublinear regret close to standard Online Gradient Descent under convexity and smoothness assumptions, with stronger bounds in strongly convex settings. The passive method achieves provable unlearning with contractive updates and Gaussian perturbations, while the active method leverages offline unlearning to potentially reduce added noise at the cost of extra computation. The paper also discusses how these ideas compare to DP-based online methods and outlines open questions, such as lower bounds, more efficient active schemes, and broader unlearning-friendly online learners, highlighting practical relevance for privacy regulations and continuous-data environments.
Abstract
We formalize the problem of online learning-unlearning, where a model is updated sequentially in an online setting while accommodating unlearning requests between updates. After a data point is unlearned, all subsequent outputs must be statistically indistinguishable from those of a model trained without that point. We present two online learner-unlearner (OLU) algorithms, both built upon online gradient descent (OGD). The first, passive OLU, leverages OGD's contractive property and injects noise when unlearning occurs, incurring no additional computation. The second, active OLU, uses an offline unlearning algorithm that shifts the model toward a solution excluding the deleted data. Under standard convexity and smoothness assumptions, both methods achieve regret bounds comparable to those of standard OGD, demonstrating that one can maintain competitive regret bounds while providing unlearning guarantees.
