Research Article

Deep Spatiotemporal Learning for Multivariate Water Quality Prediction: Temporal Dynamics–Aware CNN–GRU Hybrid Model

Volume: 6 Number: 2 December 30, 2025

Deep Spatiotemporal Learning for Multivariate Water Quality Prediction: Temporal Dynamics–Aware CNN–GRU Hybrid Model

Abstract

Proper forecasting of water quality indicators is one of the most important factors in sustainable environmental management, protecting ecosystems, and early detection of potential pollution risks. Among them, pH is essential for regulating chemical and biological processes in water and can be significantly altered by natural and man-made factors. Water quality parameters are also nonlinear, multivariate, and time-varying, which makes it challenging to estimate pH in modeling. In this paper, we develop a deep learning-based approach to predicting next-day pH using multivariate time-series water-quality measurements from different monitoring stations. The hybrid CNNGRU architecture is developed in this work in which the short-term temporal patterns of the multivariate water-quality sequences can be obtained through the convolutional layers, whereas the long-term temporal dependencies are learned by the GRU units. Several machine learning models and deep learning models, such as classical ensembles, recurrent neural networks, and hybrids, are designed to learn the complex temporal dynamics of the data. To be more precise, a spatiotemporal modeling framework based on a hybrid Convolutional Neural Network and Gated Recurrent Unit design is developed to reveal the local-temporal dynamics and long-term associations of the variables of water quality under consideration. Many experiments are conducted to assess the predictive accuracy of all models using standard error and agreement measures under normal conditions. According to the results of the experiments, the proposed CNN-GRU always performs better in comparison to classical machine learning (as well as stand-alone deep learning) models in terms of RMSE, MAE, R2, and WI. Experimental studies indicate that hybrid deep learning models achieve substantial gains over classical pH estimation methods. The findings indicate that convolutional feature extraction combined with recurrent temporal modeling can be essential for modeling the dynamic nature of water quality systems.

Keywords

References

  1. Chapman, D. V., and Sullivan, T. (2022). The role of water quality monitoring in the sustainable use of ambient waters. One Earth, 5(2), 132-137.
  2. Gaines, M. D., Tulbure, M. G., and Perin, V. (2022). Effects of climate and anthropogenic drivers on surface water area in the southeastern United States. Water Resources Research, 58(3), e2021WR031484.
  3. Pinheiro, J. P. S., Windsor, F. M., Wilson, R. W., and Tyler, C. R. (2021). Global variation in freshwater physico‐chemistry and its influence on chemical toxicity in aquatic wildlife. Biological Reviews, 96(4), 1528-1546.
  4. Ibrahim, U., Abbas, N., Riaz, M., and Mahmood, T. (2025). Smart Monitoring Solutions for Real‐Time Water pH Regulation in Aquatic Ecotoxicology. Journal of Chemometrics, 39(4), e70024.
  5. Chen, J., Chen, S., Fu, R., Li, D., Jiang, H., Wang, C., and Hicks, B. J. (2022). Remote sensing big data for water environment monitoring: Current status, challenges, and future prospects. Earth's Future, 10(2), e2021EF002289.
  6. Liu, X., Lu, D., Zhang, A., Liu, Q., and Jiang, G. (2022). Data-driven machine learning in environmental pollution: gains and problems. Environmental science and technology, 56(4), 2124-2133.
  7. Ahmed, D. M., Hassan, M. M., and Mstafa, R. J. (2022). A review on deep sequential models for forecasting time series data. Applied computational intelligence and soft computing, 2022(1), 6596397.
  8. Chen, B., Mu, X., Chen, P., Wang, B., Choi, J., Park, H., and Yang, H. (2021). Machine learning-based inversion of water quality parameters in typical reach of the urban river by UAV multispectral data. Ecological Indicators, 133, 108434.

Details

Primary Language

English

Subjects

Empirical Software Engineering

Journal Section

Research Article

Publication Date

December 30, 2025

Submission Date

December 4, 2025

Acceptance Date

December 22, 2025

Published in Issue

Year 2025 Volume: 6 Number: 2

APA
Balo Utku, E. D., & Kutlu, B. (2025). Deep Spatiotemporal Learning for Multivariate Water Quality Prediction: Temporal Dynamics–Aware CNN–GRU Hybrid Model. NATURENGS, 6(2), 32-41. https://doi.org/10.46572/naturengs.1836097