Time Series Prediction of Water Quality Based on NGO-CNN-GRU Model—A Case Study of Xijiang River, China
Water quality deterioration poses a critical threat to ecological security and sustainable development, particularly in rapidly urbanizing regions. To enable proactive environmental management, this study develops a novel hybrid deep learning model, the NGO-CNN-GRU, for high-precision time-series water quality prediction in the Xijiang River Basin, China. The model integrates a Convolutional Neural Network (CNN) for spatial feature extraction and a Gated Recurrent Unit (GRU) for temporal dependency modeling, with hyperparameters optimized via the Northern Goshawk Optimization (NGO) algorithm. Using historical water quality (pH, DO, CODMn, NH3-N, TP, TN) and meteorological data (precipitation, temperature, humidity) from 11 monitoring stations, the model achieved exceptional performance: test set R2 > 0.986, MAE < 0.015, and RMSE < 0.018 for total nitrogen prediction (Xiaodong Station case study). Across all stations and indicators, it consistently outperformed baseline models (GRU, CNN-GRU), with average R2 improvements of 12.3% and RMSE reductions up to 90% for NH3-N predictions. Spatiotemporal analysis further revealed significant pollution gradients correlated with anthropogenic activities in the Pearl River Delta. This work provides a robust tool for real-time water quality early warning systems and supports evidence-based river basin management.
Authors
- Xiaofeng Ding (ORCID: https://orcid.org/0000-0003-1261-5195)
- Haipeng Zeng (ORCID: https://orcid.org/0000-0002-0339-0361)
- Yiling Chen (ORCID: https://orcid.org/0000-0003-4806-5623)
- Yu Du (ORCID: https://orcid.org/0009-0003-6867-4538)
Institutions
- Guangdong University of Technology (CN)
Publication Details
- Journal
- Water
- Published
- 2025-08-15
- DOI
- https://doi.org/10.3390/w17162413
- Citations
- 5
- Primary Topic
- Hydrological Forecasting Using AI
- Type
- article
- Field-Weighted Citation Impact
- 4.00
Funders
- National Natural Science Foundation of China
- China Meteorological Administration
- Natural Science Foundation of Guangdong Province
- Young Scientists Fund