Answers are grounded in this paper and cite their sources.
Deep learning has become a standard tool for streamflow modelling, but its application to water quality remains challenging due to sparse, irregular, and noisy in-situ observations. Yet, water-quality variables are tightly linked to discharge and to each other through shared hydrological and biogeochemical controls, suggesting that jointly modelling water quantity and quality may help compensate for limited data availability. In this study, we compare single-target, multi-target, and self-supervised LSTM models for the joint simulation of discharge and six water-quality variables (NO 3 -N, PO 4 -P, DO, DOC, EC, and WT) across 408 German catchments. Our results highlight that extending the baseline LSTM from single-target discharge prediction to jointly predicting discharge and all six water-quality variables does not substantially degrade discharge performance (across all baseline configurations, median KGE ′ = 0.84–0.87) and yields median KGE ′ values between 0.40 (PO 4 -P) and 0.95 (WT) for the water-quality targets. Interestingly, learning discharge as a co-target matches or exceeds the performance of using observed discharge as an additional input for five of the six water-quality variables, with the clearest gain for DOC (ΔKGE ′ = +0.05). This indicates that jointly learning water quantity and quality can be more effective than using discharge as a predictor. A variable-averaged loss function is key to balance the strongly uneven observation densities of discharge and water-quality variables. Building on this multi-target framework, we further explore whether an alternative training strategy based on self-supervised learning can better exploit the incomplete and heterogeneous nature of environmental observations. Our evaluation reveals that the self-supervised LSTM yields a level of predictive skill comparable to the multi-target supervised baseline LSTM under inference conditions restricted to meteorological drivers and when contextual water-quality data is provided. Thus, while matching the baseline's skill, the self-supervised LSTM gains versatility, as a single model can be applied to many different combinations of available input data without retraining. Besides showcasing the strong performance of LSTMs in water-quality simulations with sparse and irregular data, our results demonstrate that multi-target learning provides an effective framework for coupled water quantity–quality modelling, while self-supervised learning offers additional flexibility for exploiting incomplete and heterogeneous environmental observations.
No takes yet. Share an insight, caveat, or question.
Brede et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: