Private Continual Counting of Unbounded Streams

We study the problem of differentially private continual counting in the unbounded setting where the input size 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 . Using the common `doubling trick' avoids knowledge of but leads to suboptimal and non-smooth error. We solve this problem by introducing novel matrix factorizations based on logarithmic perturbations of the function studied in prior works, which may be of independent interest. The resulting algorithm has smooth error, and for any and it is able to privately estimate the sum of the first data points with variance. It requires space and amortized time per round, compared to variance, space and 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 theirs for as large as .
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 } }