Teaching Temporal Logics to Neural Networks

03/06/2020
by   Bernd Finkbeiner, et al.
12

We show that a deep neural network can learn the semantics of linear-time temporal logic (LTL). As a challenging task that requires deep understanding of the LTL semantics, we show that our network can solve the trace generation problem for LTL: given a satisfiable LTL formula, find a trace that satisfies the formula. We frame the trace generation problem for LTL as a translation task, i.e., to translate from formulas to satisfying traces, and train an off-the-shelf implementation of the Transformer, a recently introduced deep learning architecture proposed for solving natural language processing tasks. We provide a detailed analysis of our experimental results, comparing multiple hyperparameter settings and formula representations. After training for several hours on a single GPU the results were surprising: the Transformer returns the syntactically equivalent trace in 89 of the "mispredictions", however, (and overall more than 99 traces) still satisfy the given LTL formula. In other words, the Transformer generalized from imperfect training data to the semantics of LTL.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/09/2018

A Counting Semantics for Monitoring LTL Specifications over Finite Traces

We consider the problem of monitoring a Linear Time Logic (LTL) specific...
research
07/12/2023

Designing Behavior Trees from Goal-Oriented LTLf Formulas

Temporal logic can be used to formally specify autonomous agent goals, b...
research
05/12/2020

The Hierarchy of Hyperlogics

Hyperproperties, which generalize trace properties by relating multiple ...
research
06/28/2022

A quantitative extension of Interval Temporal Logic over infinite words

Model checking for Halpern and Shoham's interval temporal logic HS has b...
research
05/12/2021

Connecting What to Say With Where to Look by Modeling Human Attention Traces

We introduce a unified framework to jointly model images, text, and huma...
research
11/04/2021

A Sound Up-to-n,δ Bisimilarity for PCTL

We tackle the problem of establishing the soundness of approximate bisim...
research
07/07/2021

Decentralized LTL Enforcement

We consider the runtime enforcement of Linear-time Temporal Logic formul...

Please sign up or login with your details

Forgot password? Click here to reset