Papers
Topics
Authors
Recent
Search
2000 character limit reached

BPTree: an 2\ell_2 heavy hitters algorithm using constant memory

Published 2 Mar 2016 in cs.DS | (1603.00759v4)

Abstract: The task of finding heavy hitters is one of the best known and well studied problems in the area of data streams. One is given a list i1,i2,,im[n]i_1,i_2,\ldots,i_m\in[n] and the goal is to identify the items among [n][n] that appear frequently in the list. In sub-polynomial space, the strongest guarantee available is the 2\ell_2 guarantee, which requires finding all items that occur at least ϵf2\epsilon|f|_2 times in the stream, where the vector fR<sup>nf\in\mathbb{R}<sup>n is the count histogram of the stream with iith coordinate equal to the number of times~ii appears $f_i:=#{j\in[m]:i_j=i}$. The first algorithm to achieve the 2\ell_2 guarantee was the CountSketch of [CCF04], which requires O(ϵ<sup>2log</sup>n)O(\epsilon<sup>{-2}\log</sup> n) words of memory and O(logn)O(\log n) update time and is known to be space-optimal if the stream allows for deletions. The recent work of [BCIW16] gave an improved algorithm for insertion-only streams, using only O(ϵ<sup>2logϵ<sup>1loglog</sup></sup>n)O(\epsilon<sup>{-2}\log\epsilon<sup>{-1}\log\log</sup></sup> n) words of memory. In this work, we give an algorithm \bptree for 2\ell_2 heavy hitters in insertion-only streams that achieves O(ϵ<sup>2logϵ<sup>1)O(\epsilon<sup>{-2}\log\epsilon<sup>{-1}) words of memory and O(logϵ<sup>1)O(\log\epsilon<sup>{-1}) update time, which is the optimal dependence on nn and mm. In addition, we describe an algorithm for tracking f2|f|_2 at all times with O(ϵ<sup>2)O(\epsilon<sup>{-2}) memory and update time. Our analyses rely on bounding the expected supremum of a Bernoulli process involving Rademachers with limited independence, which we accomplish via a Dudley-like chaining argument that may have applications elsewhere.

Citations (58)

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.