Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound

David Boetius, Stefan Leue, Tobias Sutter
5/27/2024
cs.LGcs.AI

No official code found. Best implementation: sen-uni-kn/probspecs (5 stars, MIT, last commit 2025-09-22).

Abstract

Probabilistic verification problems of neural networks are concerned with formally analysing the output distribution of a neural network under a probability distribution of the inputs. Examples of probabilistic verification problems include verifying the demographic parity fairness notion or quantifying the safety of a neural network. We present a new algorithm for solving probabilistic verification problems of neural networks based on an algorithm for computing and iteratively refining lower and upper bounds on probabilities over the outputs of a neural network. By applying state-of-the-art bound propagation and branch and bound techniques from non-probabilistic neural network verification, our algorithm significantly outpaces existing probabilistic verification algorithms, reducing solving times for various benchmarks from the literature from tens of minutes to tens of seconds. Furthermore, our algorithm compares favourably even to dedicated algorithms for restricted probabilistic verification problems. We complement our empirical evaluation with a theoretical analysis, proving that our algorithm is sound and, under mildly restrictive conditions, also complete when using a suitable set of heuristics.

View on arXivView PDF

Code Implementations(1)

MIT

Probabilistic Specifcation Verification of Neural Networks

53Shell, PythonMay 11, 20241 years agoMIT

Similar Papers

Cite this paper

@article{boetius2024solving,
  title  = {Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound},
  author = {David Boetius and Stefan Leue and Tobias Sutter},
  year   = {2024},
  eprint = {2405.17556},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.17556v3},
  journal = {ICML 2024 2024}
}

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/2405.17556.svg)](https://codeofpaper.com/paper/2405.17556)

Discussion