Low-Latency Sliding Window Algorithms for Formal Languages
Moses Ganardi, Louis Jachiet, Markus Lohrey, Thomas Schwentick

TL;DR
This paper investigates low-latency sliding window algorithms for various formal language classes, establishing constant or logarithmic latency solutions for regular, visibly pushdown, and deterministic 1-counter languages, while also providing lower bounds under complexity conjectures.
Contribution
It introduces the first constant-latency algorithms for regular and visibly pushdown languages in the two-way model and presents a logarithmic latency algorithm for deterministic 1-counter languages, along with conditional lower bounds.
Findings
Constant-latency solutions exist for regular and visibly pushdown languages.
An $ ext{O}( ext{log} n)$ latency algorithm is provided for deterministic 1-counter languages.
Conditional lower bounds show no sub-$n^{1/2- ext{epsilon}}$ latency algorithms for some context-free languages under OMV conjecture.
Abstract
Low-latency sliding window algorithms for regular and context-free languages are studied, where latency refers to the worst-case time spent for a single window update or query. For every regular language it is shown that there exists a constant-latency solution that supports adding and removing symbols independently on both ends of the window (the so-called two-way variable-size model). We prove that this result extends to all visibly pushdown languages. For deterministic 1-counter languages we present a latency sliding window algorithm for the two-way variable-size model where refers to the window size. We complement these results with a conditional lower bound: there exists a fixed real-time deterministic context-free language such that, assuming the OMV (online matrix vector multiplication) conjecture, there is no sliding window algorithm for …
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.
