非严格转门数据流的可行采样
Feasible Sampling of Non-strict Turnstile Data Streams
摘要:
我们提出了第一个可行的方法进行采样的动态数据流删除,其中的样本由一个值$k$和它的确切的总计数$C_k$对$(k,C_k)$。我们的算法是严格的旋转栅门数据流和最一般的非严格旋转栅门数据流,其中每个元素可能有一个负的总计数。我们的方法提高了一个数量级的流中的每个元素,这是非常重要的数据流应用程序的已知处理时间。例如,对于非严格流中大小为$O(ε^{-2} \log{(1/δ)})$的样本,我们的解决方案要求每个流元素执行$O((\log\log(1/ε))^2 + (\log\log(1/δ)) ^ 2)$操作,而之前的最佳解决方案要求每个元素执行完全独立的散列函数的$O(ε^{-2} \log^2(1/δ))$评估。这里,$1-δ$是成功概率,$ε$是加法近似误差。我们通过构建一个单一的数据结构来实现这种改进,从该结构中可以以非常高的成功概率提取多个元素。我们生成的样本对于计算正向和反向分布统计量都很有用,在加性误差范围内,具有可证明的成功概率保证。此外,我们的算法可以运行在分布式系统上,并提取统计数据的联合或数据流之间的差异。它们也可用于计算Jaccard相似系数。
英文摘要:
We present the first feasible method for sampling a dynamic data stream with deletions, where the sample consists of pairs $(k,C_k)$ of a value $k$ and its exact total count $C_k$. Our algorithms are for both Strict Turnstile data streams and the most general Non-strict Turnstile data streams, where each element may have a negative total count. Our method improves by an order of magnitude the known processing time of each element in the stream, which is extremely crucial for data stream applications. For example, for a sample of size $O(ε^{-2} \log{(1/δ)})$ in Non-strict streams, our solution requires $O((\log\log(1/ε))^2 + (\log\log(1/δ)) ^ 2)$ operations per stream element, whereas the best previous solution requires $O(ε^{-2} \log^2(1/δ))$ evaluations of a fully independent hash function per element. Here $1-δ$ is the success probability and $ε$ is the additive approximation error. We achieve this improvement by constructing a single data structure from which multiple elements can be extracted with very high success probability. The sample we generate is useful for calculating both forward and inverse distribution statistics, within an additive error, with provable guarantees on the success probability. Furthermore, our algorithms can run on distributed systems and extract statistics on the union or difference between data streams. They can be used to calculate the Jaccard similarity coefficient as well.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。