Skip to main content
QUICK REVIEW

[Paper Review] A Simple Way to Initialize Recurrent Networks of Rectified Linear Units

Quoc V. Le, Navdeep Jaitly|arXiv (Cornell University)|Apr 3, 2015
Topic ModelingComputer Science32 references554 citations
TL;DR

This paper proposes a simple yet effective initialization method for recurrent networks with rectified linear units (ReLUs), where the recurrent weight matrix is initialized to the identity matrix (or a scaled version). This approach stabilizes gradient flow during backpropagation, enabling efficient training of deep RNNs that achieve performance comparable to LSTMs on long-range dependency tasks, including language modeling and speech recognition.

ABSTRACT

Learning long term dependencies in recurrent networks is difficult due to vanishing and exploding gradients. To overcome this difficulty, researchers have developed sophisticated optimization techniques and network architectures. In this paper, we propose a simpler solution that use recurrent neural networks composed of rectified linear units. Key to our solution is the use of the identity matrix or its scaled version to initialize the recurrent weight matrix. We find that our solution is comparable to LSTM on our four benchmarks: two toy problems involving long-range temporal structures, a large language modeling problem and a benchmark speech recognition problem.

Motivation & Objective

  • To address the challenge of vanishing and exploding gradients in training recurrent networks with ReLU units.
  • To investigate whether ReLU-based RNNs can achieve performance comparable to LSTMs without complex gating mechanisms.
  • To determine whether a simple weight initialization strategy can stabilize training and enable effective learning of long-range temporal dependencies.
  • To explore whether the identity matrix initialization can serve as a viable alternative to the sophisticated architecture of LSTMs.
  • To evaluate the effectiveness of this method across diverse benchmarks, including language modeling and speech recognition.

Proposed method

  • Initialize the recurrent weight matrix of an RNN with ReLU units to the identity matrix (or a scaled version), with zero biases.
  • Use standard backpropagation through time for error derivative computation and stochastic gradient descent with momentum for optimization.
  • Apply gradient clipping to prevent exploding gradients during training.
  • For tasks with less long-range dependency, use a scaled identity matrix (e.g., 0.01I) to enable faster forgetting of past information.
  • Implement bidirectional variants of the model for sequence modeling tasks such as speech recognition.
  • Use linear projection layers to reduce output dimensionality in large-vocabulary language modeling tasks, minimizing parameter growth.

Experimental results

Research questions

  • RQ1Can ReLU-based RNNs trained with identity matrix initialization learn long-range temporal dependencies as effectively as LSTMs?
  • RQ2Does the identity initialization stabilize gradient flow in ReLU RNNs, preventing vanishing or exploding gradients?
  • RQ3How does the performance of identity-initialized ReLU RNNs compare to standard RNNs and LSTMs on real-world tasks like language modeling and speech recognition?
  • RQ4Is the scaled identity initialization more effective than the full identity in tasks where long-range dependencies are less critical?
  • RQ5What role does weight initialization play in the success of simple RNNs compared to the architectural complexity of LSTMs?

Key findings

  • The identity matrix initialization enables ReLU-based RNNs (IRNNs) to achieve test perplexity of 69.4 on the 1-billion-word language modeling benchmark, closely matching the LSTM’s 68.8.
  • On the TIMIT speech recognition task, a 5-layer bidirectional iRNN achieved a frame error rate of 28.9% on the test set, outperforming standard RNNs and approaching the performance of a 5-layer bidirectional LSTM (29.1%).
  • For tasks with minimal long-range dependencies, such as speech recognition, initializing with a scaled identity matrix (0.01I) improved convergence and performance over the full identity initialization.
  • IRNNs with 4 layers and 512 units per layer matched LSTM performance on the language modeling task, despite having a simpler architecture without gates.
  • The iRNN outperformed standard RNNs with tanh units across all experiments, demonstrating the superiority of the identity initialization for ReLU-based RNNs.
  • The method enables stable training of deep RNNs without the need for complex optimization techniques like Hessian-Free or adaptive learning rates, relying instead on simple initialization and gradient clipping.

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.