6
0

Learning Probabilistic Temporal Logic Specifications for Stochastic Systems

Abstract

There has been substantial progress in the inference of formal behavioural specifications from sample trajectories, for example, using Linear Temporal Logic (LTL). However, these techniques cannot handle specifications that correctly characterise systems with stochastic behaviour, which occur commonly in reinforcement learning and formal verification. We consider the passive learning problem of inferring a Boolean combination of probabilistic LTL (PLTL) formulas from a set of Markov chains, classified as either positive or negative. We propose a novel learning algorithm that infers concise PLTL specifications, leveraging grammar-based enumeration, search heuristics, probabilistic model checking and Boolean set-cover procedures. We demonstrate the effectiveness of our algorithm in two use cases: learning from policies induced by RL algorithms and learning from variants of a probabilistic model. In both cases, our method automatically and efficiently extracts PLTL specifications that succinctly characterise the temporal differences between the policies or model variants.

View on arXiv
@article{roy2025_2505.12107,
  title={ Learning Probabilistic Temporal Logic Specifications for Stochastic Systems },
  author={ Rajarshi Roy and Yash Pote and David Parker and Marta Kwiatkowska },
  journal={arXiv preprint arXiv:2505.12107},
  year={ 2025 }
}
Comments on this paper