Learning to Estimate System Specifications in Linear Temporal Logic using Transformers and Mamba
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
Temporal logic is a framework for representing and reasoning about propositions that evolve over time. It is commonly used for specifying requirements in various domains, including hardware and software systems, as well as robotics. Specification mining or formula generation involves extracting temporal logic formulae from system traces and has numerous applications, such as detecting bugs and improving interpretability. Although there has been a surge of deep learning-based methods for temporal logic satisfiability checking in recent years, the specification mining literature has been lagging behind in adopting deep learning methods despite their many advantages, such as scalability. In this paper, we introduce autoregressive models that can generate linear temporal logic formulae from traces, towards addressing the specification mining problem. We propose multiple architectures for this task: transformer encoder-decoder, decoder-only transformer, and Mamba, which is an emerging alternative to transformer models. Additionally, we devise a metric for quantifying the distinctiveness of the generated formulae and a straightforward algorithm to enforce the syntax constraints. Our experiments show that the proposed architectures yield promising results, generating correct and distinct formulae at a fraction of the compute cost needed for the combinatorial baseline.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). Builds on 19 of its 44 references that are in the map. First posted on arXiv 31 May 2024.
Builds on
19 of 44 references.
Closest ancestors · 2
Same direction, newest first
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spaces1 Dec
- 2021Efficiently Modeling Long Sequences with Structured State Spaces31 Oct
Other references · 17
- 2017Attention Is All You Needcited by 59,932
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023A Survey of Large Language Modelscited by 2,537
- 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
- 2018Deep Learning for Generic Object Detection: A Surveycited by 392
- 2024Video Mamba Suite: State Space Model as a Versatile Alternative for Video Understandingcited by 106
- 2020Teaching Temporal Logics to Neural Networkscited by 51
- 2020Backpropagation through Signal Temporal Logic Specifications: Infusing Logical Structure into Gradient-Based Methodscited by 51
- 2018Learning Linear Temporal Propertiescited by 41
- 2020On Robustness Metrics for Learning STL Taskscited by 27
- 2022Multi-agent Motion Planning from Signal Temporal Logic Specificationscited by 21
- 2022From Spot 2.0 to Spot 2.10: What's New?cited by 20
5 more
- 2021The Complexity of Learning Linear Temporal Formulas from Examplescited by 12
- 2021Learning Linear Temporal Properties from Noisy Data: A MaxSAT Approachcited by 11
- 2021Scalable Anytime Algorithms for Learning Fragments of Linear Temporal Logiccited by 9
- 2020Mining Environment Assumptions for Cyber-Physical System Modelscited by 3
- 2019Automatic Failure Explanation in CPS Modelscited by 1
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Distilling Formal Logic into Neural Spaces: A Kernel Alignment Approach for Signal Temporal Logic
- 2024Retrieval-Augmented Mining of Temporal Logic Specifications from Data
- 2025M1: Towards Scalable Test-Time Compute with Mamba Reasoning Models
- 2024Neural Model Checking
- 2024LTLBench: Towards Benchmarks for Evaluating Temporal Reasoning in Large Language Models
- 2026Automatic Translation of Unstructured Requirements into Linear Temporal Logic through Large Language Models ↗
- 2026ReasonSTL: Bridging Natural Language and Signal Temporal Logic via Tool-Augmented Process-Rewarded Learning
- 2026On the Expressiveness of State Space Models via Temporal Logics