Papers
Topics
Authors
Recent
Search
2000 character limit reached

Heavy hitters via cluster-preserving clustering

Published 5 Apr 2016 in cs.DS and cs.LG | (1604.01357v1)

Abstract: In turnstile ℓp\ell_p ε\varepsilon-heavy hitters, one maintains a high-dimensional x∈R<sup>nx\in\mathbb{R}<sup>n subject to update(i,Δ)\texttt{update}(i,\Delta) causing xi←xi+Δx_i\leftarrow x_i + \Delta, where i∈[n]i\in[n], Δ∈R\Delta\in\mathbb{R}. Upon receiving a query, the goal is to report a small list L⊂[n]L\subset[n], ∣L∣=O(1/ε<sup>p)|L| = O(1/\varepsilon<sup>p), containing every "heavy hitter" i∈[n]i\in[n] with ∣xi∣≥ε∣x1/ε<sup>p‾∣p|x_i| \ge \varepsilon |x_{\overline{1/\varepsilon<sup>p}}|_p, where xk‾x_{\overline{k}} denotes the vector obtained by zeroing out the largest kk entries of xx in magnitude. For any p∈(0,2]p\in(0,2] the CountSketch solves ℓp\ell_p heavy hitters using O(ε<sup>−plog⁡</sup>n)O(\varepsilon<sup>{-p}\log</sup> n) words of space with O(log⁡n)O(\log n) update time, O(nlog⁡n)O(n\log n) query time to output LL, 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=1p=1 in the strict turnstile model, a whp correct algorithm achieving suboptimal space O(ε<sup>−1log⁡<sup>2</sup></sup>n)O(\varepsilon<sup>{-1}\log<sup>2</sup></sup> n), worse update time O(log⁡<sup>2</sup>n)O(\log<sup>2</sup> n), but much better query time O(ε<sup>−1poly(log⁡</sup>n))O(\varepsilon<sup>{-1}poly(\log</sup> 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(ε<sup>−plog⁡</sup>n)O(\varepsilon<sup>{-p}\log</sup> n) space, O(log⁡n)O(\log n) update time, and fast O(ε<sup>−ppoly(log⁡</sup>n))O(\varepsilon<sup>{-p}poly(\log</sup> 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.

Citations (77)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.