Hybrid PSO-XGBoost Model for Accurate Flood Risk Assessment

Authors

  • Lailatun Nabilah Universitas Yudharta Pasuruan
  • Lukman Hakim Universitas Yudharta Pasuruan

DOI:

https://doi.org/10.30871/jaic.v9i6.11094

Keywords:

XGBoost, Particle Swarm Optimization, Flood Prediction, Parameter Optimization, Machine Learning

Abstract

Flood risk prediction is a crucial step in disaster mitigation. This study optimizes the Extreme Gradient Boosting (XGBoost) algorithm using the Particle Swarm Optimization (PSO) method to improve prediction accuracy. The process includes data cleaning, normalization, and classification of risk levels into low, medium, and high. The XGBoost model is trained both before and after parameter optimization of n_estimators, max_depth, and learning_rate. Before optimization, the model achieved 93% accuracy but struggled to identify minority classes. After optimization with PSO, accuracy increased to 97%, with the recall for the low-risk class improving from 21% to 57%. The optimized model also demonstrated more stable performance compared to Support Vector Machine (SVM) and Random Forest. These findings indicate that the combination of XGBoost and PSO can provide more accurate and efficient flood risk predictions.

Downloads

Download data is not yet available.

References

[1] H. Farhadi and M. Najafzadeh, “Flood Risk Mapping by Remote Sensing Data and Random Forest Technique,” Water, vol. 13, no. 21, p. 3115, Nov. 2021, doi: 10.3390/w13213115.

[2] H. Khodaei, F. Nasiri Saleh, A. Nobakht Dalir, and E. Zarei, “Future flood susceptibility mapping under climate and land use change,” Sci Rep, vol. 15, no. 1, Apr. 2025, doi: 10.1038/s41598-025-97008-0.

[3] M. Ma et al., “XGBoost-based method for flash flood risk assessment,” Journal of Hydrology, vol. 598, p. 126382, Jul. 2021, doi: 10.1016/j.jhydrol.2021.126382.

[4] M. M. A. Syeed, M. Farzana, I. Namir, I. Ishrar, M. H. Nushra, and T. Rahman, “Flood Prediction Using Machine Learning Models,” in 2022 International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA), Ankara, Turkey: IEEE, Jun. 2022, pp. 1–6. doi: 10.1109/HORA55278.2022.9800023.

[5] G. Al-Rawas, M. R. Nikoo, M. Al-Wardy, and T. Etri, “A Critical Review of Emerging Technologies for Flash Flood Prediction: Examining Artificial Intelligence, Machine Learning, Internet of Things, Cloud Computing, and Robotics Techniques,” Water, vol. 16, no. 14, p. 2069, Jul. 2024, doi: 10.3390/w16142069.

[6] S.-E. Ryu, D.-H. Shin, and K. Chung, “Prediction Model of Dementia Risk Based on XGBoost Using Derived Variable Extraction and Hyper Parameter Optimization,” IEEE Access, vol. 8, pp. 177708–177720, 2020, doi: 10.1109/access.2020.3025553.

[7] A. Ogunleye and Q.-G. Wang, “XGBoost Model for Chronic Kidney Disease Diagnosis,” IEEE/ACM Trans. Comput. Biol. and Bioinf., vol. 17, no. 6, pp. 2131–2140, Nov. 2020, doi: 10.1109/TCBB.2019.2911071.

[8] N. Ghatasheh, I. Altaharwa, and K. Aldebei, “Modified Genetic Algorithm for Feature Selection and Hyper Parameter Optimization: Case of XGBoost in Spam Prediction,” IEEE Access, vol. 10, pp. 84365–84383, 2022, doi: 10.1109/access.2022.3196905.

[9] B. Liu, H. Lin, Y. Chen, and C. Yang, “Prediction of Rock Unloading Strength Based on PSO-XGBoost Hybrid Models,” Materials, vol. 17, no. 17, p. 4214, Aug. 2024, doi: 10.3390/ma17174214.

[10] D.-V. Hoang and Y.-A. Liou, “Elevating Flash Flood Prediction Accuracy: A Synergistic Approach with PSO and GA Optimization,” Dec. 12, 2024, Copernicus GmbH. doi: 10.5194/nhess-2024-215.

[11] J. Yu, W. Zheng, L. Xu, L. Zhangzhong, G. Zhang, and F. Shan, “A PSO-XGBoost Model for Estimating Daily Reference Evapotranspiration in the Solar Greenhouse,” Intelligent Automation & Soft Computing, vol. 26, no. 5, pp. 989–1003, 2020, doi: 10.32604/iasc.2020.010130.

[12] D. Kim, K. Lee, J. G. Hwang-Bo, H. S. Kim, and S. Kim, “Development of the Method for Flood Water Level Forecasting and Flood Damage Warning Using an AI-based Model,” J. Korean Soc. Hazard Mitig, vol. 22, no. 4, pp. 145–156, Aug. 2022, doi: 10.9798/kosham.2022.22.4.145.

[13] H. C. Kilinc, “Daily Streamflow Forecasting Based on the Hybrid Particle Swarm Optimization and Long Short-Term Memory Model in the Orontes Basin,” Water, vol. 14, no. 3, p. 490, Feb. 2022, doi: 10.3390/w14030490.

[14] W. Liang, S. Luo, G. Zhao, and H. Wu, “Predicting Hard Rock Pillar Stability Using GBDT, XGBoost, and LightGBM Algorithms,” Mathematics, vol. 8, no. 5, p. 765, May 2020, doi: 10.3390/math8050765.

[15] M. El Haou, M. Ourribane, M. Ismaili, S. Krimissa, and M. Namous, “Enhancing urban flood hazard assessment: a comparative analysis of frequency ratio and xgboost models for precision risk mapping,” Ecol. Eng. Environ. Technol., vol. 26, no. 3, pp. 286–300, Mar. 2025, doi: 10.12912/27197050/200141.

[16] S. Puttinaovarat and P. Horkaew, “Flood Forecasting System Based on Integrated Big and Crowdsource Data by Using Machine Learning Techniques,” IEEE Access, vol. 8, pp. 5885–5905, 2020, doi: 10.1109/access.2019.2963819.

[17] X. Dairu and Z. Shilong, “Machine Learning Model for Sales Forecasting by Using XGBoost,” in 2021 IEEE International Conference on Consumer Electronics and Computer Engineering (ICCECE), Guangzhou, China: IEEE, Jan. 2021, pp. 480–483. doi: 10.1109/iccece51280.2021.9342304.

[18] A. B. Parsa, “Toward safer highways, application of XGBoost and SHAP for real-time accident detection and feature analysis,” Accident Analysis and Prevention, 2020.

[19] H. Jiang, Z. He, G. Ye, and H. Zhang, “Network Intrusion Detection Based on PSO-Xgboost Model,” IEEE Access, vol. 8, pp. 58392–58401, 2020, doi: 10.1109/ACCESS.2020.2982418.

[20] E. Gul, “Urban flood hazard assessment using FLA-optimized boost algorithms in Ankara, Türkiye,” Appl Water Sci, vol. 15, no. 4, Apr. 2025, doi: 10.1007/s13201-025-02424-2.

Downloads

Published

2025-12-09

How to Cite

[1]
L. Nabilah and L. Hakim, “Hybrid PSO-XGBoost Model for Accurate Flood Risk Assessment”, JAIC, vol. 9, no. 6, pp. 3681–3688, Dec. 2025.

Similar Articles

<< < 2 3 4 5 6 > >> 

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