Fast and Scalable Bayesian Deep Learning by Weight-Perturbation in Adam

Mohammad Emtiyaz Khan, Didrik Nielsen, Voot Tangkaratt, Wu Lin, Yarin Gal +1 more
6/13/2018
stat.MLcs.AIcs.LG

Official code: emtiyaz/vadam (112 stars, last commit 2018-12-19).

Abstract

Uncertainty computation in deep learning is essential to design robust and reliable systems. Variational inference (VI) is a promising approach for such computation, but requires more effort to implement and execute compared to maximum-likelihood methods. In this paper, we propose new natural-gradient algorithms to reduce such efforts for Gaussian mean-field VI. Our algorithms can be implemented within the Adam optimizer by perturbing the network weights during gradient evaluations, and uncertainty estimates can be cheaply obtained by using the vector that adapts the learning rate. This requires lower memory, computation, and implementation effort than existing VI methods, while obtaining uncertainty estimates of comparable quality. Our empirical results confirm this and further suggest that the weight-perturbation in our algorithm could be useful for exploration in reinforcement learning and stochastic optimization.

View on arXivView PDF

Code Implementations(1)

emtiyaz/vadamOfficial100%

Code for ICML 2018 paper on "Fast and Scalable Bayesian Deep Learning by Weight-Perturbation in Adam" by Khan, Nielsen, Tangkaratt, Lin, Gal, and Srivastava

11223C, MJun 7, 20187 years ago

Cite this paper

@article{khan2018fast,
  title  = {Fast and Scalable Bayesian Deep Learning by Weight-Perturbation in Adam},
  author = {Mohammad Emtiyaz Khan and Didrik Nielsen and Voot Tangkaratt and Wu Lin and Yarin Gal and Akash Srivastava},
  year   = {2018},
  eprint = {1806.04854},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1806.04854}
}

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

Discussion