Skip to main content
QUICK REVIEW

[Paper Review] An interpretable LSTM neural network for autoregressive exogenous model

Tian Guo, Tao Lin|arXiv (Cornell University)|Apr 14, 2018
Stock Market Forecasting MethodsDecision Sciences37 citations
TL;DR

This paper proposes a multi-variable LSTM (MV-LSTM) that enables both temporal and variable-level attention in autoregressive exogenous (ARX) time series forecasting by structuring hidden states as tensors to encode variable-specific representations. The model achieves competitive prediction performance and demonstrates strong alignment between learned variable importance via attention and statistical Granger causality, enabling interpretable knowledge discovery in real-world datasets.

ABSTRACT

In this paper, we propose an interpretable LSTM recurrent neural network, i.e., multi-variable LSTM for time series with exogenous variables. Currently, widely used attention mechanism in recurrent neural networks mostly focuses on the temporal aspect of data and falls short of characterizing variable importance. To this end, our multi-variable LSTM equipped with tensorized hidden states is developed to learn variable specific representations, which give rise to both temporal and variable level attention. Preliminary experiments demonstrate comparable prediction performance of multi-variable LSTM w.r.t. encoder-decoder based baselines. More interestingly, variable importance in real datasets characterized by the variable attention is highly in line with that determined by statistical Granger causality test, which exhibits the prospect of multi-variable LSTM as a simple and uniform end-to-end framework for both forecasting and knowledge discovery.

Motivation & Objective

  • To address the lack of variable-level interpretability in standard LSTMs, which treat all input variables uniformly without distinguishing their individual contributions.
  • To develop a unified end-to-end framework that supports both accurate forecasting and interpretable knowledge discovery in multivariate time series with exogenous variables.
  • To enable variable-level attention in RNNs by redefining hidden states as tensorized representations, each encoding information from a single input variable.
  • To validate that the learned variable attention in MV-LSTM correlates meaningfully with established statistical measures of causal influence, such as Granger causality.

Proposed method

  • MV-LSTM uses tensorized hidden states, where each element of the hidden state tensor corresponds exclusively to one input variable, enabling variable-specific representations.
  • The model employs a tensorized input-to-hidden and hidden-to-hidden transition, with separate weight matrices for each variable, ensuring information isolation per variable.
  • Gates (input, forget, output) are computed using a shared, joint representation of all input variables, preserving cross-correlation between time series.
  • Variable-level attention is computed via a feed-forward network applied to the final hidden state of each variable, producing attention weights for ensemble prediction.
  • Temporal attention is also supported, but the paper focuses on variable-level attention for interpretability.
  • The final prediction is a weighted sum of variable-specific predictions, with attention weights normalized via softmax.

Experimental results

Research questions

  • RQ1Can an LSTM-based model learn interpretable variable-level attention that reflects the true influence of exogenous variables on a target time series?
  • RQ2How does the variable importance derived from MV-LSTM attention compare to that obtained via statistical Granger causality?
  • RQ3Does MV-LSTM achieve competitive forecasting performance compared to state-of-the-art attention-based RNNs and traditional ensemble models?
  • RQ4Can MV-LSTM serve as a unified end-to-end framework for both accurate forecasting and causal knowledge discovery in multivariate time series?

Key findings

  • MV-LSTM achieves state-of-the-art prediction performance, with a test RMSE of 0.340 ± 0.001 on the PM2.5 dataset, outperforming RF, XGBoost, DUAL, and RETAIN.
  • On the ENERGY dataset, MV-LSTM achieves a test RMSE of 0.361 ± 0.001, matching the performance of XGBoost and outperforming DUAL and RETAIN.
  • The top four variables ranked by mean attention in MV-LSTM on the PM2.5 dataset—dew point, pressure, temperature, and wind speed—correspond closely to those identified as causally influential by Granger causality.
  • The attention-based variable importance in MV-LSTM aligns with domain knowledge: for example, dew point and pressure are known to be affected by northerly winds, which is reflected in their high attention scores.
  • In contrast, the DUAL model fails to produce meaningful variable importance, as shown in the appendix, highlighting the advantage of MV-LSTM’s structured attention mechanism.
  • The results demonstrate that MV-LSTM provides a simple, unified framework that simultaneously enables accurate forecasting and interpretable causal analysis in multivariate time series.

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.