PreprintCited by 145Gaussian Processes and Bayesian InferenceTopic ModelingAdversarial Robustness in Machine Learning

Bayesian Recurrent Neural Networks

Open access
Fortunato, Meire, Blundell, Charles, Vinyals, Oriol·2017·arXiv

Abstract

In this work we explore a straightforward variational Bayes scheme for Recurrent Neural Networks. Firstly, we show that a simple adaptation of truncated backpropagation through time can yield good quality uncertainty estimates and superior regularisation at only a small extra computational cost during training, also reducing the amount of parameters by 80\%. Secondly, we demonstrate how a novel kind of posterior approximation yields further improvements to the performance of Bayesian RNNs. We incorporate local gradient information into the approximate posterior to sharpen it around the current batch statistics. We show how this technique is not exclusive to recurrent neural networks and can be applied more widely to train Bayesian neural networks. We also empirically demonstrate how Bayesian RNNs are superior to traditional RNNs on a language modelling benchmark and an image captioning task, as well as showing how each of these methods improve our model over a variety of other schemes for training them. We also introduce a new benchmark for studying uncertainty for language models so future methods can be easily compared.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.1704.02798

Cites

33 of 33 references verified0 citation errors · 0 not checkable

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • In 2019, Fortunato et al. [124] used Deep learning with BBB (Bayesian RNN) on 1 dataset.

    “Fortunato et al. [124] | 2019 | arXiv | 1 | Deep learning | BBB (Bayesian RNN)”

    From A review of uncertainty quantification in deep learning: Techniques, applications and challenges (2021) · cites this paper as [124]

    The Discussion (p. 9) confirms that Fortunato and colleagues applied Bayes by Backprop to RNNs. But §6.1 (p. 6) evaluates the Penn Treebank benchmark and §6.2 (p. 9) uses the MSCOCO dataset, so the table’s count of one dataset is incorrect. The passages in our copy do not establish the table’s 2019 date. (LLM, conf=0.88)

    Experimental — accuracy not yet measured
  • Bayesian RNNs performed better on an image captioning task and a language modelling benchmark than traditional RNNs.

    “They empirically yielded that Bayesian RNNs performed better on an image captioning task and a language modelling benchmark than traditional RNNs.”

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

Flagged first, then by citations

Research works printed but not linked: 19

  1. Marcin Andrychowicz, Misha Denil, Sergio Gomez, Matthew W Hoffman, David Pfau, Tom Schaul, and Nando de Freitas. Learning to learn by gradient descent by gradient descent. In Advances in Neural Information Processing Systems , pp. 3981-3989, 2016.
  2. Wray L Buntine and Andreas S Weigend. Bayesian back-propagation. Complex systems , 5(6): 603-643, 1991.
  3. Junyoung Chung, Kyle Kastner, Laurent Dinh, Kratarth Goel, Aaron C Courville, and Yoshua Bengio. A recurrent latent variable model for sequential data. In Advances in neural information processing systems , pp. 2980-2988, 2015.
  4. John S Denker and Yann Lecun. Transforming neural-net output levels to probability distributions. In Advances in neural information processing systems , pp. 853-859, 1991.
  5. John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. Journal of Machine Learning Research , 12(Jul):2121-2159, 2011.
  6. Yarin Gal and Zoubin Ghahramani. A theoretically grounded application of dropout in recurrent neural networks. In Advances in Neural Information Processing Systems , pp. 1019-1027, 2016.
  7. Alex Graves. Practical variational inference for neural networks. In Advances in Neural Information Processing Systems , pp. 2348-2356, 2011.
  8. Jos´ e Miguel Hern´ andez-Lobato and Ryan Adams. Probabilistic backpropagation for scalable learning of Bayesian neural networks. In ICML , pp. 1861-1869, 2015.
  9. Sepp Hochreiter, J¨ urgen Schmidhuber, et al. Simplifying neural nets by discovering flat minima. Advances in Neural Information Processing Systems , pp. 529-536, 1995.
  10. Diederik P Kingma, Tim Salimans, and Max Welling. Variational dropout and the local reparameterization trick. In Advances in Neural Information Processing Systems , pp. 2575-2583, 2015.
  11. Maren Mahsereci and Philipp Hennig. Probabilistic line searches for stochastic optimization. In Advances in Neural Information Processing Systems , pp. 181-189, 2015.
  12. Radford M Neal. Bayesian learning for neural networks , volume 118. Springer Science & Business Media, 2012.
  13. Rajesh Ranganath, Dustin Tran, and David Blei. Hierarchical variational models. In Proceedings of The 33rd International Conference on Machine Learning , volume 48 of Proceedings of Machine Learning Research , pp. 324-333, 2016.
  14. Danilo Jimenez Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In Proceedings of The 31st International Conference on Machine Learning , pp. 1278-1286, 2014.
  15. Daniel Soudry, Itay Hubara, and Ron Meir. Expectation backpropagation: Parameter-free training of multilayer neural networks with continuous or discrete weights. In Advances in Neural Information Processing Systems , pp. 963-971, 2014.
  16. Nitish Srivastava, Geoffrey E Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. Journal of Machine Learning Research , 15(1):1929-1958, 2014.
  17. Oriol Vinyals, Alexander Toshev, Samy Bengio, and Dumitru Erhan. Show and tell: Lessons learned from the 2015 mscoco image captioning challenge. IEEE transactions on pattern analysis and machine intelligence , 2016.
  18. Sida I Wang and Christopher D Manning. Fast dropout training. In ICML (2) , pp. 118-126, 2013.
  19. Max Welling and Yee W Teh. Bayesian learning via stochastic gradient Langevin dynamics. In Proceedings of the 28th International Conference on Machine Learning (ICML-11) , pp. 681-688, 2011.

Cited by

Sorted by citations

Authors
Fortunato, M., Blundell, C., & Vinyals, O.
Affiliations
Google (United States) (US)
Venue
arXiv
Publisher
arXiv
Published
2017
ISSN
2331-8422 (ISSN-L)
OpenAlex
W2606554264
Cited by
145
References
33
Citations by year
2025: 7 · 2024: 11 · 2023: 10 · 2022: 17 · 2021: 26 · 2020: 33 · 2019: 26 · 2018: 11 · 2017: 4
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Gaussian Processes and Bayesian Inference
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
Keywords
variational inference, uncertainty estimation, regularization, posterior approximation, Bayesian neural networks, language modeling, image captioning

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review