Heavy hitters via cluster-preserving clustering
Not on the map. Why?
Abstract (arXiv)
In turnstile ℓp varepsilon-heavy hitters, one maintains a high-dimensional x∈ℝn subject to textttupdate(i,Delta) causing xileftarrow xi + Delta, where i∈[n], Delta∈ℝ. Upon receiving a query, the goal is to report a small list Lsubset[n], |L| = O(1/varepsilonp), containing every "heavy hitter" i∈[n] with |xi| ≥ varepsilon |x_overline1/varepsilonp|p, where x_overlinek denotes the vector obtained by zeroing out the largest k entries of x in magnitude. For any p∈(0,2] the CountSketch solves ℓp heavy hitters using O(varepsilon-plog n) words of space with O(log n) update time, O(nlog n) query time to output L, and whose output after any query is correct with high probability (whp) 1 - 1/poly(n). Unfortunately the query time is very slow. To remedy this, the work [CM05] proposed for p=1 in the strict turnstile model, a whp correct algorithm achieving suboptimal space O(varepsilon-1log2 n), worse update time O(log2 n), but much better query time O(varepsilon-1poly(log n)). We show this tradeoff between space and update time versus query time is unnecessary. We provide a new algorithm, ExpanderSketch, which in the most general turnstile model achieves optimal O(varepsilon-plog n) space, O(log n) update time, and fast O(varepsilon-ppoly(log n)) query time, and whp correctness. Our main innovation is an efficient reduction from the heavy hitters to a clustering problem in which each heavy hitter is encoded as some form of noisy spectral cluster in a much bigger graph, and the goal is to identify every cluster. Since every heavy hitter must be found, correctness requires that every cluster be found. We then develop a "cluster-preserving clustering" algorithm, partitioning the graph into clusters without destroying any original cluster.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). First posted on arXiv 5 Apr 2016.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 4; 2023: 4; 2024: 1; 2025: 0; 2026: 1.
10 papers.
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
- 2023HyperAttention: Long-context Attention in Near-Linear Timecited by 85
- 2022Memory Bounds for the Experts Problemcited by 20
- 2023One Pass Streaming Algorithm for Super Long Token Attention Approximation in Sublinear Spacecited by 6
- 2022On the Robustness of CountSketch to Adaptive Inputscited by 5
- 2022Towards Continuous Consistency Axiomcited by 4
- 2022A Clustering Preserving Transformation for k-Means Algorithm Outputcited by 4
- 2024Revisiting Matrix Sketching in Linear Bandits: Achieving Sublinear Regret via Dyadic Block Sketchingcited by 3
- 2023Wide Gaps and Clustering Axiomscited by 0
- 2026On the (Generative) Linear Sketching Problemcited by 0
- 2026On the (Generative) Linear Sketching Problem15 Mar 2026
- 2024Revisiting Matrix Sketching in Linear Bandits: Achieving Sublinear Regret via Dyadic Block Sketching14 Oct 2024
- 2023One Pass Streaming Algorithm for Super Long Token Attention Approximation in Sublinear Space24 Nov 2023
- 2023HyperAttention: Long-context Attention in Near-Linear Time9 Oct 2023
- 2023Wide Gaps and Clustering Axioms7 Aug 2023
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun 2023
- 2022Memory Bounds for the Experts Problem21 Apr 2022
- 2022On the Robustness of CountSketch to Adaptive Inputs28 Feb 2022
- 2022A Clustering Preserving Transformation for k-Means Algorithm Output19 Feb 2022
- 2022Towards Continuous Consistency Axiom12 Feb 2022