Adversarial Distillation of Bayesian Neural Network Posteriors

Kuan-Chieh Wang, Paul Vicol, James Lucas, Li Gu, Roger Grosse +1 more
6/27/2018
cs.LGstat.ML
distillationbayesian

Official code: wangkua1/apd_public (16 stars, Python, last commit 2018-10-31).

Abstract

Bayesian neural networks (BNNs) allow us to reason about uncertainty in a principled way. Stochastic Gradient Langevin Dynamics (SGLD) enables efficient BNN learning by drawing samples from the BNN posterior using mini-batches.

Show full abstract

However, SGLD and its extensions require storage of many copies of the model parameters, a potentially prohibitive cost, especially for large neural networks. We propose a framework, Adversarial Posterior Distillation, to distill the SGLD samples using a Generative Adversarial Network (GAN). At test-time, samples are generated by the GAN. We show that this distillation framework incurs no loss in performance on recent BNN applications including anomaly detection, active learning, and defense against adversarial attacks. By construction, our framework not only distills the Bayesian predictive distribution, but the posterior itself. This allows one to compute quantities such as the approximate model variance, which is useful in downstream tasks. To our knowledge, these are the first results applying MCMC-based BNNs to the aforementioned downstream applications.

View on arXivView PDF

Code Implementations(1)

Code for "Adversarial Distillation of Bayesian Neural Network Posteriors" https://arxiv.org/abs/1806.10317

162Python, Jupyter NotebookMay 23, 20188 years ago

Similar Papers

Cite this paper

@article{wang2018adversarial,
  title  = {Adversarial Distillation of Bayesian Neural Network Posteriors},
  author = {Kuan-Chieh Wang and Paul Vicol and James Lucas and Li Gu and Roger Grosse and Richard Zemel},
  year   = {2018},
  eprint = {1806.10317},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1806.10317}
}

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

Discussion