Learning Optimal Signal Temporal Logic Decision Trees for Classification: A Max-Flow MILP Formulation

Kaier Liang, Gustavo A. Cardona, Disha Kamale, Cristian-Ioan Vasile
7/30/2024
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

This paper presents a novel framework for inferring timed temporal logic properties from data. The dataset comprises pairs of finite-time system traces and corresponding labels, denoting whether the traces demonstrate specific desired behaviors, e.g. whether the ship follows a safe route or not. Our proposed approach leverages decision-tree-based methods to infer Signal Temporal Logic classifiers using primitive formulae. We formulate the inference process as a mixed integer linear programming optimization problem, recursively generating constraints to determine both data classification and tree structure. Applying a max-flow algorithm on the resultant tree transforms the problem into a global optimization challenge, leading to improved classification rates compared to prior methodologies. Moreover, we introduce a technique to reduce the number of constraints by exploiting the symmetry inherent in STL primitives, which enhances the algorithm's time performance and interpretability. To assess our algorithm's effectiveness and classification performance, we conduct three case studies involving two-class, multi-class, and complex formula classification scenarios.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liang2024learning,
  title  = {Learning Optimal Signal Temporal Logic Decision Trees for Classification: A Max-Flow MILP Formulation},
  author = {Kaier Liang and Gustavo A. Cardona and Disha Kamale and Cristian-Ioan Vasile},
  year   = {2024},
  eprint = {2407.21090},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.21090v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.21090.svg)](https://codeofpaper.com/paper/2407.21090)

Discussion