Introduction
Predicting river discharge and forecasting floods are critical components of disaster relief, water resource management, and flood control. While traditional physical models offer high interpretability, they often require extensive parameter tuning for specific river basins. Data-driven machine learning models, particularly Long Short-Term Memory (LSTM) networks, have emerged as powerful alternatives. However, these models typically treat hydrological prediction as a purely temporal problem, focusing on historical time-series data from a single location and ignoring the complex spatial relationships inherent in river systems.
In reality, rivers are interconnected; upstream flows and regional weather patterns significantly influence downstream runoff. This paper introduces ST-Hydro, a novel deep learning framework designed to jointly model spatial and temporal hydrological data to improve both the accuracy and timeliness of flood predictions.
The ST-Hydro Framework
ST-Hydro fuses spatial and temporal feature learning through a multi-layered architecture. The model first extracts spatial dependencies using Graph Convolutional Networks (GCNs) and then processes these features through an improved Gated Recurrent Unit (GRU) to capture temporal dynamics.
Spatial Feature Extraction
To mathematically represent the relationships between hydrological stations, the authors construct a fused topological graph based on three distinct metrics:
- Hydraulic Distance Graph: Measures the actual path water travels between upstream and downstream gauges.
- Euclidean Distance Graph: Measures straight-line geographic proximity to capture shared local weather and rainfall patterns.
- Correlation Graph: Measures the historical Pearson correlation of streamflow between stations.
By fusing these graphs into a single weighted adjacency matrix, the GCN can process daily runoff and rainfall data while accounting for the physical and statistical connections between nodes.
Temporal Feature Extraction (SoLu-GRU)
The spatial features extracted by the GCN are fed into an improved GRU. A key innovation in this framework is the replacement of the standard tanh activation function with a custom hybrid function called SoLu (Softsign and ReLU). This modification addresses common Recurrent Neural Network (RNN) issues such as vanishing gradients and mean-shift problems, preventing "dead neurons" and accelerating training convergence.
Experimental Results
The model was evaluated using a real-world dataset from the Poyang Lake Basin in Jiangxi Province, China, comprising daily runoff and rainfall data from 139 stations between 1998 and 2010.
Accuracy and Timeliness
ST-Hydro consistently outperformed traditional baselines, including SVM and standard LSTM models, across forecast windows ranging from 1 to 5 hours. For a 1-hour forecast at the WaiZhou station, ST-Hydro achieved a Deterministic Coefficient (DC) of 0.99 and a Root Mean Square Error (RMSE) of 72.34, significantly better than the LSTM's DC of 0.97 and RMSE of 91.66.
Crucially, the inclusion of spatial context allowed the model to predict flood peaks up to 2 hours in advance during a 5-hour forecast window. In contrast, purely temporal models often exhibited a lag, only predicting peaks after the water levels had already begun to rise at the target station.
Ablation and Convergence
Ablation studies confirmed that the multi-graph fusion approach is superior to using any single distance metric. Furthermore, the SoLu activation function enabled the network to achieve lower training errors and faster convergence compared to standard activation functions like ReLU or tanh within the first 50 iterations.
Conclusion
ST-Hydro demonstrates that integrating spatial topology with temporal sequences is essential for high-performance hydrological forecasting. By accounting for the physical connectivity of river networks, the model provides earlier warnings for flood events. Future research may explore dynamic topological graphs to account for seasonal variations and the application of GCN-based extraction to ungauged basins where sensor data is unavailable.
Summary updated