FengWu-4DVar: Coupling the Data-driven Weather Forecasting Model with 4D Variational Assimilation

Yi Xiao, Lei Bai, Wei Xue, Kang Chen, Tao Han, Wanli OuyangarXiv 2023

Abstract

Weather forecasting is a crucial yet highly challenging task. With the maturity of Artificial Intelligence (AI), the emergence of data-driven weather forecasting models has opened up a new paradigm for the development of weather forecasting systems. Despite the significant successes that have been achieved (e.g., surpassing advanced traditional physical models for global medium-range forecasting), existing data-driven weather forecasting models still rely on the analysis fields generated by the traditional assimilation and forecasting system, which hampers the significance of data-driven weather forecasting models regarding both computational cost and forecasting accuracy. In this work, we explore the possibility of coupling the data-driven weather forecasting model with data assimilation by integrating the global AI weather forecasting model, FengWu, with one of the most popular assimilation algorithms, Four-Dimensional Variational (4DVar) assimilation, and develop an AI-based cyclic weather forecasting system, FengWu-4DVar. FengWu-4DVar can incorporate observational data into the data-driven weather forecasting model and consider the temporal evolution of atmospheric dynamics to obtain accurate analysis fields for making predictions in a cycling manner without the help of physical models. Owning to the auto-differentiation ability of deep learning models, FengWu-4DVar eliminates the need of developing the cumbersome adjoint model, which is usually required in the traditional implementation of the 4DVar algorithm. Experiments on the simulated observational dataset demonstrate that FengWu-4DVar is capable of generating reasonable analysis fields for making accurate and efficient iterative predictions.

Introduction

Recent advancements in AI weather models, such as Pangu-Weather and GraphCast, have demonstrated superior performance over traditional numerical weather prediction (NWP) systems in terms of speed and accuracy. However, these models currently suffer from a critical dependency: they require high-quality "analysis fields" as initial conditions. These fields are typically produced by traditional data assimilation systems that rely on expensive physical models to merge sparse observations with prior forecasts.

This dependency creates a bottleneck, as the computational overhead of the traditional system negates the efficiency gains of the AI model. To address this, we propose FengWu-4DVar, a system that integrates the FengWu AI model directly into a Four-Dimensional Variational (4DVar) framework, creating a self-sustaining forecasting cycle.

Evolution of weather forecasting systems from traditional physical models to the self-contained FengWu-4DVar system.

Methods

FengWu-4DVar leverages the differentiability of neural networks to implement 4DVar efficiently.

Auto-Differentiation for Adjoint Modeling

Traditional 4DVar requires an "adjoint model" to propagate observation errors backward in time to the initial state. Manually coding these for physical models is complex and error-prone. FengWu-4DVar utilizes PyTorch’s auto-differentiation to compute these gradients automatically, significantly simplifying the development process.

Temporal Aggregation Strategy

To mitigate error accumulation during the assimilation window, we employ a multi-scale modeling approach. Instead of looping a single 1-hour model, we use a hierarchy of models (e.g., 1-hour and 3-hour variants). This strategy maintains the accuracy of the analysis field over the 6-hour assimilation window.

The 4DVar assimilation process using FengWu forecast models and their auto-differentiated adjoints.

Model Error Variance

The standard 4DVar objective function was modified to explicitly account for the statistical errors inherent in the AI model, ensuring a proper balance between model predictions and observational data.

Evaluation and Results

The system was evaluated using the ERA5 dataset (1979-2015 for training, 2018 for testing) with simulated observations (15% coverage with Gaussian noise).

  • Stability: FengWu-4DVar demonstrated long-term stability, running cyclic predictions for an entire year without divergence.
  • Accuracy: The system significantly improved analysis fields compared to background fields. For instance, the Root Mean Square Error (RMSE) for temperature at 500hPa (t500) was reduced by 15%.
  • Efficiency: The system is highly efficient, processing a 6-hour assimilation window in under 30 seconds on a single Nvidia A100 GPU.

Conclusion

FengWu-4DVar represents a significant step toward fully autonomous AI weather forecasting. By removing the dependency on traditional physical models for data assimilation, it offers a path toward more efficient and scalable global weather prediction. Future work will focus on improving the background error covariance matrix and testing the system with real-world, non-simulated observational data.

Summary updated

BibTeX
@misc{xiao2023fengwu,
  author = {Yi Xiao and Lei Bai and Wei Xue and Kang Chen and Tao Han and Wanli Ouyang},
  title = {{FengWu-4DVar: Coupling the Data-driven Weather Forecasting Model with 4D Variational Assimilation}},
  year = {2023},
  eprint = {2312.12455},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.12455},
}
Figure