Online Quantitative Timed Pattern Matching with Semiring-Valued Weighted Automata

Masaki Waga
6/28/2019
cs.FL

Official code: MasWag/qtpm (5 stars, C++, GPL-3.0, last commit 2023-08-07).

Abstract

Monitoring of a signal plays an essential role in the runtime verification of cyber-physical systems. Qualitative timed pattern matching is one of the mathematical formulations of monitoring, which gives a Boolean verdict for each sub-signal according to the satisfaction of the given specification.

Show full abstract

There are two orthogonal directions of extension of the qualitative timed pattern matching. One direction on the result is quantitative: what engineers want is often not a qualitative verdict but the quantitative measurement of the satisfaction of the specification. The other direction on the algorithm is online checking: the monitor returns some verdicts before obtaining the entire signal, which enables to monitor a running system. It is desired from application viewpoints. In this paper, we conduct these two extensions, taking an automata-based approach. This is the first quantitative and online timed pattern matching algorithm to the best of our knowledge. More specifically, we employ what we call timed symbolic weighted automata to specify quantitative specifications to be monitored, and we obtain an online algorithm using the shortest distance of a weighted variant of the zone graph and dynamic programming. Moreover, our problem setting is semiring-based and therefore, general. Our experimental results confirm the scalability of our algorithm for specifications with a time-bound.

View on arXivView PDF

Code Implementations(1)

MasWag/qtpmOfficial100%
GPL-3.0

An experimental implementation of Quantitative Timed Pattern Matching

51C++, ShellJun 20, 20183 years agoGPL-3.0

Similar Papers

Cite this paper

@article{waga2019online,
  title  = {Online Quantitative Timed Pattern Matching with Semiring-Valued Weighted Automata},
  author = {Masaki Waga},
  year   = {2019},
  eprint = {1906.12133},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.12133}
}

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/1906.12133.svg)](https://codeofpaper.com/paper/1906.12133)

Discussion