Skip to main content
QUICK 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 AutonomyEngineering被引用 3
一句话总结

Mosaic 是一种基于模型的 AI-增强型网络物理系统(AI-CPS)安全分析框架,通过构建系统的马尔可夫决策过程(MDP)抽象,实现基于概率模型检测的高效在线安全监控,以及基于模型引导的离线错误检测。该框架在运行时开销极低的情况下实现高效性能,相较于最先进的错误检测技术,在识别安全关键行为方面表现更优。

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.

研究动机与目标

  • 应对由于基于学习的 AI 控制器具有不透明性和随机探索特性,导致 AI-CPS 安全保障需求迫切的问题。
  • 克服传统安全分析方法依赖专家知识、难以适用于黑箱 AI 组件的局限性。
  • 开发一种通用、可扩展的安全分析框架,支持 AI-CPS 的运行时监控与离线错误检测。
  • 实现计算开销低的有效安全验证,适用于安全关键领域中的实时部署。
  • 为未来 AI-CPS 的故障定位、调试与修复等安全保障任务提供基础支持。

提出的方法

  • 构建马尔可夫决策过程(MDP)模型,作为 AI-CPS 的抽象表示,以降低状态空间、输入空间与输出空间的复杂度,实现可处理的分析。
  • 利用仿真数据训练并推导抽象 MDP 模型,保留关键的安全相关行为与概率转移特性。
  • 通过在抽象 MDP 上执行概率模型检测(PMC),实现实时在线安全监控,验证安全属性。
  • 通过利用抽象 MDP 引导搜索,实现离线的模型引导式错误检测,以发现违反安全规范的对抗性输入。
  • 将抽象模型集成至两阶段错误检测流水线中,提升检测安全违规行为的效率与效果。
  • 通过显著降低安全查询的时间成本,相比完整系统仿真,实现极低的运行时开销。

实验结果

研究问题

  • RQ1AI-CPS 的基于模型的抽象是否能够实现运行时的有效且高效的监控?
  • RQ2抽象 MDP 模型在识别安全关键输入方面,能在多大程度上提升错误检测的性能?
  • RQ3Mosaic 在实时安全分析中,其计算开销与完整系统仿真相比如何?
  • RQ4Mosaic 在多样且具有代表性的工业级 AI-CPS 基准测试中,检测安全违规行为的效能如何?

主要发现

  • Mosaic 实现了近乎可忽略的运行时开销,其平均安全查询时间(0.1032 秒)比平均仿真时间(35.7501 秒)低三到四个数量级。
  • 在所有评估的 AI-CPS 基准中,Mosaic 在检测安全违规行为方面优于当前最先进的错误检测技术。
  • 对于 AFC-DNN1 等系统,安全查询时间比仿真时间快四个数量级,展现出极高的可扩展性与效率。
  • 抽象 MDP 模型成功捕捉了安全相关行为,支持对复杂安全属性的准确且可靠的验证。
  • 该框架在多种工业级 AI-CPS 中表现有效,包括自主控制系统与基于深度强化学习的控制器,证实其通用性。
  • 评估结果表明,Mosaic 为 AI-CPS 实时安全保证提供了实用且低开销的解决方案。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。