🤖 AI Summary
Existing runtime monitoring of Signal Temporal Logic (STL) formulas requires constructing doubly exponential-sized deterministic automata, hindering real-time, early fault detection.
Method: This paper proposes a lightweight monitoring framework integrating machine learning and trajectory checking. First, it restricts STL to pure past-time co-safe fragments, reducing monitoring to a polynomial-time trajectory-checking problem. Second, it employs genetic programming to automatically learn interpretable temporal properties from historical trajectories. Third, it leverages vectorized implementation and GPU acceleration to maximize throughput.
Results: Experiments demonstrate that our approach outperforms state-of-the-art methods across detection accuracy, latency, and interpretability, with key metrics improved by 2%–10%. The framework significantly enhances early fault identification capability while maintaining computational efficiency and transparency.
📝 Abstract
Monitoring is a runtime verification technique that allows one to check whether an ongoing computation of a system (partial trace) satisfies a given formula. It does not need a complete model of the system, but it typically requires the construction of a deterministic automaton doubly exponential in the size of the formula (in the worst case), which limits its practicality. In this paper, we show that, when considering finite, discrete traces, monitoring of pure past (co)safety fragments of Signal Temporal Logic (STL) can be reduced to trace checking, that is, evaluation of a formula over a trace, that can be performed in time polynomial in the size of the formula and the length of the trace. By exploiting such a result, we develop a GPU-accelerated framework for interpretable early failure detection based on vectorized trace checking, that employs genetic programming to learn temporal properties from historical trace data. The framework shows a 2-10% net improvement in key performance metrics compared to the state-of-the-art methods.