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

Abstract

Given a stream with frequencies fd, for d∈[n], we characterize the space necessary for approximating the frequency negative moments Fp=Σ |fd|p, where p<0 and the sum is taken over all items d∈[n] with nonzero frequency, in terms of n, ε, and m=Σ |fd|. To accomplish this, we actually prove a much more general result. Given any nonnegative and nonincreasing function g, we characterize the space necessary for any streaming algorithm that outputs a (1ε)-approximation to Σ g(|fd|), 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ε)-approximations to any such sum where the applied function is nonnegative, nonincreasing, and has the same or smaller space complexity as g. This partially answers an open question of Nelson (IITK Workshop Kanpur, 2009).

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…