[Paper Review] Physics Guided RNNs for Modeling Dynamical Systems: A Case Study in Simulating Lake Temperature Profiles
This paper proposes Physics-Guided Recurrent Neural Networks (PGRNN) that integrate physical laws—specifically energy conservation—into RNN architectures to improve modeling of lake temperature dynamics. By combining data-driven learning with physics-based regularization, PGRNN achieves higher accuracy than pure physics models, better physical consistency than standard RNNs, and improved generalization, especially with limited observational data through pre-training on physics-simulated data.
This paper proposes a physics-guided recurrent neural network model (PGRNN) that combines RNNs and physics-based models to leverage their complementary strengths and improve the modeling of physical processes. Specifically, we show that a PGRNN can improve prediction accuracy over that of physical models, while generating outputs consistent with physical laws, and achieving good generalizability. Standard RNNs, even when producing superior prediction accuracy, often produce physically inconsistent results and lack generalizability. We further enhance this approach by using a pre-training method that leverages the simulated data from a physics-based model to address the scarcity of observed data. The PGRNN has the flexibility to incorporate additional physical constraints and we incorporate a density-depth relationship. Both enhancements further improve PGRNN performance. Although we present and evaluate this methodology in the context of modeling the dynamics of temperature in lakes, it is applicable more widely to a range of scientific and engineering disciplines where mechanistic (also known as process-based) models are used, e.g., power engineering, climate science, materials science, computational chemistry, and biomedicine.
Motivation & Objective
- To address the limitations of purely physics-based models, which suffer from parameter uncertainty and model approximations due to incomplete knowledge or computational constraints.
- To overcome the shortcomings of black-box ML models, which often violate physical laws and fail to generalize beyond training data.
- To develop a hybrid modeling framework that leverages the strengths of both physics-based models and deep learning for improved accuracy and physical consistency.
- To enhance data efficiency by using pre-training on simulated data from a physics model to compensate for scarce real-world observations.
- To demonstrate the generalizability of the approach beyond lake temperature modeling to other scientific and engineering domains involving dynamical systems.
Proposed method
- The PGRNN model uses two parallel RNN streams: one for learning temporal dependencies from observed data, and another for enforcing energy conservation through a physics-guided loss function.
- The physics-guided loss function regularizes the model by penalizing deviations from energy balance, ensuring physically plausible temporal trajectories.
- The model is pre-trained on synthetic data generated by a physics-based lake model (GLM) to improve data efficiency and generalization, especially when real data is limited.
- The architecture incorporates dual recurrent flows: a standard RNN for data fitting and an energy flow that enforces conservation of energy over time.
- The method generalizes to other physical laws such as mass conservation, enabling application to diverse systems like nutrient cycling or crop modeling.
- The framework allows for integration of domain-specific physical constraints, enhancing interpretability and reliability in scientific applications.
Experimental results
Research questions
- RQ1Can a hybrid model combining RNNs and physics-based constraints improve prediction accuracy over traditional physics models in lake temperature simulation?
- RQ2Can such a model produce physically consistent outputs that respect fundamental laws like energy conservation, even when trained on limited data?
- RQ3How does pre-training on physics-simulated data affect the model’s performance and generalization to unseen conditions?
- RQ4To what extent can the PGRNN framework generalize to other dynamical systems beyond lake temperature modeling?
- RQ5Can the model outperform standard black-box RNNs in terms of both accuracy and physical plausibility?
Key findings
- PGRNN achieves higher prediction accuracy than the baseline physics model (GLM) on observed lake temperature data, demonstrating the benefit of data-driven refinement.
- The model produces physically consistent outputs by enforcing energy conservation, avoiding the unphysical oscillations common in standard RNNs.
- Pre-training on simulated data from the GLM significantly improves performance when real data is scarce, enhancing data efficiency.
- The model generalizes better to unseen climate scenarios than standard RNNs, which fail to extrapolate due to lack of physical constraints.
- The dual-stream architecture enables the model to learn complex temporal patterns while maintaining physical fidelity, outperforming both pure ML and pure physics models.
- The framework is extensible to other physical laws such as mass conservation, enabling broader application in environmental and engineering systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.