A Novel Spatial–Temporal Deep Learning Method for Metro Flow Prediction Considering External Factors and Periodicity
Abstract
:1. Introduction
2. Related Work
2.1. Factors’ Impact on Metro Flow
2.2. Metro Flow Prediction Models
3. Methods
3.1. Problem Statements and Framework
3.2. Spatial Correlation Based on Station
3.3. Temporal Correlation Based on Three Views of Historical Metro Flow
3.4. Incorporation of External Influencing Factor Data
3.5. Prediction Model Construction Based on the Transformer Framework
4. Dataset, Experimental Settings, and Evaluation
4.1. Dataset Description
4.2. Experimental Settings
4.3. Evaluation
5. Experimental Results
5.1. Results of Spatial Modelling
5.2. Results of Time Interval Determination
5.3. The Predicted Results of the Selected Stations
5.4. Analysis of Prediction Results
5.5. Analysis of Time Interval Correlation by Attention Mechanism
5.6. Analysis of Multi-Step Prediction Results for Entry and Exit Flow
6. Conclusions and Future Works
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Sperry, B.R.; Dye, T. Impact of new passenger rail stations on ridership demand and passenger characteristics: Hiawatha service case study. Case Stud. Transp. Policy 2020, 8, 1158–1169. [Google Scholar] [CrossRef]
- Yuan, C.; Feng, J.; Chen, J. Multi-step Passenger Demand Prediction Based on Spatiotemporal Correlation Incorporating Semantic Information. China J. Highw. Transp. 2023, 36, 207–219. [Google Scholar]
- Zhang, N.; Chen, F.; Zhu, Y.D.; Peng, H.; Wang, J.P.; Li, Y. A Study on the Calculation of Platform Sizes of Urban Rail Hub Stations Based on Passenger Behavior Characteristics. Math. Probl. Eng. 2020, 2020, 3689760. [Google Scholar] [CrossRef]
- da Silva, C.B.P.; Saldiva, P.H.N.; Amato-Lourenço, L.F.; Rodrigues-Silva, F.; Miraglia, S.G.E. Evaluation of the air quality benefits of the subway system in Sao Paulo, Brazil. J. Environ. Manag. 2012, 101, 191–196. [Google Scholar] [CrossRef] [PubMed]
- Liu, J.; Meng, B.; Wang, J.; Chen, S.Y.; Tian, B.; Zhi, G.Q. Exploring the Spatiotemporal Patterns of Residents’ Daily Activities Using Text-Based Social Media Data: A Case Study of Beijing, China. ISPRS Int. J. Geo-Inf. 2021, 10, 389. [Google Scholar] [CrossRef]
- Liu, L.; Chen, R.-C.; Zhu, S. Impacts of Weather on Short-Term Metro Passenger Flow Forecasting Using a Deep LSTM Neural Network. Appl. Sci. 2020, 10, 2962. [Google Scholar] [CrossRef]
- Li, L.C.; Wang, Y.G.; Zhong, G.; Zhang, J.; Ran, B. Short-to-medium Term Passenger Flow Forecasting for Metro Stations using a Hybrid Model. KSCE J. Civ. Eng. 2018, 22, 1937–1945. [Google Scholar] [CrossRef]
- Wang, X.M.; Zhang, N.; Zhang, Y.L.; Shi, Z.B. Forecasting of Short-Term Metro Ridership with Support Vector Machine Online Model. J. Adv. Transp. 2018, 2018, 3189238. [Google Scholar] [CrossRef]
- Tang, L.; Zhao, Y.; Cabrera, J.; Ma, J.; Tsui, K.L. Forecasting Short-Term Passenger Flow: An Empirical Study on Shenzhen Metro. IEEE Trans. Intell. Transp. Syst. 2019, 20, 3613–3622. [Google Scholar] [CrossRef]
- Ling, H.; Xu, H. A Study on the Factors Influencing the Passenger throughput of Civil Aviation in Sichuan Province Based on Multi-linear Regression Model. In Proceedings of the 2023 6th International Conference on Artificial Intelligence and Big Data (ICAIBD), Chengdu, China, 26–29 May 2023; pp. 11–15. [Google Scholar]
- Li, W.; Zhou, M.; Dong, H. CPT Model-Based Prediction of the Temporal and Spatial Distributions of Passenger Flow for Urban Rail Transit under Emergency Conditions. J. Adv. Transp. 2020, 2020, 8850541. [Google Scholar] [CrossRef]
- Liu, S.; Yao, E. Holiday Passenger Flow Forecasting Based on the Modified Least-Square Support Vector Machine for the Metro System. J. Transp. Eng. Part A Syst. 2017, 143, 04016005. [Google Scholar] [CrossRef]
- Hou, Z.; Du, Z.; Yang, G.; Yang, Z. Short-Term Passenger Flow Prediction of Urban Rail Transit Based on a Combined Deep Learning Model. Appl. Sci. 2022, 12, 7597. [Google Scholar] [CrossRef]
- Jing, Y.; Hu, H.; Guo, S.; Wang, X.; Chen, F. Short-Term Prediction of Urban Rail Transit Passenger Flow in External Passenger Transport Hub Based on LSTM-LGB-DRS. IEEE Trans. Intell. Transp. Syst. 2021, 22, 4611–4621. [Google Scholar] [CrossRef]
- Mo, B.C.; Zhao, Z.; Koutsopoulos, H.N.; Zhao, J.H. Individual Mobility Prediction in Mass Transit Systems Using Smart Card Data: An Interpretable Activity-Based Hidden Markov Approach. IEEE Trans. Intell. Transp. Syst. 2022, 23, 12014–12026. [Google Scholar] [CrossRef]
- Wang, Y.; Zheng, D.; Luo, S.M.; Zhan, D.M.; Nie, P. The Research of Railway Passenger Flow Prediction Model Based on BP Neural Network. Adv. Mater. Res. 2013, 605, 2366–2369. [Google Scholar] [CrossRef]
- Liu, L.; Wu, M.; Chen, R.-C.; Zhu, S.; Wang, Y. A Hybrid Deep Learning Model for Multi-Station Classification and Passenger Flow Prediction. Appl. Sci. 2023, 13, 2899. [Google Scholar] [CrossRef]
- Xiong, Z.; Zheng, J.; Song, D.; Zhong, S.; Huang, Q. Passenger Flow Prediction of Urban Rail Transit Based on Deep Learning Methods. Smart Cities 2019, 2, 371–387. [Google Scholar] [CrossRef]
- Liu, Y.; Liu, Z.; Jia, R. DeepPF: A deep learning based architecture for metro passenger flow prediction. Transp. Res. Part C Emerg. Technol. 2019, 101, 18–34. [Google Scholar] [CrossRef]
- Ouyang, Q.; Lv, Y.; Ma, J.; Li, J. An LSTM-Based Method Considering History and Real-Time Data for Passenger Flow Prediction. Appl. Sci. 2020, 10, 3788. [Google Scholar] [CrossRef]
- Shi, G.F.; Luo, L.M. Prediction and Impact Analysis of Passenger Flow in Urban Rail Transit in the Postpandemic Era. J. Adv. Transp. 2023, 2023, 3448864. [Google Scholar] [CrossRef]
- Mei, Z.Y.; Yu, W.T.; Tang, W.; Yu, J.H.; Cai, Z.Y. Attention mechanism-based model for short-term bus traffic passenger volume prediction. IET Intell. Transp. Syst. 2023, 17, 767–779. [Google Scholar] [CrossRef]
- Wang, K.; Guo, B.; Yang, H.; Li, M.; Zhang, F.; Wang, P. A semi-supervised co-training model for predicting passenger flow change in expanding subways. Expert Syst. Appl. 2022, 209, 118310. [Google Scholar] [CrossRef]
- Zeng, J.; Tang, J. Combining knowledge graph into metro passenger flow prediction: A split-attention relational graph convolutional network. Expert Syst. Appl. 2023, 213, 118790. [Google Scholar] [CrossRef]
- Xie, P.; Ma, M.; Li, T.; Ji, S.; Du, S.; Yu, Z.; Zhang, J. Spatio-Temporal Dynamic Graph Relation Learning for Urban Metro Flow Prediction. IEEE Trans. Knowl. Data Eng. 2023, 35, 9973–9984. [Google Scholar] [CrossRef]
- Yang, Y.J.; Zhang, J.L.; Yang, L.X.; Yang, Y.; Li, X.H.; Gao, Z.Y. Short-term passenger flow prediction for multi-traffic modes: A Transformer and residual network based multi-task learning method. Inf. Sci. 2023, 642, 119144. [Google Scholar] [CrossRef]
- Xu, Y.H.; Lyu, Y.; Xiong, G.W.; Wang, S.Y.; Wu, W.W.; Cui, H.L.; Luo, J.Z. Adaptive Feature Fusion Networks for Origin-Destination Passenger Flow Prediction in Metro Systems. IEEE Trans. Intell. Transp. Syst. 2023, 24, 5296–5312. [Google Scholar] [CrossRef]
- Jia, H.W.; Luo, H.Y.; Wang, H.; Zhao, F.; Ke, Q.X.; Wu, M.Y.; Zhao, Y.N. ADST: Forecasting Metro Flow Using Attention-Based Deep Spatial-Temporal Networks with Multi-Task Learning. Sensors 2020, 20, 4574. [Google Scholar] [CrossRef]
- Li, P.K.; Ma, C.Q.; Ning, J.; Wang, Y.; Zhu, C.H. Analysis of Prediction Accuracy under the Selection of Optimum Time Granularity in Different Metro Stations. Sustainability 2019, 11, 5281. [Google Scholar] [CrossRef]
- Koesdwiady, A.; Soua, R.; Karray, F. Improving Traffic Flow Prediction With Weather Information in Connected Cars: A Deep Learning Approach. IEEE Trans. Veh. Technol. 2016, 65, 9508–9517. [Google Scholar] [CrossRef]
- Zhang, J.L.; Chen, F.; Cui, Z.Y.; Guo, Y.A.; Zhu, Y.D. Deep Learning Architecture for Short-Term Passenger Flow Forecasting in Urban Rail Transit. IEEE Trans. Intell. Transp. Syst. 2021, 22, 7004–7014. [Google Scholar] [CrossRef]
- Zhang, J.B.; Zheng, Y.; Qi, D.K. Deep Spatio-Temporal Residual Networks for Citywide Crowd Flows Prediction. In Proceedings of the Thirty-First Aaai Conference on Artificial Intelligence, San Francisco, CA, USA, 4–9 February 2017; pp. 1655–1661. [Google Scholar]
- Chen, E.H.; Ye, Z.R.; Wang, C.; Xu, M.T. Subway Passenger Flow Prediction for Special Events Using Smart Card Data. IEEE Trans. Intell. Transp. Syst. 2020, 21, 1109–1120. [Google Scholar] [CrossRef]
- Wei, Y.; Chen, M.-C. Forecasting the short-term metro passenger flow with empirical mode decomposition and neural networks. Transp. Res. Part C Emerg. Technol. 2012, 21, 148–162. [Google Scholar] [CrossRef]
- Jia, Y.; He, P.; Liu, S.; Cao, L. A Combined Forecasting Model for Passenger Flow Based on GM and ARMA. Int. J. Hybrid Inf. Technol. 2016, 9, 215–226. [Google Scholar] [CrossRef]
- Lee, S.; Fambro, D.; Lee, S.; Fambro, D. Application of Subset Autoregressive Integrated Moving Average Model for Short-Term Freeway Traffic Volume Forecasting. Transp. Res. Rec. J. Transp. Res. Board 1999, 1678, 179–188. [Google Scholar] [CrossRef]
- Yan, D.; Zhou, J.; Zhao, Y.; Wu, B. Short-Term Subway Passenger Flow Prediction Based on ARIMA; Springer: Berlin/Heidelberg, Germany, 2018; pp. 464–479. [Google Scholar]
- Yao, K.; Gao, G.; Liu, Y.; Ju, X.; Zhang, Z. A Stable Passenger Flow Forecast Approach for Newly Opened Metro Stations Based on Multi-Source Data and Random Forest Regression Model. In Proceedings of the 2022 3rd International Conference on Intelligent Design (ICID), Xi’an, China, 21–23 October 2022; pp. 249–254. [Google Scholar]
- Liu, L.J.; Chen, R.C. A novel passenger flow prediction model using deep learning methods. Transp. Res. Part C-Emerg. Technol. 2017, 84, 74–91. [Google Scholar] [CrossRef]
- Shen, C.Z.; Zhu, L.; Hua, G.F.; Zhou, L.Y.; Zhang, L. A Deep Convolutional Neural Network Based Metro Passenger Flow Forecasting System Using a Fusion of Time and Space. In Proceedings of the 2020 IEEE 23RD International Conference on Intelligent Transportation Systems (ITSC), Rhodes, Greece, 20–21 September 2020. [Google Scholar]
- Sun, Y.Q.; Liao, K.L. A hybrid model for metro passengers flow prediction. Syst. Sci. Control Eng. 2023, 11, 2191632. [Google Scholar] [CrossRef]
- Zhang, X.R.; Wang, C.; Chen, J.W.; Chen, D. A deep neural network model with GCN and 3D convolutional network for short-term metro passenger flow forecasting. IET Intell. Transp. Syst. 2023, 17, 1559–1607. [Google Scholar] [CrossRef]
Station Number | Station Name |
---|---|
S1 | Beikezhan Station |
S2 | Beiyuan Station |
S3 | Yundonggongyuan Station |
S4 | Xingzhengzhongxin Station |
S5 | Fengchengwulu Station |
S6 | Shitushuguan Station |
S7 | Daminggongxi Station |
S8 | Longshouyuan Station |
S9 | Anyuanmen Station |
S10 | Beidajie Station |
S11 | Zhonglou Station |
S12 | Yongningmen Station |
S13 | Nanshaomen Station |
S14 | Tiyuchang Station |
S15 | Xiaozhai Station |
S16 | Weiyijie Station |
S17 | Huizhanzhongxin Station |
S18 | Sanyao Station |
S19 | Fengqiyuan Station |
S20 | Hangtiancheng Station |
S21 | Weiqunan Station |
Time Interval | Evaluating Indicators | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Zhonglou Station (Entry) | Zhonglou Station (Exit) | Hangtiancheng Station (Entry) | Hangtiancheng Station (Exit) | |||||||||
RMSE | MAE | MAPE | RMSE | MAE | MAPE | RMSE | MAE | MAPE | RMSE | MAE | MAPE | |
24 | 75.25 | 49.32 | 13.69% | 91.08 | 61.42 | 22.71% | 56.31 | 36.30 | 25.37% | 61.15 | 40.46 | 39.58% |
28 | 78.20 | 51.76 | 13.67% | 91.99 | 59.51 | 23.55% | 56.10 | 34.75 | 16.37% | 60.59 | 41.24 | 44.43% |
32 | 74.90 | 48.54 | 20.52% | 88.77 | 57.41 | 20.76% | 56.12 | 34.04 | 16.54% | 58.67 | 39.05 | 42.97% |
36 | 78.73 | 50.21 | 17.14% | 88.67 | 60.03 | 14.85% | 56.15 | 34.82 | 18.25% | 59.82 | 39.55 | 35.64% |
40 | 74.51 | 48.82 | 17.14% | 90.41 | 63.14 | 35.93% | 55.98 | 37.83 | 31.40% | 54.39 | 37.23 | 31.49% |
44 | 73.10 | 49.22 | 19.02% | 88.45 | 60.95 | 20.05% | 54.29 | 33.46 | 20.82% | 54.62 | 36.97 | 36.77% |
48 | 71.27 | 46.85 | 10.35% | 85.78 | 59.50 | 26.49% | 53.46 | 33.51 | 19.12% | 52.80 | 35.19 | 18.78% |
52 | 69.27 | 45.34 | 16.02% | 87.24 | 59.57 | 15.40% | 53.83 | 32.35 | 17.89% | 54.01 | 36.04 | 30.34% |
56 | 70.55 | 47.89 | 19.14% | 86.28 | 55.52 | 13.97% | 55.01 | 33.05 | 17.83% | 53.69 | 36.27 | 27.52% |
60 | 67.63 | 45.30 | 14.75% | 93.86 | 60.84 | 18.00% | 54.74 | 33.40 | 19.63% | 53.60 | 36.65 | 35.14% |
Experimental Methods | Zhonglou Station (Entry) | Zhonglou Station (Exit) | Hangtiancheng Station (Entry) | Hangtiancheng Station (Exit) | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
RMSE | MAE | MAPE | RMSE | MAE | MAPE | RMSE | MAE | MAPE | RMSE | MAE | MAPE | |
LSTM | 83.84 | 57.59 | 30.50% | 96.72 | 66.94 | 22.52% | 56.57 | 35.83 | 28.06% | 60.39 | 38.68 | 36.50% |
GRU | 82.66 | 55.00 | 31.24% | 96.66 | 67.35 | 22.99% | 55.84 | 34.21 | 27.52% | 58.91 | 40.38 | 38.74% |
Transformer | 79.38 | 56.31 | 28.28% | 96.90 | 65.49 | 19.56% | 55.21 | 34.50 | 24.24% | 59.15 | 40.80 | 33.25% |
MFP-EP + F1 | 72.57 | 48.06 | 15.24% | 92.25 | 64.96 | 43.82% | 55.73 | 34.61 | 18.04% | 54.78 | 38.91 | 41.23% |
MFP-EP + F2 | 72.86 | 48.22 | 16.44% | 97.29 | 63.18 | 15.53% | 53.88 | 35.21 | 21.55% | 55.57 | 37.82 | 31.28% |
MFP-EP + F1 + F2 | 70.43 | 47.68 | 19.33% | 90.77 | 61.15 | 23.06% | 55.12 | 35.14 | 27.73% | 54.53 | 38.01 | 38.24% |
MFP-EP + 1S | 72.58 | 49.55 | 20.13% | 93.61 | 60.93 | 23.32% | 54.85 | 33.39 | 21.71% | 54.35 | 37.01 | 25.89% |
MFP-EP + 2S | 70.06 | 48.08 | 10.80% | 83.56 | 55.73 | 18.71% | 53.31 | 36.47 | 21.83% | 55.06 | 37.42 | 35.20% |
MFP-EP + F1 + F2 + 2S | 71.27 | 46.85 | 10.35% | 86.28 | 55.52 | 13.97% | 53.83 | 32.35 | 17.89% | 52.80 | 35.19 | 18.78% |
MFP-EP + F1 + F2 + 2S + 4C | 68.60 | 45.86 | 10.04% | 80.26 | 51.52 | 13.35% | 52.42 | 30.24 | 16.83% | 51.39 | 33.83 | 17.84% |
POI | Zhonglou Station | Hangtiancheng Station |
---|---|---|
Food and beverage services | 884 | 792 |
Shopping services | 838 | 882 |
Life services | 888 | 811 |
Sports and leisure services | 256 | 53 |
Health care services | 160 | 188 |
Accommodation services | 900 | 166 |
Scenic spots | 35 | 7 |
Government agencies and social organizations | 216 | 115 |
Science and education cultural services | 149 | 114 |
Transportation facilities services | 263 | 69 |
Financial and insurance services | 81 | 39 |
Incorporated businesses | 302 | 81 |
Public facilities | 91 | 10 |
Industrial parks | 0 | 2 |
Residential areas | 71 | 105 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Shi, B.; Wang, Z.; Yan, J.; Yang, Q.; Yang, N. A Novel Spatial–Temporal Deep Learning Method for Metro Flow Prediction Considering External Factors and Periodicity. Appl. Sci. 2024, 14, 1949. https://doi.org/10.3390/app14051949
Shi B, Wang Z, Yan J, Yang Q, Yang N. A Novel Spatial–Temporal Deep Learning Method for Metro Flow Prediction Considering External Factors and Periodicity. Applied Sciences. 2024; 14(5):1949. https://doi.org/10.3390/app14051949
Chicago/Turabian StyleShi, Baixi, Zihan Wang, Jianqiang Yan, Qi Yang, and Nanxi Yang. 2024. "A Novel Spatial–Temporal Deep Learning Method for Metro Flow Prediction Considering External Factors and Periodicity" Applied Sciences 14, no. 5: 1949. https://doi.org/10.3390/app14051949
APA StyleShi, B., Wang, Z., Yan, J., Yang, Q., & Yang, N. (2024). A Novel Spatial–Temporal Deep Learning Method for Metro Flow Prediction Considering External Factors and Periodicity. Applied Sciences, 14(5), 1949. https://doi.org/10.3390/app14051949