VNN-LIB 2.0: Rigorous Foundations for Neural Network Verification

Ann Roy, Allen Antony, Andrea Gimelli, Matthew L. Daggitt
5/8/2026
cs.LG

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{roy2026vnnlib,
  title  = {VNN-LIB 2.0: Rigorous Foundations for Neural Network Verification},
  author = {Ann Roy and Allen Antony and Andrea Gimelli and Matthew L. Daggitt},
  year   = {2026},
  eprint = {2605.07451},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.07451v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.07451.svg)](https://codeofpaper.com/paper/2605.07451)

Discussion