HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Spatio-Temporal Self-Supervised Learning for Traffic Flow Prediction

Jiahao Ji; Jingyuan Wang; Chao Huang; Junjie Wu; Boren Xu; Zhenhe Wu; Junbo Zhang; Yu Zheng

Spatio-Temporal Self-Supervised Learning for Traffic Flow Prediction

Abstract

Robust prediction of citywide traffic flows at different time periods plays a crucial role in intelligent transportation systems. While previous work has made great efforts to model spatio-temporal correlations, existing methods still suffer from two key limitations: i) Most models collectively predict all regions' flows without accounting for spatial heterogeneity, i.e., different regions may have skewed traffic flow distributions. ii) These models fail to capture the temporal heterogeneity induced by time-varying traffic patterns, as they typically model temporal correlations with a shared parameterized space for all time periods. To tackle these challenges, we propose a novel Spatio-Temporal Self-Supervised Learning (ST-SSL) traffic prediction framework which enhances the traffic pattern representations to be reflective of both spatial and temporal heterogeneity, with auxiliary self-supervised learning paradigms. Specifically, our ST-SSL is built over an integrated module with temporal and spatial convolutions for encoding the information across space and time. To achieve the adaptive spatio-temporal self-supervised learning, our ST-SSL first performs the adaptive augmentation over the traffic flow graph data at both attribute- and structure-levels. On top of the augmented traffic graph, two SSL auxiliary tasks are constructed to supplement the main traffic prediction task with spatial and temporal heterogeneity-aware augmentation. Experiments on four benchmark datasets demonstrate that ST-SSL consistently outperforms various state-of-the-art baselines. Since spatio-temporal heterogeneity widely exists in practical datasets, the proposed framework may also cast light on other spatial-temporal applications. Model implementation is available at https://github.com/Echo-Ji/ST-SSL.

Code Repositories

echo-ji/st-ssl
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
traffic-prediction-on-bjtaxiST-SSL
MAE @ in: 11.31
MAE @ out: 11.4
MAPE (%) @ in: 15.03
MAPE (%) @ out: 15.19
traffic-prediction-on-nycbike1ST-SSL
MAE @ in: 4.94
MAE @ out: 5.26
MAPE (%) @ in: 23.69
MAPE (%) @ out: 24.6
traffic-prediction-on-nycbike2ST-SSL
MAE @ in: 5.04
MAE @ out: 4.71
MAPE (%) @ in: 22.54
MAPE (%) @ out: 21.17
traffic-prediction-on-nyctaxiST-SSL
MAE @ in: 11.99
MAE @ out: 9.78
MAPE (%) @ in: 16.38
MAPE (%) @ out: 16.86

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Spatio-Temporal Self-Supervised Learning for Traffic Flow Prediction | Papers | HyperAI