Papers
Topics
Authors
Recent
Search
2000 character limit reached

Sliding window order statistics in sublinear space

Published 12 Jul 2018 in cs.DS | (1807.04400v1)

Abstract: We extend the multi-pass streaming model to sliding window problems, and address the problem of computing order statistics on fixed-size sliding windows, in the multi-pass streaming model as well as the closely related communication complexity model. In the $2$-pass streaming model, we show that on input of length NN with values in range [0,R][0,R] and a window of length KK, sliding window minimums can be computed in O~(N)\widetilde{O}(\sqrt{N}). We show that this is nearly optimal (for any constant number of passes) when R≥KR \geq K, but can be improved when R=o(K)R = o(K) to O~(NR/K)\widetilde{O}(\sqrt{NR/K}). Furthermore, we show that there is an (l+1)(l+1)-pass streaming algorithm which computes l<sup>thl<sup>\text{th}-smallest elements in O~(l<sup>3/2</sup>N)\widetilde{O}(l<sup>{3/2}</sup> \sqrt{N}) space. In the communication complexity model, we describe a simple O~(pN<sup>1/p)\widetilde{O}(pN<sup>{1/p}) algorithm to compute minimums in pp rounds of communication for odd pp, and a more involved algorithm which computes the l<sup>thl<sup>\text{th}-smallest elements in O~(pl<sup>2</sup>N<sup>1/(p−2l−1))\widetilde{O}(pl<sup>2</sup> N<sup>{1/(p-2l-1)}) space. Finally, we prove that the majority statistic on boolean streams cannot be computed in sublinear space, implying that l<sup>thl<sup>\text{th}-smallest elements cannot be computed in space both sublinear in NN and independent of ll.

Authors (1)

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.