Differentiable Inference of Temporal Logic Formulas

Nicole Fronda, Houssam Abbas
8/10/2022
cs.LGcs.AIcs.LO

No official code found. Best implementation: nicaless/fernn_stl_inference (2 stars, last commit 2025-01-10).

Abstract

We demonstrate the first Recurrent Neural Network architecture for learning Signal Temporal Logic formulas, and present the first systematic comparison of formula inference methods. Legacy systems embed much expert knowledge which is not explicitly formalized. There is great interest in learning formal specifications that characterize the ideal behavior of such systems -- that is, formulas in temporal logic that are satisfied by the system's output signals. Such specifications can be used to better understand the system's behavior and improve design of its next iteration. Previous inference methods either assumed certain formula templates, or did a heuristic enumeration of all possible templates. This work proposes a neural network architecture that infers the formula structure via gradient descent, eliminating the need for imposing any specific templates. It combines learning of formula structure and parameters in one optimization. Through systematic comparison, we demonstrate that this method achieves similar or better mis-classification rates (MCR) than enumerative and lattice methods. We also observe that different formulas can achieve similar MCR, empirically demonstrating the under-determinism of the problem of temporal logic inference.

View on arXivView PDF

Code Implementations(1)

21Shell, MATLABJul 31, 20221 years ago

Similar Papers

Cite this paper

@article{fronda2022differentiable,
  title  = {Differentiable Inference of Temporal Logic Formulas},
  author = {Nicole Fronda and Houssam Abbas},
  year   = {2022},
  eprint = {2208.05440},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2208.05440v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.05440.svg)](https://codeofpaper.com/paper/2208.05440)

Discussion