[Paper Review] Private Counting of Distinct and k-Occurring Items in Time Windows
This paper presents differentially private algorithms for counting distinct and k-occurring items in time windows under both event-level and item-level privacy, achieving nearly tight error bounds. It resolves an open question by giving an event-level DP algorithm with polylogarithmic error for counting distinct items over a sliding window of size W.
In this work, we study the task of estimating the numbers of distinct and $k$-occurring items in a time window under the constraint of differential privacy (DP). We consider several variants depending on whether the queries are on general time windows (between times $t_1$ and $t_2$), or are restricted to being cumulative (between times $1$ and $t_2$), and depending on whether the DP neighboring relation is event-level or the more stringent item-level. We obtain nearly tight upper and lower bounds on the errors of DP algorithms for these problems. En route, we obtain an event-level DP algorithm for estimating, at each time step, the number of distinct items seen over the last $W$ updates with error polylogarithmic in $W$; this answers an open question of Bolot et al. (ICDT 2013).
Motivation & Objective
- To address the challenge of privately estimating the number of distinct and k-occurring items in dynamic data streams over time windows.
- To analyze the trade-offs between privacy (event-level vs. item-level DP) and utility (error bounds) in cumulative, fixed-window, and time-window query settings.
- To close gaps in prior work by providing nearly tight upper and lower bounds on error for both pure and approximate DP in various settings.
- To resolve an open problem posed by Bolot et al. (ICDT 2013) regarding event-level DP for distinct count in sliding windows.
- To explore the impact of data structure—singleton (one item per time step) vs. bundle (multiple items per time step)—on error and privacy trade-offs.
Proposed method
- Designs a novel event-level differentially private algorithm for estimating distinct items in a sliding window of size W, achieving error O(polylog W).
- Reduces the time-window distinct count problem to a 2D range counting problem over a dynamic data structure, leveraging private range query techniques.
- Applies advanced differentially private mechanisms such as the Laplace mechanism and output perturbation to ensure privacy under both event-level and item-level definitions.
- Uses reductions from the 1-way marginal problem to derive matching lower bounds, proving optimality of the upper bounds up to polylogarithmic factors.
- Employs a bucketing and aggregation strategy to simulate a singleton setting from a bundle setting, preserving privacy and controlling error growth.
- Establishes tight error bounds via reductions to known hard problems in differential privacy, particularly the 1-way marginal query problem.
Experimental results
Research questions
- RQ1What is the optimal error achievable for differentially private counting of distinct items in a time window under event-level and item-level DP?
- RQ2Can we achieve polylogarithmic error in W for event-level DP in the distinct count problem over a sliding window?
- RQ3How do the error bounds for k-occurring item counting scale with k, T, and privacy parameters ǫ and δ in both singleton and bundle settings?
- RQ4What are the fundamental limits (lower bounds) on error for these problems under different DP definitions and query types?
- RQ5How do the error bounds differ between cumulative, fixed-window, and general time-window queries under the same privacy constraints?
Key findings
- An event-level DP algorithm is presented with error O(polylog W) for counting distinct items in a sliding window of size W, resolving an open problem from Bolot et al. (ICDT 2013).
- For the item-level DP and singleton setting, the paper achieves an error bound of O(√(T/ǫ) · log¹·⁵ T) for time-window CntOcc≥k under pure DP.
- Under approximate DP, the error bound for the same setting is O(³√(T/ǫ²) · √(log(T/δ)) · log¹·⁵ T), matching the lower bound up to polylogarithmic factors.
- Lower bounds show that no ǫ-DP algorithm can achieve error o(√(T/ǫk)) for time-window CntOcc≥k in the singleton setting when T ≥ k/ǫ.
- For approximate DP, the lower bound is o(³√(T log(1/δ)/(ǫ²k))), which matches the upper bound up to polylogarithmic factors.
- The results establish nearly tight error bounds across all combinations of query type (cumulative, fixed-window, time-window), privacy model (event-level, item-level), and data model (singleton, bundle).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.