BPTree: an $\ell_2$ heavy hitters algorithm using constant memory
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 and the goal is to identify the items among that appear frequently in the list. In sub-polynomial space, the strongest guarantee available is the guarantee, which requires finding all items that occur at least times in the stream, where the vector is the count histogram of the stream with th coordinate equal to the number of times~ appears . The first algorithm to achieve the guarantee was the CountSketch of [CCF04], which requires words of memory and 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 words of memory. In this work, we give an algorithm \bptree for heavy hitters in insertion-only streams that achieves words of memory and update time, which is the optimal dependence on and . In addition, we describe an algorithm for tracking at all times with 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.
Keywords
Cite
@article{arxiv.1603.00759,
title = {BPTree: an $\ell_2$ heavy hitters algorithm using constant memory},
author = {Vladimir Braverman and Stephen R. Chestnut and Nikita Ivkin and Jelani Nelson and Zhengyu Wang and David P. Woodruff},
journal= {arXiv preprint arXiv:1603.00759},
year = {2017}
}
Comments
v4: PODS'17 camera-ready version, includes improved space l_2 tracking (by log(1/epsilon) factor); v3: fixed accidental mis-sorting of author last names; v2: added section explaining why pick-and-drop sampling fails for l2 heavy hitters, and fixed minor typos