CountSketches, Feature Hashing and the Median of Three
Kasper Green Larsen, Rasmus Pagh, Jakub Tetek
摘要
In this paper, we revisit the classic CountSketch method, which is a sparse, random projection that transforms a (high-dimensional) Euclidean vector to a vector of dimension , where are integer parameters. It is known that even for , a CountSketch allows estimating coordinates of with variance bounded by . For , the estimator takes the median of independent estimates, and the probability that the estimate is off by more than is exponentially small in . This suggests choosing to be logarithmic in a desired inverse failure probability. However, implementations of CountSketch often use a small, constant . Previous work only predicts a constant factor improvement in this setting. Our main contribution is a new analysis of Count-Sketch, showing an improvement in variance to when . That is, the variance decreases proportionally to , asymptotically for large enough . We also study the variance in the setting where an inner product is to be estimated from two CountSketches. This finding suggests that the Feature Hashing method, which is essentially identical to CountSketch but does not make use of the median estimator, can be made more reliable at a small cost in settings where using a median estimator is possible. We confirm our theoretical findings in experiments and thereby help justify why a small constant number of estimates often suffice in practice. Our improved variance bounds are based on new general theorems about the variance and higher moments of the median of i.i.d. random variables that may be of independent interest.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper7
- Differentially Private Linear Sketches: Efficient Implementations and ApplicationsFuheng Zhao, Dan Qiao, Rachel Redberg, Divyakant Agrawal 等NeurIPS 2022 · 被引用 40 次
- Improved Utility Analysis of Private CountSketchRasmus Pagh, Mikkel ThorupNeurIPS 2022 · 被引用 25 次
- Towards Optimal Effective Resistance EstimationRajat Vadiraj Dwaraknath, Ishani Karmarkar, Aaron SidfordNeurIPS 2023 · 被引用 9 次
- KVSAgg: Secure Aggregation of Distributed Key-Value SetsYuhan Wu, Siyuan Dong, Yi Zhou, Yikai Zhao 等ICDE 2023 · 被引用 8 次
- Sampling Methods for Inner Product SketchingMajid Daliri, Juliana Freire, Christopher Musco, Aécio S. R. Santos 等VLDB 2024 · 被引用 8 次
相关 Paper
- 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 次
- On the Robustness of CountSketch to Adaptive InputsEdith Cohen, Xin Lyu, Jelani Nelson, Tamás Sarlós 等ICML 2022 · 被引用 29 次
- Fair-Count-Min: Frequency Estimation under Equal Group-wise Approximation FactorNima Shahbazi, Stavros Sintos, Abolfazl AsudehSIGMOD 2026
- OPORP: One Permutation + One Random ProjectionPing Li, Xiaoyun LiKDD 2023 · 被引用 1 次
- JoinSketch: A Sketch Algorithm for Accurate and Unbiased Inner-Product EstimationFeiyu Wang, Qizhi Chen, Yuanpeng Li, Tong Yang 等SIGMOD 2023 · 被引用 20 次
