Randomized sliding window algorithms for regular languages
Moses Ganardi, Danny Hucke, Markus Lohrey

TL;DR
This paper studies randomized sliding window algorithms for regular languages, introducing a relaxed correctness model with error and failure bounds, and characterizes their space complexity classes using language theory.
Contribution
It extends previous deterministic results by analyzing randomized algorithms with failure ratios, providing new language-theoretic characterizations of their space complexities.
Findings
Space complexity is either constant, logarithmic, or linear in window size.
Characterizations depend on the failure ratio and randomness.
Provides a unified framework for analyzing randomized sliding window algorithms.
Abstract
A sliding window algorithm receives a stream of symbols and has to output at each time instant a certain value which only depends on the last symbols. If the algorithm is randomized, then at each time instant it produces an incorrect output with probability at most , which is a constant error bound. This work proposes a more relaxed definition of correctness which is parameterized by the error bound and the failure ratio : A randomized sliding window algorithm is required to err with probability at most at a portion of of all time instants of an input stream. This work continues the investigation of sliding window algorithms for regular languages. In previous works a trichotomy theorem was shown for deterministic algorithms: the optimal space complexity is either constant, logarithmic or linear in the window size. The main results of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
