A machine learning-based rapid water quality estimation method for stormwater outfalls: A case study in Xiamen, China.
Baozong Wang, Yi Pan, Linhao Xiao, Peigen Lin, Qi Tian, Yanxiang Zhuang, Junmo Tan, Wenting Lin,
College of Building Engineering, Xiamen City University, Xiamen, Fujian, 361024, People's Republic of China. · Key Laboratory of Water Resources Utilization and Protection, Key Laboratory of Environmental Biotechnology, School of Environmental Science and Engineering, Xiamen University of Technology, Xiamen, Fujian, 361024, People's Republic of China. panyi@xmut.edu.cn.
Key points
From the paper's conclusion- The findings demonstrate that a machine learning framework driven by easily measurable and real-time monitoring indicators can serve as an effective supplement to existing monitoring systems, providing technical support for trend diagnosis and rapid screening of urban stormwater outfall pollution.
Abstract
Urban stormwater outfall pollution is characterized by abrupt onset and drastic fluctuations, making it difficult for conventional monitoring methods to achieve rapid response. Taking the typical stormwater outfall in Xiamen as a case study, this research developed a machine learning-based rapid water quality estimation method. Two ensemble learning models, Random Forest (RF) and eXtreme Gradient Boosting (XGBoost), were compared, and the Harris Hawks Optimization (HHO) algorithm was introduced for automatic hyperparameter tuning. The results showed that both models performed poorly under default hyperparameters, while HHO optimization significantly improved model accuracy. Specifically, the HHO-XGBoost model achieved R2 values of 0.905 and 0.866 for NH3-N and TN, respectively. Feature importance and SHapley Additive exPlanations (SHAP) analyses revealed that HHO optimization enhances model interpretability by suppressing redundant feature interference and strengthening the weights of dominant variables. Furthermore, by comparing HHO with Random Search and Bayesian Optimization, this study confirmed that HHO possesses stronger global search capability in nonlinear hyperparameter spaces. The findings demonstrate that a machine learning framework driven by easily measurable and real-time monitoring indicators can serve as an effective supplement to existing monitoring systems, providing technical support for trend diagnosis and rapid screening of urban stormwater outfall pollution.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Coupling process-based and deep learning models for interpretable prediction of urban stormwater quality.Water research · 2026
- A process-based SWAT-LSTM hybrid framework for efficient water quality index modeling in urban river catchment.Water research · 2026
- Environmental Drivers and Predictive Modeling of E. coli Variability in an Urban Stream Using Machine Learning Approaches.Environmental pollution (Barking, Essex : 1987) · 2026
- From low-cost measurements to rapid water quality monitoring: a hybrid machine learning-optimization framework for predicting laboratory-intensive parameters.Water research · 2026
- Robust water quality prediction across multiple indicator formulations using an explainable ensemble learning modelWater Resources and Industry · 2025
- Spatiotemporal water quality assessment of Xingqing Lake, China: Integrating water quality index, principal component analysis, and machine learning for SDG 6 reporting.Journal of environmental quality · 2026