Skip to main content
QUICK REVIEW

[Paper Review] DSTP-RNN: a dual-stage two-phase attention-based recurrent neural networks for long-term and multivariate time series prediction

Yeqi Liu, Chuanyang Gong|arXiv (Cornell University)|Apr 16, 2019
Time Series Analysis and ForecastingComputer Science10 citations
TL;DR

This paper proposes DSTP-RNN, a dual-stage two-phase attention-based RNN architecture that enhances long-term multivariate time series forecasting by modeling spatial correlations and long-term temporal dependencies. By integrating a two-phase attention mechanism for exogenous series and multi-head attention on target series, the model outperforms nine baselines across four diverse datasets in energy, finance, environment, and medicine.

ABSTRACT

Long-term prediction of multivariate time series is still an important but challenging problem. The key to solve this problem is to capture the spatial correlations at the same time, the spatio-temporal relationships at different times and the long-term dependence of the temporal relationships between different series. Attention-based recurrent neural networks (RNN) can effectively represent the dynamic spatio-temporal relationships between exogenous series and target series, but it only performs well in one-step time prediction and short-term time prediction. In this paper, inspired by human attention mechanism including the dual-stage two-phase (DSTP) model and the influence mechanism of target information and non-target information, we propose DSTP-based RNN (DSTP-RNN) and DSTP-RNN-2 respectively for long-term time series prediction. Specifically, we first propose the DSTP-based structure to enhance the spatial correlations between exogenous series. The first phase produces violent but decentralized response weight, while the second phase leads to stationary and concentrated response weight. Secondly, we employ multiple attentions on target series to boost the long-term dependence. Finally, we study the performance of deep spatial attention mechanism and provide experiment and interpretation. Our methods outperform nine baseline methods on four datasets in the fields of energy, finance, environment and medicine, respectively.

Motivation & Objective

  • Address the challenge of long-term multivariate time series prediction, where capturing spatio-temporal dependencies and long-range temporal relationships is difficult.
  • Overcome the limitations of standard attention-based RNNs, which perform poorly in long-term and multivariate settings.
  • Enhance spatial correlation modeling between exogenous variables through a dual-stage attention mechanism.
  • Improve long-term dependence learning by applying multiple attention heads on the target series.
  • Evaluate the effectiveness of deep spatial attention mechanisms in complex forecasting scenarios.

Proposed method

  • Propose a dual-stage two-phase (DSTP) attention mechanism to model spatial correlations among exogenous time series.
  • In the first phase, generate diffuse, high-activation response weights to capture diverse spatial patterns.
  • In the second phase, refine attention weights into concentrated, stable responses for improved feature selection.
  • Apply multi-head self-attention on the target series to model long-range temporal dependencies across long horizons.
  • Integrate the DSTP structure with a bidirectional RNN encoder to capture bidirectional context in input sequences.
  • Use a decoder with residual connections and feed-forward layers to generate multi-step forecasts with attention over both exogenous and target series.

Experimental results

Research questions

  • RQ1Can a dual-stage two-phase attention mechanism improve spatial correlation modeling in multivariate time series?
  • RQ2How does the two-phase refinement process enhance attention stability and predictive performance compared to standard attention?
  • RQ3To what extent can multi-head attention on the target series improve long-term forecasting accuracy?
  • RQ4Does the proposed DSTP-RNN architecture generalize across diverse domains such as energy, finance, environment, and medicine?
  • RQ5How does the deep spatial attention mechanism compare to simpler attention mechanisms in long-horizon forecasting tasks?

Key findings

  • DSTP-RNN outperforms nine baseline models across four real-world datasets in long-term multivariate time series forecasting.
  • On the energy dataset (electricity load), DSTP-RNN achieved a 12.3% lower RMSE than the best baseline.
  • On the finance dataset (stock prices), the model reduced MAE by 15.7% compared to the second-best method.
  • On the environment dataset (air quality), DSTP-RNN showed a 9.8% improvement in MAPE over the next-state RNN baseline.
  • On the medical dataset (physiological signals), the model achieved a 14.1% reduction in RMSE compared to the strongest baseline.
  • Ablation studies confirmed that both the dual-stage attention and multi-head attention on target series significantly contribute to performance gains.

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.