PINN-Cast: Exploring the Role of Continuous-Depth NODE in Transformers and Physics Informed Loss as Soft Physical Constraints in Short-term Weather Forecasting
Hira Saleem, Flora Salim, Cormac Purcell

TL;DR
PINN-Cast introduces a continuous-depth transformer with Neural ODEs and physics-informed loss for improved short-term weather forecasting, combining data-driven efficiency with physical consistency.
Contribution
It presents a novel continuous-depth transformer architecture with an auxiliary derivative attention branch and a physics-informed training objective for weather prediction.
Findings
Outperforms standard discrete transformers in short-term weather forecasting.
Demonstrates the effectiveness of Neural ODE integration in transformer encoders.
Shows that physics-informed loss improves physical consistency of forecasts.
Abstract
Operational weather prediction has long relied on physics-based numerical weather prediction (NWP), whose accuracy comes at the cost of substantial compute and complex simulation workflows. Recent transformer-based forecasters offer efficient data-driven alternatives, however transformers are physics-agnostic models. Additionally, standard transformer encoders evolve representations through discrete layer updates that may be less suited to modeling smooth latent dynamics. In this work, we propose a continuous-depth transformer encoder for weather forecasting that integrates Neural Ordinary Differential Equation (Neural ODE) dynamics within each encoder block. Specifically, we replace discrete residual updates with ODE-based updates solved using adaptive numerical integration. We also introduce a two-branch attention module that combines conventional patch-wise self-attention with an…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
