Explainable tree-based machine learning models with Bayesian optimization in Optuna for flood susceptibility assessment

Floods are among the most destructive natural hazards, particularly in regions with complex terrain and hydrology, where they cause substantial environmental, social, and economic losses. Reliable flood susceptibility mapping is therefore essential for disaster risk reduction and mitigation strategies. Here, we assess flood susceptibility in Charsadda, Pakistan, by integrating machine learning with explainable artificial intelligence (XAI). Seven tree-based ensemble algorithms were trained on twelve conditioning factors and a historical flood inventory. Hyperparameters were optimized using Bayesian optimization in the Optuna framework, and SHAP (SHapley Additive exPlanations) was applied for interpretability. All models achieved high predictive performance (AUC > 0.95), with Gradient Boosting (GB) producing the best overall classification accuracy (accuracy, precision, recall, and F1-score ≈ 0.93; AUC = 0.962), whereas ExtraTrees attained the highest AUC (0.977). The GB identified 19.3% and 13.0% of the study area as very highly and highly flood-prone, mainly along the Kabul and Swat river corridors. SHAP analysis identified elevation, height above nearest drainage (HAND), drainage density, NDVI, lithology, and land use/land cover as the dominant controls on flood occurrence. By combining advanced optimization and model interpretability, this framework enhances predictive accuracy and transparency, providing more reliable and actionable insights for disaster preparedness and risk mitigation in data-scarce regions.

Authors

Institutions

Publication Details

Journal
npj natural hazards.
Published
2026-06-26
DOI
https://doi.org/10.1038/s44304-026-00238-z
Primary Topic
Flood Risk Assessment and Management
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Explainable tree-based machine learning models with Bayesian optimization in Optuna for flood susceptibility assessment

Saad Ashfaq, Safia Waseem, Aqil Tariq, Muhammad Tufail
npj natural hazards.
Flood Risk Assessment and Management
article

Explainable tree-based machine learning models with Bayesian optimization in Optuna for flood susceptibility assessment

Saad Ashfaq, Safia Waseem, Aqil Tariq, Muhammad Tufail
article en

Abstract

Floods are among the most destructive natural hazards, particularly in regions with complex terrain and hydrology, where they cause substantial environmental, social, and economic losses. Reliable flood susceptibility mapping is therefore essential for disaster risk reduction and mitigation strategies. Here, we assess flood susceptibility in Charsadda, Pakistan, by integrating machine learning with explainable artificial intelligence (XAI). Seven tree-based ensemble algorithms were trained on twelve conditioning factors and a historical flood inventory. Hyperparameters were optimized using Bayesian optimization in the Optuna framework, and SHAP (SHapley Additive exPlanations) was applied for interpretability. All models achieved high predictive performance (AUC > 0.95), with Gradient Boosting (GB) producing the best overall classification accuracy (accuracy, precision, recall, and F1-score ≈ 0.93; AUC = 0.962), whereas ExtraTrees attained the highest AUC (0.977). The GB identified 19.3% and 13.0% of the study area as very highly and highly flood-prone, mainly along the Kabul and Swat river corridors. SHAP analysis identified elevation, height above nearest drainage (HAND), drainage density, NDVI, lithology, and land use/land cover as the dominant controls on flood occurrence. By combining advanced optimization and model interpretability, this framework enhances predictive accuracy and transparency, providing more reliable and actionable insights for disaster preparedness and risk mitigation in data-scarce regions.

npj natural hazards.
Government of Khyber Pakhtunkhwa (PK), Northern University (PK), Mississippi State University (US)
Climate action
Openalex Percentile: Top 7%
Flood Risk Assessment and Management
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Explainable tree-based machine learning models with Bayesian optimization in Optuna for flood susceptibility assessment — Saad Ashfaq, Safia Waseem, et al. · npj natural hazards. (2026) | TGRS Research Map | TGRS