Skip to main content
QUICK REVIEW

[Paper Review] Online Algorithms with Limited Data Retention

Nicole Immorlica, Brendan Lucier|arXiv (Cornell University)|Jan 1, 2024
Optimization and Search ProblemsComputer Science1 citations
TL;DR

This paper introduces an online learning framework where algorithms must delete data after m rounds, modeling real-world data retention laws. It shows that with m = Poly(d, log(1/ε)), algorithms can achieve mean squared error ε in d-dimensional mean estimation and linear regression—matching the performance of an ideal algorithm that retains all data forever, despite strict deletion constraints.

ABSTRACT

We introduce a model of online algorithms subject to strict constraints on data retention. An online learning algorithm encounters a stream of data points, one per round, generated by some stationary process. Crucially, each data point can request that it be removed from memory $m$ rounds after it arrives. To model the impact of removal, we do not allow the algorithm to store any information or calculations between rounds other than a subset of the data points (subject to the retention constraints). At the conclusion of the stream, the algorithm answers a statistical query about the full dataset. We ask: what level of performance can be guaranteed as a function of $m$? We illustrate this framework for multidimensional mean estimation and linear regression problems. We show it is possible to obtain an exponential improvement over a baseline algorithm that retains all data as long as possible. Specifically, we show that $m = extsc{Poly}(d, \log(1/ε))$ retention suffices to achieve mean squared error $ε$ after observing $O(1/ε)$ $d$-dimensional data points. This matches the error bound of the optimal, yet infeasible, algorithm that retains all data forever. We also show a nearly matching lower bound on the retention required to guarantee error $ε$. One implication of our results is that data retention laws are insufficient to guarantee the right to be forgotten even in a non-adversarial world in which firms merely strive to (approximately) optimize the performance of their algorithms. Our approach makes use of recent developments in the multidimensional random subset sum problem to simulate the progression of stochastic gradient descent under a model of adversarial noise, which may be of independent interest.

Motivation & Objective

  • To model the impact of strict data retention constraints on online learning algorithms, where data must be deleted after m rounds.
  • To investigate whether optimal performance in statistical learning tasks is still achievable under such constraints.
  • To analyze the trade-off between data retention duration m and algorithmic error, particularly for mean estimation and linear regression.
  • To demonstrate that proactive data curation can outperform naive strategies that retain data as long as possible.
  • To show that even non-adversarial algorithm designers may inadvertently leak information about deleted data through dataset curation.

Proposed method

  • Proposes a framework where algorithms store only a subset of data points, each with a mandatory deletion after m rounds.
  • Uses a grouping strategy: data points are grouped into batches of size k, and each group's maximum likelihood estimator (MLE) is computed.
  • Employs a decoding procedure to select a subset of group estimators whose average is closest to a target point derived from stochastic gradient descent.
  • Applies matrix Chernoff bounds to show that group estimators are smoothly distributed around the true parameter, enabling accurate approximation.
  • Uses Theorem 3.5 (from prior work) to bound encoding error in the estimation process, treating estimation error as adversarial noise.
  • Combines these components into an online algorithm that maintains a representative subsample over time, ensuring low error even after data deletion.

Experimental results

Research questions

  • RQ1Can online learning algorithms achieve near-optimal statistical performance when forced to delete data after a fixed number of rounds?
  • RQ2What is the minimal retention window m required to achieve error ε in mean estimation and linear regression?
  • RQ3To what extent can proactive data curation compensate for the loss of data due to mandatory deletion?
  • RQ4Can algorithms leak information about deleted data even when following legal retention rules and seeking only performance optimization?
  • RQ5How does the performance of a retention-constrained algorithm compare to an ideal, infinite-retention baseline?

Key findings

  • With m = Poly(d, log(1/ε)), the proposed algorithm achieves a mean squared error of ε after observing O(1/ε) d-dimensional data points.
  • This performance matches that of the optimal, yet infeasible, algorithm that retains all data indefinitely.
  • A nearly matching lower bound on m is established, showing that Poly(d, log(1/ε)) is asymptotically necessary for achieving error ε.
  • The framework reveals that data retention laws alone are insufficient to guarantee the right to be forgotten, even in non-adversarial settings.
  • The algorithm’s ability to encode information about deleted data through dataset curation implies that implementation-level constraints may not prevent information leakage.
  • The use of grouped MLEs and adversarial noise modeling via matrix Chernoff bounds enables accurate estimation under strict deletion constraints.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.