TY - GEN
T1 - Low-Latency Sliding Window Algorithms for Formal Languages
AU - Ganardi, Moses
AU - Jachiet, Louis
AU - Lohrey, Markus
AU - Schwentick, Thomas
N1 - Publisher Copyright:
© Moses Ganardi, Louis Jachiet, Markus Lohrey, and Thomas Schwentick; licensed under Creative Commons License CC-BY 4.0.
PY - 2022/12/1
Y1 - 2022/12/1
N2 - 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 L 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 O(log n) latency sliding window algorithm for the two-way variable-size model where n refers to the window size. We complement these results with a conditional lower bound: there exists a fixed real-time deterministic context-free language L such that, assuming the OMV (online matrix vector multiplication) conjecture, there is no sliding window algorithm for L with latency n1/2−ϵ for any ϵ > 0, even in the most restricted sliding window model (one-way fixed-size model). The above mentioned results all refer to the unit-cost RAM model with logarithmic word size. For regular languages we also present a refined picture using word sizes O(1), O(log log n), and O(log n).
AB - 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 L 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 O(log n) latency sliding window algorithm for the two-way variable-size model where n refers to the window size. We complement these results with a conditional lower bound: there exists a fixed real-time deterministic context-free language L such that, assuming the OMV (online matrix vector multiplication) conjecture, there is no sliding window algorithm for L with latency n1/2−ϵ for any ϵ > 0, even in the most restricted sliding window model (one-way fixed-size model). The above mentioned results all refer to the unit-cost RAM model with logarithmic word size. For regular languages we also present a refined picture using word sizes O(1), O(log log n), and O(log n).
KW - Streaming algorithms
KW - context-free languages
KW - regular languages
U2 - 10.4230/LIPIcs.FSTTCS.2022.38
DO - 10.4230/LIPIcs.FSTTCS.2022.38
M3 - Conference contribution
AN - SCOPUS:85144291537
T3 - Leibniz International Proceedings in Informatics, LIPIcs
BT - 42nd IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2022
A2 - Dawar, Anuj
A2 - Guruswami, Venkatesan
PB - Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
T2 - 42nd IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2022
Y2 - 18 December 2022 through 20 December 2022
ER -