Predicting the Multi-Factor Trigger Probability of Major Urban Security Incidents Using the XGBoost Ensemble Algorithm
Main Article Content
Abstract
Accurate prediction of major urban safety incidents is essential for proactive emergency management and intelligent infrastructure protection, particularly in modern smart cities supported by distributed sensing and communication networks. To address the limitations of conventional statistical and machine learning approaches in modeling nonlinear interactions among heterogeneous risk factors, this study proposes a multi-factor trigger probability prediction framework based on an improved Extreme Gradient Boosting (XGBoost) algorithm. A comprehensive “human– machine–environment–management” factor system is established to characterize complex coupling mechanisms underlying urban safety events, and adaptive sample weighting, feature interaction enhancement, and hierarchical regularization strategies are incorporated to improve prediction performance under imbalanced data conditions. Experimental evaluation using six years of real-world incident data demonstrates that the proposed model achieves an accuracy of 92.3%, a precision of 89.7%, a recall of 91.2%, an F1-score of 90.4%, and an AUC of 0.935, outperforming conventional logistic regression, support vector machine, random forest, and traditional gradient boosting models. Feature importance analysis further identifies extreme weather frequency, equipment aging rate, and personnel violation frequency as the dominant contributors to incident occurrence. Beyond urban emergency management, the proposed framework provides a reliable data-driven methodology for risk assessment and adaptive decision support in electromagnetic sensing networks, wireless monitoring systems, and intelligent communication infrastructures requiring real-time multi-source information fusion.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
References
Y. Zhao, F. M. Ramos, and B. Li, “Retraction Note: Integrated framework to integrate spark-based big data analytics and for health monitoring and recommendation in sports using XGBoost algorithm,” Soft Computing, vol. (prepublish), pp. 1-1, 2026, doi: 10.1007/s00500-026-11199-w.
E. Dastres and M. Edalat, “Deep ensemble learning for weed risk mapping: Hybrid RF-CatBoost and CNN-XGBoost algorithms for predicting Chenopodium album distribution in rapeseed fields,” Smart Agricultural Technology, vol. 13, Art. no. 101731, 2026, doi: 10.1016/j.atech.2025.101731.
R. Suppakul, W. Jitchaijaroen, S. Keawsawasvong, et al., “Undrained uplift capacity prediction of open-caisson anchors in anisotropic clays using XGBoost integrated with mutation-based genetic algorithms,” Artificial Intelligence in Geosciences, vol. 6, no. 2, Art. no. 100162, 2025, doi: 10.1016/j.aiig.2025.100162.
F. Khodadadi, F. Taghizadeh, H. A. Baghi, et al., “Leveraging ensemble machine learning models (XGBoost and random forest) and genetic algorithms to predict factors contributing to the liposomal entrapment of therapeutics,” Nanoscale, 2025, doi: 10.1039/D5NR01741F 3753.
F. D. Muhyi and O. Ata, “Integrative machine learning approaches for enhanced cardiovascular disease prediction: a comparative analysis of XGBoost and ANFIS algorithms,” The Journal of Supercomputing, vol. 81, no. 12, pp. 1213, 2025, doi: 10.1007/s11227-025-07687-9.
Y. Chen, Y. Zhang, C. Li, et al., “Application of XGBoost Model Optimized by Multi-Algorithm Ensemble in Predicting FRP-Concrete Interfacial Bond Strength,” Materials, vol. 18, no. 12, pp. 2868, 2025, doi: 10.3390/ma18122868.
H. Huisi, Y. Yiming, H. Jianlong, et al., “Construction of a Clinical Path Discrimination Model for Stroke Patients Based on the XGBoost Integrated Learning Algorithm and Its Application Analysis in the MOP under the DIP Payment Model,” Journal of Clinical and Nursing Research, vol. 9, no. 4, pp. 291-298, 2025, doi: 10.26689/jcnr.v9i4.10484.
H. Ahmad, Z. Yinghua, M. Khan, et al., “Morphometric assessment and soil erosion susceptibility maping using ensemble extreme gradient boosting (XGBoost) algorithm: a study for Hunza-Nagar catchment, Northern Pakistan,” Environmental Earth Sciences, vol. 83, no. 21, pp. 605, 2024, doi: 10.1007/s12665-024-11909-3.
Z. Zou, B. Wang, X. Hu, et al., “Enhancing requirements-to-code traceability with GA-XWCoDe: Integrating XGBoost, Node2Vec, and genetic algorithms for improving model performance and stability,” Journal of King Saud University - Computer and Information Sciences, vol. 36, no. 8, Art. no. 102197, 2024, doi: 10.1016/j.jksuci.2024.102197.
S. Luo, B. Wang, Q. Gao, et al., “Stacking integration algorithm based on CNN-BiLSTM-Attention with XGBoost for shortterm electricity load forecasting,” Energy Reports, vol. 12, pp. 2676-2689, 2024, doi: 10.1016/j.egyr.2024.08.078.
W. Xia, B. Liu, and H. Xiang, “Prediction of Liquid Accumulation Height in Gas Well Tubing Using Integration of Crayfish Optimization Algorithm and XGBoost,” Processes, vol. 12, no. 9, pp. 1788, 2024, doi: 10.3390/pr12091788.
W. Li, Y. Peng, and K. Peng, “Diabetes prediction model based on GA-XGBoost and stacking ensemble algorithm,” PloS one, vol. 19, no. 9, Art. no. e0311222, 2024, doi: 10.1371/journal.pone.0311222.
A. Cao, X. Jin, Y. Wang, et al., “The effects of suspension-supported training on dynamic balance capacity in stroke patients: a systematic review and meta-analysis enhanced by XGBoost machine learning,” Frontiers in Medicine, vol. 13, Art. no. 1747067, 2026, doi: 10.3389/fmed.2026.1747067.
A. Saghir, R. Basit, H. Lal, et al., “The Deep Learning ResNet101 and Ensemble XGBoost Algorithm with Hyper parameters Optimization Accurately Predict the Lung Cancer,” Applied Artificial Intelligence, pp. 37(1), 2023, doi: 10.1080/08839514.2023.2166222.
Z. W. Hua, Y. L. Fei, W. Tao, et al., “Intelligent prediction model of mechanical properties of ultrathin niobium strips based on XGBoost ensemble learning algorithm,” Computational Materials Science, pp. 231, 2024, doi: 10.1016/j.commatsci.2023.112579 3754.
J. O. Abiodun and I. A. Wreford, “Stroke Prediction Using Smote for Data Balancing, XGBoost and KNN Ensemble Algorithms,” Journal of Applied Physical Science International, pp. 42-53, 2023, doi: 10.56557/japsi/2023/v15i18349.
K. Dheeraj, S. S. Kumar, and K. R. Singh, “Early health prediction framework using XGBoost ensemble algorithm in intelligent environment,” Artificial Intelligence Review, vol. 56, no. Suppl 1, pp. 1591-1615, 2023, doi: 10.1007/s10462-023-10565-6.
E. Kim and I. Joe, “Handover Triggering Prediction with the Two-Step XGBOOST Ensemble Algorithm for Conditional Handover in Non-Terrestrial Networks,” Electronics, pp. 12(16), 2023, doi: 10.3390/electronics12163435.
D. Selçuk and E. S. Kutlug, “Predicting occurrence of liquefaction-induced lateral spreading using gradient boosting algorithms integrated with particle swarm optimization: PSO-XGBoost, PSO-LightGBM, and PSO-CatBoost,” Acta Geotechnica, vol. 18, no. 6, pp. 3403-3419, 2023, doi: 10.1007/s11440-022-01777-1.
D. Selçuk and E. S. Kutlug, “An investigation of feature selection methods for soil liquefaction prediction based on treebased ensemble algorithms using AdaBoost, gradient boosting, and XGBoost,” Neural Computing and Applications, vol. 35, no. 4, pp. 3173-3190, 2022, doi: 10.1007/s00521-022-07856-4.
M. Zivkovic, N. Bacanin, M. Antonijevic, et al., “Correction: Zivkovic et al,” Hybrid CNN and XGBoost Model Tuned by Modified Arithmetic Optimization Algorithm for COVID-19 Early Diagnostics from X-Ray Images. Electronics 2022, 11, 3798. Electronics, vol. 15, no. 4, pp. 727, 2026, doi: 10.3390/electronics15040727.
C. Yang, J. Li, K. Zhou, et al., “CCO-XGBoost Hybrid Model for Prediction of Blasting-Induced Peak Particle Velocity in Open-Pit Mines: A SHAP-Driven Sensitivity Analysis,” Mathematics, vol. 14, no. 4, pp. 596, 2026, doi: 10.3390/math14040596.
L. C. Xu, B. Yuan, X. Hu, et al., “Estimation of Hourly PM2.5 Mass Concentration in Guanzhong Based on Spatio-temporal XGBoost Model,” Huan jing ke xue= Huanjing kexue, vol. 47, no. 2, pp. 663-672, 2026, doi: 10.13227/J.HJKX.202412262.
N. H. Bui, S. Keawsawasvong, N. H. Le, et al., “Hybrid XGBoost - 3D FEA approach for predicting bearing capacity of rectan gular foundations on rock slopes,” Rock Mechanics Bulletin, vol. 5, no. 3, Art. no. 100274, 2026, doi: 10.1016/j.rockmb.2025.100274.
J. Noh and S. S. Kang, “Evaluation of prediction models for slope stability on road cut slopes using XGBoost, LightGBM, and CatBoost,” KSCE Journal of Civil Engineering, vol. 30, no. 3, Art. no. 100379, 2026, doi: 10.1016/j.kscej.2025.100379.
J. Zhao, X. Du, J. Lin, et al., “Determinants and prediction of home nursing utilization among older adults in China: an integration of logistic regression and XGBoost algorithm,” BMC nursing, 2026, doi: 10.1186/s12912-026-04371-y.
C. Hazman, A. Guezzaz, S. Benkirance, et al., “A smart model integrating LSTM and XGBoost for improving LoT-enabled smart cities security,” Cluster Computing, vol. 28, no. 1, pp. 70, 2024, doi: 10.1007/s10586-024-04780-1.
K. Shubham, S. Metya, K. A. Sinha, et al., “XGBoost based surrogate technique for system reliability analysis of foundation over cavity aided with bootstrapping,” Scientific reports, vol. 16, no. 1, pp. 7113, 2026, doi: 10.1038/s41598-026-37058-0.
J. Zeng, Y. Zhu, F. Ye, et al., “Application of XGBoost and logistic regression in predicting 90 days mortality for elderly severe acute renal failure patients,” Scientific reports, vol. 16, no. 1, pp. 7077, 2026, doi: 10.1038/s41598-026-37828-w.
L. Kuang, Y. Zeng, C. Hu, et al., “Fault Diagnosis of Hydro-Power Units Using BP Neural Network and XGBoost Algorithm for Enhanced Operational Safety,” Processes, vol. 14, no. 3, pp. 517, 2026, doi: 10.3390/pr14030517 3756.