Introduction
A climate model cannot resolve convection, clouds and turbulence on its grid, and computes their effect on each grid column with a parameterisation. A multi-scale model replaces that parameterisation with a small cloud-resolving model embedded in every column, which is far more faithful and far more expensive. Learning a fast emulator of the embedded physics, mapping one column's state to its sub-grid tendencies of heat, moisture, condensate and momentum and to a few surface fluxes, is an established research programme [1, 2]. Recent emulators add the large-scale forcing and the physics tendencies of the previous steps to the inputs [3], and the strongest entries of a large public competition are deep sequence models over the vertical column [4].
The question this task asks is not in-sample accuracy but transfer: the emulator is trained on part of the data and scored on regimes and climate states it never saw. This is where such emulators are known to fail. A network extrapolates outside its training support in ways that its architecture, not the data, decides [5]. The field has answered with inputs rescaled to be climate-invariant [6], with physically motivated input transformations for changed climates [7], with multi-fidelity training [8], and with stress tests of the coupled behaviour in a warmer climate [9].
Our starting observation is that much of what the embedded physics does is not free to be learned. The tendencies of one step are strongly correlated with those of the previous step; condensate cannot become negative; vapour at the end of a step cannot exceed what the local temperature and pressure can hold; absorbed shortwave radiation is incoming radiation times one minus albedo; and a reflection of the meridional wind should reflect its tendency. A generic network has to learn each of these from data, and learns them only where data exist. We build them into the closure, and give the learned part only what physics leaves open.
Method
The emulator is a column closure applied identically to every column. Its inputs are the extended input set the task allows, which includes the large-scale dynamical forcing and the physics tendencies of the two previous steps; the training batch is 512. The closure has three parts: a vertical encoder over the 60 levels, a structured decoder that turns encoder outputs into tendencies, and an ensemble and inference procedure around both.
A vertical encoder that transports parcel properties
Each level is described by its raw and standardised state, a set of thermodynamic coordinates computed from temperature, humidity and pressure (saturation humidity on the model's own hybrid pressure grid, a hydrostatic height, dry, moist and saturation static energies, the buoyancy of a surface parcel), mass-weighted cumulative fluxes and water paths from above and below, and the lagged tendencies. A width of 128 is used throughout. After a local mixer that combines each level with its two neighbours, five plume layers propagate information through the whole column.
A plume layer treats each of 8 heads as a parcel property produced at level and carried through the column with a learned, state-dependent attenuation , as a layer of optical depth would carry radiation:
Half of the channels run downward and half upward. The recursion is evaluated in parallel through its integrating factor , , and the layer adds the gated exchange to the residual stream. Unlike a patch model, nothing in this layer coarsens the vertical grid.
def forward(self, x):
state = self.norm(x)
source, gate = self.source(state).chunk(2, dim=-1)
b, levels, width = source.shape
parcel = self._orient(source.view(b, levels, self.heads, -1)).float()
# For a layer of optical depth tau, the outgoing property is
# exp(-tau) times the incident value plus (1-exp(-tau)) times
# the local source. Integrating factors evaluate all faces in parallel.
tau = self._orient(torch.sigmoid(self.rate(state).float()).unsqueeze(-1))
depth = tau.cumsum(dim=1)
injected = torch.expm1(-tau).neg() * parcel
carried = torch.exp(-depth) * (parcel[:, :1] + (torch.exp(depth) * injected).cumsum(1))
exchange = self._orient(carried - parcel).reshape_as(source).to(source.dtype)
x = x + self.out(exchange * torch.sigmoid(gate))
return x + self.ff(x)Persistence plus innovation
Sub-grid heating and moistening persist from one step to the next. We forecast them in two coordinates, a persistent part and an innovation. With and the tendencies of the two previous steps,
where the are encoder outputs, a physical scale, and an activity estimate: the square root of a vertically smoothed second moment of the two previous tendencies, shrunk toward a constant, . A quiet layer therefore forecasts small innovations, and an active one large innovations, without the network having to learn the scale. The same rescales the training loss, a Huber loss with on weighted by .
Condensate is advanced as a stock. The decoder predicts a nonnegative source, built from a free term and from vapour, from condensate one level above and below and from recent cloud tendencies, and a sink that is a bounded fraction of the current stock. The updated total is split into liquid and ice by a phase fraction of the temperature after this step's heating, and the tendencies are the differences from the current liquid and ice. Water carried by transport (below) is added, with a learned weight, to the vapour tendency, and a learned fraction of its positive part also enters the condensate source.
# Forecast the persistent part and the innovation in distinct coordinates.
last = previous[:, [0, 1, 4]]
trend = last - older[:, [0, 1, 4]]
mem = (torch.sigmoid(1 + h[:, 5:8]) * last
+ 0.5 * torch.tanh(h[:, 8:11]) * trend)
tdot = (h[:, 0] * activity[:, 0] + mem[:, 0]) * scales[0]
qdot = (h[:, 1] * activity[:, 1] + mem[:, 1]) * scales[1]
udot, vdot, water_transport = self._transport(h, previous, older, geometry)
# The CRM advances total condensate, with a nonnegative source and a
# bounded fractional sink. Partition the stock after this update.
scale = self.cloud_scale
cloud_memory = (previous[:, 2:4] * scales[2:4]).sum(1) / scale
source = F.softplus(h[:, 2] - 2) * (scale * activity[:, 5])
vapor = raw[:, 1].clamp_min(0) / 1200
stock = (qc + qi).clamp_min(0) / 1200
upper = torch.cat([stock[:, :1], stock[:, :-1]], dim=1)
lower = torch.cat([stock[:, 1:], stock[:, -1:]], dim=1)
source = (source + vapor * torch.sigmoid(h[:, 37] - 6)
+ upper * torch.sigmoid(h[:, 38] - 3)
+ lower * torch.sigmoid(h[:, 39] - 3)
+ cloud_memory.clamp_min(0) * scale * torch.sigmoid(h[:, 11] - 1))
sink = torch.sigmoid(h[:, 12] - 1.5) * ((qc + qi) / 1200)
# Detrainment can add vapour and condensate together. Condensate
# formation from the local reservoir transfers mass out of vapour.
transferred = torch.sigmoid(h[:, 42] - 1) * water_transport
source = source + torch.sigmoid(h[:, 43] - 2) * transferred.clamp_min(0)
cloud = (qc + qi) / 1200 + source - sink
qdot = qdot + transferred
phi = ((t + 1200 * tdot + 2 * torch.tanh(h[:, 13]) - 253.16) / 20).clamp(0, 1)
tendencies = torch.stack([tdot, qdot, phi * cloud - qc / 1200,
(1 - phi) * cloud - qi / 1200, udot, vdot], dim=1)The surface shortwave fluxes are predicted as transmitted fractions of the incoming radiation in four bands, and the net shortwave is computed from them as with the column's own albedos. Precipitation is nonnegative, and its snow fraction depends on the temperature of the lowest model level.
Transport conditioned on what was just observed
Vertical transport of momentum and water by convection is the part of the physics that the column state determines least. For the zonal wind and for water the inputs contain last step's tendency; for the meridional wind they do not. Our idea is to describe transport with one set of coefficients shared by all transported quantities, and to infer those coefficients from the tendencies we can see.
At level the tendency of a tracer is written as , where the basis holds the differences to donor levels at offsets , the difference to the surface value and the applied surface stress, and the transport coefficients. The encoder gives a prior whose coefficients are correlated along height by an exponential kernel on a learned, accumulated decorrelation depth ,
which is positive definite for any layer spacing. Last step's zonal wind and total water, with their observed physics tendencies, give two linear observations of at every level. The posterior mean follows from one linear solve per column,
where in the code the correction term is further multiplied by a learned factor in , and the current zonal and meridional wind tendencies and the transported water are then for the current profiles, plus learned correction terms. The meridional wind thus inherits information from the zonal wind and water histories through the shared coefficients.
# Each whitened transport coefficient is a field along height. An
# exponential kernel on accumulated decorrelation depth is positive
# definite even for non-uniform layer spacing and variable length.
depth = (F.softplus(h[:, 44] - 0.6) + 0.04).cumsum(1)
coherence = torch.sigmoid(h[:, 45] + 0.2)
correlation = (torch.exp(-(depth.unsqueeze(1) - depth.unsqueeze(2)).abs())
* coherence.unsqueeze(1) * coherence.unsqueeze(2))
correlation = correlation + torch.diag_embed(1 - coherence.square())
u, q = su * scale, sq * scale
iu = (u.square().sum(-1) + noise_u).rsqrt()
iq = (q.square().sum(-1) + noise_q).rsqrt()
u, q = u * iu.unsqueeze(-1), q * iq.unsqueeze(-1)
nu, nq = noise_u * iu.square(), noise_q * iq.square()
du = (previous[:, 4] - (su * mean).sum(-1)) * iu
dq = (last_qdot[:, 0] / water_unit - (sq * mean).sum(-1) - h[:, 41]) * iq
rhs = torch.stack([du, dq], dim=1)
def interpolate(v):
impulse = u * v[:, 0].unsqueeze(-1) + q * v[:, 1].unsqueeze(-1)
return torch.bmm(correlation, impulse)
rows = torch.cat([u, q], dim=1)
kernel = torch.bmm(rows, rows.transpose(1, 2)) * correlation.repeat(1, 2, 2)
kernel = kernel + torch.diag_embed(torch.cat([nu, nq], dim=1) + 1e-4)
rhs_flat = rhs.reshape(rhs.shape[0], -1, 1)
solution = torch.linalg.solve_ex(kernel, rhs_flat)[0].reshape_as(rhs)
decay = torch.sigmoid(h[:, 36] + 1.5)
posterior = mean + scale * interpolate(solution) * decay.unsqueeze(-1)
private_u = private * iu * solution[:, 0] * decayPhysical bounds at inference
Two bounds act only on the learned correction, never on the physical calculations. First, the vapour at the end of the step is kept between zero and a multiple of the saturation humidity at the updated temperature, computed with the model's mixed-phase saturation polynomials; where the training data contained supersaturation the multiple is widened accordingly. Very small upper-level vapour tendencies, which the normalised loss barely sees, are additionally shrunk toward a small auxiliary head trained in physical units.
Second, the surface descriptors fed to the learned part are kept inside the region seen in training. We split them into forcing terms and static properties, regress the static properties on features of the forcing, rotate the forcing terms and the residuals to their principal axes, and clip in those coordinates to the extremes observed during training. A combination of surface properties that was never seen is thus projected back onto the observed support, while the measured state still enters the thermodynamic calculations unchanged.
def forward(self, v):
force, static = v[:, self.order].split([13, 9], dim=1)
residual = torch.cat([force, static - self._features(force) @ self.regression], dim=1)
coordinates = torch.clamp(residual @ self.basis, self.lower, self.upper) @ self.basis.T
force, innovation = coordinates.split([13, 9], dim=1)
ground = self._features(force) @ self.regression + innovation
return torch.cat([force, ground], dim=1)[:, self.original_order]
Ensemble, symmetry and averaging
The submission trains six closures jointly on shared features. Each sees the batch under its own Bayesian bootstrap weights , , which keep unit mean weight across members on every sample; the loss is times the weighted member risk plus times the risk of the member mean, plus times the physical-units vapour loss. A running average of the weights, at a rate tied to the epoch length, is what predicts. The optimiser is AdamW with learning rate , a short warm-up and a cosine decay to of the peak.
# Complementary Bayesian bootstrap weights retain unit total mass on
# each atmospheric state. Each inverse model fits a plausible
# empirical conditional law; point prediction integrates the laws.
count = len(self.members)
random = -torch.rand(count, x.shape[0], device=x.device).clamp_min(1e-8).log()
weights = 0.5 + 0.5 * count * random / random.sum(0, keepdim=True).clamp_min(1e-8)
pred_sum = 0.0
risk = 0.0
prepared, activity = self.members[0].prepare(x)
for i, model in enumerate(self.members):
pred = model(prepared)
individual = (activity * F.huber_loss(pred / activity, y / activity,
reduction='none', delta=3.0)).mean(1)
risk = risk + (individual * weights[i]).mean()
pred_sum = pred_sum + pred
center = pred_sum / count
joint = (activity * F.huber_loss(center / activity, y / activity,
reduction='none', delta=3.0)).mean()
loss = 0.8 * risk / count + 0.2 * joint + .04 * self.response_risk(x, y)At inference we use a symmetry. Reversing the sign of the meridional wind and of the meridional surface stress, in physical units, should reverse the meridional wind tendency and leave all other outputs unchanged. We pick a representative orientation from the sign of the strongest mass-weighted meridional component, evaluate three members on it and the other three on its reflection, and average after reflecting back. The odd residual that any single member has under the reflection is meant to cancel between independently fitted members.
def forward(self, x):
if self.training:
return self._member_mean(x, self.members)
geometry = self.average[0]
reflected = geometry.reflect_input(x)
# Choose a representative of the two-element orbit, using the sign
# of the strongest pressure-weighted meridional wind component.
raw_wind = x[:, 300:360] * geometry.extent[300:360] + geometry.center[300:360]
n = 60 * geometry.nprof
ps = x[:, n:n + 1] * geometry.extent[n:n + 1] + geometry.center[n:n + 1]
_, mass = geometry.pressure_grid(ps)
stress = x[:, n + 5:n + 6] * geometry.extent[n + 5:n + 6] + geometry.center[n + 5:n + 6]
orientation = torch.cat([raw_wind * mass, 500 * stress], dim=1)
pick = orientation.abs().argmax(dim=1, keepdim=True)
flip = orientation.gather(1, pick) < 0
first, _ = geometry.prepare(torch.where(flip, reflected, x), self.support)
second = geometry.reflected_preparation(torch.where(flip, x, reflected), first, self.support)
# Keep equal weight per member. Opposite evaluations of independent
# members cancel the shared odd residual of the symmetry integral.
direct = (self.average[0](first) + self.average[2](first) + self.average[4](first)) / 3.0
reverse = (self.average[1](second) + self.average[3](second) + self.average[5](second)) / 3.0
out = (direct + geometry.reflect_output(reverse)) * 0.5
mean = torch.where(flip, geometry.reflect_output(out), out)
# A reflection-fixed column has zero signed mean response. In a
# shortened quadrature, unpaired draws need this exact boundary value.
fixed = (x[:, 300:360] == reflected[:, 300:360]).all(dim=1, keepdim=True)
fixed = fixed & (x[:, n + 5:n + 6] == reflected[:, n + 5:n + 6])
wind = torch.where(fixed, -geometry.out_mean[300:360] / geometry.out_std[300:360],
mean[:, 300:360])
mean = torch.cat([mean[:, :300], wind, mean[:, 360:]], dim=1)
prior, _ = self.averaged_response(x, geometry, self.support)
return geometry.feasible_vapor(x, mean, self.support, prior)
Results
| Method | ① | ② | ③ |
|---|---|---|---|
| NMSE ↓ | NMSE ↓ | NMSE ↓ | |
| GPT-6.2 Astra | 0.243 | 0.220 | 0.219 |
| CNN | 0.476 | 0.535 | 0.442 |
| Encoder-decoder | 0.841 | 0.859 | 0.812 |
| Hu et al. | 0.350 | 0.300 | 0.301 |
| HSR | 0.787 | 0.799 | 0.770 |
| Squeezeformer, as published | 0.297 | 0.273 | 0.266 |
| ConvNeXt | 0.345 | 0.316 | 0.314 |
| Pure ResLSTM | 0.427 | 0.367 | 0.364 |
| Climate-invariant MLP | 0.708 | 0.735 | 0.622 |
| Squeezeformer | 0.296 | 0.271 | 0.265 |
- ① ClimSim · held-out warm columns · 5 epochs
- ② ClimSim · held-out land columns · 5 epochs
- ③ ClimSim · warm half-year held out (all columns) · 5 epochs
The closure has a lower NMSE than every reference in the table on every setting. On Warm-cols it reaches 0.243 against 0.296 for the strongest reference, Squeezeformer EMA; on Land-cols 0.220 against 0.271 (Squeezeformer EMA); and on Warm-season 0.219 against 0.265 (Squeezeformer EMA). The expanded-input U-Net, which receives the same kind of lagged inputs we use, reaches 0.350, 0.300 and 0.301, so the margin is not explained by the lagged tendencies alone.
The margin over the strongest reference is of a similar size on all three settings. We have no ablation on the scored settings, so these numbers do not say which component carries the gain; the development evidence below is our only guide to that.
How we got here
We had no access to the task's data during development and assembled our own from the public release of the training years: a real-geography sample with regional held-out regimes chosen by temporal-mean column properties, an aquaplanet simulation, a finer-resolution simulation, and later a severe-event split and a separate experiment with an imposed 8 K sea-surface warming. Several of these were reserved and only scored once the final design was frozen. All numbers in this section are our development measurements on those data, not the task's.
- The first probe pointed at transport. Previous heating and zonal-wind tendencies were highly predictive at some heights, while the meridional wind has no matching history input. Since the small-scale flow mixes both wind components, we tried a shared transport rule. It lowered meridional-wind NMSE from 0.367 to 0.321 and from 0.415 to 0.346 on two regional held-out regimes of our first split. A later diagnostic on one regime put meridional-wind NMSE at 0.200 without and 0.168 with the previous zonal tendency, and at 0.135 when the true current zonal tendency was given; that gap is what the closed-form conditioning on two previous steps tries to close.
- Patch encoders gave way to a full-resolution scan. Our early model mixed patches of levels. Replacing it with the plume scan over all 60 levels improved NMSE from 0.256 to 0.238 on familiar columns of a medium split. An ablation with fixed attenuation rates nearly matched the learned ones on a smaller split, so we read this as evidence for passing information through every level, not for learning the attenuation.
- Physical source terms alone were mixed. Adding buoyancy, stability and saturation-adjustment features changed transfer only modestly and not consistently; we kept them as inputs but they were not the step that mattered.
- The surface bound came from a reverse test. Training on the aquaplanet and testing on real geography exposed surface variables that never vary over an ocean world. Restricting the learned correction to the training support lowered real-geography NMSE from 0.304 to 0.277 with the same weights. We first bounded each descriptor separately, then in a joint principal-component frame, then conditionally on the forcing as in the final version.
- The vapour bound came from a multi-step test. Fed back into the column state over four hours, tiny upper-atmosphere vapour errors produced runaway ice. Bounding the next vapour state by saturation reduced the uncapped four-hour NMSE at familiar sites from 50.59 to 0.47, and training those tendencies in physical units reduced it further from 0.176 to 0.157 on a later model.
- Members were added one at a time. A two-member closure improved on a single one on our regional tests across seeds, and a three-member closure improved transfer to the finer-resolution simulation. We chose six members over four by a rule fixed in advance: a lower loss on familiar columns, better regional NMSE on average, and no deterioration on the two transfer domains.
On the reserved data the final closure reached 0.262 NMSE on the aquaplanet and 0.194 on the finer-resolution simulation, against 0.369 and 0.327 for a Squeezeformer with weight averaging and 0.389 and 0.363 for the expanded-input U-Net, both trained by us on the same rows. On the 8 K experiment, with the closure adapted to the other model's grid, it scored 0.354 against about 0.44 for both references. These comparisons were run by us and are not the task's evaluation.
Limitations
- We cannot attribute the gain. The closure combines a scan encoder, persistence forecasting, a condensate stock, conditioned transport, two bounds, a symmetry and a six-member ensemble. Our development ablations are partial and on our own data, and some components (the learned attenuation, the physical source features) showed little effect there.
- The design is tied to one host model. The hybrid pressure coefficients, the saturation polynomials, the 1200 s step used to convert tendencies into states and the donor offsets are constants of one model's grid and physics. Applying the closure to another model, as in our 8 K experiment, requires re-deriving them.
- The method leans on lagged tendencies. Persistence, activity and the transport conditioning all need the previous steps' physics tendencies. Without them most of the structure has nothing to condition on.
- Near-constant upper vapour layers. In two nearly constant upper layers the closure can move the single-precision vapour state by a few units in the last place where the simulated change is essentially zero. The headline metric does not see it, and in a coupled run it would accumulate.
- Cost and complexity. The closure has about 6.6 million trainable parameters and a closed-form solve of a 120-dimensional system per column and member. In our own timing its training throughput per row was faster than the Squeezeformer reference, but the code is far longer and harder to audit than a generic sequence model.
References
- Stephan Rasp, Michael S. Pritchard, Pierre Gentine (2018). Deep learning to represent sub-grid processes in climate models. Proceedings of the National Academy of Sciences.
- Sungduk Yu, Zeyuan Hu, Akshay Subramaniam et al. (2023). ClimSim-Online: A Large Multi-scale Dataset and Framework for Hybrid ML-physics Climate Emulation. NeurIPS.
- Zeyuan Hu, Akshay Subramaniam, Zhiming Kuang et al. (2024). Stable Machine-Learning Parameterization of Subgrid Processes in a Comprehensive Atmospheric Model Learned From Embedded Convection-Permitting Simulations.
- Jerry Lin, Zeyuan Hu, Tom Beucler et al. (2025). Crowdsourcing the Frontier: Advancing Hybrid Physics-ML Climate Simulation via a $50,000 Kaggle Competition.
- Keyulu Xu, Mozhi Zhang, Jingling Li et al. (2021). How Neural Networks Extrapolate: From Feedforward to Graph Neural Networks. ICLR.
- Tom Beucler, Pierre Gentine, Janni Yuval et al. (2021). Climate-Invariant Machine Learning.
- Shuchang Liu, Paul A. O’Gorman (2026). CERA: A Framework for Improved Generalization of Machine Learning Models to Changed Climates. Journal of Advances in Modeling Earth Systems.
- Mohamed Aziz Bhouri, Liran Peng, Michael S. Pritchard et al. (2023). Multi-fidelity climate model parameterization for better generalization and extrapolation.
- Jerry Lin, Mohamed Aziz Bhouri, Tom Beucler et al. (2023). Stress-testing the coupled behavior of hybrid physics-machine learning climate simulations on an unseen, warmer climate. NeurIPS.