Analysis of Two-Wheeler Casualty Traffic Accidents with Improved Apriori Algorithm Based on the XGBoost Model
Downloads
Accurately identifying the significant factors influencing the severity of two-wheeler casualty accidents and mining association rules between multi-factor combinations and accident outcomes is crucial for implementing targeted prevention strategies. This study integrates machine learning and an improved Apriori algorithm to analyse 5,032 two-wheeler casualty accidents. Initial factors were identified through feature screening, feature fusion and K-means clustering, and then ranked by importance using the XGBoost model, resulting in ten significant factors for association rule mining. Accident severity weights were calculated based on equivalent minor injury values, and an improved Apriori algorithm, incorporating weighted support and constraints on consequent terms, was applied to extract association rules for both major and general accidents. Results show that combinations of factors such as lorries, two-wheeler riders aged 59 years or older, segregated roads, asphalt structures, electric bicycles, summer and lack of helmet use are strongly associated with major accidents. Conversely, combinations involving passenger vehicles, motorcycles, two-wheeler riders aged 30 to 43 years, non-segregated roads, cement structures and spring are associated with general accidents. Among these factors, the collision object has the greatest impact on accident severity. Minimising spatial and temporal conflicts between two-wheelers and other vehicles is essential to reducing two-wheeler casualties.
Downloads
World Health Organization. Global status report on road safety 2021(WHO). Geneva, Switzerland: WHO Library Cataloguing-in-Publication Data Global, 2023.
Wang X, et al. Risky behaviors, psychological failures and kinematics in vehicle-to-powered two-wheeler accidents: Results from in-depth Chinese crash data. Accident Analysis & Prevention. 2021;156:106150. DOI: 10.1016/j.aap.2021.106150.
Sui B, et l. A clustering approach to developing car-to-two-wheeler test scenarios for the assessment of automated emergency braking in China using in-depth Chinese crash data. Accident Analysis & Prevention. 2019;132:105242. DOI: 10.1016/j.aap.2019.07.018.
Karthick L, et al. Vehicle safety system for two wheeler – A critical review. Materials Today: Proceedings. 2022; 52:1594-1597. DOI: 10.1016/j.matpr.2021.11.258.
National Bureau of Statistics of China. China Statistical Year Book; 2023. https://www.stats.gov.cn/sj/ndsj/2023/indexch.htm [Accessed 12th April 2025].
Tešić M, et al. Identifying the most significant indicators of the total road safety performance index. Accident Analysis & Prevention. 2018;113:263-278. DOI: 10.1016/j.aap.2018.02.003.
Alanazi F, et al. Impact of data balancing and feature engineering on accident severity models. Promet-Traffic&Transportation. 2025;37(3):665-690. DOI: 10.7307/ptt.v37i3.856.
Albalate D, et al. Motorcycle injury severity in Barcelona: The role of vehicle type and congestion. Traffic Injury Prevention. 2010;11(6):623–631. DOI: 10.1080/15389588.2010.506932.
Moskal A, et al. Risk factors for injury accidents among moped and motorcycle riders. Accident Analysis & Prevention. 2012;49:5-11. DOI: 10.1016/j.aap.2010.08.021.
Schneider IV, et al. Examination of factors determining fault in two-vehicle motorcycle crashes. Accident Analysis & Prevention. 2012; 45:669-676. DOI: 10.1016/j.aap.2011.09.037.
Hertach P, et al. Characteristics of single-vehicle crashes with e-bikes in Switzerland. Accident Analysis & Prevention. 2018; 117:232-238. DOI: 10.1016/j.aap.2018.04.021.
Yang N, et al. Analysis of fatal factors influencing accidents involving two-wheel electric vehicle drivers at intersections. Legal Medicine. 2020;45:101696. DOI: 10.1016/j.legalmed.2020.101696.
Panwinkler T, et al. Causes of pedelec (pedal electric cycle) single accidents and their influence on injury severity. Accident Analysis & Prevention. 2021;154:106082. DOI: 10.1016/j.aap.2021.106082.
Brown L, et al. Investigation of accidents involving powered two wheelers and bicycles–A European in-depth study. Journal of safety research. 2021;76:135-145. DOI: 10.1016/j.jsr.2020.12.015.
Ulu M, et al. Bibliometric analysis of traffic accident prediction studies from 2003 to 2023: trends, patterns and future directions. Promet-Traffic&Transportation. 2024;36(5):833-851. DOI: 10.7307/ptt.v36i5.576.
Santos K, et al. A literature review of machine learning algorithms for crash injury severity prediction. Journal of Safety Research. 2022;80:254-269. DOI: 10.1016/j.jsr.2021.12.007.
Blackman RA, et al. Comparison of moped, scooter and motorcycle crash risk and crash severity. Accident Analysis & Prevention. 2013;57:1-9. DOI: 10.1016/j.aap.2013.03.026.
Shaheed MS, et al. A mixed logit analysis of two-vehicle crash severities involving a motorcycle. Accident Analysis & Prevention. 2013;61:119-128. DOI: 10.1016/j.aap.2013.05.028.
Santos K, et al. Risk factors associated with the increase of injury severity of powered two wheelers road accidents victims in Portugal. Traffic Injury Prevention. 2021;22(8):646-650. DOI: 10.1080/15389588.2021.1987421.
Wei T, et al. Predicting and factor analysis of rider injury severity in two-wheeled motorcycle and vehicle crash accidents based on an interpretable machine learning framework. Traffic Injury Prevention. 2024;25(2):194-201. DOI: 10.1080/15389588.2023.2284111.
Chang FR, et al. Crash injury severity analysis of E-Bike Riders: A random parameters generalized ordered probit model with heterogeneity in means. Safety Science. 2022;146:105545. DOI: 10.1016/j.ssci.2021.105545.
Zhang XL, et al. Analysis of factors affecting injury severity of shared electric bike riders. Journal of Southeast University ( English Edition), 2023; 39(3): 284-291.DOI: 10.3969/j.issn.1003-7985.2023.03.009.
Islam S, et al. A comparative injury severity analysis of motorcycle at-fault crashes on rural and urban roadways in Alabama. Accident Analysis & Prevention. 2017;108:163-171. DOI: 10.1016/j.aap.2017.08.016.
Yang Y, et al. Review of the research toward freeway unconventional traffic accidents. Journal of Applied Basic and Engineering Sciences. 2024;32(03):601-626. DOI: 10.16058/j.issn.1005-0930.2024.03.001.
Alkheder S, et al. Risk analysis of traffic accidents' severities: An application of three data mining models. ISA Transactions. 2020;106:213-220. DOI: 10.1016/j.isatra.2020.06.018.
Wu WT, et al. Economic development, demographic characteristics, road network and traffic accidents in Zhongshan, China: gradient boosting decision tree model. Transportmetrica A Transport Science. 2020; 16(3): 359-387. DOI: 10.1080/23249935.2020.1711543.
Katanalp BY, et al. The novel approaches to classify cyclist accident injury-severity: Hybrid fuzzy decision mechanisms. Accident Analysis & Prevention. 2020;144:105590. DOI: 10.1016/j.aap.2020.105590.
Xu RH, et al. Risk prediction and early warning for air traffic controllers’ unsafe acts using association rule mining and random forest. Safety Science. 2021;135:105125. DOI: 10.1016/j.ssci.2020.105125.
Parsa AB, et al. Toward safer highways, application of XGBoost and SHAP for real-time accident detection and feature analysis. Accident Analysis & Prevention. 2020;136:105405. DOI: 10.1016/j.aap.2019.105405.
Jamali DM, et al. Identifying interactions among factors related to death occurred at the scene of traffic accidents: Application of "logic regression" method. Heliyon. 2024;10(11):e32469. DOI: 10.1016/j.heliyon.2024.e32469.
Hu LW, et al. Influence factors and coupling relationship of traffic accident injury degree based on a data-driven approach. Journal of Transportation Systems Engineering and Information Technology. 2022;22(5):117-124. DOI: 10.16097/j.cnki.1009-6744.2022.05.012.
Guo J, et al. Risk analysis for hazardous chemical vehicle-bridge transportation system: A dynamic Bayesian network model incorporating vehicle dynamics. Reliability Engineering & System Safety. 2024;242:109732. DOI: 10.1016/j.ress.2023.109732.
Zhu LP, et al. Analysis of traffic accident causes based on data augmentation and ensemble learning with high-dimensional small-sample data. Expert Systems with Applications. 2024;237:121782. DOI: 10.1016/j.eswa.2023.121782.
Das S, et al. Supervised association rules mining on pedestrian crashes in urban areas: identifying patterns for appropriate countermeasures. International Journal of Urban Sciences. 2019;23:30-48. DOI: 10.1080/12265934.2018.1431146.
Wang L, et al. An improved eclat algorithm based association rules mining method for failure status information and remanufacturing machining schemes of retired products. Procedia CIRP. 2023;118:572-577. DOI: 10.1016/j.procir.2023.06.098.
Tamakloe R, et al. Factors affecting motorcycle crash casualty severity at signalized and non-signalized intersections in Ghana: Insights from a data mining and binary logit regression approach. Accident Analysis & Prevention. 2022;165:106517. DOI: 10.1016/j.aap.2021.1.
Yu S, et al. Identifying Factors that Influence the Patterns of Road Crashes Using Association Rules: A case Study from Wisconsin, United States. Sustainability. 2019;11(7):1925. DOI: 10.3390/su11071925.
Xu C, et al. Association rule analysis of factors contributing to extraordinarily severe traffic crashes in China. Journal of Safety Research. 2018;67:65-75. DOI: 10.1016/j.jsr.2018.09.013.
Hong J, et al. Application of association rules mining algorithm for hazardous materials transportation crashes on expressway. Accident Analysis & Prevention. 2020;142:105497. DOI: 10.1016/j.aap.2020.105497.
Samerei SA, et al. Data mining approach to model bus crash severity in Australia. Journal of Safety Research. 2021;76:73-82. DOI: 10.1016/j.jsr.2020.12.004.
Hong J, et al. Discovering Insightful Rules among Truck Crash Characteristics using Apriori Algorithm. Journal of Advanced Transportation. 2020;2020:1-16. DOI: 10.1155/2020/4323816.
Montella A, et al. A data mining approach to investigate patterns of powered two-wheeler crashes in Spain. Accident Analysis & Prevention. 2020;134:105251. DOI: 10.1016/j.aap.2019.07.027.
Das S, et al. Fatal pedestrian crashes at intersections: Trend mining using association rules. Accident Analysis & Prevention. 2021;160:106306. DOI: 10.1016/j.aap.2021.106306.
Vo B, et al. A novel approach for mining maximal frequent patterns. Expert Systems with Applications. 2017;73:178-186. DOI: 10.1016/j.eswa.2016.12.023.
Liu XB, et al. An improved association rules mining method. Expert Systems with Applications. 2012;39(1):1362-1374. DOI: 10.1016/j.eswa.2011.08.018.
Nguyen LTT, et al. Updating mined class association rules for record insertion. Applied Intelligence. 2014;42(4):707-721. DOI: 10.1007/s10489-014-0614-1.
Wu WT, et al. A novel software defect prediction approach via weighted classification based on association rule mining. Engineering Applications of Artificial Intelligence. 2024;129:107622. DOI: 10.1016/j.engappai.2023.107622.
Besharati MM, et al. Which set of factors contribute to increase the likelihood of pedestrian fatality in road crashes?. International Journal of Injury Control and Safety Promotion. 2018;25(3):247-256. DOI: 10.1080/17457300.2017.1363781.
Yang C, et al. The application of XGBoost and SHAP to examining the factors in freight truck-related crashes: An exploratory analysis. Accident Analysis & Prevention. 2021;158:106153. DOI: 10.1016/j.aap.2021.106153.
He M, et al. Road Traffic Accident Prediction based on multi-source data–a systematic review. Promet-Traffic&Transportation. 2025;37(2):499-522. DOI: 10.7307/ptt.v37i2.763.
Zhu X, et al. Modeling occupant-level injury severity: An application to large-truck crashes. Accident Analysis & Prevention. 2011;43(4):1427-1437. DOI: 10.1016/j.aap.2011.02.021.
Osman M, et al. Analysis of injury severity of large truck crashes in work zones. Accident Analysis & Prevention. 2016;97:261-273. DOI: 10.1016/j.aap.2016.10.020.
Beck B, et al. Bicycling crash characteristics: An in-depth crash investigation study. Accident Analysis & Prevention. 2016;96:219-227. DOI: 10.1016/j.aap.2016.10.020.
Luburić G, et al. Risk assessment of traffic accidents involving young adult drivers by identification of subjective and objective factors. Promet-Traffic&Transportation. 2023,35(1):27-36. DOI: 10.7307/ptt.v35i1.9.
Copyright (c) 2026 Yansong Hu, Changjun WANG, Jinzi ZHENG, Yonggang ZHANG, Tianya DU

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.













