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

BPTree:一种使用常数存储器的$\ell_2$重命中算法

BPTree: an $\ell_2$ heavy hitters algorithm using constant memory

Vladimir Braverman, Stephen R. Chestnut, Nikita Ivkin, Jelani Nelson, Zhengyu Wang, David P. Woodruff

摘要:

在数据流领域中,寻找重量级人物的任务是最著名和研究最多的问题之一。一个是给出一个列表$i_1,i_2,\ldots,i_m\in[n]$,目标是识别$[n]$中经常出现在列表中的项目。在子多项式空间中,可用的最强保证是$\ell_2$保证,其要求找到在流中至少出现$ε\|f\|_2$次的所有项,其中向量$f\in\mathbb{R}^n$是具有$i$ th坐标的流的计数直方图,其等于$i$出现$f_i:=\#\{j\in[m]:i_j=i\}$的次数。实现$\ell_2$保证的第一个算法是[CCF 04]的CountSketch,它需要$O(ε^{-2}\log n)$字的内存和$O(\log n)$更新时间,并且如果流允许删除,则已知是空间最优的。最近的工作[BCIW16]给出了一个改进的算法,只插入流,只使用$O(ε^{-2}\logε^{-1}\log\log n)$字的内存。在这项工作中,我们给出了一个算法\bptree的$\ell_2$重命中只插入流,实现$O(ε^{-2}\logε^{-1})$字的内存和$O(\logε^{-1})$更新时间,这是最佳的依赖$n$和$m$。此外,我们描述了一种算法,用于跟踪$\|f\|_2$在任何时候与$O(ε^{-2})$内存和更新时间。我们的分析依赖于边界的预期上确界的伯努利过程涉及Rademachers有限的独立性,我们通过一个达德利一样的链式参数,可能有其他地方的应用程序完成。

英文摘要:

The task of finding heavy hitters is one of the best known and well studied problems in the area of data streams. One is given a list $i_1,i_2,\ldots,i_m\in[n]$ and the goal is to identify the items among $[n]$ that appear frequently in the list. In sub-polynomial space, the strongest guarantee available is the $\ell_2$ guarantee, which requires finding all items that occur at least $ε\|f\|_2$ times in the stream, where the vector $f\in\mathbb{R}^n$ is the count histogram of the stream with $i$th coordinate equal to the number of times~$i$ appears $f_i:=\#\{j\in[m]:i_j=i\}$. The first algorithm to achieve the $\ell_2$ guarantee was the CountSketch of [CCF04], which requires $O(ε^{-2}\log n)$ words of memory and $O(\log n)$ update time and is known to be space-optimal if the stream allows for deletions. The recent work of [BCIW16] gave an improved algorithm for insertion-only streams, using only $O(ε^{-2}\logε^{-1}\log\log n)$ words of memory. In this work, we give an algorithm \bptree for $\ell_2$ heavy hitters in insertion-only streams that achieves $O(ε^{-2}\logε^{-1})$ words of memory and $O(\logε^{-1})$ update time, which is the optimal dependence on $n$ and $m$. In addition, we describe an algorithm for tracking $\|f\|_2$ at all times with $O(ε^{-2})$ memory and update time. Our analyses rely on bounding the expected supremum of a Bernoulli process involving Rademachers with limited independence, which we accomplish via a Dudley-like chaining argument that may have applications elsewhere.

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

↑