English

Order-Invariant Cardinality Estimators Are Differentially Private

Data Structures and Algorithms 2023-02-06 v2

Abstract

We consider privacy in the context of streaming algorithms for cardinality estimation. We show that a large class of algorithms all satisfy ϵ\epsilon-differential privacy, so long as (a) the algorithm is combined with a simple down-sampling procedure, and (b) the cardinality of the input stream is Ω(k/ϵ)\Omega(k/\epsilon). Here, kk is a certain parameter of the sketch that is always at most the sketch size in bits, but is typically much smaller. We also show that, even with no modification, algorithms in our class satisfy (ϵ,δ)(\epsilon, \delta)-differential privacy, where δ\delta falls exponentially with the stream cardinality. Our analysis applies to essentially all popular cardinality estimation algorithms, and substantially generalizes and tightens privacy bounds from earlier works.

Keywords

Cite

@article{arxiv.2203.15400,
  title  = {Order-Invariant Cardinality Estimators Are Differentially Private},
  author = {Charlie Dickens and Justin Thaler and Daniel Ting},
  journal= {arXiv preprint arXiv:2203.15400},
  year   = {2023}
}

Comments

Changed title and updated with camera ready version from conference

R2 v1 2026-06-24T10:29:48.497Z