One Attack to Rule Them All: Tight Quadratic Bounds for Adaptive Queries on Cardinality Sketches
Edith Cohen, Jelani Nelson, Tam\'as Sarl\'os, Mihir Singhal, Uri, Stemmer

TL;DR
This paper establishes tight bounds on the number of adaptive queries needed to compromise the security of various cardinality sketching algorithms, revealing fundamental limitations in their robustness against adaptive attacks.
Contribution
It introduces a universal attack framework that applies to broad classes of cardinality sketches, providing tight bounds on the number of adaptive queries required for compromise.
Findings
Any union-composable sketch can be compromised with O(k^4) queries.
Tight bound of O(k^2) queries for monotone maps, including MinHash.
Linear sketches over R and Fp can be compromised with O(k^2) queries, matching optimal bounds.
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 \emph{composability}, 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 remains robust for an exponential number of queries in terms of the sketch size . However, these guarantees degrade to quadratic in when queries are \emph{adaptive}, meaning they depend on previous responses. Prior works on statistical queries (Steinke and Ullman, 2015) and specific MinHash cardinality sketches (Ahmadian and Cohen, 2024) established that this is tight in that they…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Complexity and Algorithms in Graphs · Data Management and Algorithms
