期刊文献+

安全的混成系统神经网络控制器生成与验证

Safe Neural Network Controller Synthesis and Verification for Hybrid Systems
下载PDF
导出
摘要 控制器生成是混成系统控制中的重要问题.生成具有安全保证的控制器,关系着混成系统在安全攸关领域的使用.提出了一种为混成系统生成具有安全保证的神经网络控制器的方法.神经网络控制器的安全性由与其同时生成的障碍证书保证.为了生成安全的神经网络控制器,首先确定控制器的网络结构,并基于混成系统构造训练数据集;然后,根据保证控制器安全的障碍证书条件编码神经网络训练时的损失函数.当训练完成后,学习到的神经网络控制器对于训练数据集中的数据是安全的,但对于整个混成系统可能并不安全.为了检验学习到的控制器在整个系统上的安全性,将其安全验证问题转化为一组混合整数规划问题,并使用数值优化器求解,以得到形式化保证的结果.工作实现了安全神经网络控制器生成工具SafeNC,并评估了它在8个基准系统上的性能.实验结果表明:SafeNC可以生成包含6个隐藏层的具有1804个神经元的安全神经网络控制器;同时,与现有方法相比,SafeNC可为更复杂的系统生成安全的神经网络控制器,更有效且更具扩展性. Controller synthesis is a fundamental problem in hybrid system control.The synthesis of safe controllers is related to the use of hybrid systems in safety-critical fields.This study proposes a novel approach to synthesizing neural network controllers with safety guarantees for hybrid systems.The safety of neural network controllers is guaranteed by barrier certificates,which are simultaneously synthesized with the controllers.To learn safe neural network controllers,first,the network structures of the controllers are determined,and the training datasets are constructed based on the hybrid system.Then,the loss function of network training is encoded based on the barrier certificate conditions guaranteeing the safety of the controllers.When the training process completes,the learned controllers are safe on training datasets but may not be safe on the whole hybrid system.To verify the safety of the learned controllers on the whole system,this study transforms the certification of safety conditions into a group of mixed-integer programming problems and adopts the numerical optimization solver to get formally guaranteed results.The safe neural network controller synthesis tool SafeNC is implemented and its performance on 8 benchmark systems is evaluated.SafeNC successfully synthesizes large controllers with up to 6 hidden layers and 1804 neurons.The experimental results show that SafeNC can deal with more complex systems,and is more effective and scalable than the existing methods.
作者 赵庆晔 王豫 李宣东 ZHAO Qing-Ye;WANG Yu;LI Xuan-Dong(State Key Laboratory for Novel Software Technology(Nanjing University),Nanjing 210023,China)
出处 《软件学报》 EI CSCD 北大核心 2023年第7期2981-3001,共21页 Journal of Software
基金 国家自然科学基金(62172211,62172210,62172200) 江苏省自然科学基金(BK20202001)。
关键词 混成系统 安全控制 神经网络控制器 障碍证书 混合整数规划 hybrid system safety control neural network controller barrier certificate mixed-integer programming
  • 相关文献

参考文献2

二级参考文献24

  • 1Alur R,Courcoubetis C,Halbwachs N,Henzinger T,Ho PH,Nicollin X,Olivero A,Sifakis J,Yovine S.The algorithmic analysis of hybrid systems.Theoretical Computer Science,1995,138(1):3-34.[doi:10.1016/0304-3975(94)00202-T].
  • 2Alur R,Courcoubetis C,Henzinger TA,Ho PH.Hybrid automata:An algorithmic approach to the specification and verification of hybrid systems.In:Proc.of the Hybrid Systems.LNCS 736,Springer-Verlag,1993.209-229.[doi:10.1007/3-540-57318-6_30].
  • 3Bu L,Li Y,Wang LZ,Chen X,Li XD.Bach 2:Bounded reachability checker for compositional linear hybrid systems.In:Proc.of the Conf.on Design,Automation and Test in Europe.European Design and Automation Association,2010.1512-1517.[doi:10.1109/DATE.2010.5457051].
  • 4Gulwani S,Tiwari A.Constraint-Based approach for analysis of hybrid systems.In:Proc.of the CAV 2008.LNCS 5123,Springer-Verlag,2008.19? 03.[doi:10.1007/978-3-540-70545-1_18].
  • 5Henzinger TA,Sifakis J.The embedded systems design challenge.In:Proc.of the FM 2006.LNCS 4085,Springer-Verlag,2006.1-15.[doi:10.1007/11813040_1].
  • 6Lee E.What's ahead for embedded software? IEEE Computer,2000,33(9):18-26.[doi:10.1109/2.868693].
  • 7Maler O,Manna Z,Pnueli A.From timed to hybrid systems.In:Proc.of the Real-Time:Theory in Practice,REX Workshop.Springer-Verlag,1992.447-484.[doi:10.1007/BFb0032003].
  • 8Zhan NJ,Wang SL,Zhao HJ.Formal modelling,analysis and verification of hybrid systems.In:Proc.of the Unifying Theories of Programming and Formal Engineering Methods.LNCS 8050,Springer-Verlag,2013.207-281.[doi:10.1007/978-3-642-39721-9_5].
  • 9Henzinger TA,Ho PH.Algorithmic analysis of nonlinear hybrid systems.In:Proc.of the CAV'95.LNCS 939,Springer-Verlag,1995.225-238.[doi:10.1007/3-540-60045-0_53].
  • 10Lafferriere G,Pappas GJ,Yovine S.Symbolic reachability computation for families of linear vector fields.Journal of Symbolic Computation,2001,32(3):231-253.[doi:10.1006/jsco.2001.0472].

共引文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部