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.
翻译:由于神经网络越来越多地被引入安全关键领域,因此越来越需要在部署之前正式核实 NN,在这项工作中,我们侧重于NN等值的正式核查问题,以证明两个NN(如原始版本和压缩版本)表现出同等行为。提出了两种方法:混合线性线性编程和间隔传播。虽然第一种方法缺乏可伸缩性,但后者仅适合结构上相似的NNP, 其重量变化较小。我们的文件贡献有四个部分。首先,我们通过证明Epsilon-equvaluation问题已经完成了理论结果。第二,我们将Tran 等人的单一NNNT路径查勘算算算算法扩展至多个NNC的设置。第三步,我们实施对等性核查的扩展算法,并评估其实际使用所需的优化。最后,我们进行了比较评价,表明我们的方法在使用方面优于以前的艺术状态,既能进行等同核查,又能进行反反反反反反反反反反反反反反反反反反的利用情况。