Make Sure You're Unsure: A Framework for Verifying Probabilistic Specifications
Not on the map. Why?
Abstract (arXiv)
Most real world applications require dealing with stochasticity like sensor noise or predictive uncertainty, where formal specifications of desired behavior are inherently probabilistic. Despite the promise of formal verification in ensuring the reliability of neural networks, progress in the direction of probabilistic specifications has been limited. In this direction, we first introduce a general formulation of probabilistic specifications for neural networks, which captures both probabilistic networks (e.g., Bayesian neural networks, MC-Dropout networks) and uncertain inputs (distributions over inputs arising from sensor noise or other perturbations). We then propose a general technique to verify such specifications by generalizing the notion of Lagrangian duality, replacing standard Lagrangian multipliers with "functional multipliers" that can be arbitrary functions of the activations at a given layer. We show that an optimal choice of functional multipliers leads to exact verification (i.e., sound and complete verification), and for specific forms of multipliers, we develop tractable practical verification algorithms. We empirically validate our algorithms by applying them to Bayesian Neural Networks (BNNs) and MC Dropout Networks, and certifying properties such as adversarial robustness and robust detection of out-of-distribution (OOD) data. On these tasks we are able to provide significantly stronger guarantees when compared to prior work -- for instance, for a VGG-64 MC-Dropout CNN trained on CIFAR-10, we improve the certified AUC (a verified lower bound on the true AUC) for robust OOD detection (on CIFAR-100) from 0% rightarrow 29%. Similarly, for a BNN trained on MNIST, we improve on the robust accuracy from 60.2% rightarrow 74.6%. Further, on a novel specification -- distributionally robust OOD detection -- we improve the certified AUC from 5% rightarrow 23%.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 23 of its 37 references that are in the map. First posted on arXiv 18 Feb 2021.
Builds on
23 of 37 references.
References · 23
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 739
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 682
- 2018Efficient Neural Network Robustness Certification with General Activation Functionscited by 439
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
- 2017Formal Verification of Piece-Wise Linear Feed-Forward Neural Networkscited by 241
- 2019Algorithms for Verifying Deep Neural Networkscited by 221
- 2018Semidefinite relaxations for certifying robustness to adversarial examplescited by 178
11 more
- 2018A Dual Approach to Scalable Verification of Deep Networkscited by 125
- 2020Enabling certification of verification-agnostic networks via memory-efficient semidefinite programmingcited by 65
- 2019Uncertainty Quantification with Statistical Guarantees in End-to-End Autonomous Driving Controlcited by 60
- 2020Probabilistic Safety for Bayesian Neural Networkscited by 41
- 2019Statistical Guarantees for the Robustness of Bayesian Neural Networkscited by 35
- 2021Bayesian Inference with Certifiable Adversarial Robustnesscited by 26
- 2020Robustness Certification of Generative Modelscited by 19
- 2019Probabilistic Verification and Reachability Analysis of Neural Networks via Semidefinite Programmingcited by 14
- 2018Verification of deep probabilistic modelscited by 8
- 2020An efficient nonconvex reformulation of stagewise convex optimization problemscited by 7
- 2020Certifiably Adversarially Robust Detection of Out-of-Distribution Datacited by 2
Built on by
Citing papers per year: 2021: 1; 2022: 4; 2023: 6; 2024: 3; 2025: 4.
18 papers.
Sort:
- 2023Provably Bounding Neural Network Preimagescited by 28
- 2022Robust Explanation Constraints for Neural Networkscited by 23
- 2023Convex Bounds on the Softmax Function with Applications to Robustness Verificationcited by 19
- 2021Provably Robust Detection of Out-of-distribution Data (almost) for freecited by 17
- 2022On the Robustness of Bayesian Neural Networks to Adversarial Attackscited by 12
- 2023BNN-DP: Robustness Certification of Bayesian Neural Networks via Dynamic Programmingcited by 8
- 2023Adversarial Robustness Certification for Bayesian Neural Networkscited by 7
- 2024Out-of-Distribution Data: An Acquaintance of Adversarial Examples -- A Surveycited by 6
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Modelscited by 5
- 2022Probabilistic Verification of ReLU Neural Networks via Characteristic Functionscited by 5
- 2023Diffusion Denoised Smoothing for Certified and Adversarial Robust Out-Of-Distribution Detectioncited by 5
- 2024Tight Verification of Probabilistic Robustness in Bayesian Neural Networkscited by 5
6 more
- 2023Probabilistic Reach-Avoid for Bayesian Neural Networkscited by 4
- 2024Solving Probabilistic Verification Problems of Neural Networks using Branch and Boundcited by 4
- 2025Probabilistically Tightened Linear Relaxation-based Perturbation Analysis for Neural Network Verificationcited by 2
- 2025BEAVER: An Efficient Deterministic LLM Verifiercited by 2
- 2025Last Layer Hamiltonian Monte Carlocited by 1
- 2025Support is All You Need for Certified VAE Trainingcited by 0
- 2025BEAVER: An Efficient Deterministic LLM Verifier5 Dec 2025
- 2025Last Layer Hamiltonian Monte Carlo11 Jul 2025
- 2025Probabilistically Tightened Linear Relaxation-based Perturbation Analysis for Neural Network Verification7 Jul 2025
- 2025Support is All You Need for Certified VAE Training16 Apr 2025
- 2024Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound27 May 2024
- 2024Out-of-Distribution Data: An Acquaintance of Adversarial Examples -- A Survey8 Apr 2024
- 2024Tight Verification of Probabilistic Robustness in Bayesian Neural Networks21 Jan 2024
- 2023Probabilistic Reach-Avoid for Bayesian Neural Networks3 Oct 2023
- 2023Adversarial Robustness Certification for Bayesian Neural Networks23 Jun 2023
- 2023BNN-DP: Robustness Certification of Bayesian Neural Networks via Dynamic Programming19 Jun 2023
- 2023Diffusion Denoised Smoothing for Certified and Adversarial Robust Out-Of-Distribution Detection27 Mar 2023
- 2023Convex Bounds on the Softmax Function with Applications to Robustness Verification3 Mar 2023
6 more
- 2023Provably Bounding Neural Network Preimages2 Feb 2023
- 2022Robust Explanation Constraints for Neural Networks16 Dec 2022
- 2022Probabilistic Verification of ReLU Neural Networks via Characteristic Functions3 Dec 2022
- 2022On the Robustness of Bayesian Neural Networks to Adversarial Attacks13 Jul 2022
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Models13 Jun 2022
- 2021Provably Robust Detection of Out-of-distribution Data (almost) for free8 Jun 2021
- 2023Provably Bounding Neural Network Preimagescited by 28
- 2022Robust Explanation Constraints for Neural Networkscited by 23
- 2023Convex Bounds on the Softmax Function with Applications to Robustness Verificationcited by 19
- 2021Provably Robust Detection of Out-of-distribution Data (almost) for freecited by 17
- 2022On the Robustness of Bayesian Neural Networks to Adversarial Attackscited by 12
- 2023BNN-DP: Robustness Certification of Bayesian Neural Networks via Dynamic Programmingcited by 8
- 2023Adversarial Robustness Certification for Bayesian Neural Networkscited by 7
- 2024Out-of-Distribution Data: An Acquaintance of Adversarial Examples -- A Surveycited by 6
- 2022Specifying and Testing k-Safety Properties for Machine-Learning Modelscited by 5
- 2022Probabilistic Verification of ReLU Neural Networks via Characteristic Functionscited by 5
- 2023Diffusion Denoised Smoothing for Certified and Adversarial Robust Out-Of-Distribution Detectioncited by 5
- 2024Tight Verification of Probabilistic Robustness in Bayesian Neural Networkscited by 5
12 most cited of 18 All 18 (JSON)
- 2025BEAVER: An Efficient Deterministic LLM Verifier5 Dec 2025
- 2025Last Layer Hamiltonian Monte Carlo11 Jul 2025
- 2025Probabilistically Tightened Linear Relaxation-based Perturbation Analysis for Neural Network Verification7 Jul 2025
- 2025Support is All You Need for Certified VAE Training16 Apr 2025
- 2024Solving Probabilistic Verification Problems of Neural Networks using Branch and Bound27 May 2024
- 2024Out-of-Distribution Data: An Acquaintance of Adversarial Examples -- A Survey8 Apr 2024
- 2024Tight Verification of Probabilistic Robustness in Bayesian Neural Networks21 Jan 2024
- 2023Probabilistic Reach-Avoid for Bayesian Neural Networks3 Oct 2023
- 2023Adversarial Robustness Certification for Bayesian Neural Networks23 Jun 2023
- 2023BNN-DP: Robustness Certification of Bayesian Neural Networks via Dynamic Programming19 Jun 2023
- 2023Diffusion Denoised Smoothing for Certified and Adversarial Robust Out-Of-Distribution Detection27 Mar 2023
- 2023Convex Bounds on the Softmax Function with Applications to Robustness Verification3 Mar 2023
12 newest of 18 All 18 (JSON)