arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.02241eess.SYcs.SY
收藏

用于神经网络验证的稀疏多项式优化

Sparse Polynomial Optimisation for Neural Network Verification

Matthew Newton, Antonis Papachristodoulou

摘要:

神经网络在社会中的普及正在以越来越快的速度扩大。越来越清楚的是,在使用神经网络的系统上提供鲁棒性保证是非常重要的,特别是在安全关键型应用中。经过训练的神经网络对对抗性攻击的敏感性是其最大的缺点之一。为了提供鲁棒的保证,一种流行的成功方法是使用等式和不等式约束来约束激活函数。然而,有许多方法可以形成这些界限,在保守性和复杂性之间进行权衡。根据这些边界的复杂性,优化问题的计算时间会有所不同,较长的求解时间通常会导致更紧的边界。我们从一个不同的角度来处理这个问题,使用稀疏多项式优化理论和Positivstellenetron,它来自于真正的代数几何领域。前者利用自然级联结构的神经网络使用弦稀疏的想法,而后者断言空的半代数集与一个嵌套的家庭的非递减精度的测试,以提供严格的界限。我们表明,边界可以显着收紧,而计算时间仍然合理。我们比较了不同的求解器的求解时间,并展示了如何在增加计算时间的代价下提高精度。我们表明,通过使用这种稀疏多项式框架,可以比使用ReLU,sigmoid和tanh激活函数进行神经网络验证的其他方法提高求解时间和精度。

英文摘要:

The prevalence of neural networks in society is expanding at an increasing rate. It is becoming clear that providing robust guarantees on systems that use neural networks is very important, especially in safety-critical applications. A trained neural network's sensitivity to adversarial attacks is one of its greatest shortcomings. To provide robust guarantees, one popular method that has seen success is to bound the activation functions using equality and inequality constraints. However, there are numerous ways to form these bounds, providing a trade-off between conservativeness and complexity. Depending on the complexity of these bounds, the computational time of the optimisation problem varies, with longer solve times often leading to tighter bounds. We approach the problem from a different perspective, using sparse polynomial optimisation theory and the Positivstellensatz, which derives from the field of real algebraic geometry. The former exploits the natural cascading structure of the neural network using ideas from chordal sparsity while the later asserts the emptiness of a semi-algebraic set with a nested family of tests of non-decreasing accuracy to provide tight bounds. We show that bounds can be tightened significantly, whilst the computational time remains reasonable. We compare the solve times of different solvers and show how the accuracy can be improved at the expense of increased computation time. We show that by using this sparse polynomial framework the solve time and accuracy can be improved over other methods for neural network verification with ReLU, sigmoid and tanh activation functions.

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

↑