journal article·2025-01-16Open access

The Use of Machine Learning Methods in Road Safety Research in Poland

Anna Borucka, Sebastian Sobczuk

Applied Sciences· Volume 15· Issue 2

Abstract

Every year, thousands of accidents occur in Poland, often resulting in severe injuries or even death. The implementation of solutions supporting road safety analysis and management processes is necessary to reduce the risk of accidents and minimize their consequences. One of the rapidly developing tools that can play a key role in this area is machine learning. The aim of this study was to develop mathematical models based on ML algorithms describing road safety in Poland. First, variables with the strongest impact on safety were extracted. Then, mathematical modeling was performed using the k-Nearest Neighbors, Random Forest, and RPart algorithms. The best choice for imbalanced data, especially when the goal is to identify rare classes, is the RF model. The KNN model provides a compromise in situations where the highest overall accuracy is desired. On the other hand, the RPart model can be used as a fast, basic model, but it requires improvements to handle rare classes. The results not only identified factors that significantly affect the severity of injuries or the number of fatalities in accidents but, above all, also demonstrated the ability of ML-based models to predict threats and their consequences.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Traffic and Road Safety · Traffic Prediction and Management Techniques · Big Data Technologies and Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty of Security, Logistics and Management, Military University of Technology, 00-908 Warsaw, Poland

Doctoral School, Military University of Technology, 00-908 Warsaw, Poland

References (76)

Show source-provided references
1. Quantitative analysis of the social costs of road traffic crashes literature10.1016/j.aap.2021.106282 ↗
2. (2024, November 25). Road Accidents–Annual Reports of the Polish Police Headquarters. Available online: https://statystyka.policja.pl/st/ruch-drogowy/76562,wypadki-drogowe-raporty-roczne.html.
3. (2024, November 25). Road Safety Status Reports, Available online: https://www.krbrd.gov.pl/baza-wiedzy/raporty-o-stanie-brd/.
4. The Future of Road Safety: Challenges and opportunities10.1111/1468-0009.12644 ↗
5. Degradation generation and prediction based on machine learning methods: A comparative study
6. An attempt at applying machine learning in diagnosing marine ship engine turbochargers10.17531/ein.2022.4.19 ↗
7. Machine learning-based traffic prediction models for Intelligent Transportation Systems10.1016/j.comnet.2020.107530 ↗
8. Identification of dynamic traffic crash risk for cross-area freeways based on statistical and machine learning methods10.1016/j.physa.2022.127083 ↗
9. A Machine Learning Methodology to Predict Alerts and Maintenance Interventions in Roads10.1080/14680629.2020.1753098 ↗
10. Spatial Transitions of Areas near Highway Interchanges of the Eastern A4 Highway Section in Poland10.1016/j.jtrangeo.2024.104005 ↗
11. Expanding the Network of Highways and Expressways in the Post-Socialist Countries of the European Union in the Years 2004–2019
12. Analysis of the Causes of Vehicle Accidents in Poland in 2009–201910.2478/logi-2020-0017 ↗
13. Determinants and Effects of Poland’s Road Accidents in the Context of the 2030 Agenda for Sustainable Development—Poviat Level Analysis for the Years 2010–201910.34659/eis.2022.82.3.469 ↗
14. Good Weather for a Ride (or Not?): How Weather Conditions Impact Road Accidents —a Case Study from Wielkopolska (Poland)10.1007/s00484-023-02592-3 ↗
15. Burzyńska, M., and Pikala, M. (2021). Decreasing Trends in Road Traffic Mortality in Poland: A Twenty-Year Analysis. International Int. J. Environ. Res. Public Health, 18.10.3390/ijerph181910411 ↗
16. Analysis of road accidents in 2002–2019 on the example of Poland10.14669/AM.VOL89.ART1 ↗
17. Analysis of Road Safety in Poland after Accession to the European Union
18. Road safety and the causes of road accidents in Poland10.20858/tp.2022.17.3.02 ↗
19. Influence of meteorological conditions on road accidents. A model Indexed by: For observations with excess zeros10.17531/ein.2021.3.20 ↗
20. Predictive modeling of hourly probabilities for weather-related road accidents10.5194/nhess-20-2857-2020 ↗
21. Sánchez González, S., Bedoya-Maya, F., and Calatayud, A. (2021). Understanding the Effect of Traffic Congestion on Accidents Using Big Data. Sustainability, 13.10.3390/su13137500 ↗
22. Predictive analysis of the impact of the time of day on road accidents in Poland10.1515/eng-2021-0017 ↗
23. Methodology for Optimizing Factors Affecting Road Accidents in Poland10.3390/forecast5010018 ↗
24. Public intention to pay for road safety improvement: A case study of Pakistan10.1016/j.aap.2021.106315 ↗
25. The assessment of the technical condition of a tire belt using computed tomography
26. Estimated Assessment Of The Potential Impact Of Driver Assistance Systems Used in Automated Vehicles on the Level of Road Safety in Poland10.21307/tp-2020-070 ↗
27. On the road safety benefits of advanced driver assistance systems in different driving contexts
28. Edvardsson Björnberg, K., Belin, M.Å., Hansson, S.O., and Tingvall, C. (2022). Vision Zero in Poland. The Vision Zero Handbook, Springer. [1st ed.].10.1007/978-3-030-76505-7 ↗
29. Towards better road safety management: Lessons learned from international benchmarking10.1016/j.aap.2020.105484 ↗
30. Analysis of energy efficiency and dynamics during car acceleration
31. Kozłowski, E., Borucka, A., Świderski, A., and Skoczyński, P. (2021). Classification Trees in the Assessment of the Road–Railway Accidents Mortality. Energies, 14.10.3390/en14123462 ↗
32. Intelligent mobility: A model for assessing the safety of children traveling to school on a school bus with the use of intelligent bus stops10.17531/ein.2022.4.10 ↗
33. Evaluation of readiness of the technical system using the semi-Markov model with selected sojourn time distributions
34. A method for calculating the technical readiness of aviation refuelling vehicles
35. Evaluation of the maintenance system readiness using the semi-Markov model taking into account hidden factors
36. Machine Learning Applied to Road Safety Modeling: A Systematic Literature Review
37. Enhancing Road Safety with Machine Learning: Current Advances and Future Directions in Accident Prediction Using Non-Visual Data10.1016/j.engappai.2024.109086 ↗
38. Guido, G., Shaffiee Haghshenas, S., Shaffiee Haghshenas, S., Vitale, A., Astarita, V., Park, Y., and Geem, Z.W. (2022). Evaluation of Contributing Factors Affecting Number of Vehicles Involved in Crashes Using Machine Learning Techniques in Rural Roads of Cosenza, Italy. Safety, 8.10.3390/safety8020028 ↗
39. Banerjee, K., Bali, V., Sharma, A., Aggarwal, D., Yadav, A., Shukla, A., and Srivastav, P. (2022, January 10–11). Traffic Accident Risk Prediction Using Machine Learning. Proceedings of the 2022 International Mobile and Embedded Technology Conference (MECON), Noida, India.10.1109/MECON53876.2022.9752273 ↗
40. Pourroostaei Ardakani, S., Liang, X., Mengistu, K.T., So, R.S., Wei, X., He, B., and Cheshmehzangi, A. (2023). Road Car Accident Prediction Using a Machine-Learning-Enabled Data Analysis. Sustainability, 15.10.3390/su15075939 ↗
41. Saravanan, A., Malathi, M., Manonmani, M., Sanathani, T., and Kumar, A.S. (2021, January 2–4). Prediction of Road Accidents Using Machine Learning Technique. Proceedings of the 2020 4th International Conference on Electronics, Communication and Aerospace Technology (ICECA), Coimbatore, India.
42. Research on Black Spot Identification of Safety in Urban Traffic Accidents Based on Machine Learning Method10.1016/j.ssci.2019.05.039 ↗
43. Olugbade, S., Ojo, S., Imoize, A.L., Isabona, J., and Alaba, M.O. (2022). A Review of Artificial Intelligence and Machine Learning for Incident Detectors in Road Transport Systems. Math. Comput. Appl., 27.10.3390/mca27050077 ↗
44. Do Vale Saraiva, T., and Campos, C.A.V. (July, January 28). An approach using machine learning and public data to detect traffic jams. Proceedings of the 2021 International Wireless Communications and Mobile Computing (IWCMC), Harbin, China.10.1109/IWCMC51323.2021.9498622 ↗
45. Real-Time Traffic Congestion Prediction Using Big Data and Machine Learning Techniques10.1108/WJE-07-2021-0428 ↗
46. Ghandour, R., Potams, A.J., Boulkaibet, I., Neji, B., and Al Barakeh, Z. (2021). Driver Behavior Classification System Analysis Using Machine Learning Methods. Appl. Sci., 11.10.3390/app112210562 ↗
47. Lattanzi, E., Castellucci, G., and Freschi, V. (2020). Improving Machine Learning Identification of Unsafe Driver Behavior by Means of Sensor Fusion. Appl. Sci., 10.10.3390/app10186417 ↗
48. Recent Advances in Machine Learning Based Advanced Driver Assistance System Applications10.1016/j.micpro.2024.105101 ↗
49. Optimizing Traffic Flow with Reinforcement Learning: A Study on Traffic Light Management10.1109/TITS.2024.3351471 ↗
50. Navarro-Espinoza, A., López-Bonilla, O.R., García-Guerrero, E.E., Tlelo-Cuautle, E., López-Mancilla, D., Hernández-Mejía, C., and Inzunza-González, E. (2022). Traffic Flow Prediction for Smart Traffic Lights Using Machine Learning Algorithms. Technologies, 10.10.3390/technologies10010005 ↗
51. An Improved Pheromone-Based Vehicle Rerouting System to Reduce Traffic Congestion10.1016/j.asoc.2019.105702 ↗
52. Karballaeezadeh, N., Zaremotekhases, F., Shamshirband, S., Mosavi, A., Nabipour, N., Csiba, P., and Várkonyi-Kóczy, A.R. (2020). Intelligent Road Inspection with Advanced Machine Learning; Hybrid Prediction Models for Smart Mobility and Transportation Maintenance Systems. Energies, 13.10.20944/preprints202001.0227.v1 ↗
53. Risk Analysis of Bridge Maintenance Accidents: A Two-Stage LEC Method and Bayesian Network Approach10.1016/j.ijtst.2023.07.002 ↗
54. Reddy, A.N.R., Marla, D., Favorskaya, M.N., and Satapathy, S.C. (2022). Road Surface Quality Monitoring Using Machine Learning Algorithm. Intelligent Manufacturing and Energy Sustainability. Smart Innovation, Systems and Technologies, Springer.10.1007/978-981-16-6482-3 ↗
55. Han, H., Guo, X., and Yu, H. (2016, January 26–28). Variable selection using Mean Decrease Accuracy and Mean Decrease Gini based on Random Forest. Proceedings of the 2016 7th IEEE International Conference on Software Engineering and Service Science (ICSESS), Beijing, China.
56. Jaiswal, J.K., and Samikannu, R. (2017, January 2–4). Application of Random Forest Algorithm on Feature Subset Selection and Classification and Regression. Proceedings of the 2017 World Congress on Computing and Communication Technologies (WCCCT), Tiruchirappalli, India.10.1109/WCCCT.2016.25 ↗
57. Learning k for kNN classification
58. Machine learning algorithms—A review
59. Uddin, S., Haque, I., Lu, H., Moni, M.A., and Gide, E. (2022). Comparative Performance Analysis of K-Nearest Neighbour (KNN) Algorithm and Its Different Variants for Disease Prediction. Sci. Rep., 12.10.1038/s41598-022-10358-x ↗
60. Research on Machine Learning Framework Based on Random Forest Algorithm10.1063/1.4977376 ↗
61. A Comparison of Random Forest Variable Selection Methods for Classification Prediction Modeling10.1016/j.eswa.2019.05.028 ↗
62. Performance Evaluation of Classification Algorithms by K-Fold and Leave-One-out Cross Validation10.1016/j.patcog.2015.03.009 ↗
63. Cross-Validation Visualized: A Narrative Guide to Advanced Methods10.3390/make6020065 ↗
64. Hornik, K., and Parmigiani, G. (2020). CART. Random Forests with R. Use R!, Springer. [1st ed.].
65. Dehghan, S., Rabiei, R., Choobineh, H., Maghooli, K., Nazari, M., and Vahidi-Asl, M. (2024). Comparative Study of Machine Learning Approaches Integrated with Genetic Algorithm for IVF Success Prediction. PLoS ONE, 19.10.1371/journal.pone.0310829 ↗
66. Turska, E., Jurga, S., and Piskorski, J. (2021). Mood Disorder Detection in Adolescents by Classification Trees, Random Forests and XGBoost in Presence of Missing Data. Entropy, 23.10.3390/e23091210 ↗
67. Cross-Validation
68. Magician’s Corner: 9. Performance Metrics for Machine Learning Models10.1148/ryai.2021200126 ↗
69. A cloud detection algorithm for satellite imagery based on Deep Learning10.1016/j.rse.2019.03.039 ↗
70. General Performance Score for Classification Problems10.1007/s10489-021-03041-7 ↗
71. Rainio, O., Teuho, J., and Klén, R. (2024). Evaluation Metrics and Statistical Tests for Machine Learning. Sci. Rep., 14.10.1038/s41598-024-56706-x ↗
72. Bland, M. (2015). An Introduction to Medical Statistics, Oxford University Press. [4th ed.].
73. Meta-Analysis of Cohen’s Kappa10.1007/s10742-011-0077-3 ↗
74. Ghandour, A.J., Hammoud, H., and Al-Hajj, S. (2020). Analyzing Factors Associated with Fatal Road Crashes: A Machine Learning Approach. Int. J. Environ. Res. Public Health, 17.10.3390/ijerph17114111 ↗
75. Ha, N.T., Manley-Harris, M., Pham, T.D., and Hawes, I. (2020). A Comparative Assessment of Ensemble-Based Machine Learning and Maximum Likelihood Methods for Mapping Seagrass Using Sentinel-2 Imagery in Tauranga Harbor, New Zealand. Remote Sens., 12.10.3390/rs12030355 ↗
76. (2024, November 25). CRAN Task View: Machine Learning & Statistical Learning. Available online: https://cran.r-project.org/web/views/MachineLearning.html.