arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.06455cs.AIcs.FL
收藏

用于深度神经网络验证的增量可满足性模理论

Incremental Satisfiability Modulo Theory for Verification of Deep Neural Networks

Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Nanjing Institute of Software Technology, ISCAS(中国科学院软件研究所南京软件技术研究院)

Pengfei Yang, Zhiming Chi, Zongxin Liu, Mengyu Zhao, Cheng-Chao Huang, Shaowei Cai, Lijun Zhang

摘要:

约束求解是深度神经网络验证的基本方法。在AI安全领域,DNN可能会修改其结构和参数以进行修复或攻击。对于这种情况,我们提出了增量DNN验证问题,该问题询问DNN修改后是否仍然保持安全属性。为了解决这个问题,我们提出了一个增量可满足性模理论(SMT)算法的基础上的Reluplex框架。我们模拟了在旧的求解过程中(相对于原始网络)推断搜索分支的验证结果的配置的最重要的特征,并验证性地检查证明是否仍然对修改后的DNN有效。我们实现了我们的算法作为一个增量求解器称为DeepInc,和exerimental结果表明,DeepInc是更有效的,在大多数情况下。对于属性在修改之前和之后都成立的情况,加速可以快几个数量级,这表明DeepInc在增量搜索反例方面表现出色。在此基础上,提出了多目标DNN修复问题,并给出了一个基于增量式SMT求解算法的算法。与现有技术相比,我们的修复方法在修复的DNN上保留了更多潜在的安全属性。

英文摘要:

Constraint solving is an elementary way for verification of deep neural networks (DNN). In the domain of AI safety, a DNN might be modified in its structure and parameters for its repair or attack. For such situations, we propose the incremental DNN verification problem, which asks whether a safety property still holds after the DNN is modified. To solve the problem, we present an incremental satisfiability modulo theory (SMT) algorithm based on the Reluplex framework. We simulate the most important features of the configurations that infers the verification result of the searching branches in the old solving procedure (with respect to the original network), and heuristically check whether the proofs are still valid for the modified DNN. We implement our algorithm as an incremental solver called DeepInc, and exerimental results show that DeepInc is more efficient in most cases. For the cases that the property holds both before and after modification, the acceleration can be faster by several orders of magnitude, showing that DeepInc is outstanding in incrementally searching for counterexamples. Moreover, based on the framework, we propose the multi-objective DNN repair problem and give an algorithm based on our incremental SMT solving algorithm. Our repair method preserves more potential safety properties on the repaired DNNs compared with state-of-the-art.

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

↑