Graph-Time Convolutional Neural Networks

Elvin Isufi, Gabriele MazzolaarXiv 2021

Abstract

Spatiotemporal data can be represented as a process over a graph, which captures their spatial relationships either explicitly or implicitly. How to leverage such a structure for learning representations is one of the key challenges when working with graphs. In this paper, we represent the spatiotemporal relationships through product graphs and develop a first principle graph-time convolutional neural network (GTCNN). The GTCNN is a compositional architecture with each layer comprising a graph-time convolutional module, a graph-time pooling module, and a nonlinearity. We develop a graph-time convolutional filter by following the shift-and-sum principles of the convolutional operator to learn higher-level features over the product graph. The product graph itself is parametric so that we can learn also the spatiotemporal coupling from data. We develop a zero-pad pooling that preserves the spatial graph (the prior about the data) while reducing the number of active nodes and the parameters. Experimental results with synthetic and real data corroborate the different components and compare with baseline and state-of-the-art solutions.

Introduction

Many real-world datasets—such as sensor networks, traffic flow, or seismic activity—are inherently spatiotemporal, exhibiting variations across both space and time. Traditional approaches often employ "hybrid" models, stacking Graph Neural Networks (GNNs) for spatial processing with Recurrent Neural Networks (RNNs) or Convolutional Neural Networks (CNNs) for temporal dynamics. However, these decoupled architectures often fail to capture the intricate, joint coupling between domains, such as how a sensor's historical state influences its neighbor's future state.

While "fused" models attempt to address this by processing space and time simultaneously, they frequently encounter a "dimensionality explosion." For a system with $N$ sensors and $T$ time steps, a joint product graph contains $N \times T$ nodes, making standard convolutions computationally and memory-intensive. The Graph-Time Convolutional Neural Network (GTCNN) addresses these challenges by treating space and time as a single, parametric "product graph" and utilizing efficient recursive implementations.

Methodology

The GTCNN architecture introduces three primary innovations to enable effective and scalable spatiotemporal learning:

1. Parametric Product Graphs

Rather than assuming a fixed relationship between space and time, GTCNN utilizes a parametric shift operator. This allows the model to learn the spatiotemporal coupling coefficients directly from the data, adapting to whether signals propagate more strongly through time or through spatial neighbors.

Construction of product graphs (Kronecker, Cartesian, Strong) from spatial and temporal components.

2. Recursive Implementation

To mitigate the cubic cost associated with computing powers of large $NT \times NT$ matrices, a recursive shift-and-sum algorithm is employed. This reduces computational complexity to a linear scale relative to the number of nodes and time steps, facilitating large-scale applications.

3. Zero-Pad Graph-Time Pooling

Standard pooling methods often coarsen or cluster nodes, potentially destroying the physical meaning of the underlying graph. GTCNN introduces "zero-pad" pooling, which selects the most significant nodes based on graph degree and sets others to zero. This strategy reduces active parameters while preserving the original spatial graph structure as a consistent "spatial prior" throughout the network's depth.

Experimental Setup

The model was evaluated across several synthetic and real-world benchmarks:

  • Source Localization: Identifying the origin of a diffusion process on a stochastic block model graph.
  • Molene Dataset: Hourly temperature measurements from 32 stations in France.
  • NOAA Dataset: 8,579 hourly temperature measurements from 109 stations across the US.
  • Earthquake Dataset: A curated dataset from the New Zealand earthquake service, featuring 4,633 seismic recordings across 58 stations (2016–2020) for epicenter classification.

Results and Discussion

Experimental results highlight the importance of inductive bias and structure preservation. On smaller datasets like Molene, GTCNN significantly outperformed LSTMs, as the product graph provides a strong structural assumption that aids learning with limited data.

Forecasting Performance

In temperature prediction tasks, GTCNN achieved the lowest Root Normalized Mean Squared Error (rNMSE) compared to neural network baselines like GGRNN and LSTM. This performance advantage became more pronounced as the prediction horizon increased.

Forecasting performance (rNMSE) across multiple steps ahead for various models.

Classification and Localization

On the 45-class earthquake epicenter classification task, GTCNN achieved 54% accuracy, surpassing LSTMs (52%) and GGRNNs (53%). Radius-based accuracy metrics further indicated that the model's predictions were spatially concentrated near the true epicenters.

Conclusion

The GTCNN represents a significant step toward principled spatiotemporal representation learning. By leveraging parametric product graphs and structure-preserving pooling, it effectively captures joint space-time dependencies. Future work will focus on further parallelization for massive-scale graphs, theoretical analysis of graph discrimination capabilities, and the integration of multi-modal data to improve accuracy in complex tasks like seismic analysis.

Summary updated

BibTeX
@misc{isufi2021graph,
  author = {Elvin Isufi and Gabriele Mazzola},
  title = {{Graph-Time Convolutional Neural Networks}},
  year = {2021},
  eprint = {2103.01730},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.01730},
}
Figure