A bidirectional RNN is a model that combines an RNN reading a sequence from past to future and an RNN reading it from future to past into one network, and computes the output at each time step from both. It was proposed by Schuster and Paliwal in 1997.
An ordinary RNN (such as the Elman network) determines the output at time only from the inputs up to . In tasks where the whole sequence is available in advance, such as sentences or speech, the inputs after are also clues to the answer. For example, the part of speech of a word in a sentence is often settled by the words that follow it.
Before this, two approaches were used to exploit future information:
- Delay the output: the answer for is produced only after reading up to . However, a larger increases the burden of remembering past inputs, and accuracy actually drops. The best can only be found by trial for each task.
- Train two RNNs separately and merge the results: a forward and a backward RNN are trained separately and their outputs are averaged. However, two networks trained on the same data are not independent, so it is unclear how best to merge them.
The bidirectional RNN solved both problems by training the RNNs for the two directions simultaneously as a single network. The output does not need to be delayed, and the way of merging is learned.
The idea later became widely used as the bidirectional LSTM, combined with LSTM, in speech recognition, part-of-speech tagging, and encoders for machine translation (e.g. with additive attention).

