Universal sketches for the frequency negative moments and other decreasing streaming sums

preprint2015arXivOpen access

Abstract

Given a stream with frequencies fdf_d, for d∈[n]d\in[n], we characterize the space necessary for approximating the frequency negative moments Fp=∑∣fd∣pF_p=\sum |f_d|^p, where p<0p<0 and the sum is taken over all items d∈[n]d\in[n] with nonzero frequency, in terms of nn, εε, and m=∑∣fd∣m=\sum |f_d|. To accomplish this, we actually prove a much more general result. Given any nonnegative and nonincreasing function gg, we characterize the space necessary for any streaming algorithm that outputs a (1±ε)(1\pmε)-approximation to ∑g(∣fd∣)\sum g(|f_d|), where again the sum is over items with nonzero frequency. The storage required is expressed in the form of the solution to a relatively simple nonlinear optimization problem, and the algorithm is universal for (1±ε)(1\pmε)-approximations to any such sum where the applied function is nonnegative, nonincreasing, and has the same or smaller space complexity as gg. This partially answers an open question of Nelson (IITK Workshop Kanpur, 2009).

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.