arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.01329cs.LGstat.ML
收藏

神经网络验证中的神经网络分支

Neural Network Branching for Neural Network Verification

University of Oxford(牛津大学)

Jingyue Lu, M. Pawan Kumar

摘要:

神经网络的形式化验证对于其在安全关键领域的部署至关重要。许多可用的形式化验证方法已被证明是一个统一的分支和界限(BaB)制定的实例。我们提出了一个新的框架,设计一个有效的分支策略的BaB。具体来说,我们学习一个图神经网络(GNN)来模仿强分支启发式行为。我们的框架不同于以前的方法学习分支在两个主要方面。首先,我们的框架直接将我们想要验证的神经网络视为GNN的图形输入。其次,我们开发了一个直观的向前和向后嵌入更新时间表。从经验上讲,与最好的手工设计的分支策略相比,我们的框架在分支数量和各种卷积网络上验证所需的时间上都实现了大致$50\%$的减少。此外,我们证明了我们的GNN模型具有水平和垂直的可转移性。横向而言,在简单属性上训练的模型在难度级别增加的属性上表现良好。在垂直方向上,在小型神经网络上训练的模型在大型神经网络上实现了类似的性能。

英文摘要:

Formal verification of neural networks is essential for their deployment in safety-critical areas. Many available formal verification methods have been shown to be instances of a unified Branch and Bound (BaB) formulation. We propose a novel framework for designing an effective branching strategy for BaB. Specifically, we learn a graph neural network (GNN) to imitate the strong branching heuristic behaviour. Our framework differs from previous methods for learning to branch in two main aspects. Firstly, our framework directly treats the neural network we want to verify as a graph input for the GNN. Secondly, we develop an intuitive forward and backward embedding update schedule. Empirically, our framework achieves roughly $50\%$ reduction in both the number of branches and the time required for verification on various convolutional networks when compared to the best available hand-designed branching strategy. In addition, we show that our GNN model enjoys both horizontal and vertical transferability. Horizontally, the model trained on easy properties performs well on properties of increased difficulty levels. Vertically, the model trained on small neural networks achieves similar performance on large neural networks.

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

↑