RNN Generalization to Omega-Regular Languages
Not on the map. Why?
Abstract (arXiv)
B"uchi automata (BAs) recognize ω-regular languages defined by formal specifications like linear temporal logic (LTL) and are commonly used in the verification of reactive systems. However, BAs face scalability challenges when handling and manipulating complex system behaviors. As neural networks are increasingly used to address these scalability challenges in areas like model checking, investigating their ability to generalize beyond training data becomes necessary. This work presents the first study investigating whether recurrent neural networks (RNNs) can generalize to ω-regular languages derived from LTL formulas. We train RNNs on ultimately periodic ω-word sequences to replicate target BA behavior and evaluate how well they generalize to out-of-distribution sequences. Through experiments on LTL formulas corresponding to deterministic automata of varying structural complexity, from 3 to over 100 states, we show that RNNs achieve high accuracy on their target ω-regular languages when evaluated on sequences up to 8 × longer than training examples, with 92.6% of tasks achieving perfect or near-perfect generalization. These results establish the feasibility of neural approaches for learning complex ω-regular languages, suggesting their potential as components in neurosymbolic verification methods.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 15 of its 31 references that are in the map. First posted on arXiv 2 Sep 2025.
Builds on
15 of 31 references.
References · 15
- 2017Attention Is All You Needcited by 59,932
- 2019On the Convergence of Adam and Beyondcited by 834
- 2022Neural Networks and the Chomsky Hierarchycited by 214
- 2017Extracting Automata from Recurrent Neural Networks Using Queries and Counterexamplescited by 66
- 2020A Formal Hierarchy of RNN Architecturescited by 61
- 2020Teaching Temporal Logics to Neural Networkscited by 51
- 2024Why Warmup the Learning Rate? Underlying Mechanisms and Improvementscited by 45
- 2024Training Neural Networks as Recognizers of Formal Languagescited by 23
- 2022From Spot 2.0 to Spot 2.10: What's New?cited by 20
- 2021Neural Circuit Synthesis from Specification Patternscited by 17
- 2022Extracting Finite Automata from RNNs Using State Mergingcited by 17
- 2024Neural Model Checkingcited by 6
3 more
Built on by
Citing papers per year: 2026: 1.
1 paper.