ThoR: A Motion-Dependent Physics-Informed Deep Learning Framework with Constraint-Centric Theory of Functional Connections for Rainfall Nowcasting

Khang Ta Gia, Hoat Nguyen Van, An Phan Thanh, N. Minh

Abstract

Accurate precipitation nowcasting is crucial for mitigating the impacts of extreme weather, especially as climate change increases their frequency and severity. Traditional methods, such as numerical weather prediction and radar extrapolation, face limitations in short-term and high-resolution forecasting. Recently, while deep learning approaches have advanced nowcasting by learning spatiotemporal patterns from radar data, they often suffer from blurry results due to uncertainty predictions and limited physical consistency. To deal with these challenges, we propose ThoR, a Motion-Dependent Physics-Informed Deep Learning Framework with Constraint-Centric Theory of Functional Connections for Rainfall Nowcasting. ThoR integrates attention-centric spatio-temporal modeling with explicit physical constraints derived from partial differential equations (PDEs) for forward simulation, which employs a cascaded-branch architecture that integrates an attention-driven generator with an unsupervised, lead-time-conditioned module for motion field extraction. Physical consistency is enforced by weighted embedding the advection–diffusion equation directly into the optimization objective, establishing a Theory of Functional Connections (TFC) framework tailored for precipitation nowcasting. Extensive experiments on real-world radar datasets demonstrate that ThoR achieves promised performance compared to existing methods across both deterministic and probabilistic metrics, particularly at longer lead times and during extreme events, highlighting the potential of physics-informed deep learning for operational nowcasting.

Introduction

Rainfall nowcasting—predicting precise precipitation in the next 0–2 hours—is a high-stakes challenge for disaster mitigation. Currently, the field relies on two primary paradigms: Numerical Weather Prediction (NWP) and Deep Learning (DL). NWP models are physically sound but computationally expensive and often too slow for real-time needs. Conversely, standard DL models are fast but frequently produce "blurry" forecasts because they optimize for average pixel values rather than physical reality, often violating basic atmospheric principles like mass conservation or fluid advection.

To bridge this "physical gap," we introduce ThoR (Physics-informed Theory of Functional Connection framework for Rainfall Nowcasting). ThoR forces the AI to respect the laws of physics while maintaining the speed and detail of deep learning.

Methodology

ThoR utilizes a cascaded-branch architecture that integrates several advanced techniques to ensure both accuracy and physical consistency:

  • Motion-guided ConvGRU: Unlike standard convolutional recurrent units, ThoR employs a "location-variant" mechanism. It estimates a local motion field and "warps" the hidden states accordingly, better representing complex rotations and deformations in storm cells.
  • Soft Theory of Functional Connections (TFC): This framework embeds the advection-diffusion equation directly into the model’s loss function. This ensures that generated images are physically consistent with fluid dynamics.
  • Unsupervised PINN for Motion: The framework includes an unsupervised Physics-Informed Neural Network (PINN) to extract motion fields from radar sequences without manual labels.
  • Axial Attention Blocks: To capture long-range spatial dependencies efficiently, the model uses axial attention to process height and width axes sequentially.
  • Adversarial Training: A discriminator pushes the generator to produce sharp, high-frequency details, preventing the typical blurring seen in MSE-optimized models.

Datasets and Experimental Setup

The model was rigorously tested on two geographically distinct datasets:

  1. MRMS (Multi-Radar Multi-Sensor): A high-resolution NOAA dataset covering the continental United States (2016–2022).
  2. Nha Be Doppler Radar: A dataset from Ho Chi Minh City, Vietnam (2022–2023), representing a challenging tropical convective storm regime.

Key Results and Insights

ThoR consistently outperformed baselines like PySTEPS, NowcastNet, and TrajGRU, achieving a 12.61% reduction in error relative to the best-performing baseline. The model maintained significantly higher SSIM (Structural Similarity) scores, indicating that the "shape" of the storm remained realistic over time.

Nha Be Case Studies: Comparing input, observed, and ThoR-predicted rainfall patterns across three different scenarios.

In the Nha Be dataset, ThoR showed dramatic improvement in the Critical Success Index (CSI) for heavy rainfall (8 mm/h+). This success is attributed to several key innovations:

  • Dynamic Physics Weighting: The model adaptively decides how much to trust physical equations versus raw data using a "physics importance coefficient."
  • Event-Aware Loss: To avoid the "double penalty" problem of standard MSE, ThoR uses a specialized loss function to focus on high-intensity storm structures.
Region 1 (US) Case Study: Visual comparison of observed vs. predicted precipitation in the continental US dataset.

Conclusion and Future Work

ThoR demonstrates the potential of physics-informed deep learning for operational nowcasting. While it excels at structural integrity, it still tends to underestimate peak intensity in extreme precipitation cores. Future work will focus on extending the forecast horizon, integrating uncertainty quantification, and real-time deployment in tropical urban environments where flash flooding is a constant threat.

Summary updated

BibTeX
@inproceedings{gia2025thor,
  author = {Khang Ta Gia and Hoat Nguyen Van and An Phan Thanh and N. Minh},
  title = {{ThoR: A Motion-Dependent Physics-Informed Deep Learning Framework with Constraint-Centric Theory of Functional Connections for Rainfall Nowcasting}},
  booktitle = {Scientific},
  year = {2025},
  doi = {10.1038/s41598-025-26126-6},
}
Figure