Lune

NeurIPS2025Top-tier venue

Private Continual Counting of Unbounded Streams

Ben Jacobsen, Kassem Fawaz

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Improved Differential Privacy for SGD via Optimal Private Linear Operators on Adaptive Streams cites Practical and Private (Deep) Learning Without Sampling or Shuffling
  • Multi-Epoch Matrix Factorization Mechanisms for Private Machine Learning cites Improved Differential Privacy for SGD via Optimal Private Linear Operators on Adaptive Streams
  • Multi-Epoch Matrix Factorization Mechanisms for Private Machine Learning cites Practical and Private (Deep) Learning Without Sampling or Shuffling
  • A Smooth Binary Mechanism for Efficient Private Continual Observation cites Improved Differential Privacy for SGD via Optimal Private Linear Operators on Adaptive Streams
  • A Smooth Binary Mechanism for Efficient Private Continual Observation cites Multi-Epoch Matrix Factorization Mechanisms for Private Machine Learning
  • A Smooth Binary Mechanism for Efficient Private Continual Observation cites Practical and Private (Deep) Learning Without Sampling or Shuffling
  • A Smooth Binary Mechanism for Efficient Private Continual Observation cites Constant Matters: Fine-grained Error Bound on Differentially Private Continual Observation
  • Constant Matters: Fine-grained Error Bound on Differentially Private Continual Observation cites Improved Differential Privacy for SGD via Optimal Private Linear Operators on Adaptive Streams
  • Constant Matters: Fine-grained Error Bound on Differentially Private Continual Observation cites Multi-Epoch Matrix Factorization Mechanisms for Private Machine Learning
  • Constant Matters: Fine-grained Error Bound on Differentially Private Continual Observation cites Practical and Private (Deep) Learning Without Sampling or Shuffling
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on10

  1. Practical and Private (Deep) Learning Without Sampling or ShufflingPeter Kairouz, Brendan McMahan, Shuang Song, Om Thakkar et al.ICML 2021 · 239 citations
  2. Improved Differential Privacy for SGD via Optimal Private Linear Operators on Adaptive StreamsSergey Denisov, H. Brendan McMahan, John Rush, Adam D. Smith et al.NeurIPS 2022 · 96 citations
  3. Multi-Epoch Matrix Factorization Mechanisms for Private Machine LearningChristopher A. Choquette-Choo, Hugh Brendan McMahan, J. Keith Rush, Abhradeep Guha ThakurtaICML 2023 · 62 citations
  4. Constant Matters: Fine-grained Error Bound on Differentially Private Continual ObservationHendrik Fichtenberger, Monika Henzinger, Jalaj UpadhyayICML 2023 · 34 citations
  5. A Smooth Binary Mechanism for Efficient Private Continual ObservationJoel Daniel Andersson, Rasmus PaghNeurIPS 2023 · 22 citations

Related papers

  1. A Unifying Framework for Differentially Private Sums under Continual ObservationMonika Henzinger, Jalaj Upadhyay, Sarvagya UpadhyaySODA 2024 · 4 citations
  2. Efficient and Near-Optimal Noise Generation for Streaming Differential PrivacyKrishnamurthy Dj Dvijotham, H. Brendan McMahan, Krishna Pillutla, Thomas Steinke et al.FOCS 2024 · 6 citations
  3. Skirting Additive Error Barriers for Private Turnstile StreamsAnders Aamand, Justin Y. Chen, Sandeep SilwalICLR 2026 · 2 citations
  4. The Price of Differential Privacy under Continual ObservationPalak Jain, Sofya Raskhodnikova, Satchit Sivakumar, Adam D. SmithICML 2023 · 63 citations
  5. Online Matrix Factorization, Online Private Query Release, and Online Discrepancy MinimizationAleksandar Nikolov, Haohua Tang, Jonathan UllmanSTOC 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines