Skip to main content
QUICK REVIEW

[Paper Review] Mosaic: Model-based Safety Analysis Framework for AI-enabled Cyber-Physical Systems

Xuan Xie, Jiayang Song|arXiv (Cornell University)|May 6, 2023
Safety Systems Engineering in AutonomyEngineering3 citations
TL;DR

Mosaic is a model-based safety analysis framework for AI-enabled cyber-physical systems (AI-CPS) that constructs a Markov decision process (MDP) abstraction of the system to enable efficient online safety monitoring via probabilistic model checking and offline model-guided falsification. It achieves high efficiency with negligible runtime overhead, outperforming state-of-the-art falsification techniques in detecting safety-critical behaviors.

ABSTRACT

Cyber-physical systems (CPSs) are now widely deployed in many industrial domains, e.g., manufacturing systems and autonomous vehicles. To further enhance the capability and applicability of CPSs, there comes a recent trend from both academia and industry to utilize learning-based AI controllers for the system control process, resulting in an emerging class of AI-enabled cyber-physical systems (AI-CPSs). Although such AI-CPSs could achieve obvious performance enhancement from the lens of some key industrial requirement indicators, due to the random exploration nature and lack of systematic explanations for their behavior, such AI-based techniques also bring uncertainties and safety risks to the controlled system, posing an urgent need for effective safety analysis techniques for AI-CPSs. Hence in this work, we propose Mosaic, a model-based safety analysis framework for AI-CPSs. Mosaic first constructs a Markov decision process (MDP) model as an abstract model of the AI-CPS, which tries to characterize the behaviors of the original AI-CPS. Then, based on the derived abstract model, safety analysis is designed in two aspects: online safety monitoring and offline model-guided falsification. The usefulness of Mosaic is evaluated on diverse and representative industry-level AI-CPSs, the results of which demonstrate that Mosaic is effective in providing safety monitoring to AI-CPSs and enables to outperform the state-of-the-art falsification techniques, providing the basis for advanced safety analysis of AI-CPSs.

Motivation & Objective

  • Address the urgent need for safety assurance in AI-CPS due to the opaque, random exploration nature of learning-based AI controllers.
  • Overcome limitations of traditional safety analysis methods that rely on expert knowledge and are inapplicable to black-box AI components.
  • Develop a general-purpose, scalable safety analysis framework that supports both runtime monitoring and offline falsification for AI-CPS.
  • Enable effective safety verification with low computational overhead, suitable for real-time deployment in safety-critical domains.
  • Provide a foundation for future safety assurance tasks such as fault localization, debugging, and repair in AI-CPS

Proposed method

  • Construct a Markov decision process (MDP) model as an abstract representation of the AI-CPS, reducing state, input, and output spaces for tractable analysis.
  • Use simulation data to train and derive the abstract MDP model, preserving key safety-relevant behaviors and probabilistic transitions.
  • Perform online safety monitoring using probabilistic model checking (PMC) on the abstract MDP to verify safety properties in real time.
  • Implement offline model-guided falsification by leveraging the abstract MDP to guide the search for adversarial inputs that violate safety specifications.
  • Integrate the abstract model into a two-stage falsification pipeline to improve efficiency and effectiveness in detecting safety violations.
  • Ensure low runtime overhead by minimizing the time cost of safety queries compared to full system simulation

Experimental results

Research questions

  • RQ1Can a model-based abstraction of AI-CPSs enable effective and efficient safety monitoring during runtime?
  • RQ2To what extent can an abstract MDP model improve the performance of falsification in identifying safety-critical inputs?
  • RQ3How does the computational overhead of Mosaic compare to full system simulation in real-time safety analysis?
  • RQ4How effective is Mosaic in detecting safety violations across diverse, representative industrial AI-CPS benchmarks?

Key findings

  • Mosaic enables online safety monitoring with negligible runtime overhead, as the average safety query time (0.1032 seconds) is three to four orders of magnitude lower than the average simulation time (35.7501 seconds).
  • The framework outperforms state-of-the-art falsification techniques in detecting safety violations across all evaluated AI-CPS benchmarks.
  • For systems like AFC-DNN1, the safety query time is four orders of magnitude faster than simulation time, demonstrating high scalability and efficiency.
  • The abstract MDP model successfully captures safety-relevant behaviors, enabling accurate and reliable verification of complex safety properties.
  • The framework is effective across diverse industrial AI-CPSs, including autonomous control systems and DRL-based controllers, confirming its generalizability.
  • The evaluation confirms that Mosaic provides a practical and low-overhead solution for real-time safety assurance in AI-CPS

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.