arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.02813eess.SYcs.LGcs.LOcs.SY
收藏

支持学习的信息物理系统的因果修复

Causal Repair of Learning-enabled Cyber-physical Systems

University of Pennsylvania(宾夕法尼亚大学);University of Florida(佛罗里达大学)

Pengyuan Lu, Ivan Ruchkin, Matthew Cleaveland, Oleg Sokolsky, Insup Lee

AI总结:

针对含学习组件的 CPS 运行时属性违反问题,提出基于 Halpern-Pearl 模型的两步因果诊断与反事实修复流程,并在 OpenAI Gym 上验证有效。

摘要:

实际因果关系模型利用领域知识,对导致某一结果的事件生成具有说服力的诊断。将这些模型应用于诊断和修复含学习使能组件(LEC)的信息物理系统(CPS)在运行时发生的属性违反,具有良好前景。然而,鉴于 LEC 的高度多样性和复杂性,要把领域知识(例如 CPS 动力学)编码到一个可扩展、并能生成有用修复建议的实际因果关系模型中颇具挑战。本文将因果诊断聚焦于 LEC 的输入/输出行为。具体而言,我们旨在识别 LEC 的哪一 I/O 行为子集是属性违反的实际原因。一个重要的副产品是 LEC 的反事实版本,它通过修复所识别的问题行为来修复运行时属性。基于这一洞见,我们设计了一个两步诊断流程:(1)构建一个 Halpern-Pearl 因果关系模型,以反映属性结果对组件 I/O 行为的依赖;(2)在该模型上搜索实际原因及相应修复。我们证明该流程具有如下保证:若找到实际原因,则系统保证得到修复;否则,我们有很高的概率置信度认为所分析的 LEC 并未导致该属性违反。我们在标准 OpenAI Gym 基准上证明,本方法可成功修复学习得到的控制器。

英文摘要:

Models of actual causality leverage domain knowledge to generate convincing diagnoses of events that caused an outcome. It is promising to apply these models to diagnose and repair run-time property violations in cyber-physical systems (CPS) with learning-enabled components (LEC). However, given the high diversity and complexity of LECs, it is challenging to encode domain knowledge (e.g., the CPS dynamics) in a scalable actual causality model that could generate useful repair suggestions. In this paper, we focus causal diagnosis on the input/output behaviors of LECs. Specifically, we aim to identify which subset of I/O behaviors of the LEC is an actual cause for a property violation. An important by-product is a counterfactual version of the LEC that repairs the run-time property by fixing the identified problematic behaviors. Based on this insights, we design a two-step diagnostic pipeline: (1) construct and Halpern-Pearl causality model that reflects the dependency of property outcome on the component's I/O behaviors, and (2) perform a search for an actual cause and corresponding repair on the model. We prove that our pipeline has the following guarantee: if an actual cause is found, the system is guaranteed to be repaired; otherwise, we have high probabilistic confidence that the LEC under analysis did not cause the property violation. We demonstrate that our approach successfully repairs learned controllers on a standard OpenAI Gym benchmark.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑