betaFeedback

WorksComputer Science

EC-EarthFlow: Probabilistic emulation of daily transient global climate model simulations with flow matching

Abstract

We introduce EC-EarthFlow, a generative flow matching model that emulates simulations from the physical climate model EC-Earth3. The model is trained on transient simulations from EC-Earth3 (1950-2166, SSP2-4.5) to predict the day ahead temperature field from the previous days temperature as well as annual mean temperature. Predictions are made auto-regressively with rollout periods of between a month and an extended season. Using only this variable of interest, we are able to reproduce the daily variability, spatial patterns, annual cycle and long-term trend from EC-Earth3 at a substantially lower computational cost than the physical model. We demonstrate that EC-EarthFlow is stable for long inference periods, and that it can learn the physical relationships as simulated in EC-Earth3.

Generated using the official AMS LaTeX template v6.1 two-column layout. This work has been submitted for publication. Copyright in this work may be transferred without further notice, and this version may no longer be accessible.

Introduction

Understanding climate change is highly relevant given the expected impacts that it will have on society in the years and decades ahead [14, 15]. Global Climate Models (GCMs) are an essential tool for understanding these future changes. GCMs are physics-based models of the Earth system, similar to weather forecasting models. They produce simulations of Earth’s climate with realistic spatial, temporal and inter-variable dependence structures, and can be integrated many years in to the future [25] to study changes in mean climate, climate variability and (multi-variate or compound) extremes [e.g. 30, 32, 38, 34]. For the study of climate variability and extremes, often many years of simulated data are required. A key approach is therefore to make use of ‘large ensembles’, many realizations of the same future climate experiment that start from different initial conditions [10]. These large ensembles explicitly account for internal variability of the climate system [33, 23], and have become an important tool that climate scientists can use to separate forced responses from internal variability and assess forced changes in variability itself [23]. However, large-ensembles are costly to run, and so they are a prime candidate for the use deep learning, and specifically for the use of generative AI methods where the productions of ensembles is straightforward [31].

The use of deep learning [17, 37] and generative or ensemble methods [26, 18] is now common practice in weather forecasting but there is less work so far in a climate context. This is likely due to the additional challenges that the climate context presents, namely, stability over long time periods, and the non-stationarity of training data and desired simulation data. Auto-regressive deterministic models have been shown to simulate the whole atmosphere well and to be stable over long rollout periods when trained in a stationary climate [35, 36, 7]. There are several drawbacks to these models. First, they lack a sophisticated probabilistic framework as ensembles of simulations are generated by perturbing the initial states that are used as inputs to the emulator. Second, they have not been used in a non-stationary climate (to our knowledge). Finally, deterministic models are generally known in a weather context for producing smooth forecasts that lack high-frequency variability [18]. Another approach is to use generative methods that learn the conditional distributions [e.g. 28, 3, 5]. Rühling Cachay et al. [28] use a generative model in a stationary climate. Bassetti et al. [3] train a diffusion model to predict a fixed 30-day sequence of either temperature or precipitation in the current and future climate. They focus on variables of interest (i.e., near-surface temperature and precipitation), likely due to the computational constraints of the more expensive generative model. They show that extremes are well represented in future climates [3], although one drawback of such a method is the discontinuities that are introduced by the fixed length sequence. ‘cBottle’ is a generative model that samples directly from the full distribution of the full atmospheric states from the period 1980-2024 (with the forced trend included) at very high spatial resolution and does not require a previous time step or a auto-regressive rollout [5]. For example, independent hourly samples from 1940-2021 were generated by conditioning on monthly sea-surface temperatures in a model containing calendar embeddings (e.g., day of the year, and time of the day) as well as a positional embedding (e.g., a grid point). The model simulates a trend during this period, although it is weaker than observed. One draw back of this model is that it can’t simulate multi-day events, like heatwaves. The video extension is fixed to a 3-day period. This literature demonstrates that generative models are able to simulate the climate system, but that there isn’t yet an approach that can emulate daily, transient future climate projections.

In line with the need for (computationally cheaper) large ensembles of transient climate model simulations, our goal is to emulate EC-Earth3, a state-of-the-art GCM [12]. To our knowledge, we are the first to emulate the transient run of a GCM, at the daily scale, including the forced trend over the period 1950-2166 and make predictions auto-regressively for arbitrarily long periods. We use a flow matching generative model [19, 20]. In this first proof-of-concept, we focus on emulating a single high-impact variable, near-surface temperature, with a substantial trend [27, 6]. The focus on near-surface temperature for this first proof-of-concept is for both pragmatic computational and scientific reasons. For the latter, it is of interest to see how well a deep learning model can simulate a single variable with a substantial trend, compared to the full atmosphere usually used in other studies [35, 5 e.g.]. We discuss the data, methods and implementation in § 2, followed by results and conclusions in § 3 and § 4.

Data and Methods

In this section we will outline the GCM that we are aiming to emulate, EC-Earth3, as well as the generative models that we use, and the specific details of the implementation.

Data

The climate model that we emulate in this work is EC-Earth3 [12]. It is a fully-coupled climate model (i.e. simulating atmosphere, ocean, land surface and cryosphere) with a native resolution of T255L91 in the atmosphere (horizontally ≈80 km\approx80\ \mathrm{km}, corresponding to 512×256512 \times256 grid cells, and 91 vertical layers). To reduce the computational burden, we decreased the horizontal resolution using block averaging to 128×64128 \times64 grid cells. We use physics version 5 (EC-Earth3-p5), a slightly re-tuned model version with comparatively smaller temperature biases in the Northern Hemisphere and a larger Southern Ocean warm bias than EC-Earth3, full details in [23] and [11]. We use data from a SSP2-4.5 experiment, running from 1950 to 2166 [11]. We discard simulation data before 1950 due to unrealistic oceanic oscillations in the model during this time [11]. We take daily 2m-temperature from 16 transient runs from the EC-Earth3 ensemble. In the CMOR-compliant output this is the variable $tas$, in the remainder of this paper we use TT. In addition to the daily 2m-temperature, we used the annual-mean of 2m-temperature by taking the average at each grid cell of all days in a calendar year (Tˉannual\bar{T}_{\mathrm{annual}}).

Methods

  1. FLOW MATCHING MODEL

Our objective is to model the conditional distribution of the 2m-temperature field at the next daily time step, Tt+1T_{t+1}, given a context cc. The context comprises the previous five days of daily gridded temperature, which carry the recent temporal dynamics, and the gridded annual mean temperature, which fixes the mean climate state: c=(Tt−4,Tt−3,Tt−2,Tt−1,Tt,Tˉannual)c = (T_{t-4}, T_{t-3}, T_{t-2}, T_{t-1}, T_t, \bar{T}_{\mathrm{annual}}). The model therefore samples from

p(Tt+1∣c)=p(Tt+1∣Tt−4,Tt−3,Tt−2,Tt−1,Tt,Tˉannual)(1)p(T_{t+1} \mid c) = p(T_{t+1} \mid T_{t-4}, T_{t-3}, T_{t-2}, T_{t-1}, T_t, \bar{T}_{\mathrm{annual}}) \tag*{(1)}

Flow matching samples the target distribution by transporting a sample x0x_0 from a tractable base distribution into a sample x1=Tt+1x_1 = T_{t+1} from the data distribution. The transport is defined by an ordinary differential equation in pseudo-time,

dxτdτ=vθ(xτ,τ,c),τ∈[0,1],(2)\frac{\mathrm{d}x_\tau}{\mathrm{d}\tau} = v_\theta(x_\tau,\tau,c), \qquad\tau\in[0,1], \tag*{(2)}

where τ\tau is the artificial integration time (distinct from the physical time tt), xτx_\tau the state at time τ\tau, and vθv_\theta a time-dependent vector field parameterised by a neural network with weights θ\theta (Figure 1). Integrating from x0∼N(0,I)x_0 \sim\mathcal{N}(0,I) yields x1∼p(⋅∣c)x_1 \sim p(\cdot\mid c) (Figure 2).

Figure 1. The architecture of EC-EarthFlow showing that pseudo-time is concatenated with contextual inputs and fed into the neural network model to predict the flow matching vector field.

Figure 2. An illustration of the generative flow matching process. The process transforms noise to the target distribution by integrating an ODE over pseudo-time.

We train vθv_\theta with Conditional Flow Matching (CFM) along an Optimal Transport (OT) probability path [19], which interpolates linearly between the noise sample x0x_0 and the target sample x1x_1:

xτ=(1−τ)x0+τx1.(3)x_\tau= (1-\tau)x_0 + \tau x_1. \tag*{(3)}

The target vector field along this path is the constant displacement

uτ(xτ∣x0,x1)=x1−x0.(4)u_\tau(x_\tau\mid x_0,x_1) = x_1 - x_0. \tag*{(4)}

On the regular latitude-longitude grid of EC-Earth3, the physical area of a grid cell shrinks toward the poles, so an unweighted loss over-represents polar latitudes. We therefore fit vθv_\theta to uτu_\tau using a latitude-weighted mean squared error:

L(θ)=Eτ,x0,x1,c[∥W(ϕ)⊙(vθ(xτ,τ,c)−(x1−x0))∥22].(5)\mathcal{L}(\theta) = \mathbb{E}_{\tau,x_0,x_1,c}\left[\left\|W(\phi) \odot\left(v_\theta(x_\tau,\tau,c) - (x_1-x_0)\right)\right\|_2^2\right]. \tag*{(5)}

with τ∼U(0,1)\tau\sim\mathcal{U}(0,1), x0∼N(0,I)x_0 \sim\mathcal{N}(0,I), x1∼pdatax_1 \sim p_{\mathrm{data}}, W(ϕ)W(\phi) a diagonal weighting matrix with entries proportional to cos⁡ϕ\cos\phi, and ⊙\odot the element-wise product. All inputs are globally normalized before being passed to the network. Algorithm 1 gives pseudo-code for a single training iteration.

At inference, the day-ahead field Tt+1T_{t+1} is generated by drawing a latent noise vector x0x_0 and integrating the ODE forward to τ=1\tau= 1 conditioned on cc, using a standard numerical solver. Ensembles follow from NN independent noise realizations {x0(i)}i=1N\{x_0^{(i)}\}_{i=1}^{N} integrated in parallel. Appending the terminal state to the context yields the conditioning for the next step, giving an autoregressive rollout over longer horizons. Ensemble spread is inherited from the internal variability of the EC-Earth3 training data. See Algorithm 2 and Figure 3.

Figure 3. The auto-regressive rollout used at inference. The context information is combined with noise to produce a prediction for the next day. These predictions are then added to the context window for the following prediction. We produce an ensemble of predictions by using different noise samples.

Algorithm 1 EC-EarthFlow Training Iteration

Require: Training dataset D\mathcal{D}, neural network vθv_\theta, learning rate η\eta, latitude weights W(ϕ)W(\phi)

  1. Sample a physical target and its context: (x1,c)∼D(x_1,c) \sim\mathcal{D}

  2. Sample Gaussian noise: x0∼N(0,I)x_0 \sim\mathcal{N}(0,I)

  3. Sample integration time: τ∼U(0,1)\tau\sim\mathcal{U}(0,1)

  4. Construct the intermediate state: xτ←(1−τ)x0+τx1x_\tau\leftarrow(1-\tau)x_0+\tau x_1

  5. Compute the OT target vector field: uτ←x1−x0u_\tau\leftarrow x_1-x_0

  6. Predict the vector field: v^τ←vθ(xτ,τ,c)\hat{v}_\tau\leftarrow v_\theta(x_\tau,\tau,c)

  7. Compute latitude-weighted loss: L←∥W(ϕ)⊙(v^τ−uτ)∥22\mathcal{L} \leftarrow\lVert W(\phi) \odot(\hat{v}_\tau-u_\tau) \rVert_2^2

  8. Update network parameters: θ←θ−η∇θL\theta\leftarrow\theta-\eta\nabla_\theta\mathcal{L}

Algorithm 2 EC-EarthFlow Autoregressive Inference

Require: Trained network vθv_\theta, initial context c0c_0, forecast horizon HH, ensemble size NN

  1. Initialize ensemble forecast set T^←∅\hat{\mathcal{T}} \leftarrow\emptyset

  2. for i=1,…,Ni = 1,\ldots,N do ▷ In parallel

  3. Initialize context c←c0c \leftarrow c_0 and trajectory T(i)←∅\mathcal{T}^{(i)} \leftarrow\emptyset

  4. for t=1,…,Ht = 1,\ldots,H do

  5. Sample latent noise: x0∼N(0,I)x_0 \sim\mathcal{N}(0,I)

  6. Integrate ODE to τ=1\tau= 1: Tt←ODESolve⁡(vθ,x0,τ∈[0,1],c)T_t \leftarrow\operatorname{ODESolve}(v_\theta,x_0,\tau\in[0,1],c)

  7. Append prediction to trajectory: T(i)←T(i)∪{Tt}\mathcal{T}^{(i)} \leftarrow\mathcal{T}^{(i)} \cup\{T_t\}

  8. Update context auto-regressively: c←(Tt−4,…,Tt−1,Tt,T‾annual)c \leftarrow(T_{t-4},\ldots,T_{t-1},T_t,\overline{T}_{\mathrm{annual}})

  9. end for

  10. Store member trajectory: T^←T^∪{T(i)}\hat{\mathcal{T}} \leftarrow\hat{\mathcal{T}} \cup\{\mathcal{T}^{(i)}\}

  11. end for

  12. return Full ensemble forecast T^\hat{\mathcal{T}}

Implementation and training

The vector field vθv_\theta driving the flow matching process is parameterized using a PDE-Transformer architecture with a patch size of 4×44 \times4 grid cells [13]. Network weights are optimized using the AdamW optimizer with an initial learning rate of 1×10−41 \times10^{-4}. The learning rate is dynamically adjusted using a cosine annealing schedule with a minimum learning rate (ηmin⁡\eta_{\min}) of 1×10−51 \times10^{-5} (Loschchilov and Hutter 2016).

To ensure training stability and prevent overfitting, several regularization techniques are employed. We use a weight decay of 1×10−71 \times10^{-7} and an early stopping mechanism with a patience of 50 epochs based on validation performance. Gradient explosion is mitigated using an Exponential Moving Average (EMA) gradient clipper (with decay coefficients β1=0.9\beta_1 = 0.9 and β2=0.99\beta_2 = 0.99, a maximum norm ratio of 2.0, and a clip norm ratio of 1.1) [13]. Furthermore, mixed-precision training is used to speed-up training in the first 100 epochs.

We trained the model in three stages. First, we trained using a single member of EC-Earth3 (member 1), a batch size of 64 and a latitude weighted loss function on an NVIDIA RTX 3090 GPU with 24 GB. After this initial training, we gained access to a GPU with more memory and so we increased the batch size to 704 (the largest that would fit on the GPU) and used the same EC-Earth3 member (member 1), and at the same time we moved to the MSE loss. Finally, we increased the number of EC-Earth3 members used for training to five (members 1 to 5). This multi-stage training strategy was adopted due to the availability of compute resources across the team. It is unclear if the multi-stage training was ultimately a benefit. Adjustments to the loss function and batch size may have played a role, although further experimentation is needed to confirm this, but the increase in the number of EC-Earth3 members available for training almost certainly improved the results. Training the final model took less than 28 hours in total.

Results

In this section we compare our EC-EarthFlow predictions with EC-Earth3. We focus on the northern hemisphere summer. Each prediction starts in May of a selected year between 1950 and 2150, and the only information taken from the corresponding EC-Earth3 member is the annual mean temperature and the first five days of daily temperature. From each such member we generate a 10-member EC-EarthFlow ensemble using 50 ODE steps, over both a short (∼\sim1-month) and a long (∼\sim8-month) rollout. Each EC-Earth3 member is compared with the EC-EarthFlow ensemble generated from it. Furthermore, EC-Earth3 members are also compared with one another, which indicates the spread expected between independent realisations. Sections a, b, c and d use a randomly chosen test member (member 16). Section c additionally compares ensembles generated from members 15 and 16, and compares pairs of EC-Earth3 members (members 13–16).

Pointwise predictions

EC-EarthFlow is successful at simulating daily temperatures at the grid point scale, including day-to-day variability, the annual cycle and the long term trend. Detailed analysis of the output for the gridpoints nearest to De Bilt in the Netherlands and to Sydney in Australia, highlights the model captures locally specific processes (Figure 4). In EC-Earth3, Sydney experiences an increase in the daily temperature variability in the October-December period, which is reflected in the larger daily variability in EC-EarthFlow. Similarly, in De Bilt larger temperature variability in the extended winter season (from November) is well captured by EC-EarthFlow. It is remarkable that EC-EarthFlow can simulate such seasonal dependent increases in variability given only five days of temperatures at the end of April and the annual-mean temperature are used as inputs to the model.

Daily temperature at two locations and rank histograms

Figure 4. Daily temperature at two locations (De Bilt, The Netherlands (top), and Sydney, Australia (bottom)) from May - November in 1950 (left), 2050 (middle) and 2150 (right). Predictions are made using a rollout length of 245 steps from only 5 EC-Earth member states at the end of April (member 16). For comparison the full EC-Earth simulation is shown in purple. The green shading indicates the ensemble range from nine EC-EarthFlow members, and the green line shows predictions from a single random EC-EarthFlow member. The gray line indicates a daily temperature value of 15∘C15^\circ\mathrm{C} as reference. The histograms show counts of the rank that the EC-Earth3 member is in the 10-member EC-EarthFlow ensemble.

Ensemble spread

We use rank histograms to more formally assess the realism of the ensemble spread, which compares the rank of the EC-Earth3 member to the EC-EarthFlow ensemble. The histogram should be flat if EC-Earth3 is statistically indistinguishable from the EC-EarthFlow ensemble. The signal is mixed across different locations and years, as expected given the relatively short time periods used to calculate the rank histogram. EC-Earth3 has warmer temperatures (EC-EarthFlow has cooler temperatures), especially in De Bilt in 1950 and 2150 (Figure 4a,Figure 4e), while opposite patterns can be seen in other locations and years. The rank histograms over all grid points shows that the EC-EarthFlow ensemble tends to be under-dispersed, as the EC-Earth3 member is too often above the highest EC-EarthFlow member or below the lowest EC-EarthFlow member (Figure 5).

Rank histograms of all grid points

Figure 5. Rank histograms of all grid points in 1950 (left), 2050 (middle) and 2150 (right). EC-EarthFlow predictions are made using the long (top) and short (bottom) rollout length from May in each year and inputs from a single EC-Earth member (member 16).

Next, we show that EC-EarthFlow is able to reproduce both the annual cycle and long-term trend in global mean surface temperature (GMST, Figure 6). The annual cycle in GMST typically peaks in the northern hemisphere summer driven by the larger land area in this hemisphere. This is well simulated by EC-Earth3 and captured by the EC-EarthFlow emulator, which makes sense given that the annual mean temperature from EC-Earth3 is used as an input to the model. The magnitude of the forced response to external forcing is also well captured by EC-EarthFlow compared to EC-Earth3, with northern hemisphere summer temperatures around 2.5°C warmer by 2150 (Figure 6).

Global mean surface temperature with short rollout

Figure 6. Global mean surface temperature with short rollout, starting in each month of the extended northern Hemisphere summer period (May - October). Each panel shows projections from a different year (1950, 2050, 2150). Inputs are from a single test member of EC-Earth3 (member 16, purple line). The green shading indicates the ensemble range from nine EC-EarthFlow members, and the green line shows predictions from a single random EC-EarthFlow member. The gray line indicates a GMST of 10∘C10^\circ\mathrm{C} as reference.

Besides the annual cycle and long-term trend, the EC-Earth3 ensemble contains inter-annual GMST variability due to natural climate variability (e.g. El-Niño Southern Oscillation, ENSO). For example, EC-Earth3 member 16 is warmer than member 15 in 2150 (Figure 7). This variability is generally preserved in the EC-EarthFlow ensemble as the generated ensemble tends to follow the warming pattern of the EC-Earth3 member used as conditioning input. This is expected behavior given the inclusion of annual mean temperature as a conditioning variable. It is promising to see that, despite the heavy influence of the EC-Earth test member, there is spread between the EC-EarthFlow members, with overlap between EC-EarthFlow ensemble members generated from EC-Earth3 member 15 and 16 (Figure 7).

Global mean surface temperature with long rollout

Figure 7. Global mean surface temperature (long rollout) (May - November). Columns show projections in select years (1950, 2050, 2150) made using EC-Earth3 members 16 and 15 as inputs (purple lines). The green shading indicates the ensemble range from all EC-EarthFlow members, and the green line shows predictions from a single random EC-EarthFlow member. The green dots show the EC-EarthFlow ensemble range from projections generated from EC-Earth3 member 16. The gray line indicates a GMST of 13∘C13^\circ\mathrm{C} as reference.

We demonstrate that predictions from EC-EarthFlow are stable for long rollout periods by comparing short and long rollouts (Figure 8). In the short rollout length (30 days), we concatenate 7 individual monthly predictions together to make a single extended season. This ignores the temporal dependencies between EC-EarthFlow ensemble members but is done here to illustrate that it is possible to use rollouts of varying lengths. It is evident in the short rollout length that the trajectory is brought back towards the EC-Earth3 test member at the start of each inference period, e.g., at the start of June in 1950 (Figure 8). This is also evident in the daily standard deviation of the EC-EarthFlow ensemble in short rollout lengths. Despite this un-desirable feature, the remainder of the trajectory is well simulated with comparable spread between the EC-EarthFlow members in the long and short rollouts. The spread of the long rollouts increases over the first few time steps and is then consistent throughout the extended season (Figure 8). The annual cycle and trends are similar in both rollouts despite the fact that the long rollout has limited influence from the daily temperature variability in the EC-Earth3 test member, and the short rollout has daily temperatures from the EC-Earth3 test member injected throughout the extended season. This shows that the model is stable for long periods and that errors are not accumulating to produce instabilities.

Global mean surface temperature projections from May–November

Figure 8. Global mean surface temperature projections from May - November with a short (top row, i.e., consecutive 30-day rollouts) and long (bottom row, i.e., a single rollout from May to November) lengths in 1950, 2050, and 2150. The black line is the ‘truth’ from EC-Earth3. The green lines are ensemble members created by the flow matching model. The red line indicates a GMST of 10∘C10^\circ\mathrm{C} as reference.

We show the mean temperature differences between EC-Earth members and between EC-Earth and EC-EarthFlow to assess how errors accumulate over the rollout period and to put these in the context of expected differences between different members of a GCM. We expect differences between these two predictions, given that we are looking at climate simulations rather than weather forecasts, which should sample the range of natural variability. We expect however that these differences are somewhat random, and reflect differences in the location of weather patterns, rather than being systematic. Indeed, this is what we see when looking at the EC-Earth simulations, as the largest differences are generally evenly distributed around zero (the dots on the purple boxes in Figure 9). Overall the mean differences between EC-Earth and EC-EarthFlow are consistent with what we would expect. There are some deficiencies that can be seen here. First, the differences between the generated and EC-Earth members are smaller than the differences between two EC-Earth members. This is consistent with the too small ensemble spread that we saw in Figure 5. Furthermore, we see a bias in the EC-EarthFlow members as there are more grid points with positive bias. This stems from a warm bias at the poles in the winter hemisphere. Finally, we see that the longer rollout accumulates these issues more than the shorter rollout (Figure 9).

Box-plots of grid point wise trajectory mean temperature differences

Figure 9. Box-plots of the grid point wise trajectory mean temperature differences between EC-Earth3 members (purple) and between predictions from EC-EarthFlow and the EC-Earth3 member used to generate them (green) in 2050. Similar results are seen for other years and other EC-EarthFlow members.

Large-scale dynamics

Finally, we show that EC-EarthFlow has successfully learned spatial dependencies due to large-scale dynamical processes in the atmosphere as simulated in EC-Earth3. We remove high-frequency variability in daily temperature then take the correlation (over all inference days) between two central points and all other points. EC-EarthFlow is able to reproduce the spatial auto-correlation and teleconnections of temperature as simulated by EC-Earth3. It is clear that hot temperatures over western Europe (e.g., in De Bilt, the Netherlands) are associated with cooler regions up and downstream. This is consistent with atmospheric blocking conditions, often in atmospheric wave trains, and advective and radiative processes leading to cold and warm temperatures (Figure 10). This dynamical pathway is simulated explicitly in EC-Earth3, but is learnt only from 2m-temperature in the EC-EarthFlow emulator. This suggests that the emulator can learn multivariate physical processes at play in the atmosphere from only a single variable. The strongest correlation in the wave patterns appear to be reproduced well by EC-EarthFlow, although there is some smoothing compared to EC-Earth3 in regions further from the point of interest, for example, in the North Pacific ocean in the Sydney-centered plots. While this might be an artifact in EC-Earth3, we would still hope that the flow matching model is able to reproduce the training data perfectly (Figure 10).

Correlation between temperature in De Bilt or Sydney and the rest of the world

Figure 10. The correlation between temperature in De Bilt (left) or Sydney (right) and the rest of the world in EC-Earth3 (top) and EC-EarthFlow (bottom). We use a high-pass filter to remove variability and then take the correlation over all days.

Discussion and Conclusions

These results demonstrate that it is possible to emulate the non-stationary daily climate variability of EC-Earth3 using a generative flow matching model, EC-EarthFlow, with only a single variable as an input. We successfully emulate the annual cycle, long-term warming trend, and physical relationships as simulated by the global climate model. We showed that the emulator is stable for long rollout periods of up to an extended season. Future work should explore the stability and quality of the emulated trajectories for annual and multi-annual rollout lengths.

At the local scale, the emulator is able to learn not only the increasing warming trend between 1950 and 2150, but also the increased variability of temperature in eastern Australia in the southern hemisphere spring-summer period. This increased variability is possibly related to ENSO, and it is remarkable that the emulator learns it and is able to simulate it in the long rollout period. The only context information that the flow matching model has received from EC-Earth3 for these inference periods is daily temperatures from late April (the five days before the first predicted days shown in Figure 4 and the annual mean temperature. The spread of the EC-EarthFlow ensemble is generally good, if a little under-dispersed, but it could be further improved

by tuning parameters in the flow matching model during training.

At the global scale, the emulator accurately reproduces the amplitude and phase of the GMST annual cycle, including the stronger signal during Northern Hemisphere summer driven by land–sea contrast. Again, these features are well simulated with the long rollout period with limited context input from the GCM. Importantly, the emulator also learns the global warming trend, indicating that it can represent the response to external forcing scenarios. This is a key requirement for climate model emulation.

The analysis of ensemble behavior highlights an important characteristic of the model: while the generated ensemble is strongly conditioned on the input EC-Earth3 member, likely due to the inclusions of the annual mean temperature, it still exhibits internal spread between generated members. This indicates that the emulator preserves part of the input state dependence while introducing stochastic variability. However, the dependence on the conditioning input may limit the ability of the model to fully explore the space of internal variability independently of the driving member. One possible solution is to source the conditioning trend input from other datasets during training and/or inference. Instead of using annual mean temperature from the same member, future work could explore the use of greenhouse gasses directly, the output of a reduced-complexity climate models (also known as ”climate emulators”) that replicate some aspects of a GCM, or statistical or machine learning emulators that predict annual temperatures from forcing information [e.g. 16, 24]. In this way, a wide variety of climate projections could be easily incorporated to this generative model which is then able to return an ensemble of daily temperatures for the range of warning scenarios.

The comparison of short and long rollouts shows that the model is stable for extended inference periods. This is a key challenge for generative models but demonstrates that the conditioning is sufficient to keep the model within reasonable bounds. The model struggled with temperatures at the poles, producing spatially coherent biases in these regions. The effect was most evident at the pole in

the winter season (i.e., Antarctica in northern hemisphere summer), suggesting that it was possibly related to the larger variability of the temperature. We explored different normalization methods, including normalization per grid point, but saw little improvement. This suggest that the effect is likely due to the use of a regular lat-lon grid, rather than a more complex projection that better handles the varying grid sizes at the poles. Future work can explore the use of different projections, such as the HEALPix grid used in recent studies [e.g. 5].

Finally, the spatial correlation analysis provides strong evidence that EC-EarthFlow has learned aspects of the underlying atmospheric dynamics. The reproduction of teleconnection-like wave patterns and blocking signatures—despite being trained only on 2m temperature—suggests that the model implicitly captures large-scale circulation constraints. The smoother correlations at large distances indicate some loss of higher-order structure, which may reflect limitations in model capacity or training objectives. Overall these results can give users confidence that the model is learning the physics of the atmosphere.

Results from this proof-of-concept paper are promising, but there is a long list of potential improvements or extensions, apart from those listed above. It is encouraging from a computational perspective that we show the whole atmosphere is not needed to simulate key features of climate variability and trend with long rollout periods. While 2m-temperature is an important variable, it is clearly not the only variable of interest to scientists assessing future (regional) climate changes. As such, the inclusion of additional variables, like precipitation, wind speed, humidity or soil moisture, is an obvious next step. Additionally, higher spatial resolution is required for this to be of real use. Emulation of new km-scale GCMs is an important research topic for the coming years.

Beyond adding variables and increasing resolution, several improvements concern the generative model itself. One could replace flow matching with alternatives such as stochastic interpolants ([1, 8]), which model the transition between states directly through an SDE rather than solving an ODE from a Gaussian sample. A related option is diffusion, which is equivalent to flow matching up to a reparameterization, so that a model trained with flow matching can be sampled with an SDE without retraining. Knowledge of the underlying physics can also be incorporated, either during training or at inference time ([22, 9]). Inference cost can be reduced by using consistency or flow map models, which replace the expensive ODE solve with a few model evaluations ([4]). After deployment, predictions can be improved by assimilating available observations to limit drift from the true state. This can be done with the current flow matching model directly via guidance ([2]) and can be combined with conventional data assimilation so that techniques such as localization carry over ([29]). Finally, the PDE transformer architecture may benefit from better conditioning on the history, which could in turn allow conditioning on longer histories.

Acknowledgments. The authors thank Benjamin Sanderse, Mohit Anand, Bastien Francois and Jasper Wijnands for helpful advice. We thank the Dutch community for AI in weather and climate: AIMET-NL (www.aimet.nl). This work used the Dutch national einfrastructure with the support of the SURF Cooperative using grant no. EINF-10742.

Data availability statement. The specific EC-Earth3 simulations used to train and evaluate the emulator are held at KNMI. They are available on request from K. Whan ([email protected]), Royal Netherlands Meteorological Institute. Documentation of the simulation setup and of all pre-processing applied before training is provided in § 2. Code for the emulator is available at https://github.com/nmucke/scientific-stochastic-interpolants.

References

  1. [1]Albergo, M., N. M. Boffi, and E. Vanden-Eijnden, 2025: Stochastic interpolants: A unifying framework for flows and diffusions. Journal of Machine Learning Research, 26 (209), 1–80.
  2. [2]Amorós-Trepat, M., L. Medrano-Navarro, Q. Liu, L. Guastoni, and N. Thuerey, 2026: Guiding diffusion models to reconstruct flow fields from sparse data. Physics of Fluids, 38 (1).DOI
  3. [3]Bassetti, S., B. Hutchinson, C. Tebaldi, and B. Kravitz, 2024: Diffesm: Conditional emulation of temperature and precipitation in earth system models with 3d diffusion models. Journal of Advances in Modeling Earth Systems, 16 (10), e2023MS004 194.arxiv.org/abs/2409.11601
  4. [4]Boffi, N., M. Albergo, and E. Vanden-Eijnden, 2026: How to build a consistency model: Learning flow maps via self-distillation. Advances in Neural Information Processing Systems, 38, 33 346–33 382.arxiv.org/abs/2505.18825
  5. [5]Brenowitz, N. D., and Coauthors, 2025: Climate in a bottle: Towards a generative foundation model for the kilometer-scale global atmosphere. arXiv preprint arXiv:2505.06474.arxiv.org/abs/2505.06474
  6. [6]Brogno, L., F. Barbano, L. Leo, and S. Di Sabatino, 2025: Review on heatwaves: a risk perspective. Environmental Research Letters, 20 (6), 063 004.DOI
  7. [7]Chapman, W. E., J. S. Schreck, Y. Sha, D. J. Gagne II, D. Kimpara, L. Zanna, K. J. Mayer, and J. Berner, 2025: Camulator: Fast emulation of the community atmosphere model. arXiv preprint arXiv:2504.06007.arxiv.org/abs/2504.06007
  8. [8]Chen, Y., M. Goldstein, M. Hua, M. S. Albergo, N. M. Boffi, and E. Vanden-Eijnden, 2024: Probabilistic forecasting with stochastic interpolants and föllmer processes. arXiv preprint arXiv:2403.13724.arxiv.org/abs/2403.13724
  9. [9]Debeire, K., A. Paçal, P. Gentine, L. Medrano-Navarro, N. Thuerey, and V. Eyring, 2026: Physics-constrained adaptive flow matching for climate downscaling. arXiv preprint arXiv:2604.03459.arxiv.org/abs/2604.03459
  10. [10]Deser, C., and Coauthors, 2020: Insights from Earth system model initial-condition large ensembles and future prospects. Nature climate change, 10 (4), 277–286.DOI
  11. [11]Dorland, R. v., and Coauthors, 2023: KNMI National Climate Scenarios 2023 for the Netherlands. Tech. Rep. WR 23-02, Koninklijk Nederlands Meteorologisch Instituut.
  12. [12]Döscher, R., and Coauthors, 2021: The EC-Earth3 Earth system model for the Coupled Model Intercomparison Project 6. Geoscientific Model Development Discussions, 2021, 1–90.DOI
  13. [13]Holzschuh, B., Q. Liu, G. Kohl, and N. Thuerey, 2025: PDE-transformer: Efficient and versatile transformers for physics simulations. arXiv preprint arXiv:2505.24717.arxiv.org/abs/2505.24717
  14. [14]IPCC, 2021: Climate Change 2021: The Physical Science Basis. Contribution of working group I to the sixth assessment report of the Intergovernmental Panel on Climate Change, 2391.
  15. [15]IPCC, 2022: Climate Change 2022: Impacts, Adaptation, and Vulnerability. Contribution of working group II to the sixth assessment report of the Intergovernmental Panel on Climate Change, 3056, https://doi.org/10.1017/9781009325844.
  16. [16]Kaltenborn, J., and Coauthors, 2023: ClimateSet: A large-scale climate model dataset for machine learning. Advances in Neural Information Processing Systems, 36, 21 757–21 792.arxiv.org/abs/2311.03721
  17. [17]Lang, S., and Coauthors, 2024: AIFS–ECMWF’s data-driven forecasting system. arXiv preprint arXiv:2406.01465.arxiv.org/abs/2406.01465
  18. [18]Lang, S., and Coauthors, 2026: AIFS-CRPS: ensemble forecasting using a model trained with a loss function based on the continuous ranked probability score. npj Artificial Intelligence, 2 (1), 18.arxiv.org/abs/2412.15832
  19. [19]Lipman, Y., R. T. Chen, H. Ben-Hamu, M. Nickel, and M. Le, 2022: Flow matching for generative modeling. arXiv preprint arXiv:2210.02747.arxiv.org/abs/2210.02747
  20. [20]Liu, X., C. Gong, and Q. Liu, 2022: Flow straight and fast: Learning to generate and transfer data with rectified flow. arXiv preprint arXiv:2209.03003.arxiv.org/abs/2209.03003
  21. [22]Mücke, N. T., and B. Sanderse, 2026: Physics-aware generative models for turbulent fluid flows through energy-consistent stochastic interpolants. Computers & Fluids, 107098.arxiv.org/abs/2504.05852
  22. [23]Muntjewerf, L., R. Bintanja, T. Reerink, and K. Van Der Wiel, 2023: The KNMI Large Ensemble Time Slice (KNMI–LENTIS). Geoscientific Model Development, 16 (15), 4581–4597.DOI
  23. [24]Nayak, M. S., K. C. Armour, and D. S. Battisti, 2025: Evaluating Physical Climate Model Emulators for Global Warming Projections. Geophysical Research Letters, 52 (23), e2025GL118591.DOI
  24. [25]O’Neill, B. C., and Coauthors, 2016: The ScenarioModel Intercomparison Project (ScenarioMIP) for CMIP6. Geoscientific Model Development, 9 (9), 3461–3482.DOI
  25. [26]Price, I., and Coauthors, 2025: Probabilistic weather forecasting with machine learning. Nature, 637 (8044), 84–90.DOI
  26. [27]Rahmstorf, S., G. Foster, and N. Cahill, 2017: Global temperature evolution: recent trends and some pitfalls. Environmental Research Letters, 12 (5), 054001.DOI
  27. [28]Rühling Cachay, S., B. Henn, O. Watt-Meyer, C. S. Bretherton, and R. Yu, 2024: Probabilistic Emulation of a Global Climate Model with Spherical DYffusion. Advances in Neural Information Processing Systems, 37, 127610–127 644.arxiv.org/abs/2406.14798
  28. [29]Seabra, G. S., N. T. Mücke, V. L. Santos Silva, A. A. Emerick, D. Voskov, and F. C. Vossepoel, 2026: Integrating score-based diffusion models with machine learning-enhanced localization for advanced data assimilation in geological carbon storage. Computational Geosciences, 30 (4), 68.arxiv.org/abs/2511.05266
  29. [30]Tebaldi, C., and Coauthors, 2021: Climate model projections from the scenario model intercomparison project (ScenarioMIP) of CMIP6. Earth System Dynamics, 12 (1), 253–293.DOI
  30. [31]Tomczak, J. M., 2024: Deep generative modeling for neural compression. Deep generative modeling, Springer, 259–275.
  31. [32]van der Wiel, K., and R. Bintanja, 2021: Contribution of climatic changes in mean and variability to monthly temperature and precipitation extremes. Communications Earth & Environment, 2 (1), 1.DOI
  32. [33]Van der Wiel, K., N. Wanders, F. Selten, and M. Bierkens, 2019: Added value of large ensemble simulations for assessing extreme river discharge in a 2 C warmer world. Geophysical Research Letters, 46 (4), 2093–2102.DOI
  33. [34]van Mourik, J., K. Van Der Wiel, W. Hazelager, and N. Wanders, 2026: Multi-year droughts in CMIP6 large ensemble models. Environmental Research Communications, 8 (5), 051 019.DOI
  34. [35]Watt-Meyer, O., and Coauthors, 2023: ACE: A fast, skillful learned global atmospheric model for climate prediction. arXiv preprint arXiv:2310.02074.
  35. [36]Watt-Meyer, O., and Coauthors, 2025: Ace2: accurately learning subseasonal to decadal atmospheric variability and forced responses. npj Climate and Atmospheric Science, 8 (1), 205.
  36. [37]Wijnands, J. S., M. Van Ginderachter, B. François, S. Buurman, P. Termonia, and D. V. d. Bleeken, 2025: A comparison of stretched-grid and limited-area modelling for data-driven regional weather forecasting. arXiv preprint arXiv:2507.18378.arxiv.org/abs/2507.18378
  37. [38]Zscheischler, J., and Coauthors, 2020: A typology of compound weather and climate events. Nature reviews earth & environment, 1 (7), 333–347.

Paper details

vlnc:W_bjp2f7q3
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents