English

Pseudorandom Generators for Sliding-Window Algorithms

Computational Complexity 2023-01-19 v1

Abstract

A sliding-window algorithm of window size tt is an algorithm whose current operation depends solely on the last tt 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 GbaseG_\mathrm{base} with seed length dbased_\mathrm{base} that εbase\varepsilon_\mathrm{base}-fools width-ww, length-tt (general) branching programs, we give two PRG constructions for fooling any same-width SWBP of length nn and window size tt (where we assume wnw \ge n). The first uses an additional dbase+O(log(n/t)log(1/εbase))d_\mathrm{base} + O(\log(n/t) \log(1/\varepsilon_\mathrm{base})) random bits, whereas the second has a seed length of O((dbase+loglog(n/t)+log(1/εbase))log(dbase+log(1/εbase)))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)(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)=Ω(logn)1.01T(n) = \Omega(\log n)^{1.01}, we prove that every language accepted by a TT-time one-sided error PACA (the PACA equivalent of RP\mathsf{RP}) can be decided using only O(T)O(T) space. Meanwhile, forgoing the previous requirement on TT, we show the same holds for TT-time two-sided error PACA (the PACA equivalent of BPP\mathsf{BPP}) if we use O~(T)+O(logn)\tilde{O}(T) + O(\log n) space instead (where the O~\tilde{O} notation hides only polylog(T)\mathsf{polylog}(T) factors).

Keywords

Cite

@article{arxiv.2301.07384,
  title  = {Pseudorandom Generators for Sliding-Window Algorithms},
  author = {Augusto Modanese},
  journal= {arXiv preprint arXiv:2301.07384},
  year   = {2023}
}

Comments

28 pages, 1 figure