TL;DR
This research introduces novel algorithms to learn human-interpretable models—specifically Deterministic Finite Automata (DFAs) and Linear Temporal Logic ($LTL_f$) formulas—using only positive examples. By leveraging model conciseness and language minimality as regularizers, the authors provide a robust framework for extracting meaningful temporal patterns from system logs when failure data is unavailable or dangerous to collect.
The Challenge: Learning Without Negatives
In safety-critical domains like robotics and healthcare, understanding the underlying "rules" of a system is vital. Traditional machine learning treats this as a binary classification task, requiring both "good" and "bad" behaviors. However, in these fields, "bad" behaviors are often non-existent or too dangerous to generate.
Learning from positive examples alone is an "ill-posed" problem. Without constraints, the simplest model that fits all positive data is the trivial "everything is allowed" (the formula true). To extract utility, one must find the tightest possible description that remains concise. This paper addresses the challenge of finding these language-minimal models efficiently.
Methodology: Symbolic and Semi-Symbolic Learning
The authors propose two primary algorithmic paths:
- Symbolic DFA Learning ($SYM_{DFA}$): This approach translates the search for a language-minimal DFA into Boolean satisfiability (SAT) problems. It introduces an efficient encoding for "language inclusion," allowing a SAT solver to find optimal models without exhaustive trial-and-error.
- Semi-Symbolic $LTL_f$ Learning ($S-SYM_{LTL}$): Learning $LTL_f$ formulas is computationally harder (PSPACE-complete). The authors combine symbolic encoding with a counterexample-guided loop. The algorithm proposes a formula, checks for a "tighter" alternative, and uses any discrepancies as synthetic negative examples to refine the search.
Both methods utilize two key regularizers: conciseness (minimizing states or subformulas) and language minimality (finding the most specific set of allowed behaviors). As shown in the syntax DAG above, representing formulas as graphs rather than trees allows for significant structural compression, which is central to the conciseness regularizer.
Key Results and Performance
The algorithms were evaluated against random DFAs, standard $LTL_f$ patterns, and a UAV flight trajectory dataset.
- Efficiency Gains: The $SYM_{DFA}$ algorithm reached solutions in roughly one-tenth the iterations of previous state-of-the-art methods while maintaining comparable runtimes.
- Logic Learning Speedup: For $LTL_f$, the semi-symbolic $S-SYM_{LTL}$ was 173.9% faster on average than the purely counterexample-guided baseline ($CEG_{LTL}$). In the UAV case study, this speedup reached 260.73%.
As illustrated in the performance plots, $S-SYM_{LTL}$ scales significantly better as the formula bound $n$ increases, while the baseline $CEG_{LTL}$ frequently hits the time-out (TO) threshold.
Interpretability and Insights
Beyond speed, the learned models are highly interpretable. In the UAV study, the algorithm successfully identified logical rules such as: "A change in yaw angle is always accompanied by a change in roll angle." This provides immediate, human-readable insights into the behavior of black-box controllers, proving that language minimality effectively prevents the learner from defaulting to trivial solutions.
Conclusion
By formalizing language minimality within a symbolic framework, this work enables the discovery of precise temporal rules from positive data alone. While future work may address scalability for extremely long traces, the current approach offers a powerful tool for auditing and understanding safety-critical autonomous systems.
Summary updated