One Attack to Rule Them All: Tight Quadratic Bounds for Adaptive Queries on Cardinality Sketches

Edith Cohen, Jelani Nelson, Tamás Sarlós, Mihir Singhal, Uri StemmerSociety 2026 · OpenAlex

Abstract

Cardinality sketches are compact data structures for representing sets or vectors. These sketches are space-efficient, typically requiring only logarithmic storage in the input size, and enable approximation of cardinality (or the number of nonzero entries). A crucial property in applications is composability of the sketching map, meaning that the sketch of a union of sets can be computed from individual sketches. Existing designs provide strong statistical guarantees, ensuring that a randomly sampled sketching map is accurate with high probability for a number of queries that is exponential in the sketch size \(k\). However, these guarantees degrade to quadratic in \(k\) when queries are adaptive, meaning they depend on previous responses.
BibTeX
@inproceedings{cohen2026one,
  author = {Edith Cohen and Jelani Nelson and Tamás Sarlós and Mihir Singhal and Uri Stemmer},
  title = {{One Attack to Rule Them All: Tight Quadratic Bounds for Adaptive Queries on Cardinality Sketches}},
  booktitle = {Society},
  year = {2026},
  doi = {10.1137/1.9781611978971.116},
}

Loading related content...

Figure