Approximating Large Frequency Moments with Pick-and-Drop Sampling
Abstract
Given data stream of size of numbers from , the frequency of is defined as . The -th \emph{frequency moment} of is defined as . We consider the problem of approximating frequency moments in insertion-only streams for . For any constant we show an upper bound on the space complexity of the problem. Here is the iterative function. To simplify the presentation, we make the following assumptions: and are polynomially far; approximation error and parameter are constants. We observe a natural bijection between streams and special matrices. Our main technical contribution is a non-uniform sampling method on matrices. We call our method a \emph{pick-and-drop sampling}; it samples a heavy element (i.e., element with frequency ) with probability and gives approximation . In addition, the estimations never exceed the real values, that is for all . As a result, we reduce the space complexity of finding a heavy element to bits. We apply our method of recursive sketches and resolve the problem with bits.
Keywords
Cite
@article{arxiv.1212.0202,
title = {Approximating Large Frequency Moments with Pick-and-Drop Sampling},
author = {Vladimir Braverman and Rafail Ostrovsky},
journal= {arXiv preprint arXiv:1212.0202},
year = {2012}
}