Lune

ICSE2025Top-tier venue

Constrained LTL Specification Learning from Examples

Changjian Zhang, Parv Kapoor, Ian Dardik, Leyi Cui, Rômulo Meira-Góes, David Garlan, Eunsuk Kang

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Robustification of Behavioral Designs against Environmental Deviations cites Adapting requirements models to varying environments
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Agentic Verification of Software SystemsHaoxin Tu, Huan Zhao, Yahui Song, Mehtab Zafar et al.FSE 2026 · 1 citation

Builds on5

  1. Adapting requirements models to varying environmentsDalal Alrajeh, Antoine Cailliau, Axel van LamsweerdeICSE 2020 · 33 citations
  2. Learning Interpretable Temporal Properties from Positive Examples OnlyRajarshi Roy, Jean-Raphaël Gaglione, Nasim Baharisangari, Daniel Neider et al.AAAI 2023 · 21 citations
  3. Robustification of Behavioral Designs against Environmental DeviationsChangjian Zhang, Tarang Saluja, Rômulo Meira-Góes, Matthew L. Bolton et al.ICSE 2023 · 11 citations
  4. AlloyMax: bringing maximum satisfaction to relational specificationsChangjian Zhang, Ryan Wagner, Pedro Orvalho, David Garlan et al.FSE 2021 · 10 citations
  5. Safe Environmental Envelopes of Discrete SystemsRômulo Meira-Góes, Ian Dardik, Eunsuk Kang, Stéphane Lafortune et al.CAV 2023 · 4 citations

Related papers

  1. Learning Branching-Time Properties in CTL and ATL via Constraint SolvingBenjamin Bordais, Daniel Neider, Rajarshi RoyFM 2024 · 4 citations
  2. LTL Learning on GPUsMojtaba Valizadeh, Nathanaël Fijalkow, Martin BergerCAV 2024 · 9 citations
  3. Interactive synthesis of temporal specifications from examples and natural languageIvan Gavran, Eva Darulova, Rupak MajumdarOOPSLA 2020 · 22 citations
  4. DeepLTL: Learning to Efficiently Satisfy Complex LTL Specifications for Multi-Task RLMathias Jackermeier, Alessandro AbateICLR 2025
  5. Maximum Realizability for LTL Modulo TheoriesAndoni Rodríguez, César SánchezFM 2026
Dusk over the sea between two cliffs drawn in fine vertical lines