Lune

ICML2022Top-tier venue

On the Robustness of CountSketch to Adaptive Inputs

Edith Cohen, Xin Lyu, Jelani Nelson, Tamás Sarlós, Moshe Shechner, Uri Stemmer

Abstract

CountSketch is a popular dimensionality reduction technique that maps vectors to a lower dimension using randomized linear measurements. The sketch supports recovering ℓ2\ell_2-heavy hitters of a vector (entries with v[i]2≥1k∥v∥22v[i]^2 \geq \frac{1}{k}\|\boldsymbol{v}\|^2_2). We study the robustness of the sketch in adaptive settings where input vectors may depend on the output from prior inputs. Adaptive settings arise in processes with feedback or with adversarial attacks. We show that the classic estimator is not robust, and can be attacked with a number of queries of the order of the sketch size. We propose a robust estimator (for a slightly modified sketch) that allows for quadratic number of queries in the sketch size, which is an improvement factor of k\sqrt{k} (for kk heavy hitters) over prior work.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

17 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Adaptive Machine Unlearning cites Adversarially Robust Streaming Algorithms via Differential Privacy
  • On Robust Streaming for Learning with Experts: Algorithms and Lower Bounds cites Adversarially Robust Streaming Algorithms via Differential Privacy
  • On Robust Streaming for Learning with Experts: Algorithms and Lower Bounds cites Tight Bounds for Adversarially Robust Streams and Sliding Windows via Difference Estimators
  • Tricking the Hashing Trick: A Tight Lower Bound on the Robustness of CountSketch to Adaptive Inputs cites Adaptive Machine Unlearning
  • Tricking the Hashing Trick: A Tight Lower Bound on the Robustness of CountSketch to Adaptive Inputs cites Oblivious Sketching of High-Degree Polynomial Kernels
  • Tricking the Hashing Trick: A Tight Lower Bound on the Robustness of CountSketch to Adaptive Inputs cites Adversarially Robust Streaming Algorithms via Differential Privacy
  • Tricking the Hashing Trick: A Tight Lower Bound on the Robustness of CountSketch to Adaptive Inputs cites Tight Bounds for Adversarially Robust Streams and Sliding Windows via Difference Estimators
  • Unmasking Vulnerabilities: Cardinality Sketches under Adaptive Inputs cites Adversarially Robust Streaming Algorithms via Differential Privacy
  • Unmasking Vulnerabilities: Cardinality Sketches under Adaptive Inputs cites Tricking the Hashing Trick: A Tight Lower Bound on the Robustness of CountSketch to Adaptive Inputs
  • Unmasking Vulnerabilities: Cardinality Sketches under Adaptive Inputs cites Tight Bounds for Adversarially Robust Streams and Sliding Windows via Difference Estimators
  • Adversarially Robust Dense-Sparse Tradeoffs via Heavy-Hitters cites Adversarially Robust Streaming Algorithms via Differential Privacy
  • Adversarially Robust Dense-Sparse Tradeoffs via Heavy-Hitters cites Tight Bounds for Adversarially Robust Streams and Sliding Windows via Difference Estimators
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers17

  1. Improved Utility Analysis of Private CountSketchRasmus Pagh, Mikkel ThorupNeurIPS 2022 · 25 citations
  2. Tricking the Hashing Trick: A Tight Lower Bound on the Robustness of CountSketch to Adaptive InputsEdith Cohen, Jelani Nelson, Tamás Sarlós, Uri StemmerAAAI 2023 · 14 citations
  3. Adversarially Robust Dense-Sparse Tradeoffs via Heavy-HittersDavid P. Woodruff, Samson ZhouNeurIPS 2024 · 9 citations
  4. On Robust Streaming for Learning with Experts: Algorithms and Lower BoundsDavid P. Woodruff, Fred Zhang, Samson ZhouNeurIPS 2023 · 7 citations
  5. Unmasking Vulnerabilities: Cardinality Sketches under Adaptive InputsSara Ahmadian, Edith CohenICML 2024 · 7 citations

Builds on10

  1. Adaptive Machine UnlearningVarun Gupta, Christopher Jung, Seth Neel, Aaron Roth et al.NeurIPS 2021 · 262 citations
  2. Adversarially Robust Streaming Algorithms via Differential PrivacyAvinatan Hassidim, Haim Kaplan, Yishay Mansour, Yossi Matias et al.NeurIPS 2020 · 85 citations
  3. Oblivious Sketching of High-Degree Polynomial KernelsThomas D. Ahle, Michael Kapralov, Jakob Bæk Tejs Knudsen, Rasmus Pagh et al.SODA 2020 · 42 citations
  4. Tight Bounds for Adversarially Robust Streams and Sliding Windows via Difference EstimatorsDavid P. Woodruff, Samson ZhouFOCS 2021 · 25 citations
  5. Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and SimplerMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 20 citations

Related papers

  1. The Cost of Compression: Tight Quadratic Black-Box Attacks on Sketches for ℓ2 Norm EstimationSara Ahmadian, Edith Cohen, Uri StemmerNeurIPS 2025 · 1 citation
  2. Breaking the Quadratic Barrier: Robust Cardinality Sketches for Adaptive QueriesEdith Cohen, Mihir Singhal, Uri StemmerICML 2025
  3. CountSketches, Feature Hashing and the Median of ThreeKasper Green Larsen, Rasmus Pagh, Jakub TetekICML 2021 · 10 citations
  4. Lifting Linear Sketches: Optimal Bounds and Adversarial RobustnessElena Gribelyuk, Honghao Lin, David P. Woodruff, Huacheng Yu et al.STOC 2025 · 1 citation
  5. Adversarial Robustness on Insertion-Deletion StreamsElena Gribelyuk, Honghao Lin, David P. Woodruff, Huacheng Yu et al.STOC 2026 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines