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.
翻译:频率估算是流算法中最基本的问题之一 。 根据来自某些宇宙的元素的流值 $S$ x%1\ ldots n% 美元, 目标是在单流中计算一个小草图$S$的短草图, 这样对于任何元素美元, 人们可以根据草图来估计美元乘以美元。 这个问题的两个最新解决方案是 计数- 明和 计数- 克什 的算法。 由伯爵生产的频率估测器 $\ telde{ x} 美元, 目标是在单流中计算一个小素的短草图, 这样可以保证 $trede{ x 美元乘以美元, 美元乘以最高概率, 美元=%x$x$x美元 。 數- 數解算解算法的數據數值應該存在确定性的問題。 另外, 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數- 數-