Skip to main content
QUICK REVIEW

[Paper Review] The Complexity of Learning LTL, CTL and ATL Formulas

Benjamin Bordais, Daniel Neider|arXiv (Cornell University)|Aug 8, 2024
Evolutionary Algorithms and ApplicationsComputer Science1 citations
TL;DR

This paper provides a comprehensive complexity analysis of passive learning for Linear Temporal Logic (LTL), Computation Tree Logic (CTL), and Alternating-time Temporal Logic (ATL), showing that learning formulas with unbounded binary operator use is NP-complete across all three logics. In contrast, when the number of binary operators is bounded, the complexity varies significantly: LTL and CTL learning remain NP-complete, while ATL learning becomes tractable (P-complete) with two agents but remains NP-complete with more agents, revealing a sharp threshold in expressivity and complexity.

ABSTRACT

We consider the problem of learning temporal logic formulas from examples of system behavior. Learning temporal properties has crystallized as an effective means to explain complex temporal behaviors. Several efficient algorithms have been designed for learning temporal formulas. However, the theoretical understanding of the complexity of the learning decision problems remains largely unexplored. To address this, we study the complexity of the passive learning problems of three prominent temporal logics, Linear Temporal Logic (LTL), Computation Tree Logic (CTL) and Alternating-time Temporal Logic (ATL) and several of their fragments. We show that learning formulas with unbounded occurrences of binary operators is NP-complete for all of these logics. On the other hand, when investigating the complexity of learning formulas with bounded occurrences of binary operators, we exhibit discrepancies between the complexity of learning LTL, CTL and ATL formulas (with a varying number of agents).

Motivation & Objective

  • To formally analyze the computational complexity of passive learning for LTL, CTL, and ATL formulas.
  • To identify conditions under which learning temporal logic formulas becomes tractable or remains hard.
  • To extend prior NP-completeness results for LTL fragments to CTL and ATL, including multi-agent systems.
  • To investigate how bounded use of binary operators affects the complexity of learning across different temporal logics.
  • To establish a clear dichotomy between tractable and intractable fragments based on operator count and logic type.

Proposed method

  • Reduction from the hitting set problem to prove NP-hardness for learning with unbounded binary operators in LTL, CTL, and ATL.
  • Construction of specialized Kripke and concurrent game structures to encode positive and negative examples for learning.
  • Use of alternating semantics and structural properties of ATL formulas to characterize acceptance and rejection of example structures.
  • Design of formula encodings that simulate hitting set solutions using temporal and strategic operators.
  • Leveraging unary operator sets (e.g., {F, G}, {¬, X, F, G}) to isolate complexity shifts under bounded binary operator constraints.
  • Proofs via logical lemmas (e.g., Lemma 99 on alternating formulas and Lemma 124 on formula acceptance) to establish correctness of reductions.

Experimental results

Research questions

  • RQ1Is the passive learning problem for LTL, CTL, and ATL formulas with unbounded binary operator use NP-complete?
  • RQ2Does bounding the number of binary operator occurrences lead to tractable learning fragments in any of the logics studied?
  • RQ3Why does the complexity of learning ATL formulas depend on the number of agents, while LTL and CTL do not show such a dependency?
  • RQ4Can the learning problem for ATL with two agents be solved in polynomial time, and what changes with more agents?
  • RQ5What role do specific unary operator sets play in determining the complexity of learning formulas?

Key findings

  • Learning LTL, CTL, and ATL formulas with unbounded use of binary operators is NP-complete for all logics studied.
  • When the number of binary operators is bounded, learning LTL and CTL formulas remains NP-complete regardless of the unary operator set.
  • For ATL, learning with two agents becomes P-complete when binary operators are bounded, indicating a tractable fragment.
  • With three or more agents, ATL learning remains NP-complete even under bounded binary operator use, revealing a complexity threshold at two agents.
  • The complexity of learning is sensitive to the number of agents in ATL, with a sharp transition from tractable to intractable behavior at three agents.
  • The results demonstrate that the choice of logic and agent count significantly impacts the feasibility of automated temporal property learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.