Towards Optimal Moment Estimation in Streaming and Distributed Models

Abstract

One of the oldest problems in the data stream model is to approximate the p-th moment \|X\|pp = Σi=1n |Xi|p of an underlying vector X ∈ Rn, which is presented as a sequence of poly(n) updates to its coordinates. Of particular interest is when p ∈ (0,2]. Although a tight space bound of (ε-2 n) bits is known for this problem when both positive and negative updates are allowed, surprisingly there is still a gap in the space complexity when all updates are positive. Specifically, the upper bound is O(ε-2 n) bits, while the lower bound is only (ε-2 + n) bits. Recently, an upper bound of O(ε-2 + n) bits was obtained assuming that the updates arrive in a random order. We show that for p ∈ (0, 1], the random order assumption is not needed. Namely, we give an upper bound for worst-case streams of O(ε-2 + n) bits for estimating \|X\|pp. Our techniques also give new upper bounds for estimating the empirical entropy in a stream. On the other hand, we show that for p ∈ (1,2], in the natural coordinator and blackboard communication topologies, there is an O(ε-2) bit max-communication upper bound based on a randomized rounding scheme. Our protocols also give rise to protocols for heavy hitters and approximate matrix product. We generalize our results to arbitrary communication topologies G, obtaining an O(ε2 d) max-communication upper bound, where d is the diameter of G. Interestingly, our upper bound rules out natural communication complexity-based approaches for proving an (ε-2 n) bit lower bound for p ∈ (1,2] for streaming algorithms. In particular, any such lower bound must come from a topology with large diameter.

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…