arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.03953cs.DScs.CC
收藏

单边误差下的频率估计

Frequency Estimation with One-Sided Error

Piotr Indyk, Shyam Narayanan, David P. Woodruff

摘要:

频率估计是流媒体算法中最基本的问题之一。给定来自某个全域$U=\{1 \ldots n\}$的元素的流$S$,目标是在单遍中计算$S$的简短草图,使得对于任何元素$i \in U$,可以仅基于草图来估计$S$中$i$出现的次数$x_i$。两个国家的最先进的解决方案,这个问题是计数最小和计数素描算法。由Count-Min产生的频率估计器$\tilde{x}$使用$O(1/\varepsilon \cdot \log n)$维数,保证$\|\tilde{x}-x\|_{\infty} \le \varepsilon \|x\|_1$具有高概率,并且$\tilde{x} \ge x$确定性地保持。此外,Count-Min在假设$x \ge 0$ .另一方面,Count-Sketch使用$O(1/\varepsilon^2 \cdot \log n)$尺寸,保证$\|\tilde{x}-x\|_{\infty} \le \varepsilon \|x\|_2$具有高概率。一个自然的问题是,是否有可能设计出两全其美的草图绘制方法,其误差保证取决于$\ell_2$范数和与Count-Sketch相当的空间,但(像Count-Min)也具有不可低估的属性。我们的主要结果表明,对上述问题的答案是否定的。我们在两个无与伦比的计算模型:线性素描和流算法。我们还研究了补充问题,其中要求草图不高估,即,$\tilde{x} \le x$应始终保持。

英文摘要:

Frequency estimation is one of the most fundamental problems in streaming algorithms. Given a stream $S$ of elements from some universe $U=\{1 \ldots n\}$, the goal is to compute, in a single pass, a short sketch of $S$ so that for any element $i \in U$, one can estimate the number $x_i$ of times $i$ occurs in $S$ based on the sketch alone. Two state of the art solutions to this problems are the Count-Min and Count-Sketch algorithms. The frequency estimator $\tilde{x}$ produced by Count-Min, using $O(1/\varepsilon \cdot \log n)$ dimensions, guarantees that $\|\tilde{x}-x\|_{\infty} \le \varepsilon \|x\|_1$ with high probability, and $\tilde{x} \ge x$ holds deterministically. Also, Count-Min works under the assumption that $x \ge 0$. On the other hand, Count-Sketch, using $O(1/\varepsilon^2 \cdot \log n)$ dimensions, guarantees that $\|\tilde{x}-x\|_{\infty} \le \varepsilon \|x\|_2$ with high probability. A natural question is whether it is possible to design the best of both worlds sketching method, with error guarantees depending on the $\ell_2$ norm and space comparable to Count-Sketch, but (like Count-Min) also has the no-underestimation property. Our main set of results shows that the answer to the above question is negative. We show this in two incomparable computational models: linear sketching and streaming algorithms. We also study the complementary problem, where the sketch is required to not over-estimate, i.e., $\tilde{x} \le x$ should hold always.

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

↑