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

DualApp:紧过逼近下的神经网络鲁棒性验证

DualApp: Tight Over-Approximation for Neural Network Robustness Verification via Under-Approximation

East China Normal University(华东师范大学);ETH Zürich(苏黎世联邦理工学院)

Yiting Wu, Zhaodi Zhang, Zhiyi Xue, Si Liu, Min Zhang

摘要:

神经网络的鲁棒性是主机系统可靠性和安全性的基础。形式化验证已被证明是有效的,提供可证明的鲁棒性保证。为了提高验证的可扩展性,人们普遍采用线性约束对神经网络中的非线性激活函数进行过逼近,将验证问题转化为一个可有效求解的线性规划问题。由于过度近似不可避免地引入高估,许多努力一直致力于定义最紧密的可能近似。然而,最近的研究表明,现有的所谓最紧密的近似是优于对方。在本文中,我们确定和报告的一个关键因素,在定义紧近似,即近似域的激活函数。我们观察到,现有的方法只依赖于高估的域,而相应的紧近似可能不一定是紧的实际域。我们提出了一种新的下近似引导的方法,称为双重近似,定义紧过近似和两个互补的下近似算法基于采样和梯度下降。被高估的领域保证了可靠性,而被低估的领域则指导了紧密性。我们将我们的方法实现到一个名为DualApp的工具中,并在84个收集和训练的具有不同架构的神经网络的综合基准上对其进行了广泛的评估。实验结果表明,DualApp优于最先进的基于近似的方法,验证结果提高了71.22%。

英文摘要:

The robustness of neural networks is fundamental to the hosting system's reliability and security. Formal verification has been proven to be effective in providing provable robustness guarantees. To improve the verification scalability, over-approximating the non-linear activation functions in neural networks by linear constraints is widely adopted, which transforms the verification problem into an efficiently solvable linear programming problem. As over-approximations inevitably introduce overestimation, many efforts have been dedicated to defining the tightest possible approximations. Recent studies have however showed that the existing so-called tightest approximations are superior to each other. In this paper we identify and report an crucial factor in defining tight approximations, namely the approximation domains of activation functions. We observe that existing approaches only rely on overestimated domains, while the corresponding tight approximation may not necessarily be tight on its actual domain. We propose a novel under-approximation-guided approach, called dual-approximation, to define tight over-approximations and two complementary under-approximation algorithms based on sampling and gradient descent. The overestimated domain guarantees the soundness while the underestimated one guides the tightness. We implement our approach into a tool called DualApp and extensively evaluate it on a comprehensive benchmark of 84 collected and trained neural networks with different architectures. The experimental results show that DualApp outperforms the state-of-the-art approximation-based approaches, with up to 71.22% improvement to the verification result.

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

↑