Explainable deep learning for multi-horizon water quality forecasting: cross-continental transferability for environmental decision support
Hugo Pimentel Tavares, Nilo Antônio de Souza Sampaio
Key points
From the paper's conclusion- Using 48 years of records from 141 stations of a Brazilian regulatory network (CETESB) and 3,782 to 6,696 European stations of the Global River Water Quality Archive, we benchmarked an attention-based long short-term memory (LSTM) network for multi-horizon forecasting against a random forest and persistence.
Abstract
Forecasting river water quality is central to proactive environmental decision-making, yet skill is rarely benchmarked against simple references or evaluated across river networks that differ structurally in climate and pollution regime. Using 48 years of records from 141 stations of a Brazilian regulatory network (CETESB) and 3,782 to 6,696 European stations of the Global River Water Quality Archive, we benchmarked an attention-based long short-term memory (LSTM) network for multi-horizon forecasting against a random forest and persistence. The LSTM was more accurate for dissolved oxygen (one-step $$R^2_{\log }$$ , the coefficient of determination on the $$\log (1+x)$$ scale, 0.659 versus 0.605, or 0.639 for a tuned random forest), but differences were small for the other nutrient and oxygen parameters. Heavily censored trace metals were reframed as classifiers of concentrations at or above time-invariant harmonized reporting limits; zinc and nickel were predicted no better than by station-specific detection frequencies, and exceedances of lead, cadmium and mercury could not be forecast usefully (PR-AUC $$\le 0.07$$ ). Attention weights and Shapley-value-based attributions disagreed on the temporal allocation of importance (Spearman $$\rho =0.37$$ for dissolved oxygen). Zero-shot transfer to Europe was parameter-specific: nearly intact for nitrate ( $$R^2_{\log }$$ 0.555 versus 0.598 in-domain) but a failure for dissolved oxygen ( $$-0.576$$ ) that neither a global offset nor removing the station embeddings ( $$-0.169$$ ) fully corrected. Because dissolved oxygen was overestimated at low-oxygen European sites, an alert rule needed an additional 1.67 mg L $$^{-1}$$ of margin to flag 90% of violations. Predictive accuracy and decision-relevant robustness are related but distinct properties of forecasting models intended for transfer across monitoring networks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A UAV-Assisted FP-xLSTM Framework for Spatio-Temporal Prediction of Multi-Depth Urban River Water QualityRemote Sensing · 2026
- Identifying trustworthiness challenges in deep learning models for continental-scale water quality predictionNexus · 2025
- Benefits of multi-target and self-supervised LSTM models for water quantity and qualityHydrology and Earth System Sciences · 2026
- A graph-based machine learning framework for river water quality management under data limitationsJournal of Environmental Management · 2026
- Data-driven optimisation of multi-agency river water quality monitoring networks under high anthropogenic pressure.Environmental science and pollution research international · 2026
- Predicting and Time‐Series Forecasting for Water Quality: Artificial Intelligence ApproachesApplied Computational Intelligence and Soft Computing · 2026