Cyber-Physical Systems (CPS) have been widely deployed in safety-critical domains such as transportation, power and energy. Recently, there comes an increasing demand in employing deep neural networks (DNNs) in CPS for more intelligent control and decision making in sophisticated industrial safety-critical conditions, giving birth to the class of DNN controllers. However, due to the inherent uncertainty and opaqueness of DNNs, concerns about the safety of DNN-enabled CPS are also surging. In this work, we propose an automated framework named AutoRepair that, given a safety requirement, identifies unsafe control behavior in a DNN controller and repairs them through an optimization-based method. Having an unsafe signal of system execution, AutoRepair iteratively explores the control decision space and searches for the optimal corrections for the DNN controller in order to satisfy the safety requirements. We conduct a comprehensive evaluation of AutoRepair on 6 instances of industry-level DNN-enabled CPS from different safety-critical domains. Evaluation results show that AutoRepair successfully repairs critical safety issues in the DNN controllers, and significantly improves the reliability of CPS.
翻译:物理系统和人工智能已经广泛应用于运输、能源等安全关键领域的领域。最近,在复杂工业安全关键条件下更加智能化的控制和决策方面,越来越需要在物理系统中使用深度神经网络(DNN),这就产生了一类名为DNN控制器的控制器。然而,由于DNN的不确定性和不透明性,对DNN支持下的物理系统的安全性担忧也在逐渐增长。在这项工作中,我们提出了一个自动框架,名为AutoRepair,它可以在给定的安全要求下,识别物理系统控制DNN控制器中的不安全行为,并通过基于优化的方法进行修复。当系统执行出现不安全信号时,AutoRepair会迭代地探索控制决策空间,并搜索DNN控制器的最佳修正,以满足安全要求。我们在不同安全关键领域的6个行业级别的DNN-enabled CPS实例上进行了全面评估。评估结果表明,AutoRepair成功修复了DNN控制器中的重要安全问题,并显著提高了物理系统的可靠性。