cs.DSJul 1, 2026

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

Authors: Konstantina BairaktariKasper Green Larsen

Organizations: Department of Computer Science, Aarhus University.

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)Ω(\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.

Explore similar work

CardsList