deepkashiwa20 / MegaCRN

[AAAI23] This it the official github for AAAI23 paper "Spatio-Temporal Meta-Graph Learning for Traffic Forecasting"
MIT License
101 stars 16 forks source link
convolutional-recurrent-network graph-convolutional-networks graph-neural-networks multivariate-time-series-prediction spatio-temporal-modeling traffic-forecasting

MegaCRN: Meta-Graph Convolutional Recurrent Network

[AAAI23] R. Jiang, Z. Wang, J. Yong, P. Jeph, Q. Chen, Y. Kobayashi, X. Song, S. Fukushima, T. Suzumura, "Spatio-Temporal Meta-Graph Learning for Traffic Forecasting", Proc. of Thirty-Seventh AAAI Conference on Artificial Intelligence (AAAI), 2023. (*Corresponding and equally contributed)

Code and data are now available.

@inproceedings{jiang2023spatio,
  title={Spatio-temporal meta-graph learning for traffic forecasting},
  author={Jiang, Renhe and Wang, Zhaonan and Yong, Jiawei and Jeph, Puneet and Chen, Quanjun and Kobayashi, Yasumasa and Song, Xuan and Fukushima, Shintaro and Suzumura, Toyotaro},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={37},
  number={7},
  pages={8078--8086},
  year={2023}
}

Preprints

Arxiv link

Performance on Traffic Speed Benchmarks

PWC PWC PWC

Updated Results (arXiv and camera-ready papers will be revised accordingly very soon)

Benchmark MAE/RMSE/MAPE@3rd step MAE/RMSE/MAPE@6th step MAE/RMSE/MAPE@12th step
METR-LA 2.52/4.94/6.44% 2.93/6.06/7.96% 3.38/7.23/9.72%
PEMS-BAY 1.28/2.72/2.67% 1.60/3.68/3.57% 1.88/4.42/4.41%
Benchmark MAE/RMSE/MAPE@1st step MAE/RMSE/MAPE@3rd step MAE/RMSE/MAPE@6th step
EXPY-TKY 5.81/9.20/24.49% 6.44/10.33/28.92% 6.83/11.04/31.02%

Requirements

General Description

How to run our model (general command)?
How to run our model on EXPY-TKY?
Arguments (METR-LA and PEMS-BAY)

The default hyperparameters used in our paper are written in model/traintest_MegaCRN.py as follows. The ratio for train:valid:test is roughly 7:1:2, generated by generate_training_data.py. Please check the codes from parser = argparse.ArgumentParser().

Arguments (EXPY-TKY)

The hyperparameters for EXPY-TKY are in model_EXPYTKY/traintest_MegaCRN.py. Note EXPY-TKY data is structured by month, where '202110' and '202111' used as training and validation and '202112' used as testing. By further setting val_ratio as 0.25 (that meas 25% data of '202110' and '202111' as valid data), the ratio for train:valid:test is roughly 3:1:2. The time interval for EXPY-TKY is 10 minutes, thus observation/prediction horizon are both set to 6, to perform 1-hour-to-1-hour forecasting.

Acknowledgment to GTS, DCRNN, and AGCRN.