Home /Research /Learning Linear Temporal Specifications from Demonstrations with Uncertainty
LEARNING

Learning Linear Temporal Specifications from Demonstrations with Uncertainty

Parastou Fahim, Constantino Lagoa, Rômulo Meira-G'oes

Year
2026
Access
Open access

Abstract

Learning temporal logic specifications from system demonstrations is essential for tasks such as formal verification and controller synthesis, especially in safety-critical domains. Existing approaches typically assume demonstrations are correct or only affected by misclassification errors. In practice, however, system traces are often uncertain or incomplete due to sensor faults, measurement errors, or data loss. We present a framework for learning minimal Linear Temporal Logic (LTL) formulas from demonstrations with uncertainty. Our approach models uncertainty via Hamming distance to generate possible estimates around each observed trace, which are grouped with constraints requiring that at least one trace per group is consistent with the learned formula. Our problem is then reduced to an equivalent Pseudo-Boolean Optimization. We evaluate our method against state-of-the-art LTL learning approaches and show that it recovers specifications that more closely align with ground-truth formulas under uncertainty.

Keywords

LTL learninguncertaintydemonstrationsPseudo-Boolean Optimizationformal verification

Related papers

Browse all LEARNING papers