Improving Bayesian Neural Networks by Adversarial Sampling

Abstract

Bayesian neural networks (BNNs) have drawn extensive interest due to the unique probabilistic representation framework. However, Bayesian neural networks have limited publicized deployments because of the relatively poor model performance in real-world applications. In this paper, we argue that the randomness of sampling in Bayesian neural networks causes errors in the updating of model parameters during training and some sampled models with poor performance in testing. To solve this, we propose to train Bayesian neural networks with Adversarial Distribution as a theoretical solution. To avoid the difficulty of calculating Adversarial Distribution analytically, we further present the Adversarial Sampling method as an approximation in practice. We conduct extensive experiments with multiple network structures on different datasets, e.g., CIFAR-10 and CIFAR-100. Experimental results validate the correctness of the theoretical analysis and the effectiveness of the Adversarial Sampling on improving model performance. Additionally, models trained with Adversarial Sampling still keep their ability to model uncertainties and perform better when predictions are retained according to the uncertainties, which further verifies the generality of the Adversarial Sampling approach.

Cite

Text

Zhang et al. "Improving Bayesian Neural Networks by Adversarial Sampling." AAAI Conference on Artificial Intelligence, 2022. doi:10.1609/AAAI.V36I9.21250

Markdown

[Zhang et al. "Improving Bayesian Neural Networks by Adversarial Sampling." AAAI Conference on Artificial Intelligence, 2022.](https://mlanthology.org/aaai/2022/zhang2022aaai-improving/) doi:10.1609/AAAI.V36I9.21250

BibTeX

@inproceedings{zhang2022aaai-improving,
  title     = {{Improving Bayesian Neural Networks by Adversarial Sampling}},
  author    = {Zhang, Jiaru and Hua, Yang and Song, Tao and Wang, Hao and Xue, Zhengui and Ma, Ruhui and Guan, Haibing},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2022},
  pages     = {10110-10117},
  doi       = {10.1609/AAAI.V36I9.21250},
  url       = {https://mlanthology.org/aaai/2022/zhang2022aaai-improving/}
}