0
0

Private Continual Counting of Unbounded Streams

Ben Jacobsen
Kassem Fawaz
Main:9 Pages
2 Figures
Bibliography:2 Pages
1 Tables
Appendix:1 Pages
Abstract

We study the problem of differentially private continual counting in the unbounded setting where the input size nn is not known in advance. Current state-of-the-art algorithms based on optimal instantiations of the matrix mechanism cannot be directly applied here because their privacy guarantees only hold when key parameters are tuned to nn. Using the common `doubling trick' avoids knowledge of nn but leads to suboptimal and non-smooth error. We solve this problem by introducing novel matrix factorizations based on logarithmic perturbations of the function 11z\frac{1}{\sqrt{1-z}} studied in prior works, which may be of independent interest. The resulting algorithm has smooth error, and for any α>0\alpha > 0 and tnt\leq n it is able to privately estimate the sum of the first tt data points with O(log2+2α(t))O(\log^{2+2\alpha}(t)) variance. It requires O(t)O(t) space and amortized O(logt)O(\log t) time per round, compared to O(log(n)log(t))O(\log(n)\log(t)) variance, O(n)O(n) space and O(nlogn)O(n \log n) pre-processing time for the nearly-optimal bounded-input algorithm of Henzinger et al. (SODA 2023). Empirically, we find that our algorithm's performance is also comparable to theirs in absolute terms: our variance is less than 1.5×1.5\times theirs for tt as large as 2242^{24}.

View on arXiv
@article{jacobsen2025_2506.15018,
  title={ Private Continual Counting of Unbounded Streams },
  author={ Ben Jacobsen and Kassem Fawaz },
  journal={arXiv preprint arXiv:2506.15018},
  year={ 2025 }
}
Comments on this paper