PhyDA: Physics-Guided Diffusion Models for Data Assimilation in Atmospheric Systems

Hao Wang, Jindong Han, Wei Fan, Weijia Zhang, Hao LiuarXiv 2025 · DOI

Abstract

Data Assimilation (DA) is a cornerstone of modern meteorology, merging numerical forecasts with real-world observations to initialize weather models. While traditional methods face challenges with non-linear atmospheric dynamics, recent deep generative models often lack physical grounding, leading to "hallucinations" that violate fundamental laws. We introduce PhyDA, a novel physics-guided diffusion framework designed for atmospheric DA. PhyDA incorporates a Physically Regularized Diffusion Objective (PRDO) to penalize violations of physical laws and a Virtual Reconstruction Encoder (VRE) to bridge the gap between sparse observations and continuous physical fields. Our results on the ERA5 dataset show that PhyDA significantly enhances physical consistency—improving Spectral Divergence by 79.7%—while maintaining high statistical accuracy even under extreme data sparsity.

Introduction

In atmospheric science, Data Assimilation (DA) is the process of synthesizing a "background" forecast with sparse, noisy observations to produce an "analysis"—a complete estimate of the atmospheric state. This analysis serves as the initial condition for subsequent forecasts. Standard techniques like 4D-Var and Ensemble Kalman Filters (EnKF) are computationally intensive and struggle with the multiscale nature of the atmosphere.

Conceptual overview of data assimilation and the role of physical constraints (PDE calculations) in ensuring consistency.

While deep learning, particularly diffusion models, offers a powerful alternative for reconstructing missing data, these models are typically purely data-driven. Without explicit physical constraints, they may generate states that are mathematically plausible but physically impossible, such as violating mass conservation. Furthermore, calculating physical gradients is difficult when observations are highly sparse, as illustrated in Figure 1.

Methods: The PhyDA Framework

PhyDA addresses these challenges by embedding the laws of physics directly into the generative process. The framework consists of two primary innovations:

1. Physically Regularized Diffusion Objective (PRDO)

PhyDA modifies the standard diffusion training objective (score-matching) by adding a physical penalty term. This term measures the "PDE residual"—the degree to which the generated state deviates from known governing equations like fluid dynamics. To maintain efficiency, an Adaptive Physics-Proxy Operator is used to approximate complex derivatives through spectral filtering. This approach treats physics as a "soft prior" that guides the model toward physically admissible regions of the state space.

2. Virtual Reconstruction Encoder (VRE)

A major hurdle in physics-guided AI is the "gradient gap": spatial gradients required for PDE calculations cannot be computed from isolated observation points. The VRE solves this by transforming sparse observations into a structured latent representation using multi-scale downsampling and attention mechanisms. This allows the model to establish a continuous physical prior even in regions devoid of sensors.

The PhyDA architecture, highlighting the Virtual Reconstruction Encoder (VRE), the Diffusion Process, and the Physically Regularized Diffusion Objective (PRDO).

Experimental Setup and Datasets

The model was trained and validated using the ERA5 reanalysis dataset, the industry standard for global atmospheric data. The study utilized five pressure-level variables (temperature, geopotential, u/v-wind, specific humidity) across 13 vertical levels, along with key surface variables. Training spanned 1979–2017, with testing conducted on 2023 data. Background forecasts were provided by the Fengwu model.

Key Results and Insights

PhyDA demonstrates a significant leap in both accuracy and physical realism:

  • Physical Consistency: PhyDA achieved a 79.7% improvement in Spectral Divergence (SpecDiv) compared to the background forecast. SpecDiv measures how well the energy distribution across scales matches real-world weather, proving that PhyDA avoids the "blurring" common in other generative models.
  • Statistical Accuracy: The model consistently outperformed baselines (like FNP and SDA) in RMSE and MAE for critical variables such as geopotential (z500) and temperature (t850).
  • Robustness to Sparsity: Even at an extreme 0.5% observation density, PhyDA remained stable. The VRE effectively "fills the gaps" in a way that allows the physical regularization to remain functional.

Conclusion

PhyDA represents a successful integration of deep generative modeling and classical physics. By treating physical laws as an energy landscape that shapes the diffusion process, the model produces analyses that are both accurate and physically consistent. Future work will focus on integrating heterogeneous data sources like satellite imagery and moving toward an end-to-end forecasting pipeline where PhyDA-generated analyses can improve long-term weather prediction stability.

Summary updated

BibTeX
@misc{wang2025phyda,
  author = {Hao Wang and Jindong Han and Wei Fan and Weijia Zhang and Hao Liu},
  title = {{PhyDA: Physics-Guided Diffusion Models for Data Assimilation in Atmospheric Systems}},
  year = {2025},
  eprint = {2505.12882},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.12882},
}
Figure