Explainability-driven multi-stage framework for river water quality assessment using reinforcement learning

Access to clean and safe water has been a crucial issue of global concern in line with Sustainable Development Goal (SDG) 6. Nevertheless, traditional Water Quality Index (WQI) models usually possess problems of class bias, inadequate flexibility, and interpretability, which decrease their efficiency in practice. To overcome these constraints, this research suggests an Explainability-Based Multi-Stage Framework to effectively and meaningfully assess river water quality by both classification and regression methods. The framework integrates multiple advanced techniques into a unified pipeline. First, five resampling algorithms, SMOTE, Borderline-SMOTE, SMOTE-ENN, SMOTE-Tomek Links, and ADASYN, are carefully compared to address the issue of class imbalance. This is then followed by a model selection process based on reinforcement learning (RL) that considers Q-Learning, Deep Q-Network (DQN), Proximal Policy Optimization (PPO) and Multi-Armed Bandit (MAB) to select the most effective predictive model. To promote transparency and trust, LIME, SHAP, and Multi-Head Attention (MHA) are integrated throughout pre-ad hoc, ad hoc and post-ad hoc steps, and a systematic explainability-vast feature selection is achieved. The framework is evaluated using 1096 river water samples collected from the Kaveri River basin during the period 2008–2025, with each sample comprising nineteen water-quality parameters. The experimental findings have shown that SMOTE has the highest performance among resampling methods with a Macro F1-score of 0.90, which successfully combats the issue of class imbalance. The RL models show that DQN has a higher validation accuracy of 0.932, test accuracy of 0.941, precision of 0.948, recall of 0.941, and F1-score of 0.942. Additionally, the explainability-guided feature selection establishes ten important features, which considerably improve the performance of regression in regards to Biochemical Oxygen Demand (BOD), with R 2 of 0.9839 (training), 0.9801 (validation), and 0.9725 (testing). Altogether, the suggested Explainability-Driven Multi-Stage Framework provides a powerful, interpretable, and efficient model to assess the water quality in rivers, promoting efficient environmental monitoring and developing sustainable water management.

Authors

Institutions

Publication Details

Journal
Discover Sustainability
Published
2026-07-28
DOI
https://doi.org/10.1007/s43621-026-04179-5
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Explainability-driven multi-stage framework for river water quality assessment using reinforcement learning

Pushpa Tuppad, S. Srinath, V. Chandan, S. Ramya
Discover Sustainability
Hydrological Forecasting Using AI
article

Explainability-driven multi-stage framework for river water quality assessment using reinforcement learning

Pushpa Tuppad, S. Srinath, V. Chandan, S. Ramya
article en

Abstract

Access to clean and safe water has been a crucial issue of global concern in line with Sustainable Development Goal (SDG) 6. Nevertheless, traditional Water Quality Index (WQI) models usually possess problems of class bias, inadequate flexibility, and interpretability, which decrease their efficiency in practice. To overcome these constraints, this research suggests an Explainability-Based Multi-Stage Framework to effectively and meaningfully assess river water quality by both classification and regression methods. The framework integrates multiple advanced techniques into a unified pipeline. First, five resampling algorithms, SMOTE, Borderline-SMOTE, SMOTE-ENN, SMOTE-Tomek Links, and ADASYN, are carefully compared to address the issue of class imbalance. This is then followed by a model selection process based on reinforcement learning (RL) that considers Q-Learning, Deep Q-Network (DQN), Proximal Policy Optimization (PPO) and Multi-Armed Bandit (MAB) to select the most effective predictive model. To promote transparency and trust, LIME, SHAP, and Multi-Head Attention (MHA) are integrated throughout pre-ad hoc, ad hoc and post-ad hoc steps, and a systematic explainability-vast feature selection is achieved. The framework is evaluated using 1096 river water samples collected from the Kaveri River basin during the period 2008–2025, with each sample comprising nineteen water-quality parameters. The experimental findings have shown that SMOTE has the highest performance among resampling methods with a Macro F1-score of 0.90, which successfully combats the issue of class imbalance. The RL models show that DQN has a higher validation accuracy of 0.932, test accuracy of 0.941, precision of 0.948, recall of 0.941, and F1-score of 0.942. Additionally, the explainability-guided feature selection establishes ten important features, which considerably improve the performance of regression in regards to Biochemical Oxygen Demand (BOD), with R 2 of 0.9839 (training), 0.9801 (validation), and 0.9725 (testing). Altogether, the suggested Explainability-Driven Multi-Stage Framework provides a powerful, interpretable, and efficient model to assess the water quality in rivers, promoting efficient environmental monitoring and developing sustainable water management.

Discover Sustainability
ASA College (US), JSS Science and Technology University (IN)
Clean water and sanitation
Openalex Percentile: Top 15%
Hydrological Forecasting Using AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.