Physically constrained generative adversarial networks for improving precipitation fields from Earth system models

Philipp Hess, Markus Drüke, Stefan Petri, Felix M. Strnad, Niklas Boers · DOI

Abstract

Accurately simulating precipitation remains a significant challenge in climate science due to the high computational cost of high-resolution Earth System Models (ESMs). Low-resolution models, while efficient, often suffer from systematic spatial biases—such as the "double-peaked Intertropical Convergence Zone (ITCZ)"—and fail to capture the realistic intermittency of rainfall. This paper introduces a physically constrained CycleGAN architecture designed to correct these biases. By incorporating a global precipitation conservation layer, the model ensures that generative outputs remain consistent with large-scale thermodynamic trends, allowing it to generalize to future climate scenarios. The approach reduces mean error by 75% and achieves high-fidelity results at a fraction of the computational cost of traditional high-resolution simulations.

Introduction

Earth System Models (ESMs) are indispensable tools for projecting the impacts of climate change. However, researchers face a persistent trade-off between spatial resolution and computational expense. While high-resolution models can accurately simulate the complex, intermittent nature of precipitation, they require millions of CPU hours to run. Conversely, low-resolution models are computationally feasible for long-term projections but struggle to represent sub-grid scale processes. This often results in "smooth" rainfall patterns that lack realistic texture and large-scale structural errors, most notably the spurious southern peak in the ITCZ.

Traditional statistical post-processing methods, such as Quantile Mapping, are effective at correcting local statistics but fail to address these fundamental spatial biases. Furthermore, standard Machine Learning (ML) approaches often struggle with non-stationarity—the phenomenon where future climate conditions differ significantly from the historical data used for training. This study presents a novel solution: a physically constrained Generative Adversarial Network (GAN) that bridges the gap between low-resolution efficiency and high-resolution accuracy.

Methodology

CycleGAN Architecture

The researchers employed a CycleGAN framework, which is specifically suited for "unpaired" image-to-image translation. In climate modeling, historical observations (ERA5 reanalysis) and ESM outputs represent different realizations of weather; they cannot be compared on a day-to-day basis, only statistically. The CycleGAN learns the underlying mapping between the distribution of the low-resolution model and the distribution of the high-fidelity observations without requiring direct temporal alignment.

Physical Constraint Layer

A primary innovation of this work is the integration of a physical constraint layer within the generator. This layer re-scales the GAN’s output to ensure that the total global precipitation matches the input ESM. This design choice allows the AI to inherit the large-scale thermodynamic trends—such as the increase in global precipitation expected in a warming world—while granting it the freedom to redistribute that moisture into more realistic, high-frequency spatial patterns. This constraint is the key to solving the problem of non-stationarity, ensuring the model remains physically grounded even when predicting future scenarios it has never seen.

Interpretability

To move beyond the "black box" nature of deep learning, the authors utilized SmoothGrad, a gradient-based feature attribution method. This allowed the team to verify that the model was focusing on known physical bias regions, such as the tropical Pacific, to inform its corrections, rather than relying on spurious correlations.

Results and Discussion

Spatial Fidelity and Bias Correction

The physically constrained GAN demonstrated a remarkable ability to refine the "texture" of simulated rainfall. It was the only method tested that correctly reproduced the spatial Power Spectral Density (PSD), capturing the realistic patchiness of weather across multiple scales. Most significantly, the model successfully eliminated the "double ITCZ" bias, a long-standing hurdle in climate modeling that standard statistical methods cannot resolve.

Performance Metrics

Quantitatively, the GAN reduced the Mean Error (ME) of the low-resolution model by 75% for annual fields. Its performance was found to be comparable to, and in some spatial metrics superior to, the state-of-the-art GFDL-ESM4 model. While the GFDL-ESM4 requires approximately 2,000 CPU hours (1,000 CPUs for 2 hours) to simulate a single year, the trained GAN can process the same data in just 0.35 seconds on a single GPU.

Generalization to Future Climates

By testing the model on the CMIP6 SSP5-8.5 high-emission scenario (2015–2100), the researchers confirmed that the physical constraint was vital. Without it, the GAN tended to produce rainfall patterns that mirrored the historical training data, failing to account for increased precipitation in a warmer atmosphere. With the constraint, the model accurately projected the intensification of the hydrological cycle while maintaining improved spatial structures.

Conclusion and Future Work

This research demonstrates that physically constrained generative models can significantly enhance the utility of low-resolution ESMs. By combining the texture-generating capabilities of GANs with fundamental conservation laws, the authors have provided a path toward high-fidelity climate projections at a minimal computational cost.

Future iterations of this work may move toward stochastic generators to provide measures of uncertainty, incorporate additional variables (such as humidity and wind) to enhance physical consistency, and explore "super-resolution" techniques to simultaneously increase spatial detail while correcting biases.

Summary updated

Abstract

Precipitation results from complex processes across many scales, making its accurate simulation in Earth system models (ESMs) challenging. Existing post-processing methods can improve ESM simulations locally but cannot correct errors in modelled spatial patterns. Here we propose a framework based on physically constrained generative adversarial networks to improve local distributions and spatial structure simultaneously. We apply our approach to the computationally efficient CM2Mc–LPJmL ESM. Our method outperforms existing ones in correcting local distributions and leads to strongly improved spatial patterns, especially regarding the intermittency of daily precipitation. Notably, a double-peaked Intertropical Convergence Zone, a common problem in ESMs, is removed. Enforcing a physical constraint to preserve global precipitation sums, the generative adversarial network can generalize to future climate scenarios unseen during training. Feature attribution shows that the generative adversarial network identifies regions where the ESM exhibits strong biases. Our method constitutes a general framework for correcting ESM variables and enables realistic simulations at a fraction of the computational cost. Earth system models (ESMs) are powerful tools for simulating climate fields, but weather forecasting and in particular precipitation prediction with ESMs are challenging. A generative adversarial network, constrained by the sum of global precipitation, is developed that substantially improves ESM predictions of spatial patterns and intermittency of daily precipitation.
BibTeX
@article{hess2022physically,
  author = {Philipp Hess and Markus Drüke and Stefan Petri and Felix M. Strnad and Niklas Boers},
  title = {{Physically constrained generative adversarial networks for improving precipitation fields from Earth system models}},
  journal = {Nat. Mac. Intell.},
  year = {2022},
  doi = {10.1038/s42256-022-00540-1},
}
Figure