English

The Binary Tree Mechanism is Optimal for Approximate Differentially Private Continual Counting

Data Structures and Algorithms 2026-07-01 v1 Cryptography and Security Machine Learning

Abstract

Private continual counting is a fundamental problem in differential privacy: given a binary stream of length nn, where each 11 corresponds to the contribution of one individual, the goal is to release all running counts while protecting the privacy of each individual. The standard algorithm is the binary tree mechanism, whose Gaussian-noise variant achieves expected \ell_\infty error proportional to log3/2n\log^{3/2} n for approximate differential privacy. Whether this dependence on the stream length is necessary has remained a central open problem. In this work, we resolve the dependence on nn by proving that every differentially private mechanism for continual counting must incur expected \ell_\infty error Ω(log3/2n)\Omega(\log^{3/2} n). This shows that the binary tree mechanism is asymptotically optimal in the approximate-DP setting. As a consequence, we also obtain a largest-possible separation between hereditary discrepancy and private \ell_\infty error for linear queries, showing that the known general upper bound in terms of hereditary discrepancy has the optimal dependence on the number of queries.

Cite

@article{arxiv.2607.00876,
  title  = {The Binary Tree Mechanism is Optimal for Approximate Differentially Private Continual Counting},
  author = {Konstantina Bairaktari and Kasper Green Larsen},
  journal= {arXiv preprint arXiv:2607.00876},
  year   = {2026}
}