Lune

NeurIPS2025Top-tier venue

Private Continual Counting of Unbounded Streams

Ben Jacobsen, Kassem Fawaz

2025Year
2Citations

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 11−z\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 t≤nt\leq n it is able to privately estimate the sum of the first tt data points with O(log⁡2+2α(t))O(\log^{2+2\alpha}(t)) variance. It requires O(t)O(t) space and amortized O(log⁡t)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(nlog⁡n)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}.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 4f35f5b6-6ee0-478e-a4f5-155dfad9e071

Builds on10

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines