pith. sign in

arxiv: 2003.04218 · v3 · pith:5EOSWJBSnew · submitted 2020-03-06 · 💻 cs.LO · cs.AI· cs.LG· stat.ML

Teaching Temporal Logics to Neural Networks

classification 💻 cs.LO cs.AIcs.LGstat.ML
keywords solutionslogicsclassicalformulaspredictformulanetworksneural
0
0 comments X
read the original abstract

We study two fundamental questions in neuro-symbolic computing: can deep learning tackle challenging problems in logics end-to-end, and can neural networks learn the semantics of logics. In this work we focus on linear-time temporal logic (LTL), as it is widely used in verification. We train a Transformer on the problem to directly predict a solution, i.e. a trace, to a given LTL formula. The training data is generated with classical solvers, which, however, only provide one of many possible solutions to each formula. We demonstrate that it is sufficient to train on those particular solutions to formulas, and that Transformers can predict solutions even to formulas from benchmarks from the literature on which the classical solver timed out. Transformers also generalize to the semantics of the logics: while they often deviate from the solutions found by the classical solvers, they still predict correct solutions to most formulas.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Translating Natural Language to Strategic Temporal Specifications via LLMs

    cs.MA 2026-06 unverdicted novelty 6.0

    Framework using LLMs to translate natural language to ATL/ATL* formulas, with a new expert-validated dataset where fine-tuned 3-7B open models reach 0.84 semantic accuracy matching proprietary few-shot baselines.

  2. Translating Natural Language to Strategic Temporal Specifications via LLMs

    cs.MA 2026-06 unverdicted novelty 6.0

    The authors create a novel dataset and show that fine-tuned small open-weight LLMs can translate natural language to ATL/ATL* specifications with semantic accuracy (0.84) statistically matching strong few-shot proprie...