SAVER: A Toolbox for Sampling-Based, Probabilistic Verification of Neural Networks
Vignesh Sivaramakrishnan, Krishna C. Kalagarla, Rosalyn Devonport, Joshua Pilipovsky, Panagiotis Tsiotras, Meeko Oishi
TL;DR
SAVER addresses the challenge of probabilistic verification for neural networks under input uncertainty by introducing a sampling-based toolbox that estimates the likelihood of outputs lying in a target set using empirical CDFs and guarantees from the Dvoretzky-Kiefer-Wolfowitz inequality and scenario optimization. It encodes specifications with signed distance functions (SDFs), enabling straightforward set enlargement or reduction via a level-set parameter $\theta$ to satisfy a user-defined probability $1-\Delta$. The paper formalizes the problem, derives sample-complexity bounds, and demonstrates three applications (feedforward networks, image classifiers, and TaxiNet) to illustrate how to compute required samples and perform probabilistic satisfaction checks or adjustments. Overall, SAVER offers a practical, extensible framework for probabilistic NN verification with quantifiable confidence, suitable for safety-critical domains. The key contribution is a unified, SDF-based, data-driven verification workflow that yields both probabilistic guarantees and actionable set-tuning to meet specified reliability levels.
Abstract
We present a neural network verification toolbox to 1) assess the probability of satisfaction of a constraint, and 2) synthesize a set expansion factor to achieve the probability of satisfaction. Specifically, the tool box establishes with a user-specified level of confidence whether the output of the neural network for a given input distribution is likely to be contained within a given set. Should the tool determine that the given set cannot satisfy the likelihood constraint, the tool also implements an approach outlined in this paper to alter the constraint set to ensure that the user-defined satisfaction probability is achieved. The toolbox is comprised of sampling-based approaches which exploit the properties of signed distance function to define set containment.
