Explainable artificial intelligence for groundwater quality prediction and hydrochemical interpretation
Open Access
- 14 July 2026
- journal article
- Published by Springer Nature in Scientific Reports
- Vol. 16 (1)
Abstract
Over the past decades, groundwater quality has declined significantly due to rapid urbanization, excessive fertilizer usage, and climate-driven hydrogeochemical changes. Accurate prediction and interpretation of groundwater quality therefore require advanced data-driven approaches integrated with domain knowledge. This study proposes an interpretable hybrid artificial intelligence framework for groundwater quality prediction and analysis using explainable artificial intelligence (XAI) and advanced machine learning algorithms. A total of 135 groundwater samples were collected from Tamil Nadu, India and analysed for 16 physicochemical parameters. The dataset was pre-processed through data cleaning, feature scaling, and outlier detection. Several machine learning models, including XGBoost, Random Forest, LightGBM, and CatBoost, were optimized using Optuna-based hyperparameter tuning and integrated through a stacked ensemble framework. The meta-learner achieved the best predictive performance (R2 = 0.938, RMSE = 0.237, MAE = 0.184). Water Quality Index analysis identified ammonia (NH₃), iron (Fe), and chromium (Cr) as dominant contaminants. Model interpretability using SHAP, LIME, and permutation importance revealed the buffering role of hydrochemical ions such as HCO₃⁻ and Ca2⁺, while spatial AI mapping indicated localized industrial contamination. The proposed framework improves predictive reliability while providing interpretable insights to support sustainable groundwater management.Keywords
This publication has 47 references indexed in Scilit:
- Bayesian optimization with Optuna for enhanced soil nutrient prediction: a comparative study with genetic algorithm and particle swarm optimizationSmart Agricultural Technology, 2025
- Enhanced water quality prediction model using advanced hybridized resampling alternating tree-based and deep learning algorithmsEnvironmental Science and Pollution Research, 2025
- Innovative approaches to surface water quality management: advancing nitrate (NO3) forecasting with hybrid CNN-LSTM and CNN-GRU techniquesModeling Earth Systems and Environment, 2025
- A novel hybrid random forest linear model approach for forecasting groundwater fluoride contaminationEnvironmental Science and Pollution Research, 2023
- Groundwater quality modeling using a novel hybrid data-intelligence model based on gray wolf optimization algorithm and multi-layer perceptron artificial neural network: a case study in Asadabad Plain, Hamedan, IranEnvironmental Science and Pollution Research, 2021
- Modeling groundwater quality by using hybrid intelligent and geostatistical methodsEnvironmental Science and Pollution Research, 2020
- Short-term water quality variable prediction using a hybrid CNN–LSTM deep learning modelStochastic Environmental Research and Risk Assessment, 2020
- Hybrid computational intelligence models for groundwater potential mappingCATENA, 2019
- Modeling Groundwater Quality Parameters Using Hybrid Neuro-Fuzzy MethodsWater Resources Management, 2018
- Multivariate Analysis of Groundwater-Quality Time-Series Using Self-organizing Maps and Sammon’s MappingWater Resources Management, 2015