arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.01932cs.LG
收藏

面向形式化验证的全自动神经网络缩减

Fully Automatic Neural Network Reduction for Formal Verification

Technical University of Munich(慕尼黑工业大学)

Tobias Ladner, Matthias Althoff

AI总结:

本文提出一种基于可达性分析的全自动可靠神经网络缩减方法,在验证过程中在线缩减网络规模,适用于ReLU、sigmoid、tanh及卷积网络,显著缩短形式化验证时间。

摘要:

神经网络在安全关键应用中部署之前,对其进行形式化验证至关重要。然而,现有的神经网络形式化验证方法在严格时间约束下尚不具备足够的可扩展性以处理实际问题。我们通过引入一种利用可达性分析的全自动且可靠的神经网络缩减方法来应对这一挑战。可靠性确保了对缩减后网络的验证能够蕴含对原始网络的验证。我们的可靠缩减方法适用于具有任意逐元素激活函数的神经网络,例如ReLU、sigmoid和tanh。网络缩减在验证原始网络及其规范的同时在线计算。所有参数均自动调节,以在不损害可验证性的前提下最小化网络规模。我们进一步通过显式利用相似的相邻像素,展示了该方法对卷积神经网络的适用性。我们的评估表明,该方法能将大型神经网络缩减到原始神经元数量的一小部分,从而将验证时间缩短到相似程度。

英文摘要:

Formal verification of neural networks is essential before their deployment in safety-critical applications. However, existing methods for formally verifying neural networks are not yet scalable enough to handle practical problems under strict time constraints. We address this challenge by introducing a fully automatic and sound reduction of neural networks using reachability analysis. The soundness ensures that the verification of the reduced network entails the verification of the original network. Our sound reduction approach is applicable to neural networks with any type of element-wise activation function, such as ReLU, sigmoid, and tanh. The network reduction is computed on the fly while simultaneously verifying the original network and its specification. All parameters are automatically tuned to minimize the network size without compromising verifiability. We further show the applicability of our approach to convolutional neural networks by explicitly exploiting similar neighboring pixels. Our evaluation shows that our approach reduces large neural networks to a fraction of the original number of neurons and thus shortens the verification time to a similar degree.

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

↑