Lune

NeurIPS2021Top-tier venue

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 0%→29%0\% \rightarrow 29\%. Similarly, for a BNN trained on MNIST, we improve on the robust accuracy from 60.2%→74.6%60.2\% \rightarrow 74.6\%. Further, on a novel specification -- distributionally robust OOD detection -- we improve the certified AUC from 5%→23%5\% \rightarrow 23\%.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Provably Adversarially Robust Detection of Out-of-Distribution Data (Almost) for Free cites Enabling certification of verification-agnostic networks via memory-efficient semidefinite programming
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Provably Bounding Neural Network PreimagesSuhas Kotha, Christopher Brix, J. Zico Kolter, Krishnamurthy Dvijotham et al.NeurIPS 2023 · 41 citations
  2. Provably Adversarially Robust Detection of Out-of-Distribution Data (Almost) for FreeAlexander Meinke, Julian Bitterwolf, Matthias HeinNeurIPS 2022 · 23 citations
  3. BNN-DP: Robustness Certification of Bayesian Neural Networks via Dynamic ProgrammingSteven Adams, Andrea Patane, Morteza Lahijanian, Luca LaurentiICML 2023 · 8 citations
  4. Robust Explanation Constraints for Neural NetworksMatthew Wicker, Juyeon Heo, Luca Costabello, Adrian WellerICLR 2023 · 3 citations
  5. Support is All You Need for Certified VAE TrainingChangming Xu, Debangshu Banerjee, Deepak Vasisht, Gagandeep SinghICLR 2025

Builds on2

  1. Enabling certification of verification-agnostic networks via memory-efficient semidefinite programmingSumanth Dathathri, Krishnamurthy Dvijotham, Alexey Kurakin, Aditi Raghunathan et al.NeurIPS 2020 · 102 citations
  2. An efficient nonconvex reformulation of stagewise convex optimization problemsRudy Bunel, Oliver Hinder, Srinadh Bhojanapalli, Krishnamurthy DvijothamNeurIPS 2020 · 17 citations

Related papers

  1. Scalable Quantitative Verification For Deep Neural NetworksTeodora Baluta, Zheng Leong Chua, Kuldeep S. Meel, Prateek SaxenaICSE 2021 · 39 citations
  2. DIBS: Diversity Inducing Information Bottleneck in Model EnsemblesSamarth Sinha, Homanga Bharadhwaj, Anirudh Goyal, Hugo Larochelle et al.AAAI 2021 · 43 citations
  3. 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
  4. Unlabelled Data Improves Bayesian Uncertainty Calibration under Covariate ShiftAlex J. Chan, Ahmed M. Alaa, Zhaozhi Qian, Mihaela van der SchaarICML 2020 · 42 citations
  5. On the Expressiveness of Approximate Inference in Bayesian Neural NetworksAndrew Y. K. Foong, David R. Burt, Yingzhen Li, Richard E. TurnerNeurIPS 2020 · 142 citations
Dusk over the sea between two cliffs drawn in fine vertical lines