arXiv Analytics

Sign in

arXiv:2306.10742 [cs.LG]AbstractReferencesReviewsResources

BNN-DP: Robustness Certification of Bayesian Neural Networks via Dynamic Programming

Steven Adams, Andrea Patane, Morteza Lahijanian, Luca Laurenti

Published 2023-06-19Version 1

In this paper, we introduce BNN-DP, an efficient algorithmic framework for analysis of adversarial robustness of Bayesian Neural Networks (BNNs). Given a compact set of input points $T\subset \mathbb{R}^n$, BNN-DP computes lower and upper bounds on the BNN's predictions for all the points in $T$. The framework is based on an interpretation of BNNs as stochastic dynamical systems, which enables the use of Dynamic Programming (DP) algorithms to bound the prediction range along the layers of the network. Specifically, the method uses bound propagation techniques and convex relaxations to derive a backward recursion procedure to over-approximate the prediction range of the BNN with piecewise affine functions. The algorithm is general and can handle both regression and classification tasks. On a set of experiments on various regression and classification tasks and BNN architectures, we show that BNN-DP outperforms state-of-the-art methods by up to four orders of magnitude in both tightness of the bounds and computational efficiency.

Related articles: Most relevant | Search more
arXiv:2002.04359 [cs.LG] (Published 2020-02-11)
Robustness of Bayesian Neural Networks to Gradient-Based Attacks
arXiv:2205.13900 [cs.LG] (Published 2022-05-27)
How Tempering Fixes Data Augmentation in Bayesian Neural Networks
arXiv:2101.09512 [cs.LG] (Published 2021-01-23)
Unsupervised clustering of series using dynamic programming