Learning evolving relations for multivariate time series forecasting

Binh Nguyen-Thai, Vuong Le, Ngoc-Dung T. Tieu, Truyen Tran, Svetha Venkatesh, Naeem RamzanApplied Intelligence 2024

Abstract

Multivariate time series forecasting is a critical task in domains ranging from urban planning to public health. However, real-world data often exhibits non-stationarity, where the relationships between variables and their internal temporal patterns change over time. We present the Evolving Relational Attention Network (ERAN), a framework designed to capture these dynamic dependencies. By integrating a recurrent graph learning layer with adaptive temporal attention, ERAN effectively models evolving inter-channel and intra-channel relations. Experimental results on diverse datasets, including traffic flow and COVID-19 transmission, demonstrate that ERAN significantly outperforms existing state-of-the-art models, particularly in non-stationary environments.

Introduction

Predicting the future state of multiple interdependent variables is a fundamental challenge in time series analysis. This difficulty stems from two primary types of dependencies: intra-channel relations, which involve temporal patterns within a single variable, and inter-channel relations, which describe the dependencies between different variables.

Traditional deep learning approaches often rely on static assumptions, such as fixed graph structures for variable relationships or stationary convolutional kernels for temporal feature extraction. These assumptions fail in non-stationary scenarios where the underlying system dynamics shift—for instance, during a pandemic where policy changes abruptly alter transmission patterns. ERAN addresses this by allowing the model's internal architecture to evolve dynamically with the input data.

The ERAN Architecture

The ERAN framework consists of two core components designed to handle dynamic relations: the Evolving Graph Learning (EGL) layer and the Temporal Attentional Convolution (TAC) module.

The ERAN architecture: (a) High-level overview showing the EGL layer and stacked ERAN blocks; (b) Detailed view of an ERAN block containing TAC and TGC modules.

Evolving Graph Learning (EGL)

The EGL layer moves beyond static graphs by generating a unique adjacency matrix for every time step. It utilizes a Matrix Gated Recurrent Unit (GRU) to maintain a hidden state that evolves over time. To ensure computational efficiency and scalability, ERAN employs a low-rank factorization trick, approximating the adjacency matrix to avoid the $O(N^4)$ complexity typically associated with dynamic graph learning.

The ERAN Block and TAC

Each ERAN block integrates two main components to capture intra- and inter-channel relations. The Temporal Attentional Convolution (TAC) replaces fixed convolutional kernels with a self-attention mechanism over sliding windows, allowing the model to adaptively focus on relevant past motifs. The Temporal Graph Convolution (TGC) then utilizes the evolving adjacency matrices from the EGL layer to process dependencies between variables. These blocks are stacked with residual and skip connections to ensure stable training and prevent vanishing gradients.

Experimental Evaluation

The model was evaluated against several state-of-the-art baselines, including StemGNN, MTGNN, and AGCRN, across datasets representing both stationary (e.g., electricity consumption) and non-stationary (e.g., COVID-19 case counts) dynamics.

Key Performance Gains

  • Non-Stationary Data: ERAN achieved its most significant improvements on highly volatile datasets like COVID-19, showing an average 12.25% reduction in Mean Absolute Error (MAE) compared to the next best performing models.
  • Stationary Data: On more stable datasets like traffic flow and energy production, the model still provided a robust 5.93% average improvement in accuracy.
  • Dynamic Adaptation: Qualitative analysis indicates that ERAN is particularly adept at identifying "trend reversals," where traditional static models often struggle to adapt to sudden shifts in direction.

Conclusion and Future Work

ERAN demonstrates that modeling evolving relationships is essential for accurate multivariate time series forecasting in real-world, non-stationary environments. By combining efficient dynamic graph learning with adaptive temporal attention, the framework provides a scalable solution for complex forecasting tasks. Future research will focus on incorporating external covariates—such as weather or economic indicators—to further enhance the model's predictive power in the face of external shocks.

Summary updated

BibTeX
@article{nguyenthai2024learning,
  author = {Binh Nguyen-Thai and Vuong Le and Ngoc-Dung T. Tieu and Truyen Tran and Svetha Venkatesh and Naeem Ramzan},
  title = {{Learning evolving relations for multivariate time series forecasting}},
  journal = {Applied Intelligence},
  year = {2024},
  doi = {10.1007/s10489-023-05220-0},
}
Figure