VNN-LIB 2.0:神经网络验证的严谨基础
VNN-LIB 2.0: Rigorous Foundations for Neural Network Verification
AI总结:
本文提出VNN-LIB 2.0,通过构建网络理论,提供更严谨的神经网络验证基础,解决原有版本在语法、语义和类型系统上的不足。
摘要:
神经网络验证是一个活跃且快速发展的研究领域,拥有不断扩大的求解器和工具生态系统。VNN-LIB标准被引入以支持该生态系统中的互操作性,但版本1.0在形式基础方面存在严重缺陷:缺乏精确的语法、语义和类型系统,表达能力有限,并依赖于外部定义的ONNX模型,其语义非正式且不断变化。本文通过开发VNN-LIB 2.0的理论基础来解决这些问题。我们的关键贡献是引入了“网络理论”的概念,该概念抽象地定义了神经网络模型格式所需的最小语义接口。这种抽象使VNN-LIB能够独立于任何特定ONNX版本定义,同时保持与不断演进的模型表示兼容。在此基础上,我们提出了一个更具有表达力的查询语言的正式语法,以及基于网络理论提供的数值域的类型系统,最后给出了正式语义。为了确保内部一致性,该标准在Agda定理证明器中被机械化。因此,VNN-LIB 2.0为可信的神经网络验证提供了稳健且严谨的基础。
英文摘要:
Neural network verification is an active and rapidly maturing research area, with a growing ecosystem of solvers and tools. The VNN-LIB standard was introduced to support interoperability in this ecosystem, but Version~1.0 has several serious short-comings as a formal foundation: it lacks a precise syntax, semantics, and type system, offers limited expressivity, and relies on externally defined ONNX models whose semantics are informal and constantly evolving. The latter distinguishes VNN-LIB from established standards such as SMT-LIB, where queries are self-contained and have fixed semantics. In this paper we address these challenges by developing the theoretical foundations of VNN-LIB~2.0. Our key contribution is the introduction of the notion of a \emph{network theory}, which abstractly characterises the minimal semantic interface required from a neural network model format. This abstraction enables VNN-LIB to be defined independently of any specific ONNX version while remaining compatible with evolving model representations. Building on this foundation, we present a formal syntax for a more expressive query language, a type system for it over the numeric domains provided by the network theory, and finally a formal semantics. To ensure internal consistency, the standard is mechanised in the Agda theorem prover. VNN-LIB~2.0 therefore provides robust and rigorous foundations for trustworthy neural network verification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。