AI-enabled root-cause diagnosis of water quality anomalies in continuous monitoring networks using a retrieval-augmented generation (RAG) approach
Journal of Environmental Management · 2026
DOI: 10.1016/j.jenvman.2026.130753 ↗Kurz gefasst
Fachartikel in der Zeitschrift Journal of Environmental Management, 2026. Verfasst von Gulzar Alam und 1 weiteren Autor:innen. Beteiligte Einrichtung: Artificial Intelligence Collaboration Center (AICC), Ulster University, Belfast, BT15 1AP, United Kingdom. Electronic address: g.alam@ulster.ac.uk. Hauptthemen laut MEDLINE: Water Quality, Environmental Monitoring, Artificial Intelligence. Die Arbeit nennt 95 Literaturangaben.
Abstract (Originalsprache)
Real-time sensor networks are widely used to monitor the quality of surface waters; however, translating detected anomalies into clear operational actions remains challenging. Deep learning (DL) models can detect deviations effectively, but they rarely provide interpretable or regulation-relevant explanations, and existing explainable artificial intelligence (XAI) tools offer limited practical value for water utilities. This study introduces a framework, Water Quality- Retrieval Augmented Generation (WQ-RAG), that integrates DL-based anomaly detection with RAG to enable automated, regulation-grounded root-cause diagnosis of water quality events. The framework was evaluated using high-frequency monitoring data from 2021 to 2024 at four geographically and hydrogeochemically diverse river monitoring stations operated by the U.S. Geological Survey (USGS). Among four anomaly detection models, a Long Short-Term Memory (LSTM) autoencoder achieved the highest F1-scores at three stations (0.799-0.841), while the Patch Time Series Transformer (PatchTST) showed the strongest discrimination, measured by the area under the receiver operating characteristic (ROC) curve (AUC-ROC: 0.860-0.906). Adaptive, station-specific thresholding improved detection performance by up to 61% at low-variance source water. Using a curated knowledge base of 25 regulatory and technical documents, RAG-grounded explanations generated by a large language model (LLM) (Llama-3-8B) achieved a mean quality score of 0.840 ± 0.071 across completeness, regulatory accuracy, and actionability. An ablation analysis showed that retrieval grounding increased regulatory accuracy 3.8-fold, from 0.20 to 0.76, confirming that LLMs lack intrinsic knowledge of water quality standards. These results demonstrate that retrieval grounding is essential for converting anomaly alerts into reliable, regulation-aware diagnoses that support timely and effective water quality management.
Schlagwörter
MeSH-Schlagwörter (MEDLINE)
Stichwörter der Autor:innen
Autor:innen und Institutionen
- Artificial Intelligence Collaboration Center (AICC), Ulster University, Belfast, BT15 1AP, United Kingdom. Electronic address: g.alam@ulster.ac.uk.
- Chemical and Water Desalination Program, College of Engineering, University of Sharjah, Sharjah, 27272, United Arab Emirates. Electronic address: ihsanullah@sharjah.ac.ae.
Zitieren
APA
Alam, G., & Ihsanullah, I. (2026). AI-enabled root-cause diagnosis of water quality anomalies in continuous monitoring networks using a retrieval-augmented generation (RAG) approach. Journal of Environmental Management. https://doi.org/10.1016/j.jenvman.2026.130753
Vancouver
Alam G, Ihsanullah I. AI-enabled root-cause diagnosis of water quality anomalies in continuous monitoring networks using a retrieval-augmented generation (RAG) approach. Journal of Environmental Management. 2026. doi:10.1016/j.jenvman.2026.130753
BibTeX
@article{Alam2026,
author = {Alam, Gulzar and Ihsanullah, I},
title = {AI-enabled root-cause diagnosis of water quality anomalies in continuous monitoring networks using a retrieval-augmented generation (RAG) approach},
journal = {Journal of Environmental Management},
year = {2026},
doi = {10.1016/j.jenvman.2026.130753}
}
EUVIMED