arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.01996cs.ETcs.SYeess.SY
收藏

通过形式化验证为信息物理系统配置安全的脉冲神经控制器

Configuring Safe Spiking Neural Controllers for Cyber-Physical Systems through Formal Verification

Arkaprava Gupta, Sumana Ghosh, Ansuman Banerjee, Swarup Kumar Mohalik

AI总结:

本文提出通过MILP形式化验证调优转换后SNN的时间窗口超参数,兼顾精度与输出安全范围,并利用紧致边界反馈和数据驱动步骤减少验证调用。

摘要:

脉冲神经网络(SNN)是神经形态模型的一个子类,由于其高能效,作为信息物理系统(CPS)中的控制器具有巨大潜力。它们可以受益于当前普遍采用的方法:首先训练一个人工神经网络(ANN),然后将其转换为SNN,并随后进行超参数调优。需要这种调优来确保所得SNN在均方误差(MSE)等指标上相对于ANN具有准确性。然而,用于安全关键型CPS的SNN控制器还必须满足安全规范,而转换方法并不能保证这一点。在本文中,我们提出了一种解决方案,通过调优转换后SNN的 temporal window(时间窗口)超参数,同时确保准确性以及对安全范围规范的合规性;该规范要求SNN输出保持在安全范围内。核心验证问题使用混合整数线性规划(MILP)建模,并使用Gurobi求解。当控制器未能满足范围规范时,我们计算SNN输出的紧致边界,作为给CPS开发者的反馈。为缓解验证的高计算成本,我们集成了数据驱动步骤以尽量减少验证调用。我们的方法使设计者有信心将高能效的SNN控制器安全集成到现代CPS中。我们通过在五个不同基准神经控制器上的实验结果展示了该方法。

英文摘要:

Spiking Neural Networks (SNNs) are a subclass of neuromorphic models that have great potential to be used as controllers in Cyber-Physical Systems (CPSs) due to their energy efficiency. They can benefit from the prevalent approach of first training an Artificial Neural Network (ANN) and then translating to an SNN with subsequent hyperparameter tuning. The tuning is required to ensure that the resulting SNN is accurate with respect to the ANN in terms of metrics like Mean Squared Error (MSE). However, SNN controllers for safety-critical CPSs must also satisfy safety specifications, which are not guaranteed by the conversion approach. In this paper, we propose a solution which tunes the $temporal$ $window$ hyperparameter of the translated SNN to ensure both accuracy and compliance with the safe range specification that requires the SNN outputs to remain within a safe range. The core verification problem is modelled using mixed-integer linear programming (MILP) and is solved with Gurobi. When the controller fails to meet the range specification, we compute tight bounds on the SNN outputs as feedback for the CPS developer. To mitigate the high computational cost of verification, we integrate data-driven steps to minimize verification calls. Our approach provides designers with the confidence to safely integrate energy-efficient SNN controllers into modern CPSs. We demonstrate our approach with experimental results on five different benchmark neural controllers.

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

↑