Lune

AAAI2023顶会

Tricking the Hashing Trick: A Tight Lower Bound on the Robustness of CountSketch to Adaptive Inputs

Edith Cohen, Jelani Nelson, Tamás Sarlós, Uri Stemmer

摘要

CountSketch and Feature Hashing (the "hashing trick") are popular randomized dimensionality reduction methods that support recovery of ℓ2-heavy hitters (keys i where v 2 i > ǫ v 2 2 ) and approximate inner products. When the inputs are not adaptive (do not depend on prior outputs), classic estimators applied to a sketch of size O(ℓ/ǫ) are accurate for a number of queries that is exponential in ℓ. When inputs are adaptive, however, an adversarial input can be constructed after O(ℓ) queries with the classic estimator and the best known robust estimator only supports Õ(ℓ 2 ) queries. In this work we show that this quadratic dependence is in a sense inherent: We design an attack that after O(ℓ 2 ) queries produces an adversarial input vector whose sketch is highly biased. Our attack uses "natural" non-adaptive inputs (only the final adversarial input is chosen adaptively) and universally applies with any correct estimator, including one that is unknown to the attacker. In that, we expose inherent vulnerability of this fundamental method.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Adaptive Machine Unlearning 引用了 Adversarially Robust Streaming Algorithms via Differential Privacy
  • A Strong Separation for Adversarially Robust ℓ0 Estimation for Linear Sketches 引用了 Adversarially Robust Streaming Algorithms via Differential Privacy
  • A Strong Separation for Adversarially Robust ℓ0 Estimation for Linear Sketches 引用了 On the Robustness of CountSketch to Adaptive Inputs
  • A Strong Separation for Adversarially Robust ℓ0 Estimation for Linear Sketches 引用了 Unmasking Vulnerabilities: Cardinality Sketches under Adaptive Inputs
  • On the Robustness of CountSketch to Adaptive Inputs 引用了 Adaptive Machine Unlearning
  • On the Robustness of CountSketch to Adaptive Inputs 引用了 Oblivious Sketching of High-Degree Polynomial Kernels
  • On the Robustness of CountSketch to Adaptive Inputs 引用了 Adversarially Robust Streaming Algorithms via Differential Privacy
  • Unmasking Vulnerabilities: Cardinality Sketches under Adaptive Inputs 引用了 Adversarially Robust Streaming Algorithms via Differential Privacy
  • Unmasking Vulnerabilities: Cardinality Sketches under Adaptive Inputs 引用了 On the Robustness of CountSketch to Adaptive Inputs
  • The Cost of Compression: Tight Quadratic Black-Box Attacks on Sketches for ℓ2 Norm Estimation 引用了 Adversarially Robust Streaming Algorithms via Differential Privacy
  • The Cost of Compression: Tight Quadratic Black-Box Attacks on Sketches for ℓ2 Norm Estimation 引用了 A Strong Separation for Adversarially Robust ℓ0 Estimation for Linear Sketches
  • The Cost of Compression: Tight Quadratic Black-Box Attacks on Sketches for ℓ2 Norm Estimation 引用了 On the Robustness of CountSketch to Adaptive Inputs
  • The Cost of Compression: Tight Quadratic Black-Box Attacks on Sketches for ℓ2 Norm Estimation 引用了 Unmasking Vulnerabilities: Cardinality Sketches under Adaptive Inputs
  • Adversarial Robustness on Insertion-Deletion Streams 引用了 Adversarially Robust Streaming Algorithms via Differential Privacy
  • Adversarial Robustness on Insertion-Deletion Streams 引用了 Unmasking Vulnerabilities: Cardinality Sketches under Adaptive Inputs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper10

  1. Unmasking Vulnerabilities: Cardinality Sketches under Adaptive InputsSara Ahmadian, Edith CohenICML 2024 · 7 次引用
  2. Learning Together Securely: Prototype-Based Federated Multi-Modal Hashing for Safe and Efficient Multi-Modal RetrievalRuifan Zuo, Chaoqun Zheng, Lei Zhu, Wenpeng Lu 等AAAI 2025 · 4 次引用
  3. A Strong Separation for Adversarially Robust ℓ0 Estimation for Linear SketchesElena Gribelyuk, Honghao Lin, David P. Woodruff, Huacheng Yu 等FOCS 2024 · 2 次引用
  4. Adversarial Robustness on Insertion-Deletion StreamsElena Gribelyuk, Honghao Lin, David P. Woodruff, Huacheng Yu 等STOC 2026 · 2 次引用
  5. The Cost of Compression: Tight Quadratic Black-Box Attacks on Sketches for ℓ2 Norm EstimationSara Ahmadian, Edith Cohen, Uri StemmerNeurIPS 2025 · 1 次引用

它引用的 Paper11

  1. FetchSGD: Communication-Efficient Federated Learning with SketchingDaniel Rothchild, Ashwinee Panda, Enayat Ullah, Nikita Ivkin 等ICML 2020 · 425 次引用
  2. Adaptive Machine UnlearningVarun Gupta, Christopher Jung, Seth Neel, Aaron Roth 等NeurIPS 2021 · 262 次引用
  3. Adversarially Robust Streaming Algorithms via Differential PrivacyAvinatan Hassidim, Haim Kaplan, Yishay Mansour, Yossi Matias 等NeurIPS 2020 · 85 次引用
  4. Oblivious Sketching of High-Degree Polynomial KernelsThomas D. Ahle, Michael Kapralov, Jakob Bæk Tejs Knudsen, Rasmus Pagh 等SODA 2020 · 42 次引用
  5. On the Robustness of CountSketch to Adaptive InputsEdith Cohen, Xin Lyu, Jelani Nelson, Tamás Sarlós 等ICML 2022 · 29 次引用

相关 Paper

  1. CountSketches, Feature Hashing and the Median of ThreeKasper Green Larsen, Rasmus Pagh, Jakub TetekICML 2021 · 10 次引用
  2. Breaking the Quadratic Barrier: Robust Cardinality Sketches for Adaptive QueriesEdith Cohen, Mihir Singhal, Uri StemmerICML 2025
  3. Lifting Linear Sketches: Optimal Bounds and Adversarial RobustnessElena Gribelyuk, Honghao Lin, David P. Woodruff, Huacheng Yu 等STOC 2025 · 1 次引用
  4. One Attack to Rule Them All: Tight Quadratic Bounds for Adaptive Queries on Cardinality SketchesEdith Cohen, Jelani Nelson, Tamás Sarlós, Mihir Singhal 等SODA 2026
  5. Compact Frequency Estimators in Adversarial EnvironmentsSam A. Markelon, Mia Filic, Thomas ShrimptonCCS 2023 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖