Probabilistically Tightened Linear Relaxation-based Perturbation Analysis for Neural Network Verification
Luca Marzari, Ferdinando Cicalese, Alessandro Farinelli
TL;DR
PT-LiRPA introduces a probabilistic tightening of LiRPA by combining sampling-based estimation of intermediate reachable sets with classical linear relaxations to yield significantly tighter output bounds for neural network verification. Leveraging Wilks’ tolerance limits and extreme value theory, the framework provides probabilistic guarantees on bound accuracy while maintaining soundness for all inputs in the perturbation region with a controllable confidence level. Empirically, PT-LiRPA improves robustness certificates by up to $3.31\times$ (compared to probabilistic baselines) and up to $3.62\times$ (vs worst-case methods), and proves valuable on challenging VNN-COMP instances where purely formal methods struggle, with negligible computational overhead thanks to GPU-accelerated sampling. This work positions probabilistic verification as a practical complement to provable methods, offering tighter safety insights for difficult instances and enabling more informative risk assessments in neural-network safety-critical applications.
Abstract
We present $\textbf{P}$robabilistically $\textbf{T}$ightened $\textbf{Li}$near $\textbf{R}$elaxation-based $\textbf{P}$erturbation $\textbf{A}$nalysis ($\texttt{PT-LiRPA}$), a novel framework that combines over-approximation techniques from LiRPA-based approaches with a sampling-based method to compute tight intermediate reachable sets. In detail, we show that with negligible computational overhead, $\texttt{PT-LiRPA}$ exploiting the estimated reachable sets, significantly tightens the lower and upper linear bounds of a neural network's output, reducing the computational cost of formal verification tools while providing probabilistic guarantees on verification soundness. Extensive experiments on standard formal verification benchmarks, including the International Verification of Neural Networks Competition, show that our $\texttt{PT-LiRPA}$-based verifier improves robustness certificates, i.e., the certified lower bound of $\varepsilon$ perturbation tolerated by the models, by up to 3.31X and 2.26X compared to related work. Importantly, our probabilistic approach results in a valuable solution for challenging competition entries where state-of-the-art formal verification methods fail, allowing us to provide answers with high confidence (i.e., at least 99%).
