Approximating Large Frequency Moments with Pick-and-Drop Sampling

From MaRDI portal



Abstract: Given data stream D=p1,p2,...,pm of size m of numbers from 1,...,n, the frequency of i is defined as fi=|j:pj=i|. The k-th emph{frequency moment} of D is defined as Fk=sumi=1nfik. We consider the problem of approximating frequency moments in insertion-only streams for kge3. For any constant c we show an O(n1−2/klog(n)log(c)(n)) upper bound on the space complexity of the problem. Here log(c)(n) is the iterative log function. To simplify the presentation, we make the following assumptions: n and m are polynomially far; approximation error epsilon and parameter k 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 i with frequency Omega(Fk)) with probability Omega(1/n1−2/k) and gives approximation ildefige(1−epsilon)fi. In addition, the estimations never exceed the real values, that is ildefjlefj for all j. As a result, we reduce the space complexity of finding a heavy element to O(n1−2/klog(n)) bits. We apply our method of recursive sketches and resolve the problem with O(n1−2/klog(n)log(c)(n)) bits.











This page was built for publication: Approximating Large Frequency Moments with Pick-and-Drop Sampling

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2851847)