[Paper Review] Revisiting NARX Recurrent Neural Networks for Long-Term Dependencies.
This paper introduces MIST RNNs, a novel NARX recurrent architecture that directly connects distant past states to current hidden states, enabling superior gradient flow and efficiency. It outperforms LSTM and Clockwork RNNs on long-term dependency tasks with fewer parameters and computations.
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 training RNNs to model long-term dependencies, a key bottleneck in sequence modeling.
- Overcome the limitations of standard RNNs and LSTM in capturing very long-range temporal dependencies.
- Design a more efficient and stable RNN architecture that avoids vanishing gradients without relying on gated mechanisms.
- Explore the potential of direct long-range connections in NARX RNNs to improve performance on long-horizon tasks.
Proposed method
- Propose MIST RNNs as a NARX RNN architecture that explicitly allows direct connections from past hidden states to the current hidden state, including very distant ones.
- Introduce a modified state transition function that combines current input with a weighted sum of selected past hidden states, enabling long-range information flow.
- Design the architecture to maintain stable gradients by avoiding vanishing dynamics, unlike standard RNNs and some prior NARX variants.
- Optimize computational efficiency by limiting the number of past states used in the direct connections, ensuring low inference cost.
- Use a learnable gating mechanism to control the influence of distant past states, balancing stability and expressiveness.
- Train the model end-to-end using standard backpropagation, with gradient flow analyzed to demonstrate improved vanishing-gradient properties.
Experimental results
Research questions
- RQ1Can direct long-range connections in NARX RNNs significantly improve gradient flow and mitigate vanishing gradients compared to standard RNNs and LSTMs?
- RQ2How does the computational efficiency of MIST RNNs compare to LSTM and other NARX RNNs, especially in long-sequence modeling?
- RQ3To what extent do MIST RNNs improve performance on tasks requiring very long-term dependencies compared to LSTM and Clockwork RNNs?
- RQ4Does the absence of gated mechanisms (like in LSTM) compromise training stability or performance in MIST RNNs?
- RQ5Can MIST RNNs maintain strong performance with fewer parameters and lower FLOPs than competitive architectures?
Key findings
- MIST RNNs exhibit superior vanishing-gradient properties compared to both LSTM and previously proposed NARX RNNs, enabling more stable training on long sequences.
- The architecture requires fewer computations than LSTM, making it more efficient despite incorporating long-range connections.
- On tasks requiring very long-term dependencies, MIST RNNs significantly outperform both LSTM and Clockwork RNNs in terms of accuracy and generalization.
- The model maintains strong performance with reduced parameter count and lower FLOP requirements, demonstrating high efficiency.
- The direct connection mechanism enables stable gradient flow over long horizons, even when the sequence length exceeds 1000 steps.
- Empirical results confirm that MIST RNNs achieve state-of-the-art performance on long-horizon sequence modeling benchmarks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.