arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1412.1763cs.DS
收藏

时刻跟踪频率矩

Tracking the Frequency Moments at All Times

Zengfeng Huang, Wai Ming Tai, Ke Yi

摘要:

对随机流算法的传统要求仅仅是{ \em one-shot},即,算法在流的末尾应该是正确的(在规定的$\eps$ -误差范围内)。在本文中,我们研究{ \em跟踪}问题,其中的输出应该是正确的在任何时候。解决跟踪问题的标准方法是运行单次算法的独立实例$O(\log m)$,并将联合边界应用于所有$m$时间实例。在本文中,我们研究,如果这个标准的方法可以改进,为经典的频率矩问题。我们表明,对于任何$1 < p \le 2$的$F_p$问题,我们实际上只需要$O(\log \log m + \log n)$副本,以实现跟踪保证在收银机模型,其中$n$是宇宙的大小。同时,我们提出了一个下限的$Ω(\log m \log\log m)$位的所有线性草图实现这一保证。这表明当$n=(\log m)^{O(1)}$。我们还提出了一个$Ω(\log^2 m)$下界的旋转栅门模型,表明标准的方法,通过使用工会界是本质上是最优的。

英文摘要:

The traditional requirement for a randomized streaming algorithm is just {\em one-shot}, i.e., algorithm should be correct (within the stated $\eps$-error bound) at the end of the stream. In this paper, we study the {\em tracking} problem, where the output should be correct at all times. The standard approach for solving the tracking problem is to run $O(\log m)$ independent instances of the one-shot algorithm and apply the union bound to all $m$ time instances. In this paper, we study if this standard approach can be improved, for the classical frequency moment problem. We show that for the $F_p$ problem for any $1 < p \le 2$, we actually only need $O(\log \log m + \log n)$ copies to achieve the tracking guarantee in the cash register model, where $n$ is the universe size. Meanwhile, we present a lower bound of $Ω(\log m \log\log m)$ bits for all linear sketches achieving this guarantee. This shows that our upper bound is tight when $n=(\log m)^{O(1)}$. We also present an $Ω(\log^2 m)$ lower bound in the turnstile model, showing that the standard approach by using the union bound is essentially optimal.

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

↑