Conditional diffusion models for downscaling & bias correction of Earth system model precipitation

Michael Aich, Philipp Hess, Baoxiang Pan, Sebastian Bathiany, Yu Huang, Niklas Boers · DOI

Introduction

Climate change is intensifying extreme weather events, such as heavy rainfall and flooding. Preparing for these impacts requires accurate, high-resolution simulations. However, current Earth System Models (ESMs) typically operate at coarse resolutions (approximately 100 km), which are insufficient to capture local storm dynamics. Furthermore, these models often exhibit systematic biases, consistently over- or under-estimating precipitation.

Traditional statistical methods, such as Quantile Mapping (QM), can correct overall distributions but often produce unnaturally smooth spatial patterns. Deep learning approaches like Generative Adversarial Networks (GANs) face challenges with training stability and "mode collapse." A fundamental hurdle in applying supervised learning is that ESM simulations and real-world observations are unpaired; due to the chaotic nature of the atmosphere, a simulated date in an ESM will not match the actual weather observed on that day.

To address these challenges, researchers have developed a new machine learning framework using conditional diffusion models. This approach simultaneously corrects biases and increases the resolution (downscaling) of precipitation data by utilizing a "shared embedding space" trick, enabling the generation of high-fidelity, physically realistic rainfall patterns without requiring perfectly paired historical data.

Methods

The core of the proposed framework is a Conditional Diffusion Model that leverages a shared embedding space to bridge the gap between observations and model simulations.

The Shared Embedding Space

The framework maps both observational data (ERA5) and ESM data (GFDL) into a shared space where they are statistically identical. This is achieved through two main steps:

  1. Quantile Mapping: Used to correct large-scale biases.
  2. Gaussian Noise Injection: Small-scale details that ESMs cannot resolve are "erased" by adding noise, ensuring the embedded representations of both datasets look similar.
Overview of the conditional diffusion framework for downscaling and bias correction.

Training and Inference

The model architecture utilizes a Denoising Diffusion Probabilistic Model (DDPM) with a memory-efficient U-Net backbone, totaling approximately 730 million parameters.

  • Supervised Training on Observations: Pairs are manufactured by taking clean observations and creating "noised/embedded" versions. The model is trained to reconstruct the sharp, high-resolution original from the blurry, noised input.
  • Zero-Shot Inference: During testing, blurry ESM data is mapped to the shared embedding space. The model treats this input as a noised observation and proceeds to sharpen and de-bias it, effectively performing "zero-shot" transfer from the observational training domain to the ESM domain.

This approach is highly data-efficient. Unlike unconditional models that must learn the entire rainfall distribution, this conditional model only learns to "fill in" small-scale details based on a large-scale "blueprint" provided by the ESM.

Datasets and Evaluation

The model was trained and validated using several key datasets:

  • ERA5 Reanalysis: Served as the high-resolution (0.25°) "ground truth" target.
  • GFDL-ESM4: The primary ESM used for correction (originally at 1° resolution).
  • MPI-ESM-HR: A secondary ESM used to test the model's generalization capabilities.
  • Geographic Focus: Primary testing was conducted on South America, with secondary testing on South Asia.

Key Results

The framework demonstrated significant improvements over traditional methods:

  • Spatial Realism: The output matches the spatial power spectrum of real-world observations almost perfectly, avoiding the over-smoothing characteristic of QM.
  • Extreme Events: The model significantly improved the representation of extreme rainfall (R95p). It successfully corrected the "wet bias" in the raw GFDL model, bringing return periods for extreme storms (>80mm/day) closer to observed reality.
  • Bias Reduction: Mean Absolute Bias was reduced from 0.69 mm/d (raw GFDL) to 0.32 mm/d.
  • Robustness: The model successfully corrected a completely different ESM (MPI-ESM-HR) and future climate scenarios (SSP5-8.5) without retraining, demonstrating its ability to preserve the underlying climate signal.

Conclusion and Future Work

By training on observations and using an embedding space to bridge the gap to ESMs, this framework bypasses the chaotic divergence that typically prevents supervised learning in climate modeling. However, some limitations remain. The current model processes single "snapshots" of weather, which may not guarantee temporal consistency (e.g., realistic storm movement over time). Future work may explore "video diffusion models" to address this. Additionally, while this study focused on precipitation, expanding to a multivariate setup could ensure physical consistency between downscaled variables like temperature and humidity.

Summary updated

BibTeX
@misc{aich2024conditional,
  author = {Michael Aich and Philipp Hess and Baoxiang Pan and Sebastian Bathiany and Yu Huang and Niklas Boers},
  title = {{Conditional diffusion models for downscaling \& bias correction of Earth system model precipitation}},
  year = {2024},
  eprint = {2404.14416},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.14416},
}
Figure