MUET logo

Data-driven insights into groundwater quality: machine and deep learning approaches

Authors

  • Gift Mbuzi

    Dept. of CSE SRM University-AP, Amaravati, Andhra Pradesh, India
    Author
  • Abdur Rashid Sangi

    Dept. of Computer Science, CSMT, Wenshou-Kean University, Zhejiang, China
    Author
  • Baha Ihnaini

    Dept. of Computer Science, CSMT, Wenshou-Kean University, Zhejiang, China
    Author
  • Anil Carie

    Dept. of CSE SRM University-AP, Amaravati, Andhra Pradesh, India
    Author
  • Sruthi Sivarajan

    Dept. of CSE SRM University-AP, Amaravati, Andhra Pradesh, India
    Author
  • Satish Anamalamudi

    Dept. of CSE SRM University-AP, Amaravati, Andhra Pradesh, India
    Author

DOI:

https://doi.org/10.22581/muet1982.0317

Keywords:

Hydrogeochemistry, Groundwater contamination, Machine learning, Deep Learning , Water Resource Management

Abstract

Arsenic and nitrate contamination of groundwater have been major causes of concern to both the environment and the health of the people, which are significant risks to drinking water quality. In this study, machine learning (ML) and deep learning (DL) models are applied to predict groundwater contamination trends in different parts of India. Mapping a five-year time series historical dataset (2016–2021) of important physicochemical parameters such as conductivity, pH, BOD, fluoride, arsenic, and nitrate, this paper compares some machine learning and deep learning models. Feature importance revealed BOD, total dissolved solids (TDS), and conductivity to be important predictors of arsenic contamination, while agricultural and industrial activities dictate nitrate contamination. Temporal analysis for the variability of arsenic levels revealed decreasing values post-year 2019, which may be due to dilution effects and regulatory measures, while nitrate contamination fluctuated region-wise. After hyperparameter tuning, XGBoost was the most predictive (R² = 0.70), outperforming traditional regression analysis. Partial Dependence Plots (PDP) also caught detailed non-linear relationships among water quality parameters. The findings indicate the potential of predictive models based on AI in groundwater monitoring in real-time to enable better mitigation of contamination. This study contributes to the offering of reliable AI-based systems of monitoring the groundwater in real-life cases and sustainable resource management planning.

Downloads

References

R. F. Spalding and M. E. Exner, "Occurrence of nitrate in groundwater—a review," Journal of Environmental Quality, vol. 22, no. 3, pp. 392–402, Jul. 1993. doi: 10.2134/jeq1993.00472425002200030002x

E. Abascal, L. Gómez-Coma, I. Ortiz, and A. Ortiz, “Global diagnosis of nitrate pollution in groundwater and review of removal technologies,” Sci. Total Environ., vol. 810, p. 152233, 2022, doi: 10.1016/j.scitotenv.2021.152233

Qifa Sun, Ke Yang, Tao Liu, Junbo Yu, Chunhai Li, Dexian Yang, Chen Hu, Lin Guo; Health risk assessment of nitrate pollution of drinking groundwater in rural areas of Suihua, China. J Water Health 1 September 2023; 21 (9): 1193–1208. doi: 10.2166/wh.2023.069

M. H. Ward et al., "Drinking water nitrate and human health: an updated review," Int. J. Environ. Res. Public Health, vol. 15, no. 7, p. 1557, 2018.

J. Li et al., "Nitrate attenuation with rising groundwater levels: An integrated assessment using isotope tracers and microbial signatures," J. Hydrol., vol. 624, p. 129911, 2023.

Cao, Xu, et al. "Impacts of anthropogenic groundwater recharge (AGR) on nitrate dynamics in a phreatic aquifer revealed by hydrochemical and isotopic technologies." Science of The Total Environment 839 (2022): 156187.

E. Shaji, K. V. Santosh, G. Sarath, S. Prakash, P. L. Smedley, and D. G. Kinniburgh, "Arsenic contamination of groundwater: A global synopsis with focus on the Indian Peninsula," Geoscience Frontiers, vol. 12, no. 3, p. 101079, May 2021. doi: 10.1016/j.gsf.2020.08.015

P. L. Smedley and D. G. Kinniburgh, "A review of the source, behaviour and distribution of arsenic in natural waters," Appl. Geochem., vol. 17, no. 5, pp. 517–568, 2002.

Ali, Hazrat, Khan, Ezzat, Ilahi, Ikram, Environmental Chemistry and Ecotoxicology of Hazardous Heavy Metals: Environmental Persistence, Toxicity, and Bioaccumulation, Journal of Chemistry, 2019, 6730305, 14 pages, 2019.

I. A. Shiklomanov and J. C. Rodda, Eds., World Water Resources at the Beginning of the Twenty-First Century. Cambridge: Cambridge Univ. Press, 2003.

Smith AH, Lingas EO, Rahman M. Contamination of drinking-water by arsenic in Bangladesh: a public health emergency. Bull World Health Organ. 2000;78(9):1093-103. PMID: 11019458; PMCID: PMC2560840.

S. M. Lundberg and S.-I. Lee, "A unified approach to interpreting model predictions," Adv. Neural Inf. Process. Syst., vol. 30, 2017.

ahmed, n., osman, i.a., et al. (2021). Prediction of groundwater quality indices using machine learning algorithms. water practice and technology, 17(1), 336-347. doi:10.2166/wpt.2021.001.

aldosari, a., alshammari, m., et al. (2024). Machine learning predictive insight of water pollution and groundwater quality indices in the eastern province of Saudi Arabia. scientific reports, 14(1), 70610. doi:10.1038/s41598-024-70610-4.

H. El Bilali, M. S. Rezk, A. J. Khan, and S. R. Jahan, "Machine learning-based ensemble model for groundwater quality prediction using hidden Markov models and artificial neural networks," Water Practice and Technology, vol. 19, no. 6, pp. 2364–2376, 2023. doi: 10.2166/wpt.2023.004

gholami, z., et al. (2020). machine learning approaches for water quality assessment: a review. journal of environmental management, 261, 110226.

li, x., et al. (2023). gated graph neural networks for water quality prediction in distribution networks: a real-world application study. water research, 215, 118216.

Duda, Robert, Robert Zdechlik, and Jarosław Kania. "Groundwater nitrate pollution risk assessment based on the potential impact of land use, nitrogen balance, and vulnerability." Environmental Science and Pollution Research 30.58 (2023): 122508-122523.

R. K. Makumbura, L. Mampitiya, N. Rathnayake, D. P. P. Meddage, S. Henna, T. L. Dang, Y. Hoshino, and U. Rathnayake, "Advancing water quality assessment and prediction using machine learning models, coupled with explainable artificial intelligence (XAI) techniques like Shapley additive explanations (SHAP) for interpreting the black-box nature," Results in Engineering, vol. 23, p. 102831, 2024, doi: 10.1016/j.rineng.2024.102831.

M. Paul, A. Kumar, H. Kumar, V. Amutha Mary, S. Jancy and J. Grace, "Groundwater Quality Prediction using Deep Learning," 2024 International Conference on Expert Clouds and Applications (ICOECA), Bengaluru, India, 2024, pp. 917-923, doi: 10.1109/ICOECA62351.2024.00162.

S. Fakhreddine, H. Prommer, B. R. Scanlon, S. C. Ying, and J.-P. Nicot, "Mobilization of arsenic and other naturally occurring contaminants during managed aquifer recharge: A critical review," Environmental Science & Technology, vol. 55, no. 4, pp. 2208–2223, 2021, doi: 10.1021/acs.est.0c07492.

T. Chatterjee, U. R. Gogoi, A. Samanta, A. Chatterjee, M. K. Singh, and S. Pasupuleti, "Identifying the most discriminative parameter for water quality prediction using machine learning algorithms," Water, vol. 16, p. 481, 2024, doi: 10.3390/w16030481.

F. Alshehri and A. Rahman, "Coupling machine and deep learning with explainable artificial intelligence for improving prediction of groundwater quality and decision-making in arid region, Saudi Arabia," Water, vol. 15, p. 2298, 2023, doi: 10.3390/w15122298.

Z. Tan, A. S. S. M. Hossain, M. M. Rahman, S. K. Saha, and S. M. S. Islam, "Machine learning models of groundwater arsenic spatial distribution in Bangladesh: Influence of Holocene sediment depositional history," Environ. Sci. Technol., vol. 54, no. 15, pp. 9454–9463, 2020, doi: 10.1021/acs.est.0c03617.

S. Maleky, M. Faraji, M. Hashemi et al., "Investigation of groundwater quality indices and health risk assessment of water resources of Jiroft city, Iran, by machine learning algorithms," Applied Water Science, vol. 15, no. 3, p. 3, 2025, doi: 10.1007/s13201-024-02330-z.

Published

2025-07-01

Issue

Section

Articles

How to Cite

Data-driven insights into groundwater quality: machine and deep learning approaches. (2025). Mehran University Research Journal of Engineering and Technology, 44(3), 132-140. https://doi.org/10.22581/muet1982.0317

Similar Articles

31-40 of 95

You may also start an advanced similarity search for this article.