Oxford logo
[WPL+23] Matthew Wicker, Andrea Patane, Luca Laurenti, Marta Kwiatkowska. Adversarial Robustness Certification for Bayesian Neural Networks. Technical report arXiv:2306.13614, arXiv. Paper under submission. 2023. [pdf] [bib] https://arxiv.org/abs/2306.13614
Downloads:  pdf pdf (2.5 MB)  bib bib
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⊆ℝm and a set of output points S⊆ℝ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.