Skip to main content
QUICK REVIEW

[Paper Review] Bidirectional Recurrent Neural Networks as Generative Models - Reconstructing Gaps in Time Series

Mathias Berglund, Tapani Raiko|arXiv (Cornell University)|Apr 7, 2015
Time Series Analysis and ForecastingComputer Science26 references17 citations
TL;DR

This paper proposes two probabilistic interpretations of bidirectional recurrent neural networks (BRNNs) as generative models for reconstructing missing gaps in high-dimensional time series. By leveraging the GSN and NADE frameworks, the method enables efficient bidirectional inference, outperforming unidirectional RNNs in reconstruction accuracy—especially for longer gaps—while remaining scalable where Bayesian inference on unidirectional RNNs is computationally infeasible.

ABSTRACT

Bidirectional recurrent neural networks (RNN) are trained to predict both in the positive and negative time directions simultaneously. They have not been used commonly in unsupervised tasks, because a probabilistic interpretation of the model has been difficult. Recently, two different frameworks, GSN and NADE, provide a connection between reconstruction and probabilistic modeling, which makes the interpretation possible. As far as we know, neither GSN or NADE have been studied in the context of time series before. As an example of an unsupervised task, we study the problem of filling in gaps in high-dimensional time series with complex dynamics. Although unidirectional RNNs have recently been trained successfully to model such time series, inference in the negative time direction is non-trivial. We propose two probabilistic interpretations of bidirectional RNNs that can be used to reconstruct missing gaps efficiently. Our experiments on text data show that both proposed methods are much more accurate than unidirectional reconstructions, although a bit less accurate than a computationally complex bidirectional Bayesian inference on the unidirectional RNN. We also provide results on music data for which the Bayesian inference is computationally infeasible, demonstrating the scalability of the proposed methods.

Motivation & Objective

  • To address the challenge of reconstructing missing values in high-dimensional time series with complex dynamics.
  • To enable efficient probabilistic inference in both forward and backward time directions using BRNNs, overcoming limitations of unidirectional RNNs.
  • To evaluate the performance of bidirectional RNNs as generative models for unsupervised learning, particularly in gap-filling tasks.
  • To compare the proposed BRNN-based methods with unidirectional RNN inference and computationally expensive Bayesian inference on unidirectional models.
  • To demonstrate scalability on large-scale, structured data such as music sequences where Bayesian inference is infeasible.

Proposed method

  • The paper proposes two probabilistic interpretations of BRNNs: one based on the Restricted Boltzmann Machine (RBM) framework and another using the NADE (Neural Autoregressive Distribution Estimator) framework.
  • For the GSN-based method, the model uses a bidirectional RNN to compute forward and backward hidden states, which are combined to predict missing values using a joint energy-based model.
  • For the NADE-based method, the model treats the bidirectional RNN as a conditional distribution over the next time step, using both forward and backward hidden states to predict missing values in a left-to-right and right-to-left autoregressive manner.
  • The models are trained using reconstruction loss on artificially masked gaps of length five, with the option to use only missing value reconstructions as the training signal.
  • The bidirectional RNNs are structured with separate forward and backward hidden layers, where each hidden state depends on past and future inputs, respectively, enabling joint modeling of context from both directions.
  • The models assume independent Bernoulli outputs for binary time series, though extensions to continuous data are discussed.

Experimental results

Research questions

  • RQ1Can bidirectional RNNs be effectively interpreted as generative models for time series with missing data?
  • RQ2How does bidirectional inference using GSN and NADE frameworks compare to unidirectional RNN inference in reconstructing missing gaps?
  • RQ3What is the performance of the proposed methods on long gaps, especially when Bayesian inference on unidirectional RNNs becomes computationally infeasible?
  • RQ4How does the training signal—using only missing values versus full sequence reconstruction—affect model performance?
  • RQ5Can the proposed methods scale to high-dimensional, structured sequential data such as music sequences?

Key findings

  • The proposed BRNN-based methods significantly outperform unidirectional RNN inference in reconstructing missing values, especially for positions near the edges of gaps.
  • For gaps of length five, both GSN- and NADE-based BRNNs achieve lower negative log-likelihood (NLL) than unidirectional models, with the GSN-based method performing best.
  • The BRNN models achieve reconstruction performance close to that of computationally expensive Bayesian inference on unidirectional RNNs, though slightly less accurate.
  • The model trained using only missing value reconstructions as the training signal underperforms compared to full-sequence training, indicating that the training signal choice significantly impacts model quality.
  • The methods scale effectively to music data, where Bayesian inference on unidirectional RNNs is computationally infeasible, demonstrating practical applicability.
  • The models successfully reconstruct missing values in binary text and music sequences, with the middle of the gap being the most challenging to predict, consistent with the need for bidirectional context.

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.