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

大频率矩的拾取-丢弃采样逼近

Approximating Large Frequency Moments with Pick-and-Drop Sampling

Vladimir Braverman, Rafail Ostrovsky

摘要:

给定来自$\{1,..., n\}$的数字的大小为$m$的数据流$D = \{p_1,p_2,...,p_m\}$,$i$的频率被定义为$f_i = |\{j: p_j = i\}|$。$D$的$k$-th \emph{frequency moment}定义为$F_k = \sum_{i=1}^n f_i^k$。我们考虑的问题,近似的频率矩的插入只有流$k\ge 3$。对于任何常数$c$,我们显示了$O(n^{1-2/k}\log(n)\log^{(c)}(n))$上界的空间复杂性的问题。这里$\log^{(c)}(n)$是迭代$\log$函数。为了简化演示,我们做了以下假设:$n$和$m$是多项式远;逼近误差$ε$和参数$k$是常数。我们观察到流和特殊矩阵之间的自然双射。我们的主要技术贡献是矩阵的非均匀采样方法。我们称我们的方法为\emph{pick-and-drop sampling};它采样重元素(即,元素$i$,频率为$Ω(F_k)$),概率为$Ω(1/n^{1-2/k})$,并给出近似值$\tilde{f_i} \ge (1-ε)f_i$。此外,估计值永远不会超过实际值,即所有$j$的$ \tilde{f_j} \le f_j$。结果,我们将寻找重元素的空间复杂度降低到$O(n^{1-2/k}\log(n))$位。我们应用我们的递归草图的方法和解决问题的$O(n^{1-2/k}\log(n)\log^{(c)}(n))$位。

英文摘要:

Given data stream $D = \{p_1,p_2,...,p_m\}$ of size $m$ of numbers from $\{1,..., n\}$, the frequency of $i$ is defined as $f_i = |\{j: p_j = i\}|$. The $k$-th \emph{frequency moment} of $D$ is defined as $F_k = \sum_{i=1}^n f_i^k$. We consider the problem of approximating frequency moments in insertion-only streams for $k\ge 3$. For any constant $c$ we show an $O(n^{1-2/k}\log(n)\log^{(c)}(n))$ upper bound on the space complexity of the problem. Here $\log^{(c)}(n)$ is the iterative $\log$ function. To simplify the presentation, we make the following assumptions: $n$ and $m$ are polynomially far; approximation error $ε$ and parameter $k$ are constants. We observe a natural bijection between streams and special matrices. Our main technical contribution is a non-uniform sampling method on matrices. We call our method a \emph{pick-and-drop sampling}; it samples a heavy element (i.e., element $i$ with frequency $Ω(F_k)$) with probability $Ω(1/n^{1-2/k})$ and gives approximation $\tilde{f_i} \ge (1-ε)f_i$. In addition, the estimations never exceed the real values, that is $ \tilde{f_j} \le f_j$ for all $j$. As a result, we reduce the space complexity of finding a heavy element to $O(n^{1-2/k}\log(n))$ bits. We apply our method of recursive sketches and resolve the problem with $O(n^{1-2/k}\log(n)\log^{(c)}(n))$ bits.

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

↑