NARA Discovery
Article Details
← Back to Search Results
Journal Article

An Explainable AI Model for Anomaly Detection in Water Quality Data

Xurxo Rigueira; David Olivieri; Maria Araujo; Maria Pazo
Water Resources Management · Vol. 40, Issue 7 · 2026

Abstract

Detecting anomalies in water quality data is critical for ensuring safe and reliable water supplies. This study introduces an explainable, iterative, multitemporal machine learning algorithm based on decision trees to detect and characterize temporal anomalies. The model partitions time series into sliding windows at three temporal scales, capturing multivariate relationships across distinct chronological levels. Iterative training enables the classification of new data subsets, progressively refining the learned expert criteria and expanding the anomaly set. To improve interpretability, we developed the Visual Decision Paths Representation (VDPR) algorithm, which provides visual insights into variable importance, learned thresholds, and sample-level classification reasoning. Across all monitoring stations, the model achieved an average F1 score of 99% and an error rate below 1%. By comparing individual samples with the broader dataset, VDPR delivers deeper interpretability than state-of-the-art methods that focus fundamentally on variable importance while preserving strong predictive performance across varied environmental conditions and stations.

Bibliographic Information

JournalWater Resources Management
PublisherSpringer
Publication Date2026-05-01
Publication Year2026
Volume40
Issue7
Document TypeJournal Article
Print ISSN0920-4741
eISSN1573-1650
DOI10.1007/s11269-026-04676-2

Access Information

NARA Access Coverage1987-01-01~Current
Journal Homepagehttps://www.springer.com/journal/11269
Publisher PageOpen Publisher Page
Full-text access depends on NARA's subscribed coverage and institutional access.