Make Sure You're Unsure: A Framework for Verifying Probabilistic Specifications
Leonard Berrada, Sumanth Dathathri, Krishnamurthy Dvijotham, Robert Stanforth, Rudy Bunel, Jonathan Uesato, Sven Gowal, M. Pawan Kumar
Abstract
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 . Similarly, for a BNN trained on MNIST, we improve on the robust accuracy from . Further, on a novel specification -- distributionally robust OOD detection -- we improve the certified AUC from .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f7d5f1ee-506f-4c0b-b6b0-c7a9b26ec4dbCited by top-tier papers6
- Provably Bounding Neural Network PreimagesSuhas Kotha, Christopher Brix, J. Zico Kolter, Krishnamurthy Dvijotham et al.NeurIPS 2023 · 41 citations
- Provably Adversarially Robust Detection of Out-of-Distribution Data (Almost) for FreeAlexander Meinke, Julian Bitterwolf, Matthias HeinNeurIPS 2022 · 23 citations
- BNN-DP: Robustness Certification of Bayesian Neural Networks via Dynamic ProgrammingSteven Adams, Andrea Patane, Morteza Lahijanian, Luca LaurentiICML 2023 · 8 citations
- Robust Explanation Constraints for Neural NetworksMatthew Wicker, Juyeon Heo, Luca Costabello, Adrian WellerICLR 2023 · 3 citations
- Support is All You Need for Certified VAE TrainingChangming Xu, Debangshu Banerjee, Deepak Vasisht, Gagandeep SinghICLR 2025
Builds on2
- Enabling certification of verification-agnostic networks via memory-efficient semidefinite programmingSumanth Dathathri, Krishnamurthy Dvijotham, Alexey Kurakin, Aditi Raghunathan et al.NeurIPS 2020 · 102 citations
- An efficient nonconvex reformulation of stagewise convex optimization problemsRudy Bunel, Oliver Hinder, Srinadh Bhojanapalli, Krishnamurthy DvijothamNeurIPS 2020 · 17 citations
Related papers
- Scalable Quantitative Verification For Deep Neural NetworksTeodora Baluta, Zheng Leong Chua, Kuldeep S. Meel, Prateek SaxenaICSE 2021 · 39 citations
- DIBS: Diversity Inducing Information Bottleneck in Model EnsemblesSamarth Sinha, Homanga Bharadhwaj, Anirudh Goyal, Hugo Larochelle et al.AAAI 2021 · 43 citations
- Out of Distribution Data Detection Using Dropout Bayesian Neural NetworksAndré T. Nguyen, Fred Lu, Gary Lopez Munoz, Edward Raff et al.AAAI 2022 · 30 citations
- Unlabelled Data Improves Bayesian Uncertainty Calibration under Covariate ShiftAlex J. Chan, Ahmed M. Alaa, Zhaozhi Qian, Mihaela van der SchaarICML 2020 · 42 citations
- On the Expressiveness of Approximate Inference in Bayesian Neural NetworksAndrew Y. K. Foong, David R. Burt, Yingzhen Li, Richard E. TurnerNeurIPS 2020 · 142 citations
