Skip to main content
QUICK REVIEW

[Paper Review] Learning Longer Memory in Recurrent Neural Networks

Tomáš Mikolov, Armand Joulin|arXiv (Cornell University)|Dec 24, 2014
Neural Networks and ApplicationsComputer Science18 citations
TL;DR

This paper proposes a simple architectural modification to standard recurrent neural networks (RNNs) that enables learning of long-term dependencies by making part of the recurrent weight matrix close to identity, thus creating a form of persistent memory. The method achieves performance comparable to LSTM networks on language modeling tasks using only stochastic gradient descent, demonstrating that vanishing gradients need not prevent effective long-term learning in RNNs.

ABSTRACT

Recurrent neural network is a powerful model that learns temporal patterns in sequential data. For a long time, it was believed that recurrent networks are difficult to train using simple optimizers, such as stochastic gradient descent, due to the so-called vanishing gradient problem. In this paper, we show that learning longer term patterns in real data, such as in natural language, is perfectly possible using gradient descent. This is achieved by using a slight structural modification of the simple recurrent neural network architecture. We encourage some of the hidden units to change their state slowly by making part of the recurrent weight matrix close to identity, thus forming kind of a longer term memory. We evaluate our model in language modeling experiments, where we obtain similar performance to the much more complex Long Short Term Memory (LSTM) networks (Hochreiter & Schmidhuber, 1997).

Motivation & Objective

  • To address the long-standing belief that RNNs cannot learn long-term dependencies due to the vanishing gradient problem.
  • To explore whether simple optimization methods like stochastic gradient descent can effectively train RNNs for long-term temporal pattern learning.
  • To develop a minimal architectural change that enhances memory persistence without increasing model complexity.
  • To achieve performance on par with complex architectures like LSTM using a simpler, more efficient design.

Proposed method

  • Introduce a modified RNN architecture where a subset of hidden units are updated with a recurrent weight matrix close to the identity matrix.
  • Allow these units to maintain their state over many time steps, effectively forming a long-term memory reservoir.
  • Use standard stochastic gradient descent for training, avoiding complex optimization schemes.
  • Maintain the standard RNN recurrence equation but modify the recurrent weight matrix to include a near-identity component.
  • Train the network end-to-end using backpropagation through time, with no architectural changes to the loss or output layers.

Experimental results

Research questions

  • RQ1Can standard stochastic gradient descent train RNNs to learn long-term dependencies in sequential data?
  • RQ2Does a minimal architectural modification—making part of the recurrent weight matrix close to identity—enable persistent memory in RNNs?
  • RQ3How does the performance of this modified RNN compare to LSTM on language modeling tasks?
  • RQ4Can the vanishing gradient problem be mitigated without introducing complex memory gates or cell states?

Key findings

  • The modified RNN learns long-term dependencies effectively using only stochastic gradient descent, contradicting the long-held belief that such training is infeasible.
  • The model achieves performance on language modeling tasks that is comparable to the much more complex LSTM network.
  • The key innovation—using a recurrent weight matrix close to identity for selected hidden units—successfully creates a form of long-term memory.
  • The method requires no additional hyperparameters or complex components, making it simpler and more efficient than LSTM.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.