End-to-End Learning of LTLf Formulae by Faithful LTLf Encoding
Hai Wan, Pingjia Liang, Jianfeng Du, Weilin Luo, Rongzhen Ye, Bo Peng
Abstract
It is important to automatically discover the underlying treestructured formulae from large amounts of data. In this paper, we examine learning linear temporal logic on finite traces (LTL f ) formulae, which is a tree structure syntactically and characterizes temporal properties semantically. Its core challenge is to bridge the gap between the concise tree-structured syntax and the complex LTL f semantics. Besides, the learning quality is endangered by explosion of the search space and wrong search bias guided by imperfect data. We tackle these challenges by proposing an LTL f encoding method to parameterize a neural network so that the neural computation is able to simulate the inference of LTL f formulae. We first identify faithful LTL f encoding, a subclass of LTL f encoding, which has a one-to-one correspondence to LTL f formulae. Faithful encoding guarantees that the learned parameter assignment of the neural network can directly be interpreted to an LTL f formula. With such an encoding method, we then propose an end-to-end approach, TLTLf, to learn LTL f formulae through neural networks parameterized by our LTL f encoding method. Experimental results demonstrate that our approach achieves state-of-the-art performance with up to 7% improvement in accuracy, highlighting the benefits of introducing the faithful LTL f encoding.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2d5e2874-c83c-4445-a4a4-548392e8a137Cited by top-tier papers2
- Learning Branching-Time Properties in CTL and ATL via Constraint SolvingBenjamin Bordais, Daniel Neider, Rajarshi RoyFM 2024 · 4 citations
- NADA: Neural Acceptance-Driven Approximate Specification MiningWeilin Luo, Tingchen Han, Junming Qiu, Hai Wan et al.ISSTA 2025 · 1 citation
Builds on7
- TreeGen: A Tree-Based Transformer Architecture for Code GenerationZeyu Sun, Qihao Zhu, Yingfei Xiong, Yican Sun et al.AAAI 2020 · 196 citations
- Improving Tree-Structured Decoder Training for Code Generation via Mutual LearningBinbin Xie, Jinsong Su, Yubin Ge, Xiang Li et al.AAAI 2021 · 30 citations
- Temporal Logics Over Finite Traces with UncertaintyFabrizio Maria Maggi, Marco Montali, Rafael PeñalozaAAAI 2020 · 28 citations
- Semantic Role Labeling as Syntactic Dependency ParsingTianze Shi, Igor Malioutov, Ozan IrsoyEMNLP 2020 · 15 citations
- Bridging LTLf Inference to GNN Inference for Learning LTLf FormulaeWeilin Luo, Pingjia Liang, Jianfeng Du, Hai Wan et al.AAAI 2022 · 15 citations
Related papers
- Teaching Temporal Logics to Neural NetworksChristopher Hahn, Frederik Schmitt, Jens U. Kreber, Markus Norman Rabe et al.ICLR 2021 · 78 citations
- Checking LTL Satisfiability via End-to-end LearningWeilin Luo, Hai Wan, Delong Zhang, Jianfeng Du et al.ASE 2022 · 7 citations
- Learning to Check LTL Satisfiability and to Generate Traces via Differentiable Trace CheckingWeilin Luo, Pingjia Liang, Junming Qiu, Polong Chen et al.ISSTA 2024 · 1 citation
- LTL Learning on GPUsMojtaba Valizadeh, Nathanaël Fijalkow, Martin BergerCAV 2024 · 9 citations
- On-the-fly Synthesis for LTL over Finite TracesShengping Xiao, Jianwen Li, Shufang Zhu, Yingying Shi et al.AAAI 2021 · 23 citations
