Compiling High-Level Neural Network Specifications into VNN-LIB Queries
Not on the map. Why?
Abstract (arXiv)
The formal verification of traditional software has been revolutionised by verification-orientated languages such as Dafny and F* which enable developers to write high-level specifications that are automatically compiled down to low-level SMT-LIB queries. In contrast, neural network verification currently lacks such infrastructure, often requiring users to express requirements in formats close to the low-level VNN-LIB query format. This gap persists because targeting VNN-LIB presents unique algorithmic challenges when compared to targeting SMT-LIB: VNN-LIB is restricted to a fixed finite set of variables representing the input and outputs of the network, and even toy neural network specifications have an extremely large number of variables. In this paper, we present the first algorithm for compiling high-level neural network specifications into optimised VNN-LIB queries. Our algorithm is numerically sound and supports a far rich logical fragment than existing tools, including transformations of variables, first-class quantifiers, and specifications involving multiple networks or multiple applications of the same network. We implement this algorithm within the Vehicle framework and demonstrate that its performance is asymptotically optimal for benchmark specifications.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 10 of its 28 references that are in the map. First posted on arXiv 24 Jan 2024.
Builds on
10 of 28 references.
References · 10
- 2019An Introduction to Variational Autoencoderscited by 1,000
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 744
- 2018Verisig: verifying safety properties of hybrid systems with neural network controllerscited by 84
- 2021PRIMA: General and Precise Neural Network Certification via Scalable Convex Hull Approximationscited by 77
- 2021Learning Student-Friendly Teacher Networks for Knowledge Distillationcited by 60
- 2020Certified Monotonic Neural Networkscited by 51
- 2021DNNV: A Framework for Deep Neural Network Verificationcited by 23
- 2024Vehicle: Bridging the Embedding Gap in the Verification of Neuro-Symbolic Programscited by 14
- 2022CAISAR: A platform for Characterizing Artificial Intelligence Safety and Robustnesscited by 9
- 2023Towards a Certified Proof Checker for Deep Neural Network Verificationcited by 6
Built on by
Citing papers per year: 2025: 3.
3 papers.
- 2025Scaling LLM Test-Time Compute with Mobile NPU on Smartphonescited by 11
- 2025Proof-Carrying Neuro-Symbolic Codecited by 1
- 2025A General Framework for Property-Driven Machine Learningcited by 1
- 2025Scaling LLM Test-Time Compute with Mobile NPU on Smartphones27 Sep 2025
- 2025A General Framework for Property-Driven Machine Learning1 May 2025
- 2025Proof-Carrying Neuro-Symbolic Code16 Apr 2025