# Model Predictive Online Monitoring of Dynamical Systems for Nested Signal Temporal Logic Specifications

arXiv: https://arxiv.org/abs/2505.19703 · HTML: https://mlsanity.com/paper/2505.19703/

## Key facts

- Cited by 2 papers in the map (data through 24 Nov 2026).
- Submitted 26 May 2025.

## Built on by (most cited first, 2 of 2)

- [Beyond Ensemble Disagreement: Predictive STL Monitoring of RL Locomotion under Distribution Shift](https://mlsanity.com/paper/2611.02218/) (2026)
- [Who Should Score the Cache? Mid-Depth Layers Are the Best Judges of KV-Cache Eviction](https://mlsanity.com/paper/2611.02230/) (2026)

## Abstract (arXiv)

This paper investigates the online monitoring problem for cyber-physical systems under signal temporal logic (STL) specifications. The objective is to design an online monitor that evaluates system correctness at runtime based on partial signal observations up to the current time so that alarms can be issued whenever the specification is violated or will inevitably be violated in the future. We consider a model-predictive setting where the system's dynamic model is available and can be leveraged to enhance monitoring accuracy. However, existing approaches are limited to a restricted class of STL formulae, permitting only a single application of temporal operators. This work addresses the challenge of nested temporal operators in the design of model-predictive monitors. Our method utilizes syntax tree structures to resolve dependencies between temporal operators and introduces the concept of basic satisfaction vectors. A new model-predictive monitoring algorithm is proposed by recursively updating these vectors online while incorporating pre-computed satisfaction regions derived from offline model analysis. We prove that the proposed approach is both sound and complete, ensuring no false alarms or missed alarms. Case studies are provided to demonstrate the effectiveness of our method.
