Graph Deep Learning for Time Series Forecasting

Andrea Cini, Ivan Marisca, Daniele Zambon, Cesare Alippi

TL;DR

This paper introduces a comprehensive framework for time series forecasting using graph deep learning. It formalizes the problem, proposes design principles for graph-based predictors, and offers methods for performance assessment, aiming to bridge the gap between theoretical advancements and practical applications in this domain.

What Problem Does This Paper Address?

Traditional time series forecasting methods often struggle with large collections of correlated time series. While global models can leverage more data, they might miss crucial dependencies between series. Conversely, local models, while capturing individual series dynamics, are computationally expensive and don't scale well. This paper addresses the need for a unified methodological framework that effectively leverages the relational structure between time series to improve forecasting accuracy and scalability, moving beyond simply refining existing architectures.

Methods

The core of the paper revolves around Spatiotemporal Graph Neural Networks (STGNNs). These models use graph structures to represent relationships between time series, allowing predictions to be conditioned on observations from related series. Key techniques include:

  • Message-Passing (MP) Framework: A standard GNN mechanism for propagating information across nodes (time series) based on their relationships (edges).
  • Spatiotemporal Message-Passing (STMP) Blocks: Extensions of MP that aggregate information across both time and space (neighboring time series).
  • Architectural Inductive Biases: Embedding relational information directly into the neural network architecture to guide learning.
  • Global vs. Local Models: The paper discusses how STGNNs can be global (shared parameters) or hybrid global-local (incorporating node-specific components) to balance scalability and accuracy.
  • Time-then-Space (TTS), Space-then-Time (STT), and Time-and-Space (T&S) Architectures: Different ways to combine temporal and spatial processing within STGNNs.
  • Latent Graph Learning: Methods to learn the graph structure itself when it's not explicitly known or is inaccurate.
  • Performance Assessment: Beyond standard metrics like MAE and RMSE, the paper emphasizes the use of AZ-whiteness tests to detect residual correlations, indicating potential for model improvement.

Datasets

The paper evaluates its proposed framework on several datasets:

  • GPVAR-G and GPVAR-L: Synthetic datasets designed to test the models' ability to handle global and local effects, respectively.
  • METR-LA and PEMS-BAY: Traffic forecasting datasets.
  • CER-E: Energy consumption dataset.
  • AQI: Air quality monitoring dataset.
  • EngRAD: Weather forecasting dataset.

The paper notes that for most benchmarks, it uses the same data splits and preprocessing as previous works, facilitating direct comparison.

Key Insights and Ideas

  • Relational Structure is Key: The paper strongly advocates for explicitly modeling the relationships between time series as an inductive bias, moving beyond treating them as independent or a single multivariate series.
  • STGNNs Offer a Sweet Spot: By combining graph structures with deep learning, STGNNs can achieve a balance between the data efficiency of global models and the accuracy of local models.
  • Globality vs. Locality Trade-off: While global models are scalable, they can miss local dynamics. Hybrid global-local models offer a promising solution but can compromise inductive learning capabilities.
  • Beyond Point Predictions: The paper highlights the importance of assessing model quality not just by prediction accuracy but also by analyzing residual patterns to identify areas for improvement.
  • Latent Graph Learning is Crucial: In many real-world scenarios, the true relationships between time series are unknown or noisy, making learning the graph structure an essential component.

Key Results

The paper presents empirical results demonstrating the effectiveness of graph-based methods:

  • Outperformance of Baselines: Graph-based architectures consistently outperform standard local and global models (RNN, FC-RNN, LocalRNNs) across various benchmarks, especially when dealing with complex relational structures.
  • Hybrid Global-Local Advantage: Global-local models (with embeddings) achieve markedly better performance than purely global baselines on real-world datasets, indicating the importance of capturing local effects.
  • Anisotropic Message-Passing Superiority: Anisotropic message-passing schemes generally outperform isotropic ones, suggesting that learning adaptive aggregation schemes is beneficial.
  • TTS vs. T&S: TTS architectures perform on par or better than T&S models in many scenarios, offering a potential computational advantage.
  • AZ-Whiteness Test Utility: The AZ-whiteness test statistic effectively identifies residual correlations, providing insights into model limitations and potential for improvement, particularly in synthetic datasets.

Limitations and Future Work

  • Limitations:
    • Inductive Learning Trade-offs: Hybrid global-local models, while accurate, can struggle with inductive learning scenarios (new, unseen time series).
  • Computational Scalability: While graph-based methods improve scalability, dealing with extremely large collections of time series remains a challenge, requiring techniques like graph subsampling or precomputation.
  • Flexibility: The paper notes that results may not generalize to all datasets and TTS/T&S architectures.
  • Future Work:
    • Graph State-Space Models: Developing state-space models with graph-structured state representations.
  • Spatial and Temporal Hierarchies: Exploiting multi-scale processing in both time and space.
  • Continuous Space-Time Models: Designing unified frameworks for modeling dynamics in continuous space-time.
  • Probabilistic Forecasting: Extending STGNNs to output probabilistic predictions and uncertainty estimates.
  • Open Benchmarks: The need for a large, heterogeneous benchmark and shared evaluation procedures for correlated time series forecasting.

Summary updated

BibTeX
@article{cini2025graph,
  author = {Andrea Cini and Ivan Marisca and Daniele Zambon and Cesare Alippi},
  title = {{Graph Deep Learning for Time Series Forecasting}},
  journal = {ACM Computing Surveys},
  year = {2025},
  doi = {10.1145/3742784},
}
Figure