Mind the Residual Gap: Probabilistic Downscaling under Real-World Bias

Cornell University

\(\textbf{ReMatch} \) is a method to mitigate residual target misspecification in mean–residual probabilistic downscaling. It aligns training residuals to a test-time regime, improving both ensemble calibration and downscaling accuracy compared to a variety of methods.





Abstract

Probabilistic downscaling is the task of modeling the conditional distribution of high-resolution fields given coarse inputs, and is a central challenge to atmospheric science, climate modeling, and other multiscale physical systems. A widely used paradigm decomposes the problem into a deterministic mean predictor followed by a stochastic residual generator. While effective in idealized settings, this mean-residual approach frequently produces biased and under-dispersive ensembles in real-world applications. Is this merely generic predictive uncertainty miscalibration? We show that the root cause is more fundamental: residual target misspecification, the residual distribution induced during training differs systematically from the one required at test time due to downscaling bias. To close this gap, we introduce ReMatch (Residual Distribution Matching). ReMatch aligns the training residual distribution toward the test-time regime via optimal transport in a low-dimensional PCA space. This preserves the statistical benefits of the mean-residual framework while reducing the train-test mismatch in the residual targets seen by the stochastic generator. On a controlled synthetic benchmark with varying bias levels and a real-world HRRR-ERA5 wind field downscaling task, ReMatch substantially reduces under-dispersion, improves calibration (SSR and CRPS), and outperforms strong baselines, including the standard mean-residual model and its variants, as well as state-of-the-art super-resolution models.


What is residual target misspecification for downscaling tasks?

In the mean–residual pipeline, the residual is not an intrinsic stochastic component of the high-resolution field. Rather, it is an induced correction target defined relative to the upstream mean predictor. This could include a mean-error magnitude gap, spatial structure, extreme behavior, etc. Generally, when the low- and high-resolution fields exhibit significant downscaling bias (as is typical in real-world cross-source or cross-resolution settings), the mean predictor overfits training-specific biases, which causes the residual distribution observed during training to become systematically different from the correction distribution required at test time. The severity increases directly with the strength of low-resolution (LR) – high-resolution (HR) bias.


An example of realistic LR-HR mismatch is the gap between our upsampled ERA5 data and ground truth HRRR data. With the same atmospheric scene, the LR input and the corresponding HR target are substantially different.

ReMatch Construction

First, we create training, calibration, and test splits. ReMatch is trained on a calibration set with a frozen mean predictor that acts as a proxy test set. For our experiments, we used three stages:
Stage 1: We train an upstream mean predictor using the pointwise regression objective to create a deterministic approximation of the target field. This creates residuals for each sample.

Stage 2: We use optimal transport to align the training residual distribution with the test-time residual distribution. We compute the transport cost by fitting separate PCA bases to the concatenated training and calibration residuals, and to the corresponding low-resolution inputs. We use the cost to reconstruct the transported residual with the transport weight from training sample to calibration sample and the calibration residual PCA representations.
Stage 3: We train a conditional residual model on both the train and calibration set, conditioned on the union of the transported training samples and the original calibration samples. This allows the stochastic residual generator to be trained on residual targets whose distribution is more closely matched to those encountered at inference.

We note that ReMatch is a generalizable, modular framework. It can be used with any mean predictors \(- \) such as UNet or SwinIR in our experiments \(- \) or any stochastic residual generators.

Results

Our results suggest that in residual generative pipelines, calibration failures should not be viewed only as deficiencies of the stochastic sampler; they can originate from the target construction itself.


With our experiments, we demonstrate that ReMatch improves downscaling performance across accuracy, calibration, and visual perception metrics and across different types of mean predictors. Other methods that deviate from the mean-residual pipeline (UNet, CDM, ConvFNO, SwinIR) or try to reduce the capacity of the mean predictor (CorrDiff\(_m \)) generally show improved spread (or no spread for deterministic predictors) but decreased accuracy. Variants of CorrDiff (CFG, uncertainty-aware conditioning) also have similar tradeoffs.
Though deterministic mean predictors are limited by their inability to quantify uncertainty for tasks that require calibrated ensembles, we observe that SwinIR is the strongest performing one. Combined with ReMatch and a residual predictor to add stochasticity, we see accuracy performance improve. This highlights that ReMatch actually can benefit from stronger deterministic mean-predictors while also adding well-calibrated spread, unlike other methods that suffered from accuracy–calibration tradeoffs.

Additionally, our method could help in downstream uncertainty-aware tasks, where better-calibrated spread can improve the usefulness of ensemble forecasts. We examine an example for a downstream trajectory planning task. This does not establish a direct advantage; rather, it illustrates that ReMatch's decreased bias and improved spread appears in the task as well.



Paper

BibTex



  @misc{kim2025sparsetofieldreconstructionstochasticneural,
    title={Sparse-to-Field Reconstruction via Stochastic Neural Dynamic Mode Decomposition}, 
    author={Yujin Kim and Sarah Dean},
    year={2025},
    eprint={2511.20612},
    archivePrefix={arXiv},
    primaryClass={cs.LG},
    url={https://arxiv.org/abs/2511.20612}, 
  }