# A Critical Review of Recurrent Neural Networks for Sequence Learning

Recurrent networks with gated memory cells learn long sequences in practice

Zachary C. Lipton, John Berkowitz, Charles Elkan · arXiv · 2015-5-29

- **Problem** Standard networks forget their state between examples and expect fixed-length inputs, while Markov models cannot track long context. Recurrent networks were hard to train because errors vanish or explode across many time steps.
- **Method** The LSTM replaces each hidden node with a memory cell that has a fixed self-connected edge of weight one. Gates control what enters and leaves the cell, so gradients can pass across many steps.
- **Results** Sutskever et al.'s sequence to sequence LSTM scored 34.81 BLEU on English to French translation.

## Why fixed windows and Markov models fall short

Standard networks lose their entire state after each example, which is a problem when data points are related in time or space. Video frames, audio snippets and words in a sentence are exactly the settings where treating examples as independent breaks down. Standard networks also expect fixed-length vectors, so inputs and outputs of varying length need a different design.

One workaround feeds a sliding window of neighbouring inputs to the model, which the paper ties to deep belief nets for speech.

Hidden Markov models face the same limit in a different form, because their states must come from a modestly sized discrete space. Inference scales as O(\|S\|^2) and the transition table also has size \|S\|^2, so a large state set becomes infeasible. Widening the context by making the state a cross product of past states grows the state space exponentially with the window size.

## How a recurrent hidden state carries context

The central move is to feed each hidden layer's previous state back into that layer at the next step. That recurrent edge lets the hidden state summarize context that can reach far past the current input.

At each step the hidden state combines the current input with the previous state, and the output is a softmax over the hidden state. \\\[ h^{(t)} = \\sigma(W\_{hx} x^{(t)} + W\_{hh} h^{(t-1)} + b\_h), \\qquad \\hat{y}^{(t)} = \\mathrm{softmax}(W\_{yh} h^{(t)} + b\_y) \\\]

Capacity is what makes this workable, because N binary hidden nodes already distinguish 2^N states. The cost of inference and training grows at most quadratically with the number of nodes, which keeps the model trainable.

Backpropagation through time then trains this unfolded network, a method Werbos introduced in 1990.

## Elman's XOR check on time-domain data

Elman tested whether a simple recurrent network could learn time dependencies by extending XOR to the time domain. Each three-token segment has its first two tokens chosen at random, and the third token is the XOR of the first two.

Random guessing scores 50%, while a perfect system that predicts only the third token would reach 66.7%. The simple Elman network approaches that 66.7% ceiling, which is the result this check is built to test.

The check covers one toy task with three-token segments, so it says nothing about longer sequences or real data.

## Why vanishing and exploding gradients block long-range learning

Training recurrent networks has long been considered hard, and even standard feedforward optimization is NP-complete. Long-range dependencies make the problem worse because error must travel back through many time steps.

Because the recurrent weight is tied across steps, the effect of an input at time τ on an output at time t grows or shrinks exponentially in t minus τ. Whether it explodes or vanishes depends on whether the recurrent weight magnitude is above or below 1 and on the hidden activation function.

A sigmoid makes vanishing the bigger worry, while a rectified linear unit makes exploding easier to picture. Pascanu et al. analysed exactly when each problem can occur, which the authors cite as a basis for training remedies.

The excerpt describes a hybrid in which the saddle-free Newton method runs only where SGD seems stuck. Full Newton updates need the Hessian, which scales quadratically with the number of parameters and is prohibitively expensive for large networks.

## How LSTM gates keep error flowing

The LSTM replaces each ordinary hidden node with a memory cell whose internal state has a self-connected edge of fixed weight one. That fixed edge lets the gradient pass across many time steps without vanishing or exploding. The name reflects that slowly changing weights hold long-term knowledge, while the memory cell adds storage between weights and ephemeral activations.

The internal state is the constant error carousel, a linear node whose self-edge keeps error circulating across steps. Input and output gates are sigmoidal units, and a gate with value zero cuts off flow from the node it multiplies.

The full update for a modern LSTM with forget gates is written as follows. \\\[ g^{(t)} = \\phi(W\_{gx} x^{(t)} + W\_{gh} h^{(t-1)} + b\_g), \\quad s^{(t)} = g^{(t)} \\odot i^{(t)} + s^{(t-1)} \\odot f^{(t)}, \\quad h^{(t)} = \\phi(s^{(t)}) \\odot o^{(t)} \\\] The paper uses tanh for the input node g, following Zaremba and Sutskever, whereas the original LSTM paper used a sigmoid there.

Gers and Schmidhuber reported that peephole connections improve performance on timing tasks that require precise intervals between events.

The bidirectional recurrent network takes another route, with two hidden layers that both connect to the input and the output. One layer runs forward through the past, and the other runs backward, so the output can draw on future inputs as well.

## Translation results and their scope

Sutskever et al. translate with two multilayered LSTMs, one encoding the source phrase and one decoding the target phrase. The source is fed in reverse order, the decoder starts from the encoder's final state, and beam search picks the output words at inference time.

On English to French translation the model scored 34.81 BLEU, which the authors say beats earlier neural NLP systems and matches the best non-neural results. When the model reranks candidates from another system, its BLEU score rises to 36.5. Reranking is a separate setting, so the 36.5 figure does not replace the 34.81 result.

The implementation used eight GPUs and took 10 days, with one GPU per LSTM layer and four more used for softmax. Each hidden layer had 1000 nodes, with an input vocabulary of 160,000 words and an output vocabulary of 80,000 words.

Auli et al. report 28.5 BLEU on French-English translation with a lattice-based decoder over word embeddings. Because the two papers report different language directions, the paper says the two models can't be compared directly.

## Why BLEU and METEOR are imperfect

Translation and captioning can have several correct outputs, and a labeled example may hold several reference translations. Comparing against that gold standard is harder than scoring a binary classifier.

BLEU is the geometric mean of modified n-gram precisions up to N, with a brevity penalty for short outputs. \\\[ B = \\begin{cases} 1 & \\text{if } c \> r \\\\ e^{1-r/c} & \\text{if } c \\le r \\end{cases}, \\qquad \\mathrm{BLEU} = B \\cdot \\exp\\left(\\frac{1}{N}\\sum\_{n=1}^{N} \\log p\_n\\right) \\\] A typical value for N is 4, which the paper says maximizes agreement with human raters.

BLEU tracks human judgement across large sets of translations but does not predict scores for single sentences.

METEOR matches words explicitly, including synonyms and stemming, and combines an F-score with a fragmentation penalty. Its calculation is more involved, so reproducing a reported score requires the same stemming and synonym rules. Performance metrics are weak proxies for the true objectives, which makes truly stronger systems hard to separate from metric overfitting.

## Open problems and limits of the evidence

The bidirectional design can't run continuously, because it needs fixed endpoints in both the future and the past. It is also not an appropriate choice for the online setting.

The review finds that recent gains come mainly from new architectures rather than from fundamentally new algorithms. The authors therefore suggest automating model search, for example with genetic algorithms or a Markov chain Monte Carlo approach.

The translation numbers are quoted from the original papers, not measured in this review. Extending this work to longer texts and dialogue systems is left open.

## Paper info

- **Authors**: Zachary C. Lipton, John Berkowitz, Charles Elkan
- **Venue**: arXiv · Preprint
- **First published**: 2015-5-29
- **Added**: 2026-11-12
- **Updated**: 2015-10-17
- **Version**: v4
- **arXiv**: 1506.00019
- **Category**: cs.LG · cs.NE
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1506.00019v4) · [PDF ↗](https://arxiv.org/pdf/1506.00019v4)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Zachary C. Lipton, John Berkowitz, Charles Elkan (2015). A Critical Review of Recurrent Neural Networks for Sequence Learning. arXiv:1506.00019v4. https://arxiv.org/abs/1506.00019v4

**BibTeX**

```
@misc{lipton2015critical,
  title = {{A Critical Review of Recurrent Neural Networks for Sequence Learning}},
  author = {Zachary C. Lipton and John Berkowitz and Charles Elkan},
  year = {2015},
  eprint = {1506.00019},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1506.00019v4}
}
```

## Other paper commentary

- [BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer](https://refivu.com/en/papers/aebeacc7-489d-4871-a367-3a0b5ad01794-bert4rec-sequential-recommendation-with-bidirectional.md)
- [A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks](https://refivu.com/en/papers/22cf25fe-084f-44ca-aecf-bc06457c3a2c-a-baseline-for-detecting-misclassified-and-out-of.md)
- [1D Convolutional Neural Networks and Applications: A Survey](https://refivu.com/en/papers/03cdd780-b48e-4098-95e8-ba82fd387ae9-1d-convolutional-neural-networks-and-applications-a-survey.md)
- [Recurrent Neural Network Regularization](https://refivu.com/en/papers/317651d8-c32f-47cc-ad63-48860741508c-recurrent-neural-network-regularization.md)
- [Distillation as a Defense to Adversarial Perturbations against Deep Neural Networks](https://refivu.com/en/papers/c5136527-4bfb-4b86-9a2a-78184dd93989-distillation-as-a-defense-to-adversarial-perturbations.md)
- [Progressive Neural Networks](https://refivu.com/en/papers/312c9749-ed9b-42c3-9bf3-bb139310d4dd-progressive-neural-networks.md)
- [Deeply-Recursive Convolutional Network for Image Super-Resolution](https://refivu.com/en/papers/93708dc4-53eb-4a15-aff5-a1add13038bd-deeply-recursive-convolutional-network-for-image-super.md)
- [Sparse Subspace Clustering: Algorithm, Theory, and Applications](https://refivu.com/en/papers/cf801d50-c51a-4e90-bfdb-a39a2831b982-sparse-subspace-clustering-algorithm-theory-and-applications.md)
- [FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence](https://refivu.com/en/papers/27ff414d-b089-4a7d-a1a9-f034b06aaeeb-fixmatch-simplifying-semi-supervised-learning-with.md)
- [Deep Learning for Generic Object Detection: A Survey](https://refivu.com/en/papers/6b64d3ea-110c-4de2-b0a0-60ecbb1444e1-deep-learning-for-generic-object-detection-a-survey.md)
- [Deep Domain Confusion: Maximizing for Domain Invariance](https://refivu.com/en/papers/78355c0b-ea0b-40c0-919e-e78a08fdcf93-deep-domain-confusion-maximizing-for-domain-invariance.md)
- [A Tutorial on Principal Component Analysis](https://refivu.com/en/papers/6c1b9168-7aa0-40d4-97a5-859e8217739b-a-tutorial-on-principal-component-analysis.md)

## Terms in this paper

- [Stochastic Gradient Descent](https://refivu.com/en/terms/a49650824022-stochastic-gradient-descent)
- [backpropagation](https://refivu.com/en/terms/e09284f057ac-backpropagation)
- [Image Captioning](https://refivu.com/en/terms/9597f1623624-image-captioning)
- [softmax](https://refivu.com/en/terms/4a7673b6518d-softmax)
- [long short-term memory](https://refivu.com/en/terms/1eac61fff4b1-long-short-term-memory)
- [recurrent neural networks](https://refivu.com/en/terms/326dd1d8cc5b-recurrent-neural-networks)
- [METEOR](https://refivu.com/en/terms/71303f52a19d-meteor)
- [backpropagation through time](https://refivu.com/en/terms/46e13bff8275-backpropagation-through-time)
- [BLEU score](https://refivu.com/en/terms/8bd8ba080d5f-bleu-score)
- [forget gate](https://refivu.com/en/terms/0f084d82dd99-forget-gate)
- [Neural Turing Machine](https://refivu.com/en/terms/c07a6e2b64ab-neural-turing-machine)
- [vanishing and exploding gradients](https://refivu.com/en/terms/d63cac220a4d-vanishing-and-exploding-gradients)
- [bidirectional recurrent neural network](https://refivu.com/en/terms/eb82f378192a-bidirectional-recurrent-neural-network)
- [Constant Error Carousel](https://refivu.com/en/terms/0ae84d153e02-constant-error-carousel)
- [Hidden Markov models](https://refivu.com/en/terms/e87f33e22999-hidden-markov-models)
- [memory cell](https://refivu.com/en/terms/2efbf8b313ae-memory-cell)
- [peephole connections](https://refivu.com/en/terms/ab7eba3fdb49-peephole-connections)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/0e786415-0fad-4e73-b947-9aa88bb3aed0-a-critical-review-of-recurrent-neural-networks-for)
