Deep Learning Based LSTM Model for Predicting the Number of Passengers for Public Transport Bus Operators

Authors

  • Joko Siswanto Politeknik Keselamatan Transportasi Jalan; Faculty of Information Technology, Satya Wacana Christian University, Indonesia https://orcid.org/0000-0003-3795-2155
  • Danny Manongga Faculty of Information Technology, Satya Wacana Christian University, Indonesia
  • Irwan Sembiring Faculty of Information Technology, Satya Wacana Christian University, Indonesia
  • Sutarto Wijono Faculty of Information Technology, Satya Wacana Christian University, Indonesia

DOI:

https://doi.org/10.15575/join.v9i1.1245

Keywords:

Deep Learning, Long Short Term Memory (LSTM), Number of passenger, Bus operator

Abstract

The bus public transportation system has low reliability and ability to predict the number of passengers. The accuracy of predicting the number of passengers by public transport bus operators is still weak, which results in failure to implement solutions by operators. A prediction model with LSTM based on deep learning is proposed to predict passengers for 4 bus public transportation operators (Go Bus, New Zealand Bus, Pavlovich, and Ritchies) which are evaluated by MSLE, MAPE, and SMAPE with variations in epoch, batch size, and neurons. The dataset is a CSV performance report on Auckland Transport (AT) New Zealand metro patronage buses (01/01/2019-07/31/2023). The best prediction model was obtained from the lowest evaluation value and relatively fast time at variations of epoch 60, batch size 16, and neurons 32. The prediction results on training and testing data improved with the suitability of the model tuning. The proposed prediction model performs predictions 12 months later for 4 predictions simultaneously with predicted fluctuations occurring simultaneously. Strong negative correlation on New Zealand Bus-Pavlovich, strong positive correlation on Go Bus with Ritchies and Pavlovich. Predictions that are less closely related and dependent are New Zealand Bus against Go Bus, Pavlovich, and Ritchies. The proposed prediction modeling can be used as a basis for creating operator policies and strategies to deal with passenger fluctuations and for the development of new prediction models.

References

R. Yao and X. Du, “Modelling lane changing behaviors for bus exiting at bus bay stops considering driving styles: A game theoretical approach,” Travel Behav Soc, vol. 29, pp. 319–329, Oct. 2022, doi: 10.1016/j.tbs.2022.07.008.

Z. Zhang, H. He, J. Guo, and R. Han, “Velocity prediction and profile optimization based real-time energy management strategy for Plug-in hybrid electric buses,” Appl Energy, vol. 280, 2020, doi: 10.1016/j.apenergy.2020.116001.

S. M, G. GS, J. M, A. Suresh, and V. A, “Commutator Bus Transit Recommendation by Predicting Dynamic Bus Flow Occupancy Using Machine Learning,” in 2021 Fifth International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), IEEE, Nov. 2021, pp. 538–541. doi: 10.1109/I-SMAC52330.2021.9640869.

W. Yu, H. Sun, J. Wu, Y. Lv, X. Shang, and X. Wang, “Mapping multimodal random accessibility using smart card data: a case study of bus and subway stations in Beijing,” Transportation Planning and Technology, vol. 45, no. 1, pp. 76–99, Jan. 2022, doi: 10.1080/03081060.2021.2017206.

???, “Design Method of Express Lines at Bus Stations—Case Study in Guilin,” Open Journal of Transportation Technologies, vol. 09, no. 03, pp. 197–206, 2020, doi: 10.12677/OJTT.2020.93024.

A. M. Nayak, A. Ladha, and N. K. Chaubey, “A Comprehensive Comparative Analysis of Passenger Demand Prediction for Improving the Urban Bus Transportation System (UBTS),” International Journal of Engineering Trends and Technology, vol. 70, no. 9, pp. 269–279, Oct. 2022, doi: 10.14445/22315381/IJETT-V70I9P227.

G. Duan, X. Ma, J. Wang, Z. Wang, and Y. Wang, “Optimization of Urban Bus Stops Setting Based on Data Mining,” Intern J Pattern Recognit Artif Intell, vol. 35, no. 08, p. 2159028, Jun. 2021, doi: 10.1142/S021800142159028X.

Z. Nurthohari, D. I. Sensuse, and S. Lusa, “Sentiment Analysis of Jakarta Bus Rapid Transportation Services using Support Vector Machine,” in 2022 International Conference on Data Science and Its Applications (ICoDSA), IEEE, Jul. 2022, pp. 171–176. doi: 10.1109/ICoDSA55874.2022.9862903.

K. Hiroi, K. Hananouchi, H. Imai, and N. Kawaguchi, “An Analysis of Bus Traffic Delay with Geographical Characteristics and an Application to Arrival Time Prediction in Snowfall Situation,” IEEJ Transactions on Electronics, Information and Systems, vol. 140, no. 2, pp. 257–266, Feb. 2020, doi: 10.1541/ieejeiss.140.257.

S. Chen, X. Liu, C. Lyu, L. Vlacic, T. Tang, and Z. Liu, “A holistic data-driven framework for developing a complete profile of bus passengers,” Transp Res Part A Policy Pract, vol. 173, p. 103692, Jul. 2023, doi: 10.1016/j.tra.2023.103692.

Y. Li and C. Ma, “Short-Time Bus Route Passenger Flow Prediction Based on a Secondary Decomposition Integration Method,” J Transp Eng A Syst, vol. 149, no. 2, Feb. 2023, doi: 10.1061/JTEPBS.TEENG-7496.

J.-M. Clairand, M. González-Rodríguez, I. Cedeño, and G. Escrivá-Escrivá, “A charging station planning model considering electric bus aggregators,” Sustainable Energy, Grids and Networks, vol. 30, p. 100638, Jun. 2022, doi: 10.1016/j.segan.2022.100638.

A. M. Nayak and N. K. Chaubey, “Intelligent passenger demand prediction?based rerouting for comfort perception in public bus transport systems,” International Journal of Communication Systems, vol. 35, no. 18, Dec. 2022, doi: 10.1002/dac.5351.

T. Alexandre, F. Bernardini, J. Viterbo, and C. E. Pantoja, “Machine Learning Applied to Public Transportation by Bus: A Systematic Literature Review,” Transportation Research Record: Journal of the Transportation Research Board, vol. 2677, no. 7, pp. 639–660, Jul. 2023, doi: 10.1177/03611981231155189.

F. Jiao, L. Huang, R. Song, and H. Huang, “An Improved STL-LSTM Model for Daily Bus Passenger Flow Prediction during the COVID-19 Pandemic,” Sensors, vol. 21, no. 17, p. 5950, Sep. 2021, doi: 10.3390/s21175950.

T. A. Kumar, R. Rajmohan, M. Pavithra, S. A. Ajagbe, R. Hodhod, and T. Gaber, “Automatic Face Mask Detection System in Public Transportation in Smart Cities Using IoT and Deep Learning,” Electronics (Basel), vol. 11, no. 6, p. 904, Mar. 2022, doi: 10.3390/electronics11060904.

R. Gracious, B. A. Kumar, and L. Vanajakshi, “Performance Evaluation of Passenger Information Systems,” Transportation in Developing Economies, vol. 8, no. 1, p. 4, Apr. 2022, doi: 10.1007/s40890-021-00140-5.

N. Nagaraj, H. L. Gururaj, B. H. Swathi, and Y.-C. Hu, “Passenger flow prediction in bus transportation system using deep learning,” Multimed Tools Appl, vol. 81, no. 9, pp. 12519–12542, Apr. 2022, doi: 10.1007/s11042-022-12306-3.

W. Lv, Y. Lv, Q. Ouyang, and Y. Ren, “A Bus Passenger Flow Prediction Model Fused with Point-of-Interest Data Based on Extreme Gradient Boosting,” Applied Sciences, vol. 12, no. 3, p. 940, Jan. 2022, doi: 10.3390/app12030940.

L. Zou, S. Shu, X. Lin, K. Lin, J. Zhu, and L. Li, “Passenger Flow Prediction Using Smart Card Data from Connected Bus System Based on Interpretable XGBoost,” Wirel Commun Mob Comput, vol. 2022, pp. 1–13, Jan. 2022, doi: 10.1155/2022/5872225.

T. Wu, H. Xu, and J. Lu, “Short-term Prediction of Up and Down Passenger Flow at Bus Station Based on Arrival Spacing,” Wuhan Ligong Daxue Xuebao (Jiaotong Kexue Yu Gongcheng Ban)/Journal of Wuhan University of Technology (Transportation Science and Engineering), vol. 44, no. 6, 2020, doi: 10.3963/j.issn.2095-3844.2020.06.030.

X. Fang, M. Lin, W. Chen, and X. Pan, “Short-Time Bus Passenger Flow Prediction by Identifying Features of Incomplete Data,” Huanan Ligong Daxue Xuebao/Journal of South China University of Technology (Natural Science), vol. 48, no. 4, 2020, doi: 10.12141/j.issn.1000-565X.190465.

G. Cheng and C. He, “Analysis of bus travel characteristics and predictions of elderly passenger flow based on smart card data,” Electronic Research Archive, vol. 30, no. 12, pp. 4256–4276, 2022, doi: 10.3934/era.2022217.

X. Wang, L. Huang, H. Huang, B. Li, Z. Xia, and J. Li, “An Ensemble Learning Model for Short-Term Passenger Flow Prediction,” Complexity, vol. 2020, pp. 1–13, Dec. 2020, doi: 10.1155/2020/6694186.

S. Zhang, Z. Liu, F. Shen, S. Wang, and X. Yang, “A prediction model of buses passenger flow based on neural networks,” J Phys Conf Ser, vol. 1656, no. 1, p. 012002, Sep. 2020, doi: 10.1088/1742-6596/1656/1/012002.

Z. Xu, L. Hou, Y. Zhang, and J. Zhang, “Passenger Flow Prediction of Scenic Spot Using a GCN–RNN Model,” Sustainability, vol. 14, no. 6, p. 3295, Mar. 2022, doi: 10.3390/su14063295.

X. Zhai and Y. Shen, “Short-Term Bus Passenger Flow Prediction Based on Graph Diffusion Convolutional Recurrent Neural Network,” Applied Sciences, vol. 13, no. 8, p. 4910, Apr. 2023, doi: 10.3390/app13084910.

Q. Ouyang, Y. Lv, J. Ma, and J. Li, “An LSTM-Based Method Considering History and Real-Time Data for Passenger Flow Prediction,” Applied Sciences, vol. 10, no. 11, p. 3788, May 2020, doi: 10.3390/app10113788.

G. S. Vidya and V. S. Hari, “LSTM Network Integrated with Particle Filter for Predicting the Bus Passenger Traffic,” J Signal Process Syst, vol. 95, no. 2–3, pp. 161–176, Mar. 2023, doi: 10.1007/s11265-022-01831-x.

S. Liyanage, R. Abduljabbar, H. Dia, and P.-W. Tsai, “AI-based neural network models for bus passenger demand forecasting using smart card data,” Journal of Urban Management, vol. 11, no. 3, pp. 365–380, Sep. 2022, doi: 10.1016/j.jum.2022.05.002.

C. Wu and X. Qi, “Short-term Bus Passenger Flow Forecast Based on CNN-BiLSTM,” Advances in Engineering Technology Research, vol. 5, no. 1, p. 448, May 2023, doi: 10.56028/aetr.5.1.448.2023.

T. Alexandre, F. Bernardini, J. Viterbo, and C. E. Pantoja, “Machine Learning Applied to Public Transportation by Bus: A Systematic Literature Review,” Transportation Research Record: Journal of the Transportation Research Board, vol. 2677, no. 7, pp. 639–660, Jul. 2023, doi: 10.1177/03611981231155189.

A. M. Nayak, A. Ladha, and N. K. Chaubey, “A Comprehensive Comparative Analysis of Passenger Demand Prediction for Improving the Urban Bus Transportation System (UBTS),” International Journal of Engineering Trends and Technology, vol. 70, no. 9, pp. 269–279, Oct. 2022, doi: 10.14445/22315381/IJETT-V70I9P227.

L. Zeng et al., “An LSTM-based driving operation suggestion method for riding comfort-oriented critical zone,” J Ambient Intell Humaniz Comput, vol. 14, no. 2, pp. 755–771, Feb. 2023, doi: 10.1007/s12652-021-03327-1.

G. S. Vidya and V. S. Hari, “LSTM Network Integrated with Particle Filter for Predicting the Bus Passenger Traffic,” J Signal Process Syst, vol. 95, no. 2–3, pp. 161–176, Mar. 2023, doi: 10.1007/s11265-022-01831-x.

X. Wang, L. Huang, H. Huang, B. Li, Z. Xia, and J. Li, “An Ensemble Learning Model for Short-Term Passenger Flow Prediction,” Complexity, vol. 2020, pp. 1–13, Dec. 2020, doi: 10.1155/2020/6694186.

T. Tang, A. Fonzone, R. Liu, and C. Choudhury, “Multi-stage deep learning approaches to predict boarding behaviour of bus passengers,” Sustain Cities Soc, vol. 73, p. 103111, Oct. 2021, doi: 10.1016/j.scs.2021.103111.

J.-L. Wu, M. Lu, and C.-Y. Wang, “Forecasting metro rail transit passenger flow with multiple-attention deep neural networks and surrounding vehicle detection devices,” Applied Intelligence, vol. 53, no. 15, pp. 18531–18546, Aug. 2023, doi: 10.1007/s10489-023-04483-x.

P. Ye and Y. Ma, “Clustering-Based Travel Pattern for Individual Travel Prediction of Frequent Passengers by Using Transit Smart Card,” Transportation Research Record: Journal of the Transportation Research Board, vol. 2677, no. 2, pp. 1278–1287, Feb. 2023, doi: 10.1177/03611981221111355.

S. Zhang, Z. Liu, F. Shen, S. Wang, and X. Yang, “A prediction model of buses passenger flow based on neural networks,” J Phys Conf Ser, vol. 1656, no. 1, p. 012002, Sep. 2020, doi: 10.1088/1742-6596/1656/1/012002.

R. Gracious, B. A. Kumar, and L. Vanajakshi, “Performance Evaluation of Passenger Information Systems,” Transportation in Developing Economies, vol. 8, no. 1, p. 4, Apr. 2022, doi: 10.1007/s40890-021-00140-5.

Auckland Transport, “AT Metro patronage report,” Wellington, 2023. [Online]. Available: https://at.govt.nz/about-us/reports-publications/at-metro-patronage-report

L. Ni et al., “Streamflow and rainfall forecasting by two long short-term memory-based models,” J Hydrol (Amst), vol. 583, p. 124296, Apr. 2020, doi: 10.1016/j.jhydrol.2019.124296.

H. Liu and Z. Long, “An improved deep learning model for predicting stock market price time series,” Digit Signal Process, vol. 102, p. 102741, Jul. 2020, doi: 10.1016/j.dsp.2020.102741.

W. Chen, L. Yang, B. Zha, M. Zhang, and Y. Chen, “Deep learning reservoir porosity prediction based on multilayer long short-term memory network,” GEOPHYSICS, vol. 85, no. 4, pp. WA213–WA225, Jul. 2020, doi: 10.1190/geo2019-0261.1.

M. Marani, M. Zeinali, V. Songmene, and C. K. Mechefske, “Tool wear prediction in high-speed turning of a steel alloy using long short-term memory modelling,” Measurement, vol. 177, p. 109329, Jun. 2021, doi: 10.1016/j.measurement.2021.109329.

M. Dehghan Manshadi, M. Ghassemi, S. M. Mousavi, A. H. Mosavi, and L. Kovacs, “Predicting the Parameters of Vortex Bladeless Wind Turbine Using Deep Learning Method of Long Short-Term Memory,” Energies (Basel), vol. 14, no. 16, p. 4867, Aug. 2021, doi: 10.3390/en14164867.

A. Poulose and D. S. Han, “UWB indoor localization using deep learning LSTM networks,” Applied Sciences (Switzerland), vol. 10, no. 18, 2020, doi: 10.3390/APP10186290.

B. Sadhukhan, S. Chakraborty, and S. Mukherjee, “Predicting the magnitude of an impending earthquake using deep learning techniques,” Earth Sci Inform, vol. 16, no. 1, pp. 803–823, Mar. 2023, doi: 10.1007/s12145-022-00916-2.

H. Zheng, F. Lin, X. Feng, and Y. Chen, “A Hybrid Deep Learning Model With Attention-Based Conv-LSTM Networks for Short-Term Traffic Flow Prediction,” IEEE Transactions on Intelligent Transportation Systems, vol. 22, no. 11, pp. 6910–6920, Nov. 2021, doi: 10.1109/TITS.2020.2997352.

L. Liu et al., “Transient rotor angle stability prediction method based on SVM and LSTM network,” Dianli Zidonghua Shebei/Electric Power Automation Equipment, vol. 40, no. 2, 2020, doi: 10.16081/j.epae.202001009.

Y. Liu, C. Lyu, X. Liu, and Z. Liu, “Automatic Feature Engineering for Bus Passenger Flow Prediction Based on Modular Convolutional Neural Network,” IEEE Transactions on Intelligent Transportation Systems, vol. 22, no. 4, pp. 2349–2358, Apr. 2021, doi: 10.1109/TITS.2020.3004254.

Z. Wang, X. Su, and Z. Ding, “Long-Term Traffic Prediction Based on LSTM Encoder-Decoder Architecture,” IEEE Transactions on Intelligent Transportation Systems, vol. 22, no. 10, pp. 6561–6571, Oct. 2021, doi: 10.1109/TITS.2020.2995546.

Downloads

Published

2024-04-23 — Updated on 2024-04-26

Versions

Issue

Section

Article

Citation Check

Similar Articles

1 2 3 4 5 6 7 8 9 10 > >> 

You may also start an advanced similarity search for this article.