---
title: "A Theoretically Grounded Application of Dropout in Recurrent"
description: "Recurrent networks such as LSTM and GRU overfit easily. 30 references, cited by 269 papers here."
authors: ["Yarin Gal", "Zoubin Ghahramani"]
year: 2015
venue: "arXiv:1512.05287"
source: "https://arxiv.org/abs/1512.05287"
doi: "10.48550/arxiv.1512.05287"
arxiv: "1512.05287"
licence: "arXiv — non-exclusive licence to distribute"
licence_url: "http://arxiv.org/licenses/nonexclusive-distrib/1.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/gal-2015-theoretically-grounded-application-dropout-recurrent/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/gal-2015-theoretically-grounded-application-dropout-recurrent/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2015](https://md.research.elamur.ai/free/en/papers/2015/) / A Theoretically Grounded Application of Dropout in Recurrent Neural Networks

# A Theoretically Grounded Application of Dropout in Recurrent Neural Networks

**Authors:** [Yarin Gal](https://md.research.elamur.ai/free/en/authors/yarin-gal/) and Zoubin Ghahramani · **Year:** 2015 · **Venue:** arXiv:1512.05287 · **Licence:** [arXiv — non-exclusive licence to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

**Links:** [Publisher's page](https://arxiv.org/abs/1512.05287) · [PDF](https://arxiv.org/pdf/1512.05287) · [DOI 10.48550/arxiv.1512.05287](https://doi.org/10.48550/arxiv.1512.05287) · [arXiv 1512.05287](https://arxiv.org/abs/1512.05287) · [OpenAlex](https://openalex.org/W2212703438)

**Citations:** 766 citations (OpenAlex, 2026-10-14) · [269](https://md.research.elamur.ai/free/en/papers/gal-2015-theoretically-grounded-application-dropout-recurrent/cited-by/) in our library, of the 151,627 papers whose bibliographies we read

## Summary
Recurrent networks such as LSTM and GRU overfit easily. Earlier work concluded that dropout breaks the recurrent connections, so it was applied only to inputs and outputs, and recurrent weights went unregularised. Gal and Ghahramani recast the RNN as a Bayesian model whose weights are random variables. They approximate the posterior with a mixture of Gaussians, one component pinned at zero. Training against this variational objective turns out to be a specific dropout recipe: sample one mask per sequence and reuse it at every time step, on inputs, outputs and the recurrent layers alike. For word inputs, the embeddings are also dropped, which removes whole word types from a sentence.

The method was tested on Penn Treebank language modelling and on sentiment regression over the Cornell film reviews corpus. On Penn Treebank it set a new single-model state of the art of 73.4 test perplexity. On sentiment it was the only variant that did not overfit. The work matters because a principled derivation replaced trial-and-error, and it opens the way to uncertainty estimates in sequence models.

## Key points
- The Variational RNN samples one dropout mask per sequence and keeps it fixed across all time steps, including the recurrent (U) weights. Naive dropout instead resamples masks at every step and leaves recurrent links untouched.
- Penn Treebank: 73.4 test perplexity for a single model. An ensemble of 10 Variational LSTMs lowered the earlier ensemble result from 69.5 to 68.7, which matches a 38-model ensemble from Zaremba et al.
- The sentiment setup used 5000 Cornell film reviews, 200-word segments, 128-dimensional embeddings, 128 LSTM units, Adam, batch 128, and MC dropout with 10 samples at test time.
- An ablation over embedding dropout and recurrent dropout (each 0 or 0.5) showed that the model overfits fast unless both are strong. With no embedding dropout, raising the recurrent dropout made overfitting worse.
- Weight decay matters for this variant because it plays the role of the prior. This contradicts the usual habit of turning weight decay off when using dropout.

## Interesting ideas
- **Word-type dropout:** dropping a whole word type everywhere it occurs in a sentence stops the model from leaning on one cue word, which regularises the large embedding table.
- **One mask for the whole sequence:** reusing a single noise pattern across all positions lets regularisation reach weights that per-step noise would destabilise.
- **MC dropout at test time:** averaging several stochastic forward passes gives better predictions and, by the paper's framing, a route to uncertainty estimates.
- **Isolating a regulariser in evaluation:** the authors reduced learning-rate decay so that dropout's effect could be seen on its own, separate from the optimiser schedule.
- **Hyperparameters read as priors:** treating weight decay as a statement of prior belief explains why it should stay on alongside dropout, rather than being dropped by habit.

## For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

- **I1** (tree): gparse training could blank out entire lemma or word types per sentence, so attachment decisions rely on structure rather than memorised lexical anchors.
- **I2** (tree): when adding dropout to gparse layers that are shared across tokens, a mask fixed per sentence is a cheap variant to try against per-position masks.
- **I3** (learn): repeated dropout runs of one parser could act as extra witnesses, and arcs where the runs disagree could be routed to the LLM teacher tier instead of entering silver data.
- **I4** (learn): ablations of a new training trick should switch off confounding schedules, much like a negative control, before any gain is credited to the trick.
- **I5** (learn): when tuning gparse or the perceptron, regularisation settings should be justified explicitly and not removed by default, keeping the training design explainable.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [University of Cambridge](https://md.research.elamur.ai/free/en/universities/university-of-cambridge/) — University, Cambridge, United Kingdom · 287 works · 125,272 citations

📚 Shelves (5): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 19,503 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 18,805 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 17,959 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 17,789 works · [👁️ Computer Vision and Pattern Recognition](https://md.research.elamur.ai/free/en/shelves/computer-science/computer-vision-and-pattern-recognition/) · 3,621 works

## Cite

Cite as: Yarin Gal and Zoubin Ghahramani. 2015. A Theoretically Grounded Application of Dropout in Recurrent Neural Networks. arXiv:1512.05287.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@misc{gal2015theoretically,
  title = {{A Theoretically Grounded Application of Dropout in Recurrent Neural Networks}},
  author = {Yarin Gal and Zoubin Ghahramani},
  year = {2015},
  doi = {10.48550/arxiv.1512.05287},
  eprint = {1512.05287},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1512.05287}
}
```

- [← previous U-Net: Convolutional Networks for Biomedical Image Segmentation](https://md.research.elamur.ai/free/en/papers/ronneberger-2015-u-net-convolutional-networks-biomedical/)
- [next → On Using Very Large Target Vocabulary for Neural Machine Translation](https://md.research.elamur.ai/free/en/papers/jean-2015-very-large-target-vocabulary-neural/)
- [↑ back to papers of 2015](https://md.research.elamur.ai/free/en/papers/2015/)

## References

30 references, 8 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Martin Sundermeyer, Ralf Schlüter, and Hermann Ney. LSTM neural networks for language modeling. In INTERSPEECH, 2012. [find](https://scholar.google.com/scholar?q=Martin+Sundermeyer%2C+Ralf+Schl%C3%BCter%2C+and+Hermann+Ney%2E+LSTM+neural+networks+for+language+modeling%2E+In+INTERSPEECH%2C+2012%2E)
2. Nal Kalchbrenner and Phil Blunsom. [Recurrent continuous translation models](https://md.research.elamur.ai/free/en/papers/kalchbrenner-2013-recurrent-continuous-translation-models/). In EMNLP, 2013. (a) Combinations of p E = 0, 0.5 with p U = 0, 0.5. (b) p U = 0, ..., 0.5 with fixed p E = 0. Figure 4: Test error for Variational LSTM with various settings on the sentiment analysis task. Different dropout…
3. Ilya Sutskever, Oriol Vinyals, and Quoc VV Le. [Sequence to sequence learning with neural networks](https://md.research.elamur.ai/free/en/papers/sutskever-2014-sequence-sequence-learning-neural-networks/). In NIPS, 2014.
4. Wojciech Zaremba, Ilya Sutskever, and Oriol Vinyals. [Recurrent neural network regularization](https://md.research.elamur.ai/free/en/papers/zaremba-2014-recurrent-neural-network-regularization/). arXiv preprint arXiv:1409.2329, 2014.
5. Geoffrey E others Hinton. Improving neural networks by preventing co-adaptation of feature detectors. arXiv preprint arXiv:1207.0580, 2012. [find](https://scholar.google.com/scholar?q=Geoffrey+E+others+Hinton%2E+Improving+neural+networks+by+preventing+co%2Dadaptation+of+feature+detectors%2E+arXiv+preprint+arXiv%3A1207%2E0580%2C+2012%2E)
6. Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. [Dropout: A simple way to prevent neural networks from overfitting](https://md.research.elamur.ai/free/en/papers/srivastava-2014-dropout-simple-way-prevent/). JMLR, 2014.
7. Marius Pachitariu and Maneesh Sahani. Regularization and nonlinearities for neural language models: when are they needed? arXiv preprint arXiv:1301.5650, 2013. — [arXiv:1301.5650](https://arxiv.org/abs/1301.5650) [find](https://scholar.google.com/scholar?q=Marius+Pachitariu+and+Maneesh+Sahani%2E+Regularization+and+nonlinearities+for+neural+language+models%3A+when+are+they+needed%3F+arXiv+preprint+arXiv%3A1301%2E5650%2C+2013%2E+%E2%80%94+%5BarXiv%3A1301%2E5650%5D%28https%3A%2F%2Farxiv%2Eorg%2Fab)
8. Justin Bayer, Christian Osendorfer, Daniela Korhammer, Nutan Chen, Sebastian Urban, and Patrick van der Smagt. On fast dropout and its applicability to recurrent networks. arXiv preprint arXiv:1311.0701, 2013. — [arXiv:1311.0701](https://arxiv.org/abs/1311.0701) [find](https://scholar.google.com/scholar?q=Justin+Bayer%2C+Christian+Osendorfer%2C+Daniela+Korhammer%2C+Nutan+Chen%2C+Sebastian+Urban%2C+and+Patrick+van+der+Smagt%2E+On+fast+dropout+and+its+applicability+to+recurrent+networks%2E+arXiv+preprint+arXiv%3A1311%2E07)
9. Vu Pham, Theodore Bluche, Christopher Kermorvant, and Jerome Louradour. Dropout improves recurrent neural networks for handwriting recognition. In ICFHR. IEEE, 2014. [find](https://scholar.google.com/scholar?q=Vu+Pham%2C+Theodore+Bluche%2C+Christopher+Kermorvant%2C+and+Jerome+Louradour%2E+Dropout+improves+recurrent+neural+networks+for+handwriting+recognition%2E+In+ICFHR%2E+IEEE%2C+2014%2E)
10. Théodore Bluche, Christopher Kermorvant, and Jérôme Louradour. Where to apply dropout in recurrent neural networks for handwriting recognition? In ICDAR. IEEE, 2015. [find](https://scholar.google.com/scholar?q=Th%C3%A9odore+Bluche%2C+Christopher+Kermorvant%2C+and+J%C3%A9r%C3%B4me+Louradour%2E+Where+to+apply+dropout+in+recurrent+neural+networks+for+handwriting+recognition%3F+In+ICDAR%2E+IEEE%2C+2015%2E)
11. Danilo Jimenez Rezende, Shakir Mohamed, and Daan Wierstra. [Stochastic backpropagation and approximate inference in deep generative models](https://md.research.elamur.ai/free/en/papers/rezende-2014-stochastic-backpropagation-approximate-inference-deep/). In ICML, 2014.
12. Charles Blundell, Julien Cornebise, Koray Kavukcuoglu, and Daan Wierstra. Weight uncertainty in neural network. In ICML, 2015. [find](https://scholar.google.com/scholar?q=Charles+Blundell%2C+Julien+Cornebise%2C+Koray+Kavukcuoglu%2C+and+Daan+Wierstra%2E+Weight+uncertainty+in+neural+network%2E+In+ICML%2C+2015%2E)
13. Jose Miguel Hernandez-Lobato and Ryan Adams. Probabilistic backpropagation for scalable learning of Bayesian neural networks. In ICML, 2015. [find](https://scholar.google.com/scholar?q=Jose+Miguel+Hernandez%2DLobato+and+Ryan+Adams%2E+Probabilistic+backpropagation+for+scalable+learning+of+Bayesian+neural+networks%2E+In+ICML%2C+2015%2E)
14. Yarin Gal and Zoubin Ghahramani. Bayesian convolutional neural networks with Bernoulli approximate variational inference. arXiv:1506.02158, 2015. — [arXiv:1506.02158](https://arxiv.org/abs/1506.02158) [find](https://scholar.google.com/scholar?q=Yarin+Gal+and+Zoubin+Ghahramani%2E+Bayesian+convolutional+neural+networks+with+Bernoulli+approximate+variational+inference%2E+arXiv%3A1506%2E02158%2C+2015%2E+%E2%80%94+%5BarXiv%3A1506%2E02158%5D%28https%3A%2F%2Farxiv%2Eorg%2Fabs%2F1506%2E02158%29)
15. Diederik Kingma, Tim Salimans, and Max Welling. Variational dropout and the local reparameterization trick. In NIPS. Curran Associates, Inc., 2015. [find](https://scholar.google.com/scholar?q=Diederik+Kingma%2C+Tim+Salimans%2C+and+Max+Welling%2E+Variational+dropout+and+the+local+reparameterization+trick%2E+In+NIPS%2E+Curran+Associates%2C+Inc%2E%2C+2015%2E)
16. Anoop Korattikara Balan, Vivek Rathod, Kevin P Murphy, and Max Welling. Bayesian dark knowledge. In NIPS. Curran Associates, Inc., 2015. [find](https://scholar.google.com/scholar?q=Anoop+Korattikara+Balan%2C+Vivek+Rathod%2C+Kevin+P+Murphy%2C+and+Max+Welling%2E+Bayesian+dark+knowledge%2E+In+NIPS%2E+Curran+Associates%2C+Inc%2E%2C+2015%2E)
17. Yarin Gal and Zoubin Ghahramani. Dropout as a Bayesian approximation: Representing model uncertainty in deep learning. arXiv:1506.02142, 2015. [find](https://scholar.google.com/scholar?q=Yarin+Gal+and+Zoubin+Ghahramani%2E+Dropout+as+a+Bayesian+approximation%3A+Representing+model+uncertainty+in+deep+learning%2E+arXiv%3A1506%2E02142%2C+2015%2E)
18. Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural computation, 9(8), 1997. [find](https://scholar.google.com/scholar?q=Sepp+Hochreiter+and+J%C3%BCrgen+Schmidhuber%2E+Long+short%2Dterm+memory%2E+Neural+computation%2C+9%288%29%2C+1997%2E)
19. Kyunghyun Cho et al. [Learning phrase representations using RNN encoder–decoder for statistical machine translation](https://md.research.elamur.ai/free/en/papers/cho-2014-learning-phrase-representations-rnn-encoder/). In EMNLP, Doha, Qatar, October 2014. ACL.
20. Taesup Moon, Heeyoul Choi, Hoshik Lee, and Inchul Song. RnnDrop: A Novel Dropout for RNNs in ASR. In ASRU Workshop, December 2015. [find](https://scholar.google.com/scholar?q=Taesup+Moon%2C+Heeyoul+Choi%2C+Hoshik+Lee%2C+and+Inchul+Song%2E+RnnDrop%3A+A+Novel+Dropout+for+RNNs+in+ASR%2E+In+ASRU+Workshop%2C+December+2015%2E)
21. David JC MacKay. A practical Bayesian framework for backpropagation networks. Neural computation, 4 (3):448–472, 1992. [find](https://scholar.google.com/scholar?q=David+JC+MacKay%2E+A+practical+Bayesian+framework+for+backpropagation+networks%2E+Neural+computation%2C+4+%283%29%3A448%E2%80%93472%2C+1992%2E)
22. Radford M Neal. Bayesian learning for neural networks. PhD thesis, University of Toronto, 1995. [find](https://scholar.google.com/scholar?q=Radford+M+Neal%2E+Bayesian+learning+for+neural+networks%2E+PhD+thesis%2C+University+of+Toronto%2C+1995%2E)
23. Geoffrey E Hinton and Drew Van Camp. Keeping the neural networks simple by minimizing the description length of the weights. In COLT, pages 5–13. ACM, 1993. [find](https://scholar.google.com/scholar?q=Geoffrey+E+Hinton+and+Drew+Van+Camp%2E+Keeping+the+neural+networks+simple+by+minimizing+the+description+length+of+the+weights%2E+In+COLT%2C+pages+5%E2%80%9313%2E+ACM%2C+1993%2E)
24. David Barber and Christopher M Bishop. Ensemble learning in Bayesian neural networks. NATO ASI SERIES F COMPUTER AND SYSTEMS SCIENCES, 168:215–238, 1998. [find](https://scholar.google.com/scholar?q=David+Barber+and+Christopher+M+Bishop%2E+Ensemble+learning+in+Bayesian+neural+networks%2E+NATO+ASI+SERIES+F+COMPUTER+AND+SYSTEMS+SCIENCES%2C+168%3A215%E2%80%93238%2C+1998%2E)
25. Alex Graves. Practical variational inference for neural networks. In NIPS, 2011. [find](https://scholar.google.com/scholar?q=Alex+Graves%2E+Practical+variational+inference+for+neural+networks%2E+In+NIPS%2C+2011%2E)
26. Alan Graves, Abdel-rahman Mohamed, and Geoffrey Hinton. Speech recognition with deep recurrent neural networks. In ICASSP. IEEE, 2013. [find](https://scholar.google.com/scholar?q=Alan+Graves%2C+Abdel%2Drahman+Mohamed%2C+and+Geoffrey+Hinton%2E+Speech+recognition+with+deep+recurrent+neural+networks%2E+In+ICASSP%2E+IEEE%2C+2013%2E)
27. Bo Pang and Lillian Lee. [Seeing stars: Exploiting class relationships for sentiment categorization with respect to rating scales](https://md.research.elamur.ai/free/en/papers/pang-2005-seeing-stars-exploiting-class-relationships/). In ACL. ACL, 2005.
28. Diederik Kingma and Jimmy Ba. [Adam: A method for stochastic optimization](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/). arXiv preprint arXiv:1412.6980, 2014.
29. James Bergstra et al. Theano: a CPU and GPU math expression compiler. In Proceedings of the Python for Scientific Computing Conference (SciPy), June 2010. Oral Presentation. [find](https://scholar.google.com/scholar?q=James+Bergstra+et+al%2E+Theano%3A+a+CPU+and+GPU+math+expression+compiler%2E+In+Proceedings+of+the+Python+for+Scientific+Computing+Conference+%28SciPy%29%2C+June+2010%2E+Oral+Presentation%2E)
30. fchollet. Keras. [https://github.com/fchollet/keras](https://github.com/fchollet/keras), 2015. [↗](https://github.com/fchollet/keras)

*Updated 2 November 2026*

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
