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

缺失项查找问题的流算法

Streaming algorithms for the missing item finding problem

Manuel Stoeckl

摘要:

许多问题的数据流已经研究了两个极端的困难:要么允许随机算法,在静态设置(在那里他们应该错误的最坏情况下流的有界概率);或当只需要确定性和可靠的算法。最近的一些作品已经考虑了对抗性设置,其中随机流算法必须成功,即使在由可以看到算法的中间输出的自适应对手提供的数据流上。为了更好地理解这些模型之间的差异,我们研究了一个名为“缺失项查找”的流任务。在这个问题中,对于$r < n$,给定$[n]$中元素的数据流$a_1,\ldots,a_r$(可能具有重复),并且必须输出不等于任何$a_i$的某个$x \in [n]$。我们证明,$r = n^{Θ(1)}$和$δ= 1/\mathrm{poly}(n)$,随机算法,解决这个问题,在静态设置错误$δ$所需的空间是$Θ(\mathrm{polylog}(n))$ ;算法在对抗设置错误$δ$,$Θ((1 + r^2 / n) \mathrm{polylog}(n))$ ;和确定性算法,$Θ(r / \mathrm{polylog}(n))$。由于我们的adversarially强大的算法依赖于自由访问的一串$O(r \log n)$随机位,我们调查了一个“随机开始”模型的流媒体算法中使用的所有随机位都包括在空间成本。在这里,我们找到了一个有条件的下界的空间使用,这取决于空间,将需要一个伪确定性算法来解决这个问题。我们还证明了一个$Ω(r / \mathrm{polylog}(n))$下界的流媒体算法所需的空间与$< 1/2^{\mathrm{polylog}(n)}$错误对“白盒”的对手,可以看到算法的内部状态,但不能预测其未来的随机决策。

英文摘要:

Many problems on data streams have been studied at two extremes of difficulty: either allowing randomized algorithms, in the static setting (where they should err with bounded probability on the worst case stream); or when only deterministic and infallible algorithms are required. Some recent works have considered the adversarial setting, in which a randomized streaming algorithm must succeed even on data streams provided by an adaptive adversary that can see the intermediate outputs of the algorithm. In order to better understand the differences between these models, we study a streaming task called "Missing Item Finding". In this problem, for $r < n$, one is given a data stream $a_1,\ldots,a_r$ of elements in $[n]$, (possibly with repetitions), and must output some $x \in [n]$ which does not equal any of the $a_i$. We prove that, for $r = n^{Θ(1)}$ and $δ= 1/\mathrm{poly}(n)$, the space required for randomized algorithms that solve this problem in the static setting with error $δ$ is $Θ(\mathrm{polylog}(n))$; for algorithms in the adversarial setting with error $δ$, $Θ((1 + r^2 / n) \mathrm{polylog}(n))$; and for deterministic algorithms, $Θ(r / \mathrm{polylog}(n))$. Because our adversarially robust algorithm relies on free access to a string of $O(r \log n)$ random bits, we investigate a "random start" model of streaming algorithms where all random bits used are included in the space cost. Here we find a conditional lower bound on the space usage, which depends on the space that would be needed for a pseudo-deterministic algorithm to solve the problem. We also prove an $Ω(r / \mathrm{polylog}(n))$ lower bound for the space needed by a streaming algorithm with $< 1/2^{\mathrm{polylog}(n)}$ error against "white-box" adversaries that can see the internal state of the algorithm, but not predict its future random decisions.

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

↑