Papers
Topics
Authors
Recent
Search
2000 character limit reached

Streaming Algorithms from Precision Sampling

Published 4 Nov 2010 in cs.DS and cs.CG | (1011.1263v2)

Abstract: A technique introduced by Indyk and Woodruff [STOC 2005] has inspired several recent advances in data-stream algorithms. We show that a number of these results follow easily from the application of a single probabilistic method called Precision Sampling. Using this method, we obtain simple data-stream algorithms that maintain a randomized sketch of an input vector x=(x1,...xn)x=(x_1,...x_n), which is useful for the following applications. 1) Estimating the FkF_k-moment of xx, for $k&gt;2$. 2) Estimating the p\ell_p-norm of xx, for p[1,2]p\in[1,2], with small update time. 3) Estimating cascaded norms p(q)\ell_p(\ell_q) for all $p,q&gt;0$. 4) 1\ell_1 sampling, where the goal is to produce an element ii with probability (approximately) xi/x<em>1|x_i|/|x|<em>1. It extends to similarly defined p\ell_p-sampling, for p[1,2]p\in [1,2]. For all these applications the algorithm is essentially the same: scale the vector x entry-wise by a well-chosen random vector, and run a heavy-hitter estimation algorithm on the resulting vector. Our sketch is a linear function of x, thereby allowing general updates to the vector x. Precision Sampling itself addresses the problem of estimating a sum </em>i=1<sup>n</sup>ai\sum</em>{i=1}<sup>n</sup> a_i from weak estimates of each real ai[0,1]a_i\in[0,1]. More precisely, the estimator first chooses a desired precision ui(0,1]u_i\in(0,1] for each i[n]i\in[n], and then it receives an estimate of every aia_i within additive uiu_i. Its goal is to provide a good approximation to ai\sum a_i while keeping a tab on the "approximation cost" i(1/ui)\sum_i (1/u_i). Here we refine previous work [Andoni, Krauthgamer, and Onak, FOCS 2010] which shows that as long as ai=Ω(1)\sum a_i=\Omega(1), a good multiplicative approximation can be achieved using total precision of only O(nlogn)O(n\log n).

Citations (105)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.