Papers
Topics
Authors
Recent
Search
2000 character limit reached

Perfect LpL_p Sampling in a Data Stream

Published 16 Aug 2018 in cs.DS | (1808.05497v3)

Abstract: In this paper, we resolve the one-pass space complexity of LpL_p sampling for p(0,2)p \in (0,2). Given a stream of updates (insertions and deletions) to the coordinates of an underlying vector fR<sup>nf \in \mathbb{R}<sup>n, a perfect LpL_p sampler must output an index ii with probability fi<sup>p/fp<sup>p|f_i|<sup>p/|f|_p<sup>p, and is allowed to fail with some probability δ\delta. So far, for $p &gt; 0$ no algorithm has been shown to solve the problem exactly using poly(logn)\text{poly}( \log n)-bits of space. In 2010, Monemizadeh and Woodruff introduced an approximate LpL_p sampler, which outputs ii with probability (1±ν)fi<sup>p</sup>/fp<sup>p(1 \pm \nu)|f_i|<sup>p</sup> /|f|_p<sup>p, using space polynomial in ν<sup>1\nu<sup>{-1} and log(n)\log(n). The space complexity was later reduced by Jowhari, Sa\u{g}lam, and Tardos to roughly O(ν<sup>p</sup>log<sup>2</sup>nlogδ<sup>1)O(\nu<sup>{-p}</sup> \log<sup>2</sup> n \log \delta<sup>{-1}) for p(0,2)p \in (0,2), which tightly matches the Ω(log<sup>2</sup>nlogδ<sup>1)\Omega(\log<sup>2</sup> n \log \delta<sup>{-1}) lower bound in terms of nn and δ\delta, but is loose in terms of ν\nu. Given these nearly tight bounds, it is perhaps surprising that no lower bound exists in terms of ν\nu---not even a bound of Ω(ν<sup>1)\Omega(\nu<sup>{-1}) is known. In this paper, we explain this phenomenon by demonstrating the existence of an O(log<sup>2</sup>nlogδ<sup>1)O(\log<sup>2</sup> n \log \delta<sup>{-1})-bit perfect LpL_p sampler for p(0,2)p \in (0,2). This shows that ν\nu need not factor into the space of an LpL_p sampler, which closes the complexity of the problem for this range of pp. For p=2p=2, our bound is O(log<sup>3</sup>nlogδ<sup>1)O(\log<sup>3</sup> n \log \delta<sup>{-1})-bits, which matches the prior best known upper bound in terms of n,δn,\delta, but has no dependence on ν\nu. For $p&lt;2$, our bound holds in the random oracle model, matching the lower bounds in that model. Moreover, we show that our algorithm can be derandomized with only a O((loglogn)<sup>2)O((\log \log n)<sup>2) blow-up in the space (and no blow-up for p=2p=2). Our derandomization technique is general, and can be used to derandomize a large class of linear sketches.

Citations (39)

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.