TY - GEN
T1 - Safety Monitoring for Learning-Enabled Cyber-Physical Systems in Out-of-Distribution Scenarios
AU - Lin, Vivian
AU - Kaur, Ramneet
AU - Yang, Yahan
AU - Dutta, Souradeep
AU - Kantaros, Yiannis
AU - Roy, Anirban
AU - Jha, Susmit
AU - Sokolsky, Oleg
AU - Lee, Insup
N1 - Publisher Copyright:
© 2025 ACM.
PY - 2025/5/7
Y1 - 2025/5/7
N2 - The safety of learning-enabled cyber-physical systems is compromised by the well-known vulnerabilities of deep neural networks to out-of-distribution (OOD) inputs. Existing literature has sought to monitor the safety of such systems by detecting OOD data. However, such approaches have limited utility, as the presence of an OOD input does not necessarily imply the violation of a desired safety property. We instead propose to directly monitor safety in a manner that is itself robust to OOD data. To this end, we predict violations of signal temporal logic safety specifications based on predicted future trajectories. Our safety monitor additionally uses a novel combination of adaptive conformal prediction and incremental learning. The former obtains probabilistic prediction guarantees even on OOD data, and the latter prevents overly conservative predictions. We evaluate the efficacy of the proposed approach in two case studies on safety monitoring: 1) predicting collisions of an F1Tenth car with static obstacles, and 2) predicting collisions of a race car with multiple dynamic obstacles. We find that adaptive conformal prediction obtains theoretical guarantees where other uncertainty quantification methods fail to do so. Additionally, combining adaptive conformal prediction and incremental learning for safety monitoring achieves high recall and timeliness while reducing loss in precision. We achieve these results even in OOD settings and outperform alternative methods.
AB - The safety of learning-enabled cyber-physical systems is compromised by the well-known vulnerabilities of deep neural networks to out-of-distribution (OOD) inputs. Existing literature has sought to monitor the safety of such systems by detecting OOD data. However, such approaches have limited utility, as the presence of an OOD input does not necessarily imply the violation of a desired safety property. We instead propose to directly monitor safety in a manner that is itself robust to OOD data. To this end, we predict violations of signal temporal logic safety specifications based on predicted future trajectories. Our safety monitor additionally uses a novel combination of adaptive conformal prediction and incremental learning. The former obtains probabilistic prediction guarantees even on OOD data, and the latter prevents overly conservative predictions. We evaluate the efficacy of the proposed approach in two case studies on safety monitoring: 1) predicting collisions of an F1Tenth car with static obstacles, and 2) predicting collisions of a race car with multiple dynamic obstacles. We find that adaptive conformal prediction obtains theoretical guarantees where other uncertainty quantification methods fail to do so. Additionally, combining adaptive conformal prediction and incremental learning for safety monitoring achieves high recall and timeliness while reducing loss in precision. We achieve these results even in OOD settings and outperform alternative methods.
KW - Adaptive Conformal Prediction
KW - Cyber-Physical Systems
KW - Incremental Learning
KW - Learning-Enabled
KW - Monitoring
KW - Out-of-Distribution
KW - Safety
UR - https://www.scopus.com/pages/publications/105007305081
U2 - 10.1145/3716550.3722022
DO - 10.1145/3716550.3722022
M3 - Conference contribution
AN - SCOPUS:105007305081
T3 - Proceedings of the ACM/IEEE 16th International Conference on Cyber-Physical Systems, ICCPS 2025, held as part of the CPS-IoT Week 2025
BT - Proceedings of the ACM/IEEE 16th International Conference on Cyber-Physical Systems, ICCPS 2025, held as part of the CPS-IoT Week 2025
PB - Association for Computing Machinery, Inc
T2 - 16th Annual ACM/IEEE International Conference on Cyber-Physical Systems, ICCPS 2025, held as part of the CPS-IoT Week 2025
Y2 - 6 May 2025 through 9 May 2025
ER -