Mining Specifications for Predictive Safety Monitoring
Paper in proceeding, 2025

Safety-critical autonomous systems must reliably predict unsafe behavior to take timely corrective actions. Safety properties are often defined over variables that are not directly observable at runtime, making prediction and detection of violations hard. We present a new approach for learning interpretable monitors characterized by concise Signal Temporal Logic (STL) formulas that can predict safety property violations from the observable sensor data. We train these monitors from synthetic, possibly highly unbalanced data generated in a simulation environment. Our specification mining procedure combines a grammar-based method and two novel ensemble techniques. Our approach outperforms the existing solutions by enhancing accuracy and explainability, as demonstrated in two autonomous driving case studies.

Specification Mining

Runtime Monitoring

Signal Temporal Logic

Author

Eleonora Nesterini

Vienna University of Technology

AIT Austrian Institute of Technology

Ezio Bartocci

Vienna University of Technology

Alessio Gambi

AIT Austrian Institute of Technology

Dejan Nickovic

AIT Austrian Institute of Technology

Sanjit A. Seshia

University of California

Hazem Torfah

University of Gothenburg

Chalmers, Computer Science and Engineering (Chalmers), Formal methods

Proceedings of the ACM IEEE 16th International Conference on Cyber Physical Systems Iccps 2025 Held as Part of the Cps Iot Week 2025

6
9798400714986 (ISBN)

16th Annual ACM/IEEE International Conference on Cyber-Physical Systems, ICCPS 2025, held as part of the CPS-IoT Week 2025
Irvine, USA,

Subject Categories (SSIF 2025)

Computer Sciences

Computer Systems

DOI

10.1145/3716550.3722021

More information

Latest update

11/25/2025