一句话:提出带约束的 LTL 学习问题,用一阶关系逻辑编码并归约到 MaxSAT,实现 ATLAS 工具。
论文研究从正、负示例轨迹中学习线性时序逻辑(LTL)公式的问题。传统 LTL 学习仅要求公式在正例上为真、负例上为假,难以表达用户对公式结构或性质的额外要求。为此,作者提出约束 LTL 学习,允许用户对目标公式施加一个或多个约束,从而扩展应用范围并能生成最小性等期望属性。方法将问题编码为一阶关系逻辑,并归约到最大可满足性(MaxSAT)问题求解。实验表明,实现工具 ATLAS 能解决新型学习问题,且性能优于或与当前最优 LTL 学习工具相当。
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.
DOI 原文 ·
@inproceedings{paperbot8891,
title = {Constrained LTL Specification Learning from Examples},
author = {Changjian Zhang and Parv Kapoor and Ian Dardik and Leyi Cui and Rômulo Meira-Góes and David Garlan and Eunsuk Kang},
booktitle = {ICSE},
year = {2025},
doi = {10.1109/icse55347.2025.00160}
}