We study the problem of learning linear temporal logic (LTL) formulas from examples, as a first step towards expressing a property separating positive and negative instances in a way that is comprehensible for humans. Given positive and negative words, the goal is to find a smallest formula satisfied by the positive words and not by the negative ones. We study the computational complexity of this problem for all fragments of negation-free LTL built from the operators F (eventually), G (globally), X (next), $\wedge$ (conjunction), and $\vee$ (disjunction), without the until operator. We show that the problem is in NP for all fragments, that it is in polynomial time for the fragments containing none of the pairs $\{X,\wedge\}$, $\{X,\vee\}$, $\{F,\wedge\}$ and $\{G,\vee\}$, and that it is NP-complete for all other fragments, already for alphabets with two or three letters. We also show that the fragment with only X and $\wedge$ has a polynomial time 3-approximation algorithm, but no polynomial time approximation scheme unless P = NP. These results motivate the search for efficient heuristics.
Personalized Federated Learning for Spatio-Temporal Forecasting: A Dual Semantic Alignment-Based Contrastive Approach
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Automata Learning of Preferences over Temporal Logic Formulas from Pairwise Comparisons
Department of Computer Science, Missouri State University, USA(计算机科学系,密苏里州立大学);Department Electrical and Computer Engineering , University of Florida, USA(电气与计算机工程系,佛罗里达大学)
ConformalNL2LTL: Translating Natural Language Instructions into Temporal Logic Formulas with Conformal Correctness Guarantees
Department of Electrical and Systems Engineering, Washington University in St Louis(华盛顿大学圣路易斯分校电子与系统工程系);Department of Computer Science, University of Southern California(南加州大学计算机科学系)