arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.13508cs.LG
收藏

DeepBern-Nets:使用 Bernstein 多项式激活函数和精确边界传播驯服神经网络认证的复杂性

DeepBern-Nets: Taming the Complexity of Certifying Neural Networks using Bernstein Polynomial Activations and Precise Bound Propagation

University of California, Irvine(加州大学欧文分校)

Haitham Khedr, Yasser Shoukry

AI总结:

本文提出 DeepBern-Nets,利用 Bernstein 多项式替代 ReLU 激活函数,并设计 Bern-IBP 算法高效计算输出紧密边界,显著提升了大规模神经网络形式化认证的可扩展性与准确率。

摘要:

神经网络的形式化认证对于确保其安全性、公平性和鲁棒性至关重要。不幸的是,一方面,基于 ReLU 的神经网络(NN)的可靠且完备的认证算法无法扩展到大规模神经网络。另一方面,不完备的认证算法更容易计算,但它们会产生松弛的边界,且这种边界会随着神经网络深度的增加而退化,从而削弱了它们的有效性。在本文中,我们提出以下问题:我们能否用一种新的激活函数替换 ReLU 激活函数,从而为易于计算且能在神经网络输出上产生紧密边界的不完备认证算法打开大门?我们引入了 DeepBern-Nets,这是一类使用基于 Bernstein 多项式的激活函数代替常用 ReLU 激活函数的神经网络。Bernstein 多项式是平滑且可微的函数,具有诸如所谓的范围封闭和细分等理想特性。我们设计了一种名为 Bern-IBP 的新颖算法,以高效计算 DeepBern-Nets 输出的紧密边界。我们的方法利用 Bernstein 多项式的特性来提高神经网络认证任务的可处理性,同时保持训练网络的准确性。我们在对抗鲁棒性和可达性分析设置下进行了全面实验,以评估所提出的 Bernstein 多项式激活在增强认证过程中的有效性。我们提出的框架在对抗训练的神经网络上实现了较高的认证准确率,这对于基于 ReLU 的神经网络认证器来说通常是一项具有挑战性的任务。此外,使用 Bern-IBP 边界进行认证训练,与 ReLU 网络相比,能够使神经网络达到最先进的认证准确率。这项工作确立了 Bernstein 多项式激活作为一种有前景的替代方案,可用于改善各种应用中的神经网络认证任务。

英文摘要:

Formal certification of Neural Networks (NNs) is crucial for ensuring their safety, fairness, and robustness. Unfortunately, on the one hand, sound and complete certification algorithms of ReLU-based NNs do not scale to large-scale NNs. On the other hand, incomplete certification algorithms are easier to compute, but they result in loose bounds that deteriorate with the depth of NN, which diminishes their effectiveness. In this paper, we ask the following question; can we replace the ReLU activation function with one that opens the door to incomplete certification algorithms that are easy to compute but can produce tight bounds on the NN's outputs? We introduce DeepBern-Nets, a class of NNs with activation functions based on Bernstein polynomials instead of the commonly used ReLU activation. Bernstein polynomials are smooth and differentiable functions with desirable properties such as the so-called range enclosure and subdivision properties. We design a novel algorithm, called Bern-IBP, to efficiently compute tight bounds on DeepBern-Nets outputs. Our approach leverages the properties of Bernstein polynomials to improve the tractability of neural network certification tasks while maintaining the accuracy of the trained networks. We conduct comprehensive experiments in adversarial robustness and reachability analysis settings to assess the effectiveness of the proposed Bernstein polynomial activation in enhancing the certification process. Our proposed framework achieves high certified accuracy for adversarially-trained NNs, which is often a challenging task for certifiers of ReLU-based NNs. Moreover, using Bern-IBP bounds for certified training results in NNs with state-of-the-art certified accuracy compared to ReLU networks. This work establishes Bernstein polynomial activation as a promising alternative for improving NN certification tasks across various applications.

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

↑