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

用于滑动窗口算法的伪随机生成器

Pseudorandom Generators for Sliding-Window Algorithms

Augusto Modanese

摘要:

窗口大小$t$的滑动窗口算法是其当前操作仅取决于最后读取的$t$符号的算法。我们构造伪随机发生器(PRG)的低空间随机滑动窗口算法,可以访问一个二进制随机源。更具体地说,我们解除这些算法的分支程序的非均匀设置,并研究它们作为一个子类,我们称之为滑动窗口分支程序(SWBPs),相应地。对于一般的SWBP,给定一个基本的PRG $G_\mathrm{base}$与种子长度$d_\mathrm{base}$,$\varepsilon_\mathrm{base}$ -愚弄宽度- $w$,长度- $t$(一般)分支程序,我们给出了两个PRG结构愚弄任何相同宽度的SWBP的长度$n$和窗口大小$t$(其中我们假设$w \ge n$)。第一个使用额外的$d_\mathrm{base} + O(\log(n/t) \log(1/\varepsilon_\mathrm{base}))$随机位,而第二个具有$O((d_\mathrm{base} + \log\log(n/t) + \log(1/\varepsilon_\mathrm{base})) \log(d_\mathrm{base} + \log(1/\varepsilon_\mathrm{base})))$的种子长度。两个PRG在误差参数中仅引起$(n/2t)^{O(1)}$乘法损失。作为一个应用,我们展示了如何决定语言的次线性时间概率元胞自动机使用小空间。更具体地说,这些结果针对的是PACAs模型,PACAs是概率细胞自动机,当且仅当所有细胞同时接受时才接受。对于(次线性)$T(n) = Ω(\log n)^{1.01}$,我们证明了每一种语言接受的$T$ -时间单侧错误PACA(PACA等价的$\mathsf{RP}$)可以决定只使用$O(T)$空间。同时,放弃前面对$T$的要求,如果我们使用$\tilde{O}(T) + O(\log n)$空间(其中$\tilde{O}$符号仅隐藏$\mathsf{polylog}(T)$因子),则我们对$T$时间双侧误差PACA($\mathsf{BPP}$的PACA等价物)也具有相同的成立性。

英文摘要:

A sliding-window algorithm of window size $t$ is an algorithm whose current operation depends solely on the last $t$ symbols read. We construct pseudorandom generators (PRGs) for low-space randomized sliding-window algorithms that have access to a binary randomness source. More specifically, we lift these algorithms to the non-uniform setting of branching programs and study them as a subclass thereof that we call sliding-window branching programs (SWBPs), accordingly. For general SWBPs, given a base PRG $G_\mathrm{base}$ with seed length $d_\mathrm{base}$ that $\varepsilon_\mathrm{base}$-fools width-$w$, length-$t$ (general) branching programs, we give two PRG constructions for fooling any same-width SWBP of length $n$ and window size $t$ (where we assume $w \ge n$). The first uses an additional $d_\mathrm{base} + O(\log(n/t) \log(1/\varepsilon_\mathrm{base}))$ random bits, whereas the second has a seed length of $O((d_\mathrm{base} + \log\log(n/t) + \log(1/\varepsilon_\mathrm{base})) \log(d_\mathrm{base} + \log(1/\varepsilon_\mathrm{base})))$. Both PRGs incur only a $(n/2t)^{O(1)}$ multiplicative loss in the error parameter. As an application, we show how to decide the language of a sublinear-time probabilistic cellular automaton using small space. More specifically, these results target the model of PACAs, which are probabilistic cellular automata that accept if and only if all cells are simultaneously accepting. For (sublinear) $T(n) = Ω(\log n)^{1.01}$, we prove that every language accepted by a $T$-time one-sided error PACA (the PACA equivalent of $\mathsf{RP}$) can be decided using only $O(T)$ space. Meanwhile, forgoing the previous requirement on $T$, we show the same holds for $T$-time two-sided error PACA (the PACA equivalent of $\mathsf{BPP}$) if we use $\tilde{O}(T) + O(\log n)$ space instead (where the $\tilde{O}$ notation hides only $\mathsf{polylog}(T)$ factors).

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

↑