Skip to main content
QUICK REVIEW

[Paper Review] Physics-Guided Recurrent Graph Networks for Predicting Flow and Temperature in River Networks

Xiaowei Jia, Jacob A. Zwart|arXiv (Cornell University)|Sep 26, 2020
Hydrological Forecasting Using AIEnvironmental Science23 references8 citations
TL;DR

This paper proposes Physics-Guided Recurrent Graph Networks (PGRGrN), a hybrid machine learning model that integrates physics-based simulations with graph neural networks to predict streamflow and water temperature in river networks. By leveraging pre-training from physics models and a contrastive loss function to balance performance across segments, PGRGrN achieves 33% and 14% improvement over state-of-the-art physics models in temperature and streamflow prediction using only 0.1% observed data.

ABSTRACT

This paper proposes a physics-guided machine learning approach that combines advanced machine learning models and physics-based models to improve the prediction of water flow and temperature in river networks. We first build a recurrent graph network model to capture the interactions among multiple segments in the river network. Then we present a pre-training technique which transfers knowledge from physics-based models to initialize the machine learning model and learn the physics of streamflow and thermodynamics. We also propose a new loss function that balances the performance over different river segments. We demonstrate the effectiveness of the proposed method in predicting temperature and streamflow in a subset of the Delaware River Basin. In particular, we show that the proposed method brings a 33\%/14\% improvement over the state-of-the-art physics-based model and 24\%/14\% over traditional machine learning models (e.g., Long-Short Term Memory Neural Network) in temperature/streamflow prediction using very sparse (0.1\%) observation data for training. The proposed method has also been shown to produce better performance when generalized to different seasons or river segments with different streamflow ranges.

Motivation & Objective

  • To address the challenge of predicting flow and temperature in river networks with sparse observational data and complex physical interactions.
  • To overcome limitations of purely data-driven ML models that fail to generalize across unobserved or poorly monitored river segments.
  • To integrate physics-based simulations into a machine learning framework to improve generalization and robustness in low-data regimes.
  • To develop a unified model that captures spatial-temporal dependencies across interconnected river segments, rather than modeling each segment independently.
  • To enhance model performance on both global network-level and individual segment-level predictions through a novel loss function.

Proposed method

  • The method employs a Recurrent Graph Neural Network (RGrN) architecture that models river segments as nodes in a graph and their hydrological interactions as edges, capturing upstream-downstream dynamics over time.
  • It uses pre-training on simulation data from physics-based models to initialize the model weights, transferring prior knowledge of hydrological processes.
  • A contrastive loss function is introduced to balance performance across river segments, reducing bias toward well-observed segments and improving generalization to under-observed ones.
  • The model incorporates a time-delayed message-passing mechanism (Eq. 5) to simulate the lagged influence of upstream flow on downstream temperature and flow.
  • A hybrid loss function combines supervised loss on observed variables and contrastive loss to improve representation learning under data scarcity.
  • Hyperparameters such as λ (supervision weight) and γ (contrastive loss weight) are tuned to balance physical consistency and data fidelity.

Experimental results

Research questions

  • RQ1Can a machine learning model that integrates physics-based simulations outperform purely data-driven or physics-only models in predicting river flow and temperature with minimal observational data?
  • RQ2How can a graph-based model effectively capture the spatial-temporal dependencies across interconnected river segments while maintaining physical plausibility?
  • RQ3To what extent does pre-training on physics simulations improve generalization to unobserved or low-flow river segments?
  • RQ4How can a loss function be designed to balance performance across both well-observed and poorly observed segments in a river network?
  • RQ5Does the proposed method generalize better across seasons and hydrological regimes than existing models?

Key findings

  • PGRGrN achieves a 33% improvement in temperature prediction and 14% in streamflow prediction over the state-of-the-art physics-based model when trained on only 0.1% of observed data.
  • The method reduces temperature RMSE to 1.416 ± 0.019 in summer predictions when trained on cold-season data alone, outperforming the next best model (RNN ptr) by 22.5%.
  • PGRGrN with contrastive training (PGRGrN ptr,ctr) achieves the lowest RMSE across all test scenarios, demonstrating robustness to data sparsity and seasonal shifts.
  • The model shows improved generalization to unseen river segments and different streamflow ranges, indicating better transferability than traditional RNNs or ANNs.
  • Sensitivity analysis confirms that the model is robust to hyperparameter variations, with optimal performance when λ and γ are moderately tuned.
  • The inclusion of time-delayed upstream influence (up to 5 days) improves prediction accuracy, confirming the importance of temporal lag in hydrological dynamics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.