论文标题
车辆:将神经网络验证器与交互式定理抛弃
Vehicle: Interfacing Neural Network Verifiers with Interactive Theorem Provers
论文作者
论文摘要
神经网络的验证目前是自动定理证明的热门话题。进度很快,现在有多种工具可以验证数十万个节点的网络属性。从理论上讲,这为使用神经网络组件的较大控制系统的验证打开了大门。但是,尽管工作已设法合并了这些验证者的结果以证明单个系统的较大属性,但目前尚无一般方法来弥合验证者和交互式定理掠夺(ITP)之间的差距。 在本文中,我们介绍了车辆,我们解决了这个问题。车辆配备了一种表达域的特定语言,用于陈述可以汇编为验证者和ITP的神经网络规格。它通过使用标准ONNX文件作为网络的单个规范表示,在相似的ITP形式上克服了先前的问题,并具有类似ITP形式化的可维护性和可伸缩性。我们通过使用它将神经网络验证者Marabou连接到AGDA,然后正式验证神经网络引导的汽车永远不会离开道路,即使是在不可预测的交叉风和不完善的传感器上,我们证明了它的实用性。该网络具有超过20,000个节点,因此此证明代表了3个数量级的改进,而不是关于ITP中神经网络增强系统的先前证明。
Verification of neural networks is currently a hot topic in automated theorem proving. Progress has been rapid and there are now a wide range of tools available that can verify properties of networks with hundreds of thousands of nodes. In theory this opens the door to the verification of larger control systems that make use of neural network components. However, although work has managed to incorporate the results of these verifiers to prove larger properties of individual systems, there is currently no general methodology for bridging the gap between verifiers and interactive theorem provers (ITPs). In this paper we present Vehicle, our solution to this problem. Vehicle is equipped with an expressive domain specific language for stating neural network specifications which can be compiled to both verifiers and ITPs. It overcomes previous issues with maintainability and scalability in similar ITP formalisations by using a standard ONNX file as the single canonical representation of the network. We demonstrate its utility by using it to connect the neural network verifier Marabou to Agda and then formally verifying that a car steered by a neural network never leaves the road, even in the face of an unpredictable cross wind and imperfect sensors. The network has over 20,000 nodes, and therefore this proof represents an improvement of 3 orders of magnitude over prior proofs about neural network enhanced systems in ITPs.