神经网络等价性验证的几何路径枚举法
Geometric Path Enumeration for Equivalence Verification of Neural Networks
摘要:
随着神经网络(NN)越来越多地被引入到安全关键领域,越来越需要在部署之前正式验证NN。在这项工作中,我们专注于形式化验证问题的NN等价性,其目的是证明两个NN(例如,原始和压缩版本)表现出等效的行为。针对这一问题,提出了两种方法:混合整数线性规划和区间传播。虽然第一种方法缺乏可扩展性,但后者仅适用于结构相似且权重变化较小的NN。本文的贡献主要有四个部分。首先,我们通过证明ε-等价问题是coNP-完全的,给出了一个理论结果。其次,我们扩展了Tran et al.的单神经网络几何路径枚举算法的多个神经网络的设置。在第三步中,我们实现了扩展算法的等价性验证和评估其实际使用所需的优化。最后,我们进行了比较评估,显示了我们的方法在等效性验证和反例发现方面优于先前最先进技术的用例。
英文摘要:
As neural networks (NNs) are increasingly introduced into safety-critical domains, there is a growing need to formally verify NNs before deployment. In this work we focus on the formal verification problem of NN equivalence which aims to prove that two NNs (e.g. an original and a compressed version) show equivalent behavior. Two approaches have been proposed for this problem: Mixed integer linear programming and interval propagation. While the first approach lacks scalability, the latter is only suitable for structurally similar NNs with small weight changes. The contribution of our paper has four parts. First, we show a theoretical result by proving that the epsilon-equivalence problem is coNP-complete. Secondly, we extend Tran et al.'s single NN geometric path enumeration algorithm to a setting with multiple NNs. In a third step, we implement the extended algorithm for equivalence verification and evaluate optimizations necessary for its practical use. Finally, we perform a comparative evaluation showing use-cases where our approach outperforms the previous state of the art, both, for equivalence verification as well as for counter-example finding.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。