Abstract
Scholars have long sought to identify key city locations that have a pronounced effect on the flow of people under various conditions. Identifying key locations makes it possible for government and/or enterprises to obtain accurate estimates as to the flow of people and thereby formulate reasonable management strategies. Note however that much of the previous research based on professional knowledge or machine learning fails to provide accurate results. Some researchers have employed CNN-based models to predict the flow of people, claiming that those models can extract freatures from multiple locations to improve prediction accuracy. Theoretically, the features extracted using CNN-based models could be used themselves as key locations for specific problems; however, the fact that the features are consolidated via multiple operations often renders interpretation difficult when applied to a real-world setting. In the current study, we developed a novel approach to the identification of key locations based on the results of a CNN-based model and the Grad-Cam kit. The structure of a CNN-based models can have a profound effect on the results of the Grad-Cam kit; therefore, we compared the results obtained using three state-of-art models as well as our CNN-LSTM. Actual flow patterns based on telecommunication data in Taipei were used to verify the efficacy of the proposed method.
Similar content being viewed by others
Data Availability
The people flow data used in this paper cannot be made public because it is regulated by the privacy law of the Taiwan government.
References
Fiore S, Elia D, Pires C E, Mestre D G, Cappiello C, Vitali M, Andrade N, Braz T, Lezzi D, Moraes R et al (2019) An integrated big and fast data analytics platform for smart urban transportation management. IEEE Access 7:117652–117677
Sarkar B, Biswas A (2021) Pythagorean fuzzy ahp-topsis integrated approach for transportation management through a new distance measure. Soft Comput 25(5):4073–4089
Marsch L A (2021) Digital health data-driven approaches to understand human behavior. Neuropsychopharmacology 46(1):191–196
Hayes S C, Merwin R M, McHugh L, Sandoz E K, A-Tjak Jacqueline GL, Ruiz F J, Barnes-Holmes D, Bricker J B, Ciarrochi J, Dixon M R et al (2021) Report of the acbs task force on the strategies and tactics of contextual behavioral science research. J Contex Behav Sci 20:172–183
Williams B M (2001) Multivariate vehicular traffic flow prediction: evaluation of arimax modeling. Transp Res Rec 1776(1):194–200
Sun S, Zhang C, Zhang Y (2005) Traffic flow forecasting using a spatio-temporal Bayesian network predictor. Lect Notes Comput Sci 3697:273–278. Springer
Sun S, Zhang C (2007) The selective random subspace predictor for traffic flow forecasting. IEEE Trans Intell Transp Syst 8(2):367–373
Lin S, Tian H (2020) Short-term metro passenger flow prediction based on random forest and lstm. In: 2020 IEEE 4th information technology, networking, electronic and automation control conference (ITNEC), vol 1. IEEE, pp 2520–2526
Guan D, Huang L, Qu Q (2018) A predicting method of urban traffic network volume based on starima model. In: 17th COTA international conference of transportation professionals, Shanghai, pp 3600–3606
Chen Y-C, Li D-C (2021) Selection of key features for pm2. 5 prediction using a wavelet model and rbf-lstm. Appl Intell 51(4):2534–2555
Sani S, Wiratunga N, Massie S (2017) Learning deep features for knn-based human activity recognition. CEUR Workshop Proceedings
Mohammad Y, Matsumoto K, Hoashi K (2018) Deep feature learning and selection for activity recognition. In: Proceedings of the 33rd annual ACM symposium on applied computing, pp 930–939
Chen J, Pei T, Shaw S-L, Lu F, Li M, Cheng S, Liu X, Zhang H (2018) Fine-grained prediction of urban population using mobile phone location data. Int J Geogr Inf Sci 32(9):1770–1786
Chen Y-C, Liu S-C, Chen B-X, Loh C-H, Ying J J-C (2020) Ensembling-mrbf-lstm framework for prediction of abnormal traffic flows. In: 2020 International conference on pervasive artificial intelligence (ICPAI). IEEE, pp 206–213
Zhang J, Zheng Y, Qi D (2017) Deep spatio-temporal residual networks for citywide crowd flows prediction. In: Thirty-first AAAI conference on artificial intelligence
Li G, Knoop V L, van Lint H (2021) Multistep traffic forecasting by dynamic graph convolution: interpretations of real-time spatial correlations. Transp Res Part C: Emerg Technol 128:103185
Han Y, Peng T, Wang C, Zhang Z, Chen G (2021) A hybrid glm model for predicting citywide spatio-temporal metro passenger flow. ISPRS Int J Geo-Inform 10(4):222
Zhao L, Song Y, Zhang C, Liu Y, Wang P, Lin T, Deng M, Li H (2019) T-gcn: a temporal graph convolutional network for traffic prediction. IEEE Trans Intell Transp Syst 21(9):3848–3858
He T, Guo J, Chen N, Xu X, Wang Z, Fu K, Liu L, Yi Z (2019) Medimlp: using grad-cam to extract crucial variables for lung cancer postoperative complication prediction. IEEE J Biomed Health Inform 24(6):1762–1771
Marsot M, Mei J, Shan X, Ye L, Feng P, Yan X, Li C, Zhao Y (2020) An adaptive pig face recognition approach using convolutional neural networks. Comput Electron Agri 173:105386
Daanouni O, Cherradi B, Tmiri A (2021) Automatic detection of diabetic retinopathy using custom cnn and grad-cam. Adv Intell Syst Comput 1188:15–26
Chen Y-C, Chang T-Y, Chow H-Y, Li S-L, Ou C-Y (2022) Using convolutional neural networks to build a lightweight flood height prediction model with grad-cam for the selection of key grid cells in radar echo maps. Water 14(2):155
Selvaraju R R, Cogswell M, Das A, Vedantam R, Parikh D, Batra D (2017) Grad-cam: visual explanations from deep networks via gradient-based localization. In: Proceedings of the IEEE international conference on computer vision, pp 618–626
Yao H, Tang X, Wei H, Zheng G, Li Z (2019) Revisiting spatial-temporal similarity: a deep learning framework for traffic prediction. In: Proceedings of the AAAI conference on artificial intelligence, vol 33, pp 5668–5675
Tian C, Zhu X, Hu Z, Ma J (2020) Deep spatial-temporal networks for crowd flows prediction by dilated convolutions and region-shifting attention mechanism. Appl Intell 50(10):3057–3070
Box GEP, Jenkins G M, Reinsel G C, Ljung G M (2015) Time series analysis: forecasting and control. Wiley, Canada
Liu S Y, Liu S, Tian Y, Sun Q L, Tang Y Y (2021) Research on forecast of rail traffic flow based on arima model. In: Journal of Physics: Conference Series, vol 1792. IOP Publishing, p 012065
Kumar S V, Vanajakshi L (2015) Short-term traffic flow prediction using seasonal arima model with limited input data. Eur Transp Res Rev 7(3):1–9
Salamanis A, Meladianos P, Kehagias D, Tzovaras D (2015) Evaluating the effect of time series segmentation on starima-based traffic prediction model. In: 2015 IEEE 18th international conference on intelligent transportation systems. IEEE, pp 2225–2230
Duan P, Mao G, Yue W, Wang S (2018) A unified starima based model for short-term traffic flow prediction. In: 2018 21st International conference on intelligent transportation systems (ITSC). IEEE, pp 1652–1657
Li C, Xu P (2021) Application on traffic flow prediction of machine learning in intelligent transportation. Neural Comput Applic 33(2):613–624
Chen X, Wan X, Ding F, Li Q, McCarthy C, Cheng Y, Ran B (2019) Data-driven prediction system of dynamic people-flow in large urban network using cellular probe data. J Adv Transp, 2019
Clark S (2003) Traffic prediction using multivariate nonparametric regression. J Transp Eng 129 (2):161–168
Li K, Liang C, Lu W, Li C, Zhao S, Wang B (2020) Forecasting of short-term daily tourist flow based on seasonal clustering method and pso-lssvm. ISPRS Int J Geo-Inform 9(11):676
Liang S, Ma M, He S, Zhang H (2019) Short-term passenger flow prediction in urban public transport: Kalman filtering combined k-nearest neighbor approach. IEEE Access 7:120937–120949
Kong X, Zhang J, Wei X, Xing W, Lu W (2022) Adaptive spatial-temporal graph attention networks for traffic flow forecasting. Appl Intell 52(4):4300–4316
Zhang J, Zheng Y, Qi D, Li R, Yi X (2016) Dnn-based prediction model for spatio-temporal data. In: Proceedings of the 24th ACM SIGSPATIAL international conference on advances in geographic information systems, pp 1–4
Lin Z, Feng J, Lu Z, Li Y, Jin D (2019) Deepstn+: context-aware spatial-temporal neural network for crowd flow prediction in metropolis. In: Proceedings of the AAAI conference on artificial intelligence, vol 33, pp 1020–1027
Xiao Z, Wang Y, Fu K, Wu F (2017) Identifying different transportation modes from trajectory data using tree-based ensemble classifiers. ISPRS Int J Geo-Inform 6(2):57
Ma L, Fu T, Blaschke T, Li M, Tiede D, Zhou Z, Ma X, Chen D (2017) Evaluation of feature selection methods for object-based land cover mapping of unmanned aerial vehicle imagery using random forest and support vector machine classifiers. ISPRS Int J Geo-Inform 6(2):51
Lundberg S M, Lee S-I (2017) A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems, 30
Barredo-Arrieta A, Laña I, Del Ser J (2019) What lies beneath: a note on the explainability of black-box machine learning models for road traffic forecasting. In: 2019 IEEE intelligent transportation systems conference (ITSC). IEEE, pp 2232–2237
Parsa A B, Movahedi A, Taghipour H, Derrible S, Mohammadian A K (2020) Toward safer highways, application of xgboost and shap for real-time accident detection and feature analysis. Accident Anal Prevent 136:105405
Huang S-Y (2021) Exploring the life habits of different divisions in the city by analyzing the data of public rental bicycle-an example of Taipei City. National Yunlin University of Science and Technology Chen Y-C (ed). https://hdl.handle.net/11296/y8qptu Accessed 15 May 2022
Chen H-Y (2022) Using youbike data to identify the impact of covid-19 on activities in downtown Taipei. National Yunlin University of Science and Technology Chen Y-C (ed). https://hdl.handle.net/11296/mfc3sn Accessed 15 May 2022
Shen G, Li M, Lin J, Bao J, He T (2020) An empirical study for adopting machine learning approaches for gas pipeline flow prediction. Math Probl Eng, 2020
Csikós A, Viharos Z J, Kis K B, Tettamanti T, Varga I (2015) Traffic speed prediction method for urban networks xan ann approach. In: 2015 International conference on models and technologies for intelligent transportation systems (MT-ITS). IEEE, pp 102–108
Acknowledgments
This research was funded by Ministry of Science and Technology Taiwan, grant number MOST 107-2119-M-224-003-MY3, MOST 110-2121-M-224-001, MOST 110-2221-E-006-176-, MOST 108-2621-M-006-007-, MOST 111-2121-M-224-001 and MOST 111-2221-E-006-187-MY2.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Yow-Shin Liou, Yi-Chun Chen, Chiang Lee, Rong-Kang Shang and Tzu-Yin Chang contributed equally to this work.
Rights and permissions
About this article
Cite this article
Chiu, SM., Liou, YS., Chen, YC. et al. Identifying key grid cells for crowd flow predictions based on CNN-based models with the Grad-CAM kit. Appl Intell 53, 13323–13351 (2023). https://doi.org/10.1007/s10489-022-03988-1
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10489-022-03988-1