跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2312.16336 · v2

Learning temporal formulas from examples is hard

首次提交 2023-12-27 05:16
版本更新 2026-11-09 17:45
雷达观测 2026-11-10 15:22
arXiv ↗PDF ↗

摘要

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,∧}\{X,\wedge\}, {X,∨}\{X,\vee\}, {F,∧}\{F,\wedge\} and {G,∨}\{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.

作者备注:42 pages. Long version of arXiv:2102.00876, presented at ICGI 2021

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

本站首次收录为 v2,暂无更早版本可对照。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v2 · 2026-11-09 17:45 · 最新观测版本

Learning temporal formulas from examples is hard

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,∧}\{X,\wedge\}, {X,∨}\{X,\vee\}, {F,∧}\{F,\wedge\} and {G,∨}\{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.

查看此版本解读 →查看此版本原文 ↗