Adversarial Robustness Certification for Bayesian Neural Networks

Matthew Wicker, Andrea Patane, Luca Laurenti, Marta Kwiatkowska
6/23/2023
cs.LGcs.AI

Official code: matthewwicker/AdversarialRobustnessCertificationForBNNs (0 stars, last commit 2025-01-31).

Abstract

We study the problem of certifying the robustness of Bayesian neural networks (BNNs) to adversarial input perturbations. Given a compact set of input points $T \subseteq \mathbb{R}^m$ and a set of output points $S \subseteq \mathbb{R}^n$, we define two notions of robustness for BNNs in an adversarial setting: probabilistic robustness and decision robustness. Probabilistic robustness is the probability that for all points in $T$ the output of a BNN sampled from the posterior is in $S$. On the other hand, decision robustness considers the optimal decision of a BNN and checks if for all points in $T$ the optimal decision of the BNN for a given loss function lies within the output set $S$. Although exact computation of these robustness properties is challenging due to the probabilistic and non-convex nature of BNNs, we present a unified computational framework for efficiently and formally bounding them. Our approach is based on weight interval sampling, integration, and bound propagation techniques, and can be applied to BNNs with a large number of parameters, and independently of the (approximate) inference method employed to train the BNN. We evaluate the effectiveness of our methods on various regression and classification tasks, including an industrial regression benchmark, MNIST, traffic sign recognition, and airborne collision avoidance, and demonstrate that our approach enables certification of robustness and uncertainty of BNN predictions.

View on arXivView PDF

Code Implementations(1)

Repository for IEEE Transaction on Neural Networks code

00TeX, JuliaJan 14, 20221 years ago

Similar Papers

Cite this paper

@article{wicker2023adversarial,
  title  = {Adversarial Robustness Certification for Bayesian Neural Networks},
  author = {Matthew Wicker and Andrea Patane and Luca Laurenti and Marta Kwiatkowska},
  year   = {2023},
  eprint = {2306.13614},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.13614v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.13614.svg)](https://codeofpaper.com/paper/2306.13614)

Discussion