Constrained LTL Specification Learning from Examples

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Changjian, Kapoor, Parv, Dardik, Ian, Cui, Leyi, Meira-Goes, Romulo, Garlan, David, Kang, Eunsuk
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909445410258944
author Zhang, Changjian
Kapoor, Parv
Dardik, Ian
Cui, Leyi
Meira-Goes, Romulo
Garlan, David
Kang, Eunsuk
author_facet Zhang, Changjian
Kapoor, Parv
Dardik, Ian
Cui, Leyi
Meira-Goes, Romulo
Garlan, David
Kang, Eunsuk
contents Temporal logic specifications play an important role in a wide range of software analysis tasks, such as model checking, automated synthesis, program comprehension, and runtime monitoring. Given a set of positive and negative examples, specified as traces, LTL learning is the problem of synthesizing a specification, in linear temporal logic (LTL), that evaluates to true over the positive traces and false over the negative ones. In this paper, we propose a new type of LTL learning problem called constrained LTL learning, where the user, in addition to positive and negative examples, is given an option to specify one or more constraints over the properties of the LTL formula to be learned. We demonstrate that the ability to specify these additional constraints significantly increases the range of applications for LTL learning, and also allows efficient generation of LTL formulas that satisfy certain desirable properties (such as minimality). We propose an approach for solving the constrained LTL learning problem through an encoding in first-order relational logic and reduction to an instance of the maximal satisfiability (MaxSAT) problem. An experimental evaluation demonstrates that ATLAS, an implementation of our proposed approach, is able to solve new types of learning problems while performing better than or competitively with the state-of-the-art tools in LTL learning.
format Preprint
id arxiv_https___arxiv_org_abs_2412_02905
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Constrained LTL Specification Learning from Examples
Zhang, Changjian
Kapoor, Parv
Dardik, Ian
Cui, Leyi
Meira-Goes, Romulo
Garlan, David
Kang, Eunsuk
Software Engineering
Logic in Computer Science
D.2.1; D.3.1; D.2.2; D.2.4; F.3.1
Temporal logic specifications play an important role in a wide range of software analysis tasks, such as model checking, automated synthesis, program comprehension, and runtime monitoring. Given a set of positive and negative examples, specified as traces, LTL learning is the problem of synthesizing a specification, in linear temporal logic (LTL), that evaluates to true over the positive traces and false over the negative ones. In this paper, we propose a new type of LTL learning problem called constrained LTL learning, where the user, in addition to positive and negative examples, is given an option to specify one or more constraints over the properties of the LTL formula to be learned. We demonstrate that the ability to specify these additional constraints significantly increases the range of applications for LTL learning, and also allows efficient generation of LTL formulas that satisfy certain desirable properties (such as minimality). We propose an approach for solving the constrained LTL learning problem through an encoding in first-order relational logic and reduction to an instance of the maximal satisfiability (MaxSAT) problem. An experimental evaluation demonstrates that ATLAS, an implementation of our proposed approach, is able to solve new types of learning problems while performing better than or competitively with the state-of-the-art tools in LTL learning.
title Constrained LTL Specification Learning from Examples
topic Software Engineering
Logic in Computer Science
D.2.1; D.3.1; D.2.2; D.2.4; F.3.1
url https://arxiv.org/abs/2412.02905