TL;DR
Can data-deletion mandates like GDPR's "right to be forgotten" actually stop algorithms from retaining your personal information? This paper proves that even under strict rules where an algorithm retains zero internal state beyond a short sliding window of raw data, clever algorithms can curate the retained dataset to secretly encode what they learned from previously deleted records. By mapping stochastic gradient descent updates to the multidimensional random subset sum problem, the authors achieve near-optimal statistical accuracy with an exponentially smaller retention window than naive baselines.
What Problem Does This Paper Address?
Privacy laws like the European Union's General Data Protection Regulation (GDPR) and the California Consumer Privacy Act (CCPA) grant users the right to request that their data be deleted within a specific grace period (e.g., within 30 days). From a regulatory standpoint, enforcing data deletion is tricky:
- Outcome-based regulations demand that the final model behaves as though it never saw the deleted data (e.g., machine unlearning or differential privacy).
- Prescriptive regulations specify concrete rules about data handling—such as mandating that raw data cannot be retained past $m$ time steps.
This paper examines the limits of prescriptive data-retention rules. The authors consider an online learning setting where data arrives sequentially, one point per round, from a stationary distribution. The algorithm is subject to a strict constraint: it can store no internal state, weights, or summary statistics between rounds—only a subset of recent raw data points. Each data point must be deleted from memory at most $m$ rounds after arrival.
Under these constraints, can an algorithm estimate a distribution's mean or perform linear regression with low error? A naive approach that retains all data for the full $m$ rounds acts like a random subsample of size $m$, suffering an average squared error of $\Theta(1/m)$—meaning achieving error $\epsilon$ requires storing $m = \Omega(1/\epsilon)$ data points. The authors ask: Can an algorithm do better, and if so, how much memory $m$ is truly necessary?
Methods
The authors develop an algorithmic framework that simulates Stochastic Gradient Descent (SGD) purely through sample curation:
- Simulating SGD Without Stored Weights: Standard SGD maintains a parameter vector and updates it incrementally with incoming samples. Because the retention model prohibits storing any numerical state, the algorithm must ensure that the empirical mean (or estimator) of the currently retained data points directly represents the current model parameters.
- Random Subset Sum (RSS) as an Update Mechanism: To take a gradient step toward a target value, the algorithm searches its incoming pool of recently observed data points for a subset whose average closely matches the target. Leveraging recent mathematical results on the random subset sum problem, they show that only $m = \Omega(\log(1/\epsilon))$ samples are needed in single dimensions to guarantee the existence of an exponentially close sub-average. In $d$ dimensions, this extends to $m = \text{poly}(d, \log(1/\epsilon))$.
- Robustness to Adversarial Noise: Choosing subset averages introduces discretization noise that is correlated across steps. The authors analyze the algorithm by treating this approximation error as bounded adversarial noise, adapting SGD convergence guarantees to tolerate it.
- Reduction for Linear Regression: Unlike mean estimation, standard linear regression coefficients are not simple sample averages. The algorithm circumvents this by partitioning incoming points into groups of size $\Omega(d \log d)$, computing an independent maximum likelihood estimate (MLE) per group, and then applying the RSS mechanism over these group-level estimates.
Datasets
Not discussed in the paper. As a theoretical paper presented at FORC 2024, the work establishes mathematical theorems, convergence rates, and information-theoretic lower bounds rather than evaluating empirical performance on real-world datasets.
Key Insights and Ideas
- The Dataset as a Covert State Storage: Even if an algorithm is forbidden from storing learned parameters or intermediate computations, it can treat the retained collection of raw data points itself as an information storage device. The choice of which data points to keep or discard acts as memory.
- Exponential Improvement Over Naive Retention: By actively curating data rather than passively retaining all points until their deadline, the retention window needed to achieve error $\epsilon$ collapses from $m = O(1/\epsilon)$ down to $m = \text{Poly}(d, \log(1/\epsilon))$.
- Regulatory Blind Spot: Prescriptive data deletion rules fail to guarantee privacy even when organizations are completely non-adversarial. A firm simply trying to optimize its statistical estimator will naturally adopt strategies that retain the influence of supposedly deleted data.
Key Results
-
Mean Estimation Upper Bound: To achieve expected squared error at most $\epsilon$ after seeing $T > C d / \epsilon$ points, a retention window of: $$m = \Theta\left(d \log(d/\epsilon)\right)$$ is sufficient. Each update step runs in polynomial time: linear in $d$ and $1/\epsilon$.
-
Linear Regression Upper Bound: For $d$-dimensional linear regression with noisy observations, the required retention bound is: $$m = \Theta\left(d^2 \log(d) \log(d/\epsilon)\right)$$
- Nearly Matching Lower Bound: The authors prove an information-theoretic lower bound: any algorithm satisfying the recency property must have: $$m = \Omega\left(\frac{d \log(1/\epsilon)}{\log(d) \log \log(1/\epsilon)}\right)$$ Otherwise, the error exceeds $\epsilon$ with constant probability, regardless of the decoding function applied to the retained sample.
Limitations and Future Work
- Stationary Data Assumption: The analysis assumes data points are drawn from a stationary distribution. Investigating non-stochastic, adversarial, or concept-drifting streams remains an open direction.
- Homogeneous Retention Constraints: The model assumes every data point must be discarded after exactly $m$ rounds. The authors note that practical environments with heterogeneous lifespans (some long-lived data alongside short-lived data) require further study.
- Scope of Machine Learning Tasks: Results are presented for mean estimation and linear regression. Extending this subset-sum simulation technique to non-linear regression, moment estimation, and deep classification models is left for future exploration.
Summary updated