End-to-End Learning of LTLf Formulae by Faithful LTLf Encoding

Authors

  • Hai Wan School of Computer Science and Engineering, Sun Yat-sen University
  • Pingjia Liang School of Computer Science and Engineering, Sun Yat-sen University
  • Jianfeng Du Guangdong University of Foreign Studies Bigmath Technology, Shenzhen
  • Weilin Luo School of Computer Science and Engineering, Sun Yat-sen University
  • Rongzhen Ye School of Computer Science and Engineering, Sun Yat-sen University
  • Bo Peng School of Computer Science and Engineering, Sun Yat-sen University

DOI:

https://doi.org/10.1609/aaai.v38i8.28757

Keywords:

DMKM: Rule Mining & Pattern Mining

Abstract

It is important to automatically discover the underlying tree-structured formulae from large amounts of data. In this paper, we examine learning linear temporal logic on finite traces (LTLf) 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 LTLf 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 LTLf encoding method to parameterize a neural network so that the neural computation is able to simulate the inference of LTLf formulae. We first identify faithful LTLf encoding, a subclass of LTLf encoding, which has a one-to-one correspondence to LTLf formulae. Faithful encoding guarantees that the learned parameter assignment of the neural network can directly be interpreted to an LTLf formula. With such an encoding method, we then propose an end-to-end approach, TLTLf, to learn LTLf formulae through neural networks parameterized by our LTLf 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 LTLf encoding.

Published

2024-03-24

How to Cite

Wan, H., Liang, P., Du, J., Luo, W., Ye, R., & Peng, B. (2024). End-to-End Learning of LTLf Formulae by Faithful LTLf Encoding. Proceedings of the AAAI Conference on Artificial Intelligence, 38(8), 9071-9079. https://doi.org/10.1609/aaai.v38i8.28757

Issue

Section

AAAI Technical Track on Data Mining & Knowledge Management