PreprintCited by 4,310Neural Networks and ApplicationsStochastic Gradient Optimization TechniquesTopic Modeling

On the difficulty of training recurrent neural networks

Open access
Pascanu, Razvan, Mikolov, Tomas, Bengio, Yoshua·2012·arXiv

Abstract

There are two widely known issues with properly training Recurrent Neural Networks, the vanishing and the exploding gradient problems detailed in Bengio et al. (1994). In this paper we attempt to improve the understanding of the underlying issues by exploring these problems from an analytical, a geometric and a dynamical systems perspective. Our analysis is used to justify a simple yet effective solution. We propose a gradient norm clipping strategy to deal with exploding gradients and a soft constraint for the vanishing gradients problem. We validate empirically our hypothesis and proposed solutions in the experimental section.

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.1211.5063

Cites

4 of 4 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?

  • Recurrent models are hard to correctly train.

    “and are hard to correctly train [21].”
  • RNNs with tanh or sigmoid non-linearities suffer from vanishing gradients and are poor at capturing long temporal dependencies essential for anticipation.

    “RNNs with this choice of f suffer from a well-studied problem of vanishing gradients [29], and hence are poor at capturing long temporal dependencies which are essential for anticipation.”
  • Jain et al. proposed an Autoregressive Input-Output Hidden Markov Model which fuses sensory streams through a linear transformation of features and performs better than feature concatenation.

    “They proposed an Autoregressive InputOutput Hidden Markov Model (AIO-HMM) which fuses sensory streams through a linear transformation of features and it performs better than feature concatenation [27].”

    From Recurrent Neural Networks for driver activity anticipation via sensory-fusion architecture (2016) · cites this paper as [27]

    The Introduction (p. 1) describes recurrent neural networks, and the experiments (pp. 8, 11–12) concern their training and performance. Searches for AIO-HMM, sensory-stream fusion, and feature concatenation found no passage addressing the attributed model or comparison in our copy. (LLM, conf=0.78)

    Experimental — accuracy not yet measured
  • Anticipating driving maneuvers several seconds in advance enables assistive cars to alert drivers before they make a dangerous maneuver.

    “In another application, anticipating driving maneuvers several seconds in advance [19, 27, 38, 36] enables assistive cars to alert drivers before they make a dangerous maneuver.”

    From Recurrent Neural Networks for driver activity anticipation via sensory-fusion architecture (2016) · cites this paper as [27]

    The passages from §2.2 (pp. 3–4) discuss recurrent-network dynamics, not driving. Searches for maneuver anticipation, driver alerts, and vehicle prediction found no passage in our copy addressing the claim. (LLM, conf=0.76)

    Experimental — accuracy not yet measured
  • Previous works treat anticipation as a recognition problem and train discriminative classifiers on the complete temporal context.

    “Previous works treat anticipation as a recognition problem [21, 27, 31] and train discriminative classifiers (such as SVM or CRF) on the complete temporal context.”

    From Recurrent Neural Networks for driver activity anticipation via sensory-fusion architecture (2016) · cites this paper as [27]

    The Temporal Order problem (p. 7) describes an RNN classifying symbol order at the end of a sequence, not prior work treating anticipation as recognition. The Natural problems section (p. 8) discusses music and character prediction; searches for anticipation, SVM, and CRF found no passage supporting the attributed claim. (LLM, conf=0.76)

    Experimental — accuracy not yet measured

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. Bastien, F., Lamblin, P., Pascanu, R., Bergstra, J., Goodfellow, I., Bergeron, A., Bouchard, N., and Bengio, Y. (2012). Theano: new features and speed improvements. Submited to Deep Learning and Unsupervised Feature Learning NIPS 2012 Workshop.
  2. Bengio, Y., Frasconi, P., and Simard, P. (1993). The problem of learning long-term dependencies in recurrent networks. pages 1183-1195, San Francisco. IEEE Press. (invited paper).
  3. Bengio, Y., Simard, P., and Frasconi, P. (1994). Learning long-term dependencies with gradient descent is difficult. IEEE Transactions on Neural Networks , 5 (2), 157-166.
  4. Bengio, Y., Boulanger-Lewandowski, N., and Pascanu, R. (2012). Advances in optimizing recurrent networks. Technical Report arXiv:1212.0901, U. Montreal. · arXiv
  5. Bergstra, J., Breuleux, O., Bastien, F., Lamblin, P., Pascanu, R., Desjardins, G., Turian, J., WardeFarley, D., and Bengio, Y. (2010). Theano: a CPU and GPU math expression compiler. In Proceedings of the Python for Scientific Computing Conference (SciPy) . Oral Presentation.
  6. Boulanger-Lewandowski, N., Bengio, Y., and Vincent, P. (2012). Modeling temporal dependencies in highdimensional sequences: Application to polyphonic music generation and transcription. In Proceedings of the Twenty-nine International Conference on Machine Learning (ICML'12) . ACM.
  7. Doya, K. (1993). Bifurcations of recurrent neural networks in gradient descent learning. IEEE Transactions on Neural Networks , 1 , 75-80.
  8. Doya, K. and Yoshizawa, S. (1991). Adaptive synchronization of neural and physical oscillators. In J. E. Moody, S. J. Hanson, and R. Lippmann, editors, NIPS , pages 109-116. Morgan Kaufmann.
  9. Duchi, J. C., Hazan, E., and Singer, Y. (2011). Adaptive subgradient methods for online learning and stochastic optimization. Journal of Machine Learning Research , 12 , 2121-2159.
  10. Elman, J. (1990). Finding structure in time. Cognitive Science , 14 (2), 179-211.
  11. Graves, A., Liwicki, M., Fernandez, S., Bertolami, R., Bunke, H., and Schmidhuber, J. (2009). A Novel Connectionist System for Unconstrained Handwriting Recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence , 31 (5), 855-868.
  12. Martens, J. and Sutskever, I. (2011). Learning recurrent neural networks with Hessian-free optimization. In Proc. ICML'2011 . ACM.
  13. Mikolov, T. (2012). Statistical Language Models based on Neural Networks . Ph.D. thesis, Brno University of Technology.
  14. Mikolov, T., Deoras, A., Kombrink, S., Burget, L., and Cernocky, J. (2011). Empirical evaluation and combination of advanced language modeling techniques. In Proc. 12th annual conference of the international speech communication association (INTERSPEECH 2011) .
  15. Mikolov, T., Sutskever, I., Deoras, A., Le, H.-S., Kombrink, S., and Cernocky, J. (2012). Subword language modeling with neural networks. preprint (http://www.fit.vutbr.cz/ imikolov/rnnlm/char.pdf).
  16. Rumelhart, D. E., Hinton, G. E., and Williams, R. J. (1986). Learning representations by backpropagating errors. Nature , 323 (6088), 533-536.
  17. Strogatz, S. (1994). Nonlinear Dynamics And Chaos: With Applications To Physics, Biology, Chemistry, And Engineering (Studies in Nonlinearity) . Studies in nonlinearity. Perseus Books Group, 1 edition.
  18. Sutskever, I., Martens, J., and Hinton, G. (2011). Generating text with recurrent neural networks. In L. Getoor and T. Scheffer, editors, Proceedings of the 28th International Conference on Machine Learning (ICML-11) , ICML '11, pages 1017-1024, New York, NY, USA. ACM.
  19. Werbos, P. J. (1988). Generalization of backpropagation with application to a recurrent gas market model. Neural Networks , 1 (4), 339-356.

Cited by

Sorted by citations

Authors
Pascanu, R., Mikolov, T., & Bengio, Y.
Affiliations
Université de Montréal (CA)
Venue
arXiv
Publisher
arXiv
Published
2012
ISSN
2331-8422 (ISSN-L)
OpenAlex
W1815076433
Cited by
4,310
References
4
Citations by year
2026: 15 · 2025: 184 · 2024: 358 · 2023: 413 · 2022: 408 · 2021: 592 · 2020: 621 · 2019: 673 · 2018: 459 · 2017: 309 · 2016: 157 · 2015: 67 · 2014: 39 · 2013: 12 · 2012: 1
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion)
  • arXiv (Cornell University)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Neural Networks and Applications
  • Physical Sciences › Computer Science › Artificial Intelligence › Stochastic Gradient Optimization Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
Keywords
recurrent neural networks, gradient vanishing, gradient explosion, dynamical systems analysis, training difficulty

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