Groundwater Quality Forecasting Using a GRU Neural Network
DOI:
https://doi.org/10.68337/cpsm.v1.i3.2026-069Keywords:
Groundwater, neural networks, water quality parameters, gated recurrent unitAbstract
Groundwater quality is critical for safe drinking water and for sustainable agricultural production, especially where communities rely heavily on underground water sources. Conventional water quality monitoring is precise, but it is usually not real-time and cannot forecast future trends. This work presents a data-driven prediction technique that uses a gated recurrent unit (GRU) neural network, a deep learning model suited to time-series forecasting, to predict groundwater quality. The dataset consists of seasonal groundwater data from villages in Telangana, India, with key physicochemical parameters such as pH, total dissolved solids (TDS), electrical conductivity (EC), ionic concentrations (sodium, chloride, and fluoride, for example), seasonal indicators, and groundwater levels. The data were preprocessed to correct inconsistencies, normalized, and reshaped into time-sequenced inputs for GRU modeling. The GRU network predicts future values of key parameters such as pH and TDS from past seasonal observations. The models were evaluated with the root mean square error (RMSE), the mean absolute error (MAE), and the coefficient of determination (R2). The GRU model learns temporal features well and gives credible short-term forecasts. It can give early warning of declining water quality and can support policymakers and environmental regulators in proactive decision making, resource planning, and pollution control.
References
[1] David Keith Todd and Larry W. Mays, Groundwater Hydrology, 3rd ed. Wiley, 2005, ISBN 978-0-471-05937-0.
[2] Narsimha Adimalla and Peiyue Li, "Occurrence, health risks, and geochemical mechanisms of fluoride and nitrate in groundwater of the rock-dominant semi-arid region, Telangana State, India," Hum. Ecol. Risk Assess., vol. 25, no. 1-2, pp. 81-103, 2019, doi: 10.1080/10807039.2018.1480353.
[3] Tiyasha, Tran Minh Tung, and Zaher Mundher Yaseen, "A survey on river water quality modelling using artificial intelligence models: 2000-2020," J. Hydrol., vol. 585, Art. no. 124670, 2020, doi: 10.1016/j.jhydrol.2020.124670.
[4] Xinkai Cao, Yiran Liu, Jianping Wang, Chunhong Liu, and Qingling Duan, "Prediction of dissolved oxygen in pond culture water based on K-means clustering and gated recurrent unit neural network," Aquac. Eng., vol. 91, Art. no. 102122, 2020, doi: 10.1016/j.aquaeng.2020.102122.
[5] Andreas Wunsch, Tanja Liesch, and Stefan Broda, "Groundwater level forecasting with artificial neural networks: A comparison of long short-term memory (LSTM), convolutional neural networks (CNNs), and non-linear autoregressive networks with exogenous input (NARX)," Hydrol. Earth Syst. Sci., vol. 25, no. 3, pp. 1671-1687, 2021, doi: 10.5194/hess-25-1671-2021.
[6] Muhammed Sit, Bekir Z. Demiray, Zhongrun Xiang, Gregory J. Ewing, Yusuf Sermet, and Ibrahim Demir, "A comprehensive review of deep learning applications in hydrology and water resources," Water Sci. Technol., vol. 82, no. 12, pp. 2635-2670, 2020, doi: 10.2166/wst.2020.369.
[7] Narsimha Adimalla and Sudarshan Venkatayogi, "Geochemical characterization and evaluation of groundwater suitability for domestic and agricultural utility in semi-arid region of Basara, Telangana State, South India," Appl. Water Sci., vol. 8, no. 1, Art. no. 44, 2018, doi: 10.1007/s13201-018-0682-1.
[8] Narsimha Adimalla, Peiyue Li, and Sudarshan Venkatayogi, "Hydrogeochemical evaluation of groundwater quality for drinking and irrigation purposes and integrated interpretation with water quality index studies," Environ. Process., vol. 5, no. 2, pp. 363-383, 2018, doi: 10.1007/s40710-018-0297-4.
[9] Narsimha Adimalla and Hui Qian, "Groundwater quality evaluation using water quality index (WQI) for drinking purposes and human health risk (HHR) assessment in an agricultural region of Nanganur, south India," Ecotoxicol. Environ. Saf., vol. 176, pp. 153-161, 2019, doi: 10.1016/j.ecoenv.2019.03.066.
[10] Kyunghyun Cho, Bart van Merriƫnboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio, "Learning phrase representations using RNN encoder-decoder for statistical machine translation," in Proc. 2014 Conf. Empir. Methods Nat. Lang. Process. (EMNLP), 2014, pp. 1724-1734, doi: 10.3115/v1/D14-1179.
[11] Ying Ma, Qiwei Fang, Shengwei Xia, and Yu Zhou, "Prediction of the dissolved oxygen content in aquaculture based on the CNN-GRU hybrid neural network," Water, vol. 16, no. 24, Art. no. 3547, 2024, doi: 10.3390/w16243547.
[12] Hongyu Yang, Lei Guo, and Qingqing Tian, "Water quality prediction model based on temporal attentive bidirectional gated recurrent unit model," Sustainability, vol. 17, no. 20, Art. no. 9155, 2025, doi: 10.3390/su17209155.
[13] Jiho Jeong, Jina Jeong, and Sunghwan Moon, "Integrating physics-based constraints with gated recurrent unit for improved groundwater level fluctuation prediction," J. Hydrol., vol. 662, Art. no. 134018, 2025, doi: 10.1016/j.jhydrol.2025.134018.
Downloads
Published
Data Availability Statement
The data supporting the findings of this study are available from the corresponding author upon reasonable request.Conference Proceedings Volume
Section
Categories
License
Copyright (c) 2026 The Authors

This work is licensed under a Creative Commons Attribution 4.0 International License.
Articles published in Conference Proceedings in Science and Management are made available under the Creative Commons Attribution 4.0 International License (CC BY 4.0). Authors retain copyright in their work and grant the journal first publication rights. Readers are free to share and adapt the published material for any purpose, including commercial use, provided appropriate credit is given to the author, a link to the license is provided, and any changes are indicated.
