arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.06379cs.AI
收藏

Vehicle:弥合神经符号程序验证中的嵌入鸿沟

Vehicle: Bridging the Embedding Gap in the Verification of Neuro-Symbolic Programs

University of Western Australia(西澳大利亚大学);Well-Typed(Well-Typed公司);University of Strathclyde(思克莱德大学);Heriot-Watt University(赫瑞-瓦特大学);University of Birmingham(伯明翰大学)

Matthew L. Daggitt, Wen Kokke, Robert Atkey, Ekaterina Komendantskaya, Natalia Slusarz, Luca Arnaboldi

AI总结:

本文提出 Vehicle 验证条件语言,通过通用分解与定制类型化编译流程,弥合神经符号程序验证中的嵌入鸿沟,并成功验证神经网络自动驾驶汽车的安全性。

摘要:

神经符号程序,即同时包含机器学习组件和传统符号代码的程序,正变得越来越普遍。由于涉及的工具数量众多,以及“神经”与“符号”程序组件之间复杂的接口,寻找一种通用的方法来验证此类程序极具挑战性。在本文中,我们提出了神经符号验证问题的一种通用分解方法,并研究了当人们试图结合关于神经组件和符号组件的证明时出现的嵌入鸿沟问题。为解决这一问题,我们随后引入了 Vehicle——作为“验证条件语言”的缩写——一种介于机器学习框架、自动定理证明器以及神经符号程序的依赖类型形式化之间的中间编程语言接口。Vehicle 允许用户一次性指定神经符号程序中神经组件的性质,然后通过定制的类型化与编译流程,将该规范安全地编译到每个接口。我们对 Vehicle 的整体设计、其接口以及编译与类型检查流程进行了高层次概述,然后通过形式化验证一个由神经网络控制的简单自动驾驶汽车在具有不完美信息的随机环境中运行的安全性,展示了它的实用性。

英文摘要:

Neuro-symbolic programs, i.e. programs containing both machine learning components and traditional symbolic code, are becoming increasingly widespread. Finding a general methodology for verifying such programs is challenging due to both the number of different tools involved and the intricate interface between the ``neural'' and ``symbolic'' program components. In this paper we present a general decomposition of the neuro-symbolic verification problem into parts, and examine the problem of the embedding gap that occurs when one tries to combine proofs about the neural and symbolic components. To address this problem we then introduce Vehicle -- standing as an abbreviation for a ``verification condition language'' -- an intermediate programming language interface between machine learning frameworks, automated theorem provers, and dependently-typed formalisations of neuro-symbolic programs. Vehicle allows users to specify the properties of the neural components of neuro-symbolic programs once, and then safely compile the specification to each interface using a tailored typing and compilation procedure. We give a high-level overview of Vehicle's overall design, its interfaces and compilation & type-checking procedures, and then demonstrate its utility by formally verifying the safety of a simple autonomous car controlled by a neural network, operating in a stochastic environment with imperfect information.

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

↑