Research Article

A Cross-City Traffic Flow Prediction Framework Incorporating Holidays and Weather Factors

Shuhang Cui*
School of Physics and Astronomy Sciences, Sun Yat-Sen University, Zhuhai, China

* Corresponding author: [email protected]

Abstract

Although graph neural networks are widely used in urban traffic flow prediction research, they often face challenges related to data scarcity. Cross-city transfer learning presents a promising and cost-effective solution to this problem. This study introduces TransGTR-MCA (Meteorological and Calendrical Aware), an advanced model for cross-city traffic flow prediction based on the TransGTR framework. TransGTR-MCA utilizes a Graph Structure Learning framework that creates adaptive graph structures dynamically, without depending on predefined adjacency matrices. This method enhances the ability to capture complex spatial dependencies, especially in cross-city contexts. A key innovation of the model is its incorporation of external factors like weather and holidays, which allows for a thorough consideration of the unique climatic and cultural traits of different cities. This integration aims to improve the transfer learning process across various urban settings. To assess the model's effectiveness, experiments were carried out using three benchmark datasets for traffic flow prediction: METR-LA, PEMSD7M, and SZ-TAXI. The results demonstrate that the TransGTR-MCA model outperforms others in short-term predictions. Specifically, when transferring knowledge from the U.S. METR-LA dataset to the Chinese SZ-TAXI dataset, the model achieved a notable 2.73% reduction in error for 5-minute predictions, highlighting its potential for cross-cultural urban traffic forecasting.

Keywords: Transfer learning; Spatio-temporal Prediction; Graph convolutional network
Published: November 29, 2024
DOI: 10.54254/2755-2721/111/2024CH0106
Volume: ACE Vol.111
pp. 159-164
Download PDF

References

  1. Jin G, Liang Y, Fang Y, Shao Z, Huang J, Zhang J and Zheng Y (2023) Spatio-temporal graph neural networks for predictive learning in urban computing: A survey IEEE Trans. Knowl. Data Eng. https://doi.org/10.1109/TKDE.2023.3333824
  2. Yu B, Yin H and Zhu Z (2017) Spatio-temporal graph convolutional networks: A deep learning framework for traffic forecasting Preprint arXiv:1709.04875
  3. Yao H, Liu Y, Wei Y, Tang X and Li Z (2019) Learning from multiple cities: A meta-learning approach for spatial-temporal prediction Proc. The World Wide Web Conf. pp 2181-2191. https://doi.org/10.1145/3308558.3313577
  4. Tsapakis I, Cheng T and Bolbol A (2013) Impact of weather conditions on macroscopic urban travel times J. Transp. Geogr. 28 204-211. https://doi.org/10.1016/j.jtrangeo.2012.11.003
  5. Hranac R, Sterzin E, Krechmer D, Rakha H A and Farzaneh M (2006) Empirical studies on traffic flow in inclement weather
  6. Xu F, He Z, Sha Z, Zhuang L and Sun W (2013) Assessing the impact of rainfall on traffic operation of urban road network Procedia - Social and Behavioral Sciences 96 82-89. https://doi.org/10.1016/j.sbspro.2013.08.012
  7. Zhong H, Wang J, Chen C, Wang J, Li D and Guo K (2024) Weather Interaction-Aware Spatio-Temporal Attention Networks for Urban Traffic Flow Prediction Buildings 14 647. https://doi.org/10.3390/buildings14030647
  8. Cools M, Moons E and Wets G (2010) Assessing the impact of public holidays on travel time expenditure: differentiation by trip motive Transp. Res. Rec. 2157 29-37. https://doi.org/10.3141/2157-04
  9. Yu W, Zhao D, Hua X, Wen H, Lei H and Wang W (2024) Spatiotemporal dynamics and determining factors of intercity mobility: A comparison between holidays and non-holidays in China Cities 153 105306. https://doi.org/10.1016/j.cities.2024.105306
  10. Chen N, Li B, Tao J and Jin S (2021) A method for daily traffic flow parameter forecasting combining the impact of holidays Int. Conf. on Intelligent Transportation Engineering (Singapore: Springer Nature Singapore) pp 704-715. https://doi.org/10.1007/978-981-19-2259-6_63
  11. Jin Y, Chen K and Yang Q (2023) Transferable graph structure learning for graph-based traffic forecasting across cities Proc. 29th ACM SIGKDD Conf. on Knowledge Discovery and Data Mining pp 1032-1043. https://doi.org/10.1145/3580305.3599529
  12. Shao Z, Zhang Z, Wang F and Xu Y (2022) Pre-training enhanced spatial-temporal graph neural network for multivariate time series forecasting Proc. 28th ACM SIGKDD Conf. on Knowledge Discovery and Data Mining pp 1567-1577 https://doi.org/10.1145/3534678.3539396
  13. Shang C, Chen J and Bi J (2021) Discrete graph structure learning for forecasting multiple time series Int. Conf. on Learning Representations (ICLR)
  14. Wu Z, Pan S, Long G, Jiang J and Zhang C (2019) Graph wavenet for deep spatial-temporal graph modeling Proc. 28th Int. Joint Conf. on Artificial Intelligence pp 1907-1913
  15. Li Y, Yu R, Shahabi C and Liu Y (2018) Diffusion Convolutional Recurrent Neural Network: Data-Driven Traffic Forecasting Proc. 6th Int. Conf. on Learning Representations
  16. Song C, Lin Y, Guo S and Wan H (2020) Spatial-Temporal Synchronous Graph Convolutional Networks: A New Framework for Spatial-Temporal Network Data Forecasting Proc. 34th AAAI Conf. on Artificial Intelligence pp 914-921
  17. Zhao L, Song Y, Zhang C, Liu Y, Wang P, Lin T, Deng M and Li H (2019) T-GCN: A temporal graph convolutional network for traffic prediction IEEE Trans. Intell. Transp. Syst. 21 3848-3858