Introduction
Differential Privacy (DP) has long been the gold standard for sharing data insights without compromising individual privacy. However, most DP mechanisms are designed for static datasets. In real-world scenarios, such as hospital databases or social media streams, data is dynamic—users are constantly added or removed.
Existing "continual observation" models often struggle with two major issues. First, the Deletion Dilemma: error usually scales with the total number of updates ($N_t$) rather than the current dataset size ($n_t$). Second, the White-Box Constraint: most dynamic algorithms are custom-built for specific queries, lacking a general way to adapt state-of-the-art static mechanisms. This paper introduces the first "black-box" framework to convert static DP mechanisms into fully-dynamic ones with only a polylogarithmic utility degradation.
The Black-Box Framework
The authors propose a framework that acts as a wrapper around any existing static DP mechanism. This approach relies on several key innovations:
- Adaptive Parallel Composition: A new version of the parallel composition theorem that allows running multiple DP mechanisms on disjoint data partitions, even when partitioning is decided adaptively.
- The Online Interval Tree: For fully-dynamic data, each item's lifespan (from insertion to deletion) is represented as an interval. Since deletion times are unknown at insertion, the system lazily inserts copies of the item into a binary tree structure.
- Infinite Private Partitioning: For insertion-only streams, the Sparse Vector Technique (SVT) is used to divide the stream into segments, ensuring error scales with actual events rather than total elapsed time.
Handling Fully-Dynamic Data
The "Aha!" moment of this research is treating a dynamic stream as a collection of intervals. By organizing these intervals in a tree, any query at time $t$ becomes a "stabbing query"—summing the privatized results of the tree nodes covering that point in time.
To prevent error from growing indefinitely as items are deleted, the authors implement a Restart Mechanism. Each node in the tree monitors its "health"; when too many items within a node are deleted, the node restarts its internal DP mechanism. This ensures the error remains proportional to the current data size ($n_t$).
Key Results and Comparison
The framework achieves optimal error rates. When using the Private Multiplicative Weights (PMW) mechanism, it reaches an error of roughly $\tilde{O}(n_t^{1/2})$ for $(\epsilon, \delta)$-DP, matching the optimal static error rate up to polylogarithmic factors.
As shown in the table above, the new approach improves upon previous work by providing bounds that depend on the current number of items $n_t$ and the current time $t$, rather than a fixed total time $T$. For insertion-only streams, the error bound is improved from $O(\log^{1.5} t)$ to $O(\log^{1.5} n_t + \log t)$, a significant gain for sparse streams where the number of active items is much smaller than the total history.
Conclusion
This work provides the first general construction for fully-dynamic DP. By decoupling time from data and treating underlying mechanisms as black boxes, it allows the dynamic environment to inherit the best-known bounds for various query classes. While computational overhead and constant factors remain areas for practical refinement, this framework marks a significant theoretical leap in making differential privacy viable for evolving datasets.
Summary updated