arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1312.0042cs.DScs.DBcs.DC
收藏

提高分布式流的基本计数

Boosting the Basic Counting on Distributed Streams

Bojian Xu

摘要:

我们重新审视了经典的基本计数问题的分布流模型,研究了吉本斯和Tirthapura(GT)。在用于维持$(ε,δ)$ -估计的解决方案中,如GT的方法所做的,我们做出以下新贡献:(1)对于大小为$n$的比特流,其中每个比特具有至少$γ$为1的概率,我们将平均总处理时间从GT的$Θ(n \log(1/δ))$指数地减少到$O((1/(γε^2))(\log^2 n) \log(1/δ))$,从而为该问题提供第一个子线性时间流算法。(2)除了总体上快得多的处理速度之外,我们的方法提供了一种新的折衷,即较低的精度要求($ε$的较大值)承诺更快的处理速度,而GT的处理速度在任何情况下和对于任何$ε$都是$Θ(n \log(1/δ))$。(3)我们的方法的最坏情况下的总时间成本匹配GT的$Θ(n\log(1/δ))$,这是必要的,但很少发生在我们的方法。(4)在我们的方法中的空间使用开销是一个低阶项相比,GT的空间使用,并只发生$O(\log n)$的时间在流处理过程中,是太微不足道的检测到的操作系统在实践中。我们进一步验证了这些坚实的理论结果与实验上的真实世界和合成数据,表明我们的方法是快于GT的一个因素的几个到几千取决于流的大小和准确性的要求,没有任何可检测的空间使用开销。我们的方法是基于一个更快的采样技术,我们设计的提升GT的方法,我们相信这种技术可以是其他利益。

英文摘要:

We revisit the classic basic counting problem in the distributed streaming model that was studied by Gibbons and Tirthapura (GT). In the solution for maintaining an $(ε,δ)$-estimate, as what GT's method does, we make the following new contributions: (1) For a bit stream of size $n$, where each bit has a probability at least $γ$ to be 1, we exponentially reduced the average total processing time from GT's $Θ(n \log(1/δ))$ to $O((1/(γε^2))(\log^2 n) \log(1/δ))$, thus providing the first sublinear-time streaming algorithm for this problem. (2) In addition to an overall much faster processing speed, our method provides a new tradeoff that a lower accuracy demand (a larger value for $ε$) promises a faster processing speed, whereas GT's processing speed is $Θ(n \log(1/δ))$ in any case and for any $ε$. (3) The worst-case total time cost of our method matches GT's $Θ(n\log(1/δ))$, which is necessary but rarely occurs in our method. (4) The space usage overhead in our method is a lower order term compared with GT's space usage and occurs only $O(\log n)$ times during the stream processing and is too negligible to be detected by the operating system in practice. We further validate these solid theoretical results with experiments on both real-world and synthetic data, showing that our method is faster than GT's by a factor of several to several thousands depending on the stream size and accuracy demands, without any detectable space usage overhead. Our method is based on a faster sampling technique that we design for boosting GT's method and we believe this technique can be of other interest.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑