Abstract
Predicting river streamflow is critical for flood mitigation, yet traditional deep learning models often struggle to provide reliable probabilistic forecasts over long horizons. HydroDiffusion is a novel generative framework that addresses these challenges by combining score-based diffusion models with a frequency-tuned State Space Model (SSM) backbone. Unlike autoregressive models that predict step-by-step, HydroDiffusion generates entire multi-day streamflow trajectories simultaneously, effectively eliminating error accumulation and ensuring temporal coherence. Evaluated across 531 U.S. watersheds, HydroDiffusion demonstrates superior accuracy and stability compared to existing state-of-the-art methods.
Introduction
In operational hydrology, the ability to quantify uncertainty is as vital as the forecast itself. While ensemble modeling provides a path to probabilistic forecasting, it is often computationally prohibitive. Recent advances in generative AI, specifically diffusion models, offer a promising alternative. However, existing diffusion-based streamflow models, such as DRUM, typically rely on Long Short-Term Memory (LSTM) networks in an autoregressive configuration. This approach suffers from two primary drawbacks: error accumulation, where small initial inaccuracies amplify over time, and temporal incoherence, resulting in physically unrealistic, "jittery" trajectories.
Methods: The HydroDiffusion Framework
HydroDiffusion introduces three significant architectural innovations to overcome the limitations of recurrent, step-wise forecasting.
1. Frequency-Tuned SSM Backbone (S4D-FT)
The core of HydroDiffusion is a Frequency-Tuned Diagonal State Space Model (SSM). SSMs are mathematically optimized for long-range dependencies, making them more efficient than LSTMs for time-series tasks. The "frequency-tuned" aspect is particularly relevant to hydrology, as it allows the model to capture multi-scale physical processes—from rapid flash floods to slow groundwater recession—by learning specific frequency parameters.
2. Full-Sequence Denoising
Rather than predicting the next time step $t+1$ iteratively, HydroDiffusion treats the entire 8-day forecast window as a single high-dimensional object. The model starts with Gaussian noise and "denoises" it into a coherent streamflow trajectory in a single pass. This global approach ensures that the resulting hydrograph is physically consistent across the entire forecast horizon.
3. Continuous-Time Diffusion
The framework utilizes a score-based Stochastic Differential Equation (SDE) formulation with velocity parameterization. This method provides greater numerical stability than standard noise-prediction techniques, allowing for high-quality probabilistic samples with fewer computational steps.
Experimental Setup
The model was rigorously tested using the CAMELS dataset, covering 531 watersheds across the contiguous United States.
- Forcings: The model was driven by Daymet (observed) for validation and NOAA GEFSv12 (reforecast) to simulate real-world operational conditions.
- Features: Inputs included 5 dynamic meteorological variables (e.g., precipitation, temperature) and 27 static catchment attributes (e.g., soil type, topography).
Key Insights and Results
The "Image" Analogy for Trajectories
By treating a multi-day forecast like a 1D image, the diffusion process learns the underlying "shape" of a hydrograph. This prevents the generation of physically impossible sequences that often plague autoregressive models.
Performance Metrics
- Accuracy: HydroDiffusion achieved a median Nash-Sutcliffe Efficiency (NSE) of 0.75, significantly outperforming the previous state-of-the-art diffusion model (DRUM, 0.71) and standard LSTM baselines.
- Temporal Stability: Unlike autoregressive models, HydroDiffusion’s predictive skill remained stable throughout the 7-day forecast horizon, avoiding the typical performance degradation seen after the first 48 hours.
- Extreme Event Handling: The model showed improved precision and recall for high-flow scenarios, making it a more reliable tool for flood warning systems.
- Operational Efficiency: High-quality 50-member probabilistic ensembles can be generated in just 10 sampling steps, facilitating real-time deployment.
Conclusion and Future Directions
HydroDiffusion represents a step forward in probabilistic hydrology. By leveraging SSMs and full-sequence denoising, it provides more accurate and physically coherent forecasts than previous deep learning approaches. However, challenges remain. The model currently exhibits some "overconfidence" in extreme event probabilities and is more memory-intensive than encoder-decoder architectures. Future research will focus on integrating physical constraints, such as mass conservation, directly into the diffusion process to further enhance reliability and physical consistency.
Summary updated