arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.13023cs.LGcs.AI
收藏

使用混合多面体可达性分析的可证明安全的神经网络训练

Provably-Safe Neural Network Training Using Hybrid Zonotope Reachability Analysis

Department of Mechanical Engineering, Georgia Institute of Technology(机械工程系,佐治亚理工学院)

Long Kiu Chung, Shreyas Kousik

AI总结:

提出一种利用缩放混合多面体可达性分析训练神经网络的方法,使其输出避开非凸不安全区域,实现可证明的安全控制,并验证了其有效性和实用性。

摘要:

尽管神经网络正越来越多地部署在安全关键的控制应用中,但对其输出施加约束仍然困难,这意味着在此类环境中难以保证安全性。虽然许多现有方法试图验证神经网络满足安全约束,但很少有方法解决如何纠正不安全的网络。少数从验证中提取训练信号的工作无法处理非凸集,并且要么保守,要么缓慢。为了开始解决这些挑战,这项工作提出了一种神经网络训练方法,该方法可以鼓励具有修正线性单元(ReLU)非线性的神经网络对非凸输入集的精确像避开非凸不安全区域。这是通过使用缩放混合多面体(scaled hybrid zonotopes)进行可达性分析实现的,这是对现有混合多面体集合表示的一种修改,使得能够通过混合整数线性规划(MILPs)对非凸多面体集进行参数化缩放,并进行可微碰撞检查。所提出的方法被证明对于多达240个神经元的网络是有效且快速的,计算复杂度由矩阵的逆运算主导,这些矩阵的大小随神经元数量以及输入和不安全集的复杂度线性增长。我们通过训练一个仿射动力系统的前向不变神经网络控制器(具有非凸输入集),以及为黑盒动力系统生成安全可达-避碰计划,证明了我们方法的实用性。

英文摘要:

Even though neural networks are being increasingly deployed in safety-critical control applications, it remains difficult to enforce constraints on their output, meaning that it is hard to guarantee safety in such settings. While many existing methods seek to verify a neural network's satisfaction of safety constraints, few address how to correct an unsafe network. The handful of works that extract a training signal from verification cannot handle non-convex sets, and are either conservative or slow. To begin addressing these challenges, this work proposes a neural network training method that can encourage the exact image of a non-convex input set for a neural network with rectified linear unit (ReLU) nonlinearities to avoid a non-convex unsafe region. This is accomplished by reachability analysis with scaled hybrid zonotopes, a modification of the existing hybrid zonotope set representation that enables parameterized scaling of non-convex polytopic sets with a differentiable collision check via mixed-integer linear programs (MILPs). The proposed method was shown to be effective and fast for networks with up to 240 neurons, with the computational complexity dominated by inverse operations on matrices that scale linearly in size with the number of neurons and complexity of input and unsafe sets. We demonstrate the practicality of our method by training a forward-invariant neural network controller for an affine dynamical system with a non-convex input set, as well as generating safe reach-avoid plans for a black-box dynamical system.

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

↑