以高概率实现最佳流式传输和跟踪不同元素
Optimal streaming and tracking distinct elements with high probability
摘要:
不同元素问题是流算法的基本问题之一-给定$\{1,\ldots,n\}$范围内的整数流,我们希望提供一个$(1+\varepsilon)$近似输入中不同元素的数量。经过长时间的研究,Kane、Nelson和Woodruff在2010年使用$\mathcal{O}(\frac{1}{\varepsilon^2}+\log n)$空间位给出了这个问题的最佳解决方案,并具有恒定的成功概率。为了实现低故障概率$δ$而使用的标准方法是取原始算法的$\log δ^{-1}$并行重复的中值。我们表明,这样一个乘法空间爆破是不必要的:我们提供了一个最佳算法,使用$\mathcal{O}(\frac{\log δ^{-1}}{\varepsilon^2} + \log n)$位的空间-匹配已知的下界这个问题。也就是说,$\logδ^{-1}$因子不与$\log n$项相乘。这完全解决了离散元问题关于所有标准参数的空间复杂性。我们还考虑了不同元素问题的\emph{strong tracking}(或\emph{continuous monitoring})变体,其中我们需要一种算法,该算法在流的所有时间提供到目前为止所看到的不同元素的数量的近似值。我们表明,这种变体可以解决使用$\mathcal{O}(\frac{\log \log n + \log δ^{-1}}{\varepsilon^2} + \log n)$位的空间,我们证明是最佳的。
英文摘要:
The distinct elements problem is one of the fundamental problems in streaming algorithms --- given a stream of integers in the range $\{1,\ldots,n\}$, we wish to provide a $(1+\varepsilon)$ approximation to the number of distinct elements in the input. After a long line of research an optimal solution for this problem with constant probability of success, using $\mathcal{O}(\frac{1}{\varepsilon^2}+\log n)$ bits of space, was given by Kane, Nelson and Woodruff in 2010. The standard approach used in order to achieve low failure probability $δ$ is to take the median of $\log δ^{-1}$ parallel repetitions of the original algorithm. We show that such a multiplicative space blow-up is unnecessary: we provide an optimal algorithm using $\mathcal{O}(\frac{\log δ^{-1}}{\varepsilon^2} + \log n)$ bits of space --- matching known lower bounds for this problem. That is, the $\logδ^{-1}$ factor does not multiply the $\log n$ term. This settles completely the space complexity of the distinct elements problem with respect to all standard parameters. We consider also the \emph{strong tracking} (or \emph{continuous monitoring}) variant of the distinct elements problem, where we want an algorithm which provides an approximation of the number of distinct elements seen so far, at all times of the stream. We show that this variant can be solved using $\mathcal{O}(\frac{\log \log n + \log δ^{-1}}{\varepsilon^2} + \log n)$ bits of space, which we show to be optimal.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。