atlas

Research map / Learning theory and algorithms / Sample complexity

Unmasking Vulnerabilities: Cardinality Sketches under Adaptive Inputs

ICML 2024 · Learning theory and algorithms › Sample complexity · approach: Generalization and limits under data constraints · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows cardinality sketches (HLL/MinHash) are vulnerable to adaptive inputs: a single-batch attack with O(k) queries on standard estimators (4k queries on HLL++ gives ~40% error), and a multi-batch attack with ~O(k^2) queries against any correct query-response algorithm.

Problem

Cardinality (distinct count) sketches give strong guarantees only for non-adaptive queries; when queries depend on previous responses, the sketch randomness can leak and the estimates can be manipulated. The paper asks how vulnerable these sketches are under adaptive inputs and how efficiently they

Approach

Design an attack that issues random subset queries over a fixed ground set in one batch, then post-processes the estimator's responses to score keys; keys with lowest priorities get extreme scores and form an adversarial set. For arbitrary estimators, a multi-batch adaptive attack builds a "mask" set that hides the sketch of any larger set, using about k^2 queries.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use a single-batch attack with 4k queries to select adversarial keysHLL++ cardinality estimation · HLL++ cardinality estimationcardinality estimation error: 40%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: synthetic random strings

Benchmarks: HLL++ estimates on synthetic ground sets

Metrics: estimate-to-actual cardinality ratio

Baselines: HLL++ standard estimator

Builds on: HyperLogLog HLL++ robustness wrapper for adaptive data analysis

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy