Skip to main content
QUICK REVIEW

[Paper Review] Analyzing and Exploiting NARX Recurrent Neural Networks for Long-Term Dependencies

Robert DiPietro, Christian Rupprecht|arXiv (Cornell University)|Feb 24, 2017
Topic ModelingComputer Science26 references21 citations
TL;DR

This paper introduces MIST RNNs, a novel NARX recurrent neural network architecture that enables direct, long-range connections from the distant past, significantly improving gradient flow and reducing vanishing gradient effects. Unlike LSTM, MIST RNNs achieve superior performance on long-term dependency tasks with fewer parameters and less computation, outperforming LSTM and Clockwork RNNs on surgical gesture recognition and smartphone activity classification.

ABSTRACT

Recurrent neural networks (RNNs) have achieved state-of-the-art performance on many diverse tasks, from machine translation to surgical activity recognition, yet training RNNs to capture long-term dependencies remains difficult. To date, the vast majority of successful RNN architectures alleviate this problem using nearly-additive connections between states, as introduced by long short-term memory (LSTM). We take an orthogonal approach and introduce MIST RNNs, a NARX RNN architecture that allows direct connections from the very distant past. We show that MIST RNNs 1) exhibit superior vanishing-gradient properties in comparison to LSTM and previously-proposed NARX RNNs; 2) are far more efficient than previously-proposed NARX RNN architectures, requiring even fewer computations than LSTM; and 3) improve performance substantially over LSTM and Clockwork RNNs on tasks requiring very long-term dependencies.

Motivation & Objective

  • Address the persistent challenge of learning long-term dependencies in recurrent neural networks, particularly where vanishing gradients hinder performance.
  • Overcome the limitations of standard RNNs and LSTM in capturing distant temporal dependencies despite their architectural innovations.
  • Develop a more efficient and effective NARX RNN variant that maintains strong gradient flow over long sequences without increasing computational or parameter complexity.
  • Explore an orthogonal approach to vanishing gradients by enabling direct, non-adjacent state connections instead of relying on additive gates as in LSTM.
  • Demonstrate that NARX-based architectures can surpass LSTM in performance on long-context tasks while remaining computationally efficient.

Proposed method

  • Propose MIST RNNs (Mixed History RNNs), a NARX RNN architecture that introduces direct, non-adjacent connections from past time steps to the current hidden state.
  • Design the architecture to reduce the exponent of gradient decay by a factor of $2^{n_d - 1}$, where $n_d$ is the number of delays, significantly improving gradient flow.
  • Use a hierarchical delay structure that allows selective, non-contiguous access to past states, avoiding the exponential growth in parameters and computation seen in prior NARX RNNs.
  • Integrate these long-range connections into a standard RNN update mechanism, preserving the simplicity of the RNN while enhancing its ability to retain long-term context.
  • Maintain computational efficiency by limiting the number of delayed connections and using a structured, sparse connectivity pattern instead of full history modeling.
  • Train the model using standard backpropagation through time, with gradients flowing through both standard recurrent paths and the newly introduced long-range paths.

Experimental results

Research questions

  • RQ1Can a NARX RNN architecture with direct, non-adjacent connections from the distant past achieve better vanishing gradient properties than LSTM and prior NARX RNNs?
  • RQ2Does enabling long-range connections in RNNs lead to improved performance on tasks requiring modeling of very long-term dependencies?
  • RQ3Can such an architecture maintain or reduce computational and parameter costs compared to LSTM while achieving better performance?
  • RQ4How does the hierarchical delay structure in MIST RNNs affect gradient flow and training stability compared to standard RNNs and LSTM?
  • RQ5To what extent can MIST RNNs outperform LSTM and Clockwork RNNs on real-world sequence modeling tasks with long-range dependencies?

Key findings

  • MIST RNNs reduce the exponent of gradient decay by a factor of $2^{n_d - 1}$, resulting in significantly improved gradient flow compared to both LSTM and prior NARX RNNs.
  • On surgical gesture recognition, MIST RNNs match LSTM performance using half the number of parameters, demonstrating superior parameter efficiency.
  • On the MobiAct smartphone activity recognition task, MIST RNNs achieve a test error rate of 29.0% ± 5.2%, outperforming LSTM (38.8% ± 1.5%) and LSTM+ (37.8% ± 2.1%) despite using fewer parameters.
  • On TIMIT phoneme recognition, MIST RNNs achieve an error rate of 32.0% ± 0.3%, matching LSTM performance (32.1% ± 0.2%) with fewer parameters and less computation.
  • MIST RNNs require even fewer computations than LSTM for the same number of hidden units, confirming their computational efficiency.
  • The results demonstrate that MIST RNNs are not only more effective at capturing long-term dependencies but also more efficient than both LSTM and prior NARX RNNs in terms of parameters and computation.

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.