Multi-Modality Spatio-Temporal Forecasting via Self-Supervised Learning

Jiewen Deng, Renhe Jiang, Jiaqi Zhang, Xuan Song

Abstract

Multi-modality spatio-temporal (MoST) data extends spatio-temporal (ST) data by incorporating multiple modalities, which is prevalent in monitoring systems, encompassing diverse traffic demands and air quality assessments. Despite significant strides in ST modeling in recent years, there remains a need to emphasize harnessing the potential of information from different modalities. Robust MoST forecasting is more challenging because it possesses (i) high-dimensional and complex internal structures and (ii) dynamic heterogeneity caused by temporal, spatial, and modality variations. In this study, we propose a novel MoST learning framework via Self-Supervised Learning, namely MoSSL, which aims to uncover latent patterns from temporal, spatial, and modality perspectives while quantifying dynamic heterogeneity. Experiment results on two real-world MoST datasets verify the superiority of our approach compared with the state-of-the-art baselines.

Introduction

Spatio-temporal (ST) forecasting is a cornerstone of smart city infrastructure, enabling the prediction of urban dynamics ranging from traffic congestion to environmental pollution. While traditional models typically focus on a single data stream, real-world urban environments are inherently multi-modal (MoST). For example, effective transportation management requires the simultaneous analysis of bike-sharing and taxi flows, which exhibit distinct behaviors.

The core challenge in MoST forecasting is dynamic heterogeneity. Urban patterns vary drastically across time, space, and modality. A commercial "Food" district might see a concurrent surge in both bike and taxi demand at 8:00 AM, but by 7:00 PM, taxi traffic may dominate residential zones while bike traffic remains flat. Existing models often struggle with these nuances, either by ignoring cross-modal correlations (late fusion) or by prematurely merging modalities and washing out their unique characteristics (early fusion).

The MoSSL Framework

To address these challenges, we propose MoSSL (Multi-modality Spatio-Temporal Self-Supervised Learning). The framework is designed to disentangle complex multi-modal patterns through three primary pillars:

The MoSSL framework architecture, featuring the MoST Encoder and dual self-supervised learning modules (GSSL and MSSL).
  1. The MoST Encoder: This architecture utilizes Modality Attention to capture inter-modal relationships, Spatial Attention to model geographic links between neighborhoods, and Temporal Convolutions to extract high-level temporal patterns.
  2. Global Self-Supervised Learning (GSSL): This module treats the data as a "Mixture of Gaussians," clustering similar patterns across the entire dataset. This allows the model to recognize "global" behaviors (like city-wide rush hours) that are shared across different locations or modes.
  3. Modality Self-Supervised Learning (MSSL): A contrastive learning approach that teaches the model to distinguish between intra-modality features (unique to a specific mode like bikes) and inter-modality features (shared between modes).

A key innovation is Modality-aware Augmentation. Instead of random masking, the framework uses a learned "relevance" score to mask data points that are highly heterogeneous, forcing the model to work harder to reconstruct complex underlying patterns.

Experimental Evaluation

MoSSL was evaluated on two distinct real-world datasets: NYC Traffic Demand (98 locations, 4 modalities) and BJ Air Quality (10 stations, 3 pollutant modalities).

Key Results

MoSSL consistently outperformed eight state-of-the-art baselines, including Graph WaveNet and MTGNN, across all metrics.

Comparison of RMSE vs. Total Training Time across various models. MoSSL (dark red) achieves the lowest error with competitive efficiency.
  • Accuracy: On the NYC Traffic dataset, MoSSL achieved the lowest Root Mean Square Error (RMSE) across all forecasting horizons. By explicitly separating global patterns from modality-specific signatures, the model avoids "information interference" where a dominant mode (like taxis) might drown out the signal of a smaller one (like bikes).
  • Efficiency: While MoSSL is more computationally intensive than simple linear models due to its dual self-supervised tasks, it strikes an excellent balance. It offers the best performance-to-time ratio among high-performing deep learning models, significantly outperforming complex models like STtrans in both speed and accuracy.
  • Interpretability: Case studies demonstrated that the model correctly identifies how correlations between specific city nodes change drastically depending on the time of day and the mode of transport used.

Conclusion

MoSSL introduces a robust framework for quantifying dynamic heterogeneity in multi-modal urban data. While the model's advantage is most pronounced on dense datasets like NYC Traffic, future work will focus on refining the framework to be more lightweight and adaptable to sparse data environments, such as air quality monitoring with limited sensor nodes.

Summary updated

BibTeX
@inproceedings{deng2024multi,
  author = {Jiewen Deng and Renhe Jiang and Jiaqi Zhang and Xuan Song},
  title = {{Multi-Modality Spatio-Temporal Forecasting via Self-Supervised Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=YIZKFckl5q},
}
Figure