arXiv(opens in a new tab)physics.ao-phSep 2026

Manuscript Offprint

arXiv:2609.40140

Less is more: error-distance scaling relation for data-efficient kilometer-scale downscaling of extreme heat

Ahmed Marey, Henry Lu, Abhishek Gaur, Liangzhu Leon Wang, Sherif Goubran, Malek Aloui, Theodore Potsis, Alex Hernandez-Garcia, David Rolnick

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Extreme heat is where urban adaptation needs kilometer-scale data the most, but the simulations training a downscaler can cost more than they save, and how much is needed has not been identified. We measured it with CASPER, a U-Net with a structure-preserving loss downscaling 32 km reanalysis to 1 km temperature, humidity and wind, across 24 configurations of one to eight months. Held-out error grows linearly with climatological distance to the training data, RMSE = 0.83 + 2.95 d, explaining 90% of its variance against 7% for volume and predicting unseen months in advance. On held-out extreme summer weeks CASPER preserves the fine-scale structure and cross-variable physics that matched-budget baselines degrade, and matches station observations during documented heat waves to within 1.8 K. Transfer to a new region degrades geographically; 11 days of local simulation cuts Vancouver's held-out error from 3.8 to 1.3 K. Training periods should span the target climate: the same accuracy for four times less simulation, putting kilometer-scale downscaling of extreme heat within reach of groups without large computing facilities.

Introduction

Kilometer-scale atmospheric data is indispensable for urban climate adaptation [1], hydrological forecasting [2] and predicting extreme weather events [3]. The demand is highest for extreme heat, whose impacts fall on particular hours and locations within a city and are invisible in coarse-resolution fields; heat waves are the case this work is built around, with typical summer conditions kept as the control. Climate-resilient infrastructure must also be evaluated against detailed long-term projections spanning divergent warming pathways [4]. Dynamical downscaling with regional climate models such as the Weather Research and Forecasting (WRF) model resolves the interactions among topography, the land surface and atmospheric dynamics by solving the governing equations of atmospheric motion at high resolution [5], but the computational overhead is prohibitive [6]: producing a single month of training data for this study's domain required 5 days of computation on a supercomputer with 480 CPU cores, which puts large-scale scenario analysis and ensemble projections for uncertainty quantification out of reach [7].

Statistical downscaling infers empirical relationships between coarse-scale atmospheric patterns and local weather conditions [8]. Quantile mapping [9] and empirical regression [10] cannot capture the nonlinear dynamics and complex spatial dependencies of high-resolution atmospheric phenomena [11], and fail during extreme events, when linear assumptions break down and spatial structure dominates local impacts [12]. Machine learning has narrowed that gap [13], [14]: random forests [15], convolutional networks [16] and, in particular, U-Net architectures learn nonlinear mappings with a much better accuracy [17], while generative adversarial networks [18], [19] and diffusion models [20], [21] produce sharp, realistic fine-scale variability. Each family carries a cost. Adversarial training is prone to mode collapse, which often limits accurate representation of the distributional tails that define extreme events [22], [23].

Diffusion models train more stably but consume more data, and they treat bias correction as a separate stage: CorrDiff [24] adds a diffusion head to a deterministic regression backbone, and TAUDiff [25] applies quantile mapping as input preprocessing, rather than enforcing distributional agreement during training. Both generative families need large, diverse training sets – a conditional Wasserstein GAN for operational wind downscaling over Canada required a full year of paired forecasts [26]. The binding constraint is therefore not architecture but the generation of high-resolution training data, and it is amplified at kilometer scale. Published models are trained on continuous records of three to fifty years [6], [24], [27], and no public pre-computed paired dataset exists at 1 km, unlike coarser resolutions (10–25 km) at which reanalysis or global model output can serve as both input and target. Every group must generate its own simulations from scratch – a substantial barrier for meteorological services, especially in developing nations [28], for municipal governments and for groups without high-performance computing. Table 1 surveys what is reported: records from one year to nearly three decades, and no study reporting how skill would change if the record were shortened, which periods carry the information, or how much simulation a new deployment would need.

Table 1: Training-data records reported in deep-learning downscaling. High-resolution training record used by representative deep-learning downscaling studies, ordered by target resolution; the ratio is the linear resolution enhancement from the coarse input to the target grid. The final column records whether the study reports a data-volume sensitivity analysis – an explicit measurement of how skill depends on the amount, or the choice, of training data. None of the surveyed studies reports one: the length of the training record is stated but not justified.

StudyResolution (ratio)DomainHigh-resolution training recordModel familyData requirement measured
Mardani et al. [24]25 → 2 km (12×)Taiwan3 years (24,154 2018-2020)U-Net corrective diffusion+ No
Tomasi et al. [42]16 → 2.2 km (8×)Italy15 years hourly (of a 2000-2020 archive)Latent diffusionNo
Guevara et al. [26]20 → 2.5 km (8×)Canada12 months of paired forecasts (7,150 forecast hours)Conditional WGAN-GPNo
Pérez et al. [52]25 → 5.5 km (4.5×)Europe29 years 3-hourly (1985-2013)Swin transformerNo
Jha et al. [27]250 → 25 km (10×)South Asia31 yearsResidual CNNNo
Singh et al. [30]10 km → 300 m (33×)Austin, USA9 years daily (2001-2009)Iterative SRCNNNo
Chajaei and Bagheri [29]100 → 5 m (20×)Amsterdam1 year (2017)Gradient boostingNo
This work (CASPER)32 → 1 km (32×)Montreal-Ottawa, +3 transfer domains1-8 months; 1 month + 11 days for a deployed regional modelU-Net structure-preserving loss+ Yes

Four questions follow, and they are the questions any group planning a kilometer-scale simulation campaign for extreme heat has to answer before it starts. How much simulation is enough? How should the simulation periods be selected? How well the resulting model will generalize to conditions and places it has not seen, and can that be known before the computing time is spent? And how much additional simulation does it cost to move the model to a new region? Answering them requires treating the training set as a design variable rather than an inheritance, and it requires a downscaler that trains stably on months rather than years, so that the training set can actually be varied.

We therefore build on the U-Net, the backbone of deep-learning downscaling, in a deterministic configuration [29], and address its main weakness – spatially smoothed output – with a structure-preserving loss. We call the resulting framework CASPER (Context-Aware Structural Prior Enhanced Resolution). It takes high-resolution static geographic features – terrain elevation and land use – as primary input channels: the surface boundary conditions that modulate local atmospheric response through orographic forcing, differential heating and turbulence induced by surface roughness [30], [31], [32]. Combined with the multi-component loss, this design lets the model learn location-specific responses, capturing terrain-forced circulations [33] and urban heat island effects [34] that the 32 km NARR forcing leaves unresolved (Figure 1), without hard physical constraints [35].

a) How is a model built

Figure

b) What does the loss constrain, and when

Structure-preserving loss

L=LMAE+Lgrad+LMS\mathcal{L} = \mathcal{L}_{\text{MAE}} + \mathcal{L}_{\text{grad}} + \mathcal{L}_{\text{MS}}

+Lpatch+LMBC+ \mathcal{L}_{\text{patch}} + \mathcal{L}_{\text{MBC}}

what other downscalers restore afterwards, in a separate bias-correction stage, is enforced here during training

sharp gradients

Figure

structure across scales

Figure

joint distribution

Figure

WRF target CASPER L1 loss only

c) What does the framework deliver

Generalization is predictable in advance

Figure

error is set by distance, not by how many months

climatological distance from the training months →

A new region is cheap to reach

2 m temperature over an unseen region

Figure

1 km target

no local

simulation

after local

simulation

simulation in the new region →

Figure 1: The CASPER framework. Panels outlined in maroon are this work's contribution; grey panels are standard components. (a) Candidate simulation periods are placed in climate space and the training months are chosen to span it, before any simulation is run. The network takes the 32 km reanalysis state as 53 coarse channels together with 1 km terrain elevation and land-use class, and returns the 1 km column: temperature, wind and humidity on 10 pressure levels plus 2 m and skin temperature. (b) The backbone is a conventional U-Net; the structure-preserving loss is what is added to it, acting during training rather than in a correction stage afterwards. Its terms hold the prediction to the target in three respects, shown for 2 m temperature: sharp gradients along a transect, variance across spatial scales, and the joint distribution with a second variable. A U-Net trained with an L1 loss alone, shown for contrast, smooths the gradients and loses fine-scale variance. (c) Left, held-out error rises with the climatological distance between an evaluation month and the training distribution, so error is governed by which months were simulated rather than by how many. Right, transfer to an unseen region – the 1 km target, the model applied with no local simulation, and the model after a short local window – with the error against the length of that window directly below them; the open marker is the no-simulation level.

Two design choices carry the framework, and Figure 1 marks them. First, where probabilistic approaches preserve spatial gradients and statistical properties by sampling [36], a structure-preserving loss reaches the same objectives deterministically: alongside the topographic forcing of the static input channels [37], CASPER is trained with a composite of gradient penalties [38], multiscale structural similarity [39], patch coherence [40] and multivariate bias correction [41], so sharp features and the joint distribution are enforced during training rather than restored by a separate post-processing stage, recovering at small budgets the distributional fidelity usually sought through sampling [42]. Second, most downscalers are univariate, which neglects the physical relationships between variables [43], [44] – thermal wind balance [45], Clausius-Clapeyron moisture-temperature coupling [46] – and risks meteorologically inconsistent fields. CASPER downscales the atmospheric column jointly: temperature, both wind components and relative humidity across 10 pressure levels (970-105 hPa), with 2 m and skin temperature, shared representations preserving consistency across variables [47]. Together these let a deterministic model trained on a few months retain the structure and cross-variable physics that make a measurement of the data requirement meaningful.

With the framework fixed, we use CASPER as an instrument rather than a product: because the architecture, loss and normalization never change across configurations, varying the training months alone isolates what each additional month buys. We train on budgets of one to eight months drawn from a 40-year climatology to span the joint distribution of near-surface temperature and relative humidity, and evaluate each configuration on months it never saw; the deployed model is then tested on held-out summer weeks that include the hottest of the 40-year record, and against station observations during documented heat waves. Where previous studies train on multi-year continuous records [24], [48], we ask which months carry the information and how far a model can be pushed before it fails – geographically as well as temporally, applying the Montreal-Ottawa model to Vancouver, Calgary and Toronto. We answer all four. The first is the central contribution; the others follow from it.

  • How much data is enough – a distance, not a number of months. Held-out error is set by the climatological distance between an evaluation target and the training distribution rather than by the volume of training data, and adding months that do not move the training distribution toward the conditions of interest leaves the error where it was. At a matched budget CASPER retains the fine-scale structure and cross-variable physics that interpolation, random-forest, U-Net and adversarial baselines degrade – the property that makes the measurement meaningful.

  • How data should be selected – by statistical coverage, not by convention. Candidate simulation periods can be placed in a climate space computed from coarse reanalysis alone, ranked, and chosen to span the conditions of interest before any high-resolution simulation is committed. Temperature errors follow a thermodynamic distance and the winds a nearly orthogonal circulation distance, which turns the choice of months into a measurable design decision rather than a convention.

  • How generalization can be measured and predicted. The relation between distance and error is tight enough, and stable enough on months the relation never saw, to predict the error of an unseen climate state within a stated uncertainty. The expected accuracy of a planned simulation campaign can therefore be quoted, with an interval, before the first hour of computing time is spent.

  • How regional adaptation can be achieved efficiently. Zero-shot transfer to an unseen region degrades along a geographic axis that the climatological distance does not measure, and a short window of local simulation recovers most of that loss. The total simulation behind a deployed model can therefore be several times smaller than current practice assumes.

These results should be read in two parts. The data-selection framework is architecture-independent: placing candidate simulation periods in a climate space computed from coarse reanalysis, choosing them to span the target conditions, measuring held-out error against climatological distance, and re-measuring the coefficients for a new domain require only coarse input fields and a held-out score. Nothing in the procedure depends on the downscaler being CASPER, and it applies equally to a generative model or to a different pair of resolutions. What is specific to CASPER is the deterministic design and the structure-preserving loss: they set how low the baseline requirement can go, because a deterministic backbone trains stably at budgets where adversarial and score-based objectives do not and enforcing distributional agreement inside the loss removes the post-hoc correction stage generative pipelines need, but they do not change how the requirement is measured. The coefficients are specific too: measured for one domain, one reanalysis and one configuration, so what transfers is the procedure, not the constants.

References (36)