Multivariate Time Series Forecasting Based on Causal Inference with Transfer Entropy and Graph Neural Network

Jie Feng, Haoyan Xu, Yida Huang, Ziheng Duan, Jie Feng 0006, Pengyu SongarXiv 2020

Introduction

Multivariate time series (MTS) forecasting is a critical task in domains ranging from financial markets to industrial sensor networks. Traditional approaches, such as Vector Autoregression (VAR) or standard Recurrent Neural Networks (RNNs), often assume a dense, "all-to-all" relationship between variables. This assumption typically introduces significant noise and ignores the inherent causal structure of complex systems. For instance, in a power grid, the load on one substation might be causally linked to its immediate neighbors but independent of distant ones.

To address these challenges, researchers have developed CauGNN, a novel deep learning framework that explicitly models causal relationships to improve forecasting accuracy. By integrating Transfer Entropy for graph construction with multi-scale convolutional features and Graph Neural Networks (GNNs), CauGNN filters out information redundancy and focuses on the most relevant predictive signals.

Methodology: The CauGNN Framework

The CauGNN architecture operates through three primary stages designed to capture both temporal patterns and structural dependencies.

Architecture of CauGNN showing Transfer Entropy graph construction and multi-scale CNN feature extraction.

1. Causality Graph Construction

Unlike standard Granger Causality, which is limited to linear relationships, CauGNN utilizes Transfer Entropy (TE). TE is a non-parametric measure of directed information flow that can capture complex, non-linear causal interactions. The model calculates pairwise TE between all variables to generate a "Causality Matrix," which is then thresholded to create a sparse adjacency matrix. This graph structure ensures that the subsequent GNN only aggregates information from nodes that have a demonstrable causal influence on the target variable.

2. Multi-Scale Feature Extraction

Time series data often exhibit patterns across multiple temporal scales (e.g., hourly vs. daily trends). To capture this hierarchy, the raw input data is processed through multiple 1D-CNN filters with varying kernel sizes. These filters extract local temporal features which are then concatenated to form a rich, multi-dimensional representation for each node in the causality graph.

3. Graph Neural Network Integration

The extracted node features and the causality graph are fed into a GNN layer (such as a k-GNN or Graph Isomorphism Network, GIN). This stage performs "message passing," where the future state of a node is predicted based on the historical states of its causal neighbors. By leveraging the sparse causal graph, the model effectively ignores irrelevant noise that would otherwise degrade performance in a fully connected architecture.

Experimental Evaluation

The model was evaluated on three diverse real-world benchmarks: Exchange-Rate (daily rates), Energy (appliance consumption), and Nasdaq (per-minute stock prices).

Key Results

CauGNN and its variant CauGIN consistently outperformed state-of-the-art baselines, including LSTNet and MLCNN, across various forecasting horizons.

Performance comparison of CauGNN and CauGIN against baseline models across three datasets.

As shown in the results table, CauGNN achieved a Mean Absolute Error (MAE) of 2.0454 on the Energy dataset at a horizon of 5, a significant improvement over LSTNet (2.2813) and VAR (3.1628). On the Nasdaq dataset, the CauGIN variant proved particularly effective, suggesting that more sophisticated GNN architectures can better handle the high-dimensional causal complexity of financial markets.

Discussion and Insights

Ablation studies conducted by the authors confirmed that both the causality graph and the multi-scale CNN features are essential. Removing the causality component (CauGNN-nCau) or the CNN filters (CauGNN-nCNN) led to a marked decrease in predictive performance. Furthermore, the model demonstrated robustness to hyperparameter variations, maintaining steady performance across different hidden layer sizes.

The shift from linear assumptions to non-linear Transfer Entropy is a cornerstone of the model's success. By identifying "influence" rather than just "correlation," CauGNN provides a more mathematically grounded approach to multivariate forecasting.

Conclusion and Future Work

CauGNN represents a significant step forward in MTS forecasting by bridging the gap between causal inference and deep learning. While the current model uses a static causality graph, future research could explore dynamic graph construction to account for evolving relationships in non-stationary systems. Additionally, optimizing the computational cost of Transfer Entropy calculation for extremely high-dimensional datasets remains an important area for further development.

Summary updated

BibTeX
@misc{feng2020multivariate,
  author = {Jie Feng and Haoyan Xu and Yida Huang and Ziheng Duan and Jie Feng and Pengyu Song},
  title = {{Multivariate Time Series Forecasting Based on Causal Inference with Transfer Entropy and Graph Neural Network}},
  year = {2020},
  eprint = {2005.01185},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.01185},
}
Figure