Heavy hitters via cluster-preserving clustering
Abstract
In turnstile -heavy hitters, one maintains a high-dimensional subject to causing , where , . Upon receiving a query, the goal is to report a small list , , containing every "heavy hitter" with , where denotes the vector obtained by zeroing out the largest entries of in magnitude. For any the CountSketch solves heavy hitters using words of space with update time, query time to output , and whose output after any query is correct with high probability (whp) . Unfortunately the query time is very slow. To remedy this, the work [CM05] proposed for in the strict turnstile model, a whp correct algorithm achieving suboptimal space , worse update time , but much better query time . 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 space, update time, and fast 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.
Keywords
Cite
@article{arxiv.1604.01357,
title = {Heavy hitters via cluster-preserving clustering},
author = {Kasper Green Larsen and Jelani Nelson and Huy L. Nguyen and Mikkel Thorup},
journal= {arXiv preprint arXiv:1604.01357},
year = {2016}
}