Adversarial Examples Detection with Bayesian Neural Network

Yao Li, Tongyi Tang, Cho-Jui Hsieh, Thomas C. M. Lee
5/18/2021
stat.MLcs.CVcs.LG
bayesian

Official code: BayesianDetection/BayesianDetection (5 stars, Python, last commit 2021-08-26).

Abstract

In this paper, we propose a new framework to detect adversarial examples motivated by the observations that random components can improve the smoothness of predictors and make it easier to simulate the output distribution of a deep neural network. With these observations, we propose a novel Bayesian adversarial example detector, short for BATer, to improve the performance of adversarial example detection.

Show full abstract

Specifically, we study the distributional difference of hidden layer output between natural and adversarial examples, and propose to use the randomness of the Bayesian neural network to simulate hidden layer output distribution and leverage the distribution dispersion to detect adversarial examples. The advantage of a Bayesian neural network is that the output is stochastic while a deep neural network without random components does not have such characteristics. Empirical results on several benchmark datasets against popular attacks show that the proposed BATer outperforms the state-of-the-art detectors in adversarial example detection.

View on arXivView PDF

Code Implementations(1)

50PythonFeb 9, 20215 years ago

Similar Papers

Cite this paper

@article{li2021adversarial,
  title  = {Adversarial Examples Detection with Bayesian Neural Network},
  author = {Yao Li and Tongyi Tang and Cho-Jui Hsieh and Thomas C. M. Lee},
  year   = {2021},
  eprint = {2105.08620},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.08620}
}

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/2105.08620.svg)](https://codeofpaper.com/paper/2105.08620)

Discussion