Poster
Breaking the Quadratic Barrier: Robust Cardinality Sketches for Adaptive Queries
Edith Cohen · Mihir Singhal · Uri Stemmer
East Exhibition Hall A-B #E-803
Many applications—from monitoring web traffic to counting unique users—rely on compact data summaries called cardinality sketches to estimate how many distinct items are present. These sketches save space and time, but recent work has shown that they can fail when queries are chosen based on previous answers—a situation common in adaptive systems like feedback loops or real-time monitoring.Current methods break down after about ( k^2 ) adaptive queries, where ( k ) is the sketch size, creating a fundamental barrier.We develop new robust estimators that overcome this limitation by shifting the focus from the total number of queries to how often individual items are queried. As long as each item appears in at most ( \tilde{O}(k^2) ) queries, our estimators remain accurate, even when the total number of queries is much larger.This means the sketches can safely support far more adaptive queries in practice, especially when most items are rarely repeated.Our approach provides theoretical guarantees and performs well in simulations, improving real-world robustness by up to 100×.