arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1904.04126cs.DS
收藏

分布式河流的加权水库采样

Weighted Reservoir Sampling from Distributed Streams

Rajesh Jayaram, Gokarna Sharma, Srikanta Tirthapura, David P. Woodruff

摘要:

我们考虑从分布式流中进行消息有效的连续随机采样,其中样本中包含项目的概率与与该项目相关的权重成比例。未加权的版本,其中所有的权重是相等的,是很好的研究,并承认严格的上限和下限的消息复杂性。对于带替换的加权抽样,有一个简单的简化为带替换的未加权抽样。然而,在许多应用中,流只有几个重项,当选择替换时,这些重项可能主导随机样本。加权取样\textit{without replacement}(加权SWOR)避免了这个问题,因为这样重的项目最多只能取样一次。在这项工作中,我们提出了第一个消息优化算法加权SWOR从分布式流。我们的算法也有最佳的空间和时间复杂度。作为我们的算法加权SWOR的应用程序,我们推导出第一个分布式流跟踪算法\textit{heavy hitters with residual error}。这里的目标是识别流项目的贡献显着的剩余流,一旦最重的项目被删除。剩余重打击者概括了$\ell_1$重打击者的概念,并且在具有偏斜的权重分布的流中是重要的。除了上限,我们还提供了消息复杂度的下限,该下限几乎接近$\log(1/ε)$因子。最后,我们使用我们的加权抽样算法,以改善分布式$L_1$跟踪,也称为计数跟踪,这是一个广泛研究的问题,在分布式流消息的复杂性。我们还得到了一个紧密的消息下界,关闭这个基本问题的消息复杂性。

英文摘要:

We consider message-efficient continuous random sampling from a distributed stream, where the probability of inclusion of an item in the sample is proportional to a weight associated with the item. The unweighted version, where all weights are equal, is well studied, and admits tight upper and lower bounds on message complexity. For weighted sampling with replacement, there is a simple reduction to unweighted sampling with replacement. However, in many applications the stream has only a few heavy items which may dominate a random sample when chosen with replacement. Weighted sampling \textit{without replacement} (weighted SWOR) eludes this issue, since such heavy items can be sampled at most once. In this work, we present the first message-optimal algorithm for weighted SWOR from a distributed stream. Our algorithm also has optimal space and time complexity. As an application of our algorithm for weighted SWOR, we derive the first distributed streaming algorithms for tracking \textit{heavy hitters with residual error}. Here the goal is to identify stream items that contribute significantly to the residual stream, once the heaviest items are removed. Residual heavy hitters generalize the notion of $\ell_1$ heavy hitters and are important in streams that have a skewed distribution of weights. In addition to the upper bound, we also provide a lower bound on the message complexity that is nearly tight up to a $\log(1/ε)$ factor. Finally, we use our weighted sampling algorithm to improve the message complexity of distributed $L_1$ tracking, also known as count tracking, which is a widely studied problem in distributed streaming. We also derive a tight message lower bound, which closes the message complexity of this fundamental problem.

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

↑