Comparative analysis of SWAT and SWAT coupled with XGBoost model using Optuna hyperparameter optimization for nutrient simulation: A case study in the Upper Nan River basin, Thailand

Agricultural runoff leading to nitrate (NO<sub>3</sub>-N) and orthophosphate (PO<sub>4</sub>-P) contamination poses significant environmental and public health risks. This study integrates the Soil and Water Assessment Tool (SWAT) with eXtreme Gradient Boosting (XGBoost), optimized using Optuna hyperparameter tuning, to enhance predictions of nutrient concentrations in water bodies. The hybrid SWAT-XGBoost model combines physical hydrological processes with machine learning for improved accuracy. The optimized model demonstrated significant improvements over SWAT alone, with R<sup>2</sup> values increasing by up to 50 % and RMSE decreasing by up to 75 % across datasets. These results highlight the enhanced predictive capabilities of the hybrid approach in capturing nutrient transport dynamics. SHAP analysis further identified key factors, such as sediment dynamics and nutrient mineralization, as dominant drivers of contamination, providing actionable insights for effective watershed management. By integrating SHAP analysis, the study identified key processes influencing nutrient transport, such as sediment dynamics and nutrient mineralization, offering deeper insights into pollution pathways. This approach provides a scalable and adaptable framework for improving watershed management, supporting sustainable agricultural practices, and mitigating contamination risks. The findings highlight an approach that combines physical modeling with machine learning to effectively address complex environmental challenges.

Authors

Institutions

Publication Details

Journal
Journal of Environmental Management
Published
2025-06-02
DOI
https://doi.org/10.1016/j.jenvman.2025.126053
Citations
12
Primary Topic
Hydrology and Watershed Management Studies
Type
article
Field-Weighted Citation Impact
9.80
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparative analysis of SWAT and SWAT coupled with XGBoost model using Optuna hyperparameter optimization for nutrient simulation: A case study in the Upper Nan River basin, Thailand

Chayut Pinichka, Wattasit Siriwong, Srilert Chotpantarat, Kyung Hwa Cho
12 citations
Journal of Environmental Management
Hydrology and Watershed Management Studies
9.80
article

Comparative analysis of SWAT and SWAT coupled with XGBoost model using Optuna hyperparameter optimization for nutrient simulation: A case study in the Upper Nan River basin, Thailand

Chayut Pinichka, Wattasit Siriwong, Srilert Chotpantarat, Kyung Hwa Cho
article en
12 citations

Abstract

Agricultural runoff leading to nitrate (NO<sub>3</sub>-N) and orthophosphate (PO<sub>4</sub>-P) contamination poses significant environmental and public health risks. This study integrates the Soil and Water Assessment Tool (SWAT) with eXtreme Gradient Boosting (XGBoost), optimized using Optuna hyperparameter tuning, to enhance predictions of nutrient concentrations in water bodies. The hybrid SWAT-XGBoost model combines physical hydrological processes with machine learning for improved accuracy. The optimized model demonstrated significant improvements over SWAT alone, with R<sup>2</sup> values increasing by up to 50 % and RMSE decreasing by up to 75 % across datasets. These results highlight the enhanced predictive capabilities of the hybrid approach in capturing nutrient transport dynamics. SHAP analysis further identified key factors, such as sediment dynamics and nutrient mineralization, as dominant drivers of contamination, providing actionable insights for effective watershed management. By integrating SHAP analysis, the study identified key processes influencing nutrient transport, such as sediment dynamics and nutrient mineralization, offering deeper insights into pollution pathways. This approach provides a scalable and adaptable framework for improving watershed management, supporting sustainable agricultural practices, and mitigating contamination risks. The findings highlight an approach that combines physical modeling with machine learning to effectively address complex environmental challenges.

Journal of Environmental ManagementVol. 388
Chulalongkorn University (TH), Center of Excellence on Hazardous Substance Management (TH)
Life below water
Openalex Percentile: Top 2%
Hydrology and Watershed Management Studies
9.80
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.