The Price of Differential Privacy under Continual Observation

Palak Jain, Sofya Raskhodnikova, Satchit Sivakumar, Adam SmithICML 2023

Introduction

In standard "batch" Differential Privacy (DP), an algorithm evaluates a fixed dataset once to produce a private output. However, many real-world applications—such as public health dashboards, ad analytics, and autocomplete features—rely on continual release. In this setting, data arrives as a continuous stream, and the system must provide an updated, accurate answer after every new record is received.

The fundamental challenge of continual release is the massive privacy "leakage" surface it creates: a single individual's data might influence every subsequent output from the moment they enter the stream. Previously, researchers believed the accuracy gap between batch and continual models was relatively small—specifically, logarithmic in relation to the stream length $T$. This paper shatters that belief, revealing that the "price" of privacy under continual observation is fundamentally higher than in the batch setting. For fundamental problems, the error must grow polynomially with the time horizon ($T^{1/3}$).

Methodology

As a theoretical work focused on proving fundamental limits, this paper relies on mathematical constructions rather than empirical datasets. The authors employ a mix of novel lower-bound techniques and algorithmic analysis to establish their claims:

  1. Sequential Embedding: To prove lower bounds, the authors developed a technique to "embed" multiple independent instances of a batch problem into a single continual release stream. By demonstrating that a highly accurate continual release algorithm could theoretically solve many batch problems simultaneously, they leveraged known batch lower bounds to prove hardness in the streaming setting.
  2. Adaptive Input Model: The researchers formalized a new, highly realistic model where an adversary chooses the next input based on the algorithm's previous outputs. This captures real-world dependencies, such as a city altering its social distancing policies based on a DP-protected COVID-19 case count.
  3. Simulation-Based Proofs: To prove that their algorithms remain private even against adaptive adversaries, the authors utilized techniques borrowed from cryptography. They demonstrated that an adversary cannot distinguish between a real interaction and a "simulated" one, even when manipulating the input stream.

Key Insights and Results

The paper provides a comprehensive characterization of error across different privacy regimes, focusing on two fundamental problems: MaxSum (finding the maximum of $d$ attribute sums) and SumSelect (finding which attribute has the maximum sum).

The $T^{1/3}$ Gap

For both MaxSum and SumSelect, the error must be at least $\tilde{\Omega}(T^{1/3})$ for approximate DP. This represents a massive jump from the $O(1)$ or $O(\log d)$ error achievable in the batch model. Furthermore, the "price" is even steeper for pure DP ($\delta=0$), where the error scales with $\sqrt{T}$ rather than $T^{1/3}$.

Problem Batch Error Continual Release Error (Approx DP)
Summation $\Theta(1)$ $\Theta(\log T)$ (Previous Work)
MaxSum $\Theta(1)$ $\tilde{\Theta}(\min(T^{1/3}, \sqrt{d}))$
SumSelect $\Theta(\log d)$ $\tilde{\Theta}(\min(T^{1/3}, \sqrt{d}))$
(Note: $\tilde{\Theta}$ hides polylogarithmic factors.)

Sensitivity is Insufficient

In batch DP, if a function has "low sensitivity" (meaning a change in one record doesn't drastically change the output), it is usually straightforward to make it private. This paper proves that in continual release, low sensitivity alone is insufficient to guarantee high accuracy.

Adaptivity for "Free"

Surprisingly, the authors show that for the problems studied, there is no extra "price" for handling adaptive inputs. The lower bounds are matched by two simple strategies that work even in the more difficult adaptive setting:

  • Binary Tree Mechanism: Adding noise to a tree structure to track sums over time.
  • Periodic Recomputation: Only updating the answer at specific intervals to limit how many times an individual's data is exposed.

Limitations and Future Work

The authors identify several promising avenues for future research:

  • Offline vs. Online: The established lower bounds apply even to "offline" algorithms that know the entire stream in advance but must still produce $T$ private outputs. Finding problems that specifically separate the offline and online (real-time) continual release models remains an open challenge.
  • Broader Problem Classes: While MaxSum and SumSelect are fundamental, many other streaming problems—such as counting distinct elements or more complex machine learning tasks—remain to be fully characterized under this new $T^{1/3}$ lens.
  • Computational Constraints: The current work focuses heavily on information-theoretic limits. Exploring the trade-offs that occur when the algorithm operates under limited memory or time constraints is a natural next step for practical deployment.

Summary updated

BibTeX
@inproceedings{jain2023price,
  author = {Palak Jain and Sofya Raskhodnikova and Satchit Sivakumar and Adam Smith},
  title = {{The Price of Differential Privacy under Continual Observation}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=yPUc796tVF},
}
Figure