Debias Coarsely, Sample Conditionally: Statistical Downscaling through Optimal Transport and Probabilistic Diffusion Models

Zhong Yi Wan, Ricardo Baptista, Yi-Fan Chen, John Anderson, Anudhyan Boral, Fei Sha, Leonardo Zepeda-Núñez · OpenReview

Introduction

In climate and weather modeling, the trade-off between computational cost and physical fidelity is a central challenge. High-resolution simulations are essential for local risk assessments, such as predicting extreme weather events, yet they are often too computationally expensive for long-term climate projections. Conversely, coarse-grained models are efficient but suffer from numerical biases and a lack of fine-scale detail.

Statistical downscaling aims to bridge this gap by mapping low-resolution (LR) data to high-resolution (HR) outputs. However, traditional methods often struggle with two primary issues: the lack of paired training data due to chaotic divergence and the inherent statistical bias in coarse-grained numerical schemes. This paper introduces a two-stage probabilistic framework that addresses these challenges by combining Optimal Transport (OT) for debiasing and Probabilistic Diffusion Models for conditional upsampling.

The Challenges of Downscaling: Bias and Chaos

Most super-resolution techniques in computer vision assume that the low-resolution input is a simple filtered version of the high-resolution ground truth. In fluid dynamics, this assumption fails for two reasons:

  1. The Pairing Problem: Due to the chaotic nature of fluids, two simulations starting from nearly identical initial conditions will diverge rapidly. This makes it nearly impossible to generate perfectly paired "low-res" and "high-res" snapshots for supervised learning.
  2. The Bias Problem: Coarse-grained simulations often employ different numerical schemes or parameterizations, leading to "low-frequency" content that is statistically distinct from the high-resolution counterpart.

The proposed framework seeks to learn a downscaling map using only independent (unpaired) sets of LR and HR data, effectively "hallucinating" physically consistent details while correcting large-scale biases.

Methodology: A Two-Stage Pipeline

The authors factorize the downscaling process into two distinct operations: debiasing and upsampling.

1. Debiasing via Optimal Transport

The first stage addresses the distribution shift between the biased LR data and the desired HR statistics. Using the Sinkhorn algorithm, the framework learns an Optimal Transport map that transforms the biased LR distribution into an intermediate "unbiased" LR distribution. This step ensures that the large-scale features of the input are aligned with the expected low-frequency components of the high-fidelity model before any detail is added.

2. Upsampling via Conditional Diffusion

The second stage involves a Probabilistic Diffusion Model to generate high-frequency details.

  • Prior Training: An unconditional diffusion model is trained on HR data to learn the manifold of valid physical states.
  • Posteriori Conditional Sampling: During inference, a "post-processed denoiser" guides the diffusion process. This ensures the generated HR output, when downsampled, matches the debiased LR input from the first stage.

By separating these tasks, the framework prevents "bias pollution," where errors in the coarse model's large-scale features would otherwise degrade the quality of the generated fine-scale details.

Experimental Evaluation

The framework was evaluated on two classic benchmarks for computational fluid dynamics:

  • Kuramoto-Sivashinsky (KS) Equation: A 1D system representing chaotic wave propagation.
  • Navier-Stokes (NS) Equation: 2D fluid flow under Kolmogorov forcing, characterized by complex vortex dynamics.

The researchers generated LR data using coarse finite-volume schemes and HR data using high-precision spectral methods, creating a deliberate mismatch in both resolution and underlying physics.

Key Results and Physical Fidelity

The method was tested at 8x and 16x upsampling factors, outperforming baselines such as CycleGAN and ClimAlign.

  • Spectral Accuracy: The proposed "OT + Diffusion" approach was uniquely successful in matching the Energy Spectrum of the ground truth. This indicates that the model correctly distributes energy across different scales of motion, a critical requirement for physical realism.
  • Statistical Robustness: In 2D Navier-Stokes tests, the Mean Energy Log Ratio (MELR)—a metric for spectral error—was significantly improved compared to raw LR inputs and GAN-based alternatives.
  • Uncertainty Quantification: As a probabilistic generative model, the framework can produce multiple high-resolution realizations for a single low-resolution input, allowing researchers to quantify the uncertainty inherent in the small-scale "hallucinations."

Conclusion

"Debias Coarsely, Sample Conditionally" provides a robust path forward for physics-based downscaling without the need for paired datasets. By leveraging Optimal Transport to handle distribution shifts and Diffusion Models to reconstruct fine-scale structures, the framework maintains physical consistency even in the presence of numerical bias. Future work will focus on extending this approach to spatio-temporal downscaling and applying it to real-world observational data, where noise and missing values present additional challenges.

Summary updated

BibTeX
@inproceedings{wan2023debias,
  author = {Zhong Yi Wan and Ricardo Baptista and Yi-Fan Chen and John Anderson and Anudhyan Boral and Fei Sha and Leonardo Zepeda-Núñez},
  title = {{Debias Coarsely, Sample Conditionally: Statistical Downscaling through Optimal Transport and Probabilistic Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=5NxJuc0T1P},
}
Figure