Abstract
Water quality is foundational to environmental sustainability, ecosystem resilience, and public health. Deep learning offers transformative potential for large-scale water quality prediction and scientific insights generation. However, their widespread adoption in high-stakes operational decision-making, such as pollution mitigation and equitable resource allocation, is prevented by unresolved trustworthiness challenges, including performance disparity, robustness, uncertainty, interpretability, generalizability, and reproducibility. In this work, we present a multi-dimensional, quantitative evaluation of trustworthiness benchmarking three state-of-the-art deep learning architectures: recurrent (LSTM), operator-learning (DeepONet), and transformer-based (Informer), trained on 37 years of data from 482 U.S. basins to predict 20 water quality variables. Our investigation reveals systematic performance disparities tied to process complexity, data availability, and basin heterogeneity. Management-critical variables remain the least predictable and most uncertain. Robustness tests reveal pronounced sensitivity to outliers and corrupted targets; notably, the architecture with the strongest baseline performance (LSTM) proves most vulnerable under data corruption. Attribution analyses align for simple variables but diverge for nutrients, underscoring the need for multi-method interpretability. Spatial generalization to ungauged basins remains poor across all models. This work serves as a timely call to action for advancing trustworthy data-driven methods for water resources management and provides a pathway to offering critical insights for researchers, decision-makers, and practitioners seeking to leverage artificial intelligence (AI) responsibly in environmental management.
Introduction
As global water crises intensify, researchers are increasingly turning to Artificial Intelligence (AI) to predict water quality variables—such as nitrogen levels or dissolved oxygen—across massive geographic scales. Long Short-Term Memory (LSTM) networks have emerged as a leading architecture due to their proficiency in handling complex time-series data. However, these models often operate as "black boxes," creating a barrier to their use in high-stakes environmental regulation and resource allocation. For a decision-maker to rely on AI, the model must be more than accurate; it must be trustworthy. This research addresses the critical need for a comprehensive framework to evaluate AI trustworthiness in hydrology, focusing on fairness, uncertainty, interpretability, and robustness.
Methodology and Datasets
The study utilized a massive, multi-source dataset spanning 37 years (1982–2018) across 482 U.S. basins. Data sources included the USGS National Water Information System for water quality, GAGES-II for basin attributes, and various meteorological and vegetation indices for environmental forcings.
To evaluate trustworthiness, the researchers developed a multi-task LSTM model designed to predict 20 different water quality variables simultaneously. This model was subjected to rigorous stress tests:
- Uncertainty Quantification: Using Monte Carlo (MC) Dropout to measure variance across multiple model runs.
- Interpretability Benchmarking: Comparing feature importance methods (Ablation vs. Traverse) to check for consistency in model explanations.
- Robustness Testing: Introducing synthetic outliers, measurement noise, and adversarial perturbations (via Projected Gradient Descent) to assess model fragility.
Key Results and Insights
The Performance-Simplicity Correlation
A primary finding of the study is the near-perfect correlation ($R^2 = 0.95$) between a variable's "simplicity index"—the degree to which its behavior follows predictable seasonal or runoff cycles—and the model's predictive accuracy. While the model excels at predicting variables with strong physical signals, it struggles with complex, non-linear biogeochemical processes.
Performance Disparities and Fairness
The model's performance varies significantly across different chemical categories. It achieved high accuracy for physical/chemical variables like Temperature (Median KGE 0.94) and Dissolved Oxygen (0.80). However, performance plummeted for management-critical nutrients such as Ammonia ($NH_x$) and Phosphorus ($PO_4^{3-}$), where median KGE scores fell below 0.4.
Furthermore, the model exhibited "fairness" issues, performing better in urban and agricultural basins with strong anthropogenic signals while failing to capture the subtle nuances of undeveloped, pristine environments.
Fragility and Interpretability Conflicts
Robustness tests revealed an alarming vulnerability: management-critical variables are the most sensitive to data corruption. A 10% injection of outliers caused performance to drop by over 50% for most variables. Additionally, different interpretability methods often yielded conflicting explanations for the model's logic, suggesting that current "XAI" (Explainable AI) techniques may themselves be unreliable in hydrological contexts.
Conclusion and Future Directions
While deep learning offers a powerful tool for continental-scale monitoring, this work highlights significant gaps in model trustworthiness. LSTMs currently lack the "physical common sense" necessary for robust environmental management. Moving forward, the authors suggest three key pillars for improvement:
- Knowledge-Informed Deep Learning (KIDL): Embedding physical laws, such as mass conservation, directly into neural architectures.
- Data-Centric AI: Prioritizing high-quality, frequent sampling for nutrient variables over algorithmic complexity.
- Architectural Innovation: Exploring Transformer-based models to better handle long-term dependencies and data noise.
Summary updated