arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.12149cs.DScs.CC
收藏

确定性近似计数的严格流式下界

Tight Streaming Lower Bounds for Deterministic Approximate Counting

Yichuan Wang

AI总结:

本文研究流式 $k$-计数器近似计数,通过新势函数证明确定性最坏情况需 $Ω(k\log(n/k))$ 比特空间,并推出 Misra-Gries 算法空间最优。

摘要:

我们研究 $k$-计数器近似计数的流式复杂度。在 $k$-计数器近似计数问题中,给定一个属于 $[k]^n$ 的输入字符串,我们需要近似计算字符串中每个 $j$($j\in[k]$)的出现次数。通常,我们分别要求每个 $j\in[k]$ 的加性误差不超过 $\frac{n}{3(k-1)}$,并且主要关注 $n\gg k$ 的情形。我们证明了一个下界结果:在流式模型中,确定性且最坏情况下的 $k$-计数器近似计数问题需要 $Ω(k\log(n/k))$ 比特空间,而此前尚无非平凡下界已知。相比之下,直接对每个 $j\in[k]$ 的数量进行计数会使用 $O(k\log n)$ 比特空间。我们的主要证明技术是分析一种新的势函数。我们关于 $k$-计数器近似计数的下界还意味着其他一些流式算法的最优性。例如,我们表明著名的用于重击者的 Misra-Gries 算法 [MG82] 已达到最优空间使用量。

英文摘要:

We study the streaming complexity of $k$-counter approximate counting. In the $k$-counter approximate counting problem, we are given an input string in $[k]^n$, and we are required to approximate the number of each $j$'s ($j\in[k]$) in the string. Typically we require an additive error $\leq\frac{n}{3(k-1)}$ for each $j\in[k]$ respectively, and we are mostly interested in the regime $n\gg k$. We prove a lower bound result that the deterministic and worst-case $k$-counter approximate counting problem requires $Ω(k\log(n/k))$ bits of space in the streaming model, while no non-trivial lower bounds were known before. In contrast, trivially counting the number of each $j\in[k]$ uses $O(k\log n)$ bits of space. Our main proof technique is analyzing a novel potential function. Our lower bound for $k$-counter approximate counting also implies the optimality of some other streaming algorithms. For example, we show that the celebrated Misra-Gries algorithm for heavy hitters [MG82] has achieved optimal space usage.

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

↑