Skip to content
AIAI Wranglers

39 Generative Models for Weather Prediction

“The atmosphere is a chaotic symphony of 1044 molecules, yet we dare predict its song days in advance.”

On August 29, 2005, Hurricane Katrina made landfall near Buras, Louisiana, as a Category 3 storm with sustained winds of 205 kilometres per hour. The storm surge, peaking at nine metres along the Mississippi coast, overwhelmed the levée system protecting New Orleans. Roughly 1,800 people lost their lives; economic damage exceeded $125 billion, making Katrina the costliest natural disaster in United States history up to that point. Yet the storm itself was not a surprise. Five days before landfall, the European Centre for Medium-Range Weather Forecasts (ECMWF) model had already shown a coherent Gulf of Mexico track. The US National Hurricane Center issued watches and warnings 36 hours ahead-well within the window for organised evacuation. What failed was not weather science; it was the translation of probabilistic forecast information into decisive action.

Nearly two decades later, in September 2024, Hurricane Hel\-ene swept across Florida's Big Bend coast, then tracked hundreds of kilometres inland before devastating the Appalachian communities of western North Carolina. Asheville, far from any coastline and nestled between mountain ridges, received over half a metre of rain in 48 hours; the French Broad River crested at a record 7.3 metres above flood stage. More than 200 people died. Yet the operational forecast guidance-from both traditional Numerical Weather Prediction (NWP) models and the new generation of machine-learning weather models, including GraphCast and Pangu-Weather-had correctly identified the extreme rainfall potential days in advance. The fundamental scientific challenge of predicting these events had, in large measure, been solved.

The story of Katrina and Helene illustrates the astonishing progress of weather forecasting over the past half-century, and simultaneously reveals where the remaining gaps lie. Forecasting the track of a major hurricane is no longer the primary challenge; forecasting the distribution of possible impacts-the tail of the rainfall distribution, the compound flooding risk, the probability of any given neighbourhood seeing sustained winds above 50 metres per second-remains difficult, consequential, and, as we shall see, precisely the problem for which generative models offer transformative potential.

This chapter tells the story of how generative artificial intelligence entered one of the most practically important and scientifically demanding prediction problems humanity faces: the state of the atmosphere. We develop the mathematical foundations, survey the landmark models, analyse the theoretical guarantees and known failure modes, and situate weather prediction within the broader landscape of this book. The chapter connects directly to the physics-constrained PDE modelling of Chapter 35 and draws on the interpretability tools of Chapter 38; it will also prepare the ground for subsequent chapters on geophysical and climate modelling.

The Challenge of Atmospheric Prediction

Why Weather Forecasting Matters

Weather is not merely a backdrop to human activity; it is one of the principal drivers of the global economy. A landmark 2009 analysis by the United States Weather Research Programme estimated that weather-sensitive economic sectors account for roughly one third of US GDP, approximately $3 trillion annually. Scaling globally, the weather-sensitive share of the world economy exceeds $5 trillion per year.

The channels through which weather affects economic value are diverse and sometimes surprising:

  • Agriculture. Approximately 80% of the variability in US crop yields is attributable to weather, principally temperature and precipitation anomalies during sensitive phenological windows. A three-day forecast of a late frost can allow a Florida citrus grower to activate smudge pots and save an entire harvest. Sub-seasonal to seasonal forecasts of El Niño–Southern Oscillation (ENSO) events allow commodity traders, insurance underwriters, and government food security programmes to hedge risks months in advance.

  • Aviation. The US Federal Aviation Administration estimates that weather causes approximately 70% of all National Airspace System delays, costing the airline industry over $4 billion per year in direct operating costs. Turbulence-related injuries cause more than 30 severe injuries annually in the US alone; clear-air turbulence, which leaves no visual signature and cannot be detected by airborne radar, is a particular concern as a warming atmosphere alters upper-level wind shear patterns.

  • Energy. The rapid expansion of wind and solar generation has made weather forecasting central to grid operation. Electricity demand peaks with temperature extremes; solar output varies with cloud cover on timescales of minutes; offshore wind turbines must be shut down in extreme conditions to prevent mechanical damage. A 1% improvement in day-ahead wind power forecast accuracy across the European grid has been estimated to save $100 million annually in balancing costs.

  • Disaster preparedness. The World Meteorological Organisation estimates that improved early warning systems for weather-related hazards could save 2 billion euros per year in disaster losses across Europe alone. Globally, the mortality from tropical cyclones has decreased dramatically since the 1970s-from roughly 3 deaths per 100,000 population to under 0.5-primarily due to improved track forecasts and warning lead times. Economic losses, however, continue to grow as population and infrastructure expand into vulnerable coastal zones.

Key Idea.

Weather Forecasting as a Societal Infrastructure Weather forecasting is among the most valuable publicly-funded scientific activities. The ECMWF estimates that every $1 invested in operational weather services generates $6–10 in economic value. The transition to AI-augmented forecasting is not merely a technical curiosity; it is a question of how much of this value can be preserved, and potentially multiplied, as the global forecast system undergoes its most significant architectural change in seventy years.

A Philosophical Hook: Predicting Chaos

The atmosphere contains approximately 1044 molecules. Their collective behaviour is governed by the laws of classical mechanics and thermodynamics, combined with the transfer of radiation, the microphysics of cloud droplet nucleation, and the turbulent mixing of the planetary boundary layer. No computer will ever simulate this system at the molecular scale; even a description at the kilometre scale requires resolving 109 grid cells, each carrying dozens of physical variables, over thousands of time steps.

And yet, we predict. Not perfectly-the atmosphere is chaotic, and perfect prediction is provably impossible beyond a finite horizon-but usefully. A modern medium-range forecast for surface temperature is accurate to within about 2 degrees Celsius at seven days lead time, a level of skill that would have seemed miraculous to the meteorologists of the 1960s.

The philosophical tension is acute: the atmosphere obeys deterministic physical laws (the Navier–Stokes equations, thermodynamics, Maxwell's equations for radiation), yet its long-term behaviour is unpredictable in any practical sense. How do we navigate between the rock of determinism and the hard place of chaos?

The answer, as Edward Lorenz showed in 1963, is that determinism and unpredictability are not mutually exclusive. Tiny differences in initial conditions-differences smaller than any measurement can detect-grow exponentially in time, eventually overwhelming the signal. This is the celebrated butterfly effect: the metaphorical flap of a butterfly's wings in Brazil can, in principle, alter whether a tornado forms in Texas three weeks hence. The practical implication is that there exists a fundamental predictability horizon beyond which deterministic single-valued forecasts become useless, and the only honest statement is a probability distribution over possible atmospheric states.

This insight, which we will formalise below, is the philosophical foundation for everything that follows in this chapter. Weather forecasting is, at its core, a problem of learning and sampling from a conditional probability distribution-precisely the kind of problem generative models are designed to solve.

Historical Development: From Manual Computation to Artificial Intelligence

Historical Note.

Richardson's Human Computer (1922). The first attempt at numerical weather prediction was made by Lewis Fry Richardson, a British mathematician and pacifist, during his service as an ambulance driver in World War I. Over the years 1916–1918, working in farmhouses and barns in northern France during artillery barrages (he famously stored his calculations in a haystack), Richardson solved by hand a discretised version of the primitive equations governing atmospheric motion.

His 1922 monograph, Weather Prediction by Numerical Process, presented a six-hour forecast for a single location over central Europe. The result was catastrophically wrong: he predicted a surface pressure change of 145 hPa when the actual change was near zero. The error, Richardson later understood, arose from using initial data with unbalanced divergence fields that excited spurious high-frequency gravity waves-a numerical stability problem that would not be solved until the work of Charney and Eliassen in the 1950s.

Nevertheless, Richardson's conceptual framework was entirely correct. He imagined a “forecast factory” of 64,000 human computers working in parallel, each solving the equations for one grid cell, coordinated by a conductor at the centre like a grand orchestra. This vision anticipated both the structure of parallel computing and the ensemble prediction paradigm by more than half a century.

Historical Note.

ENIAC and the First Successful NWP (1950). In 1950, a team led by Jule Charney, with participation by John von Neumann, used the ENIAC computer at the Aberdeen Proving Ground in Maryland to produce the first successful numerical weather forecast. The computation used a simplified version of the atmospheric equations (the barotropic vorticity equation, a single-layer model) on a coarse mesh (a 15×18 grid of about 270 points at roughly 736 km spacing) covering North America. The actual computation took 24 hours of machine time to forecast 24 hours of atmospheric evolution-a “forecast” that was useful only in retrospect. But the results, published in 1950, showed skill comparable to subjective forecasters and demonstrated unambiguously that numerical methods could predict the large-scale flow.

Von Neumann, who had championed the weather prediction programme as a demonstration of the potential of electronic computing, reportedly called it “the most complex calculation ever attempted.” The ENIAC's computational throughput was approximately 5,000 floating-point operations per second. A modern desktop GPU performs 1012 such operations per second-seven orders of magnitude more-yet operational NWP still consumes a significant fraction of the world's most powerful supercomputer capacity.

Historical Note.

The Age of Satellites, Ensembles, and Data Assimilation (1960s–2010s). The launch of TIROS-1 in 1960, the first weather satellite, transformed observational coverage, particularly over the data-sparse oceans that cover 71% of Earth's surface. The modern Global Observing System now integrates approximately 107 observations per day, drawn from surface stations, ocean buoys, radiosondes, aircraft, and a constellation of polar-orbiting and geostationary satellites.

The 1990s saw the operational introduction of ensemble prediction systems (EPS) at ECMWF and the US National Centers for Environmental Prediction (NCEP). Rather than running a single deterministic forecast, an EPS runs 20–50 perturbed versions of the model simultaneously, sampling the uncertainty in initial conditions. The spread of the ensemble provides a first-order estimate of forecast uncertainty; when the ensemble is tight, confidence is high; when it fans out, the atmosphere is in a regime of low predictability. The ECMWF Ensemble (ENS), now running at approximately 18 km resolution with 51 members, remains the gold standard against which all new approaches are evaluated.

The timeline of these developments is shown in Figure fig:weather:timeline.

Timeline of major milestones in weather forecasting, from Richardson's manual computation (1922) through the ENIAC era (1950), satellite observation (1960s), probabilistic ensemble systems (1990s), and the modern AI revolution (2022–present). The transition from the classical to the AI era represents the fastest paradigm shift in the history of operational meteorology.

Lorenz and the Mathematics of Chaos

In 1963, Edward Lorenz published what would become one of the most cited papers in all of science: Deterministic Nonperiodic Flow, in the Journal of the Atmospheric Sciences. Working on a simplified model of atmospheric convection, Lorenz stumbled upon behaviour that would transform our understanding of determinism.

His model consisted of three coupled ordinary differential equations: (Lorenz1)dxdt=σ(yx),dydt=x(ρz)y,dzdt=xyβz, with canonical parameters σ=10, ρ=28, β=8/3. These equations exhibit what Lorenz called sensitive dependence on initial conditions: two trajectories starting arbitrarily close together diverge exponentially, with a characteristic Lyapunov exponent λ10.9 per nondimensional time unit of the system.

Definition 1 (Lyapunov Exponent).

Let 𝐱(t) be a trajectory of a dynamical system 𝐱˙=f(𝐱) and let δ𝐱(t) be an infinitesimal perturbation evolving under the linearised flow. The maximal Lyapunov exponent is: (Lyapunov)λ1=limt1tlnδ𝐱(t)δ𝐱(0). When λ1>0, the system is chaotic: nearby trajectories diverge exponentially. For the Lorenz system, λ10.9; for the real atmosphere, the leading Lyapunov exponent corresponds to an error-doubling time of approximately 1.5–2.5 days.

The practical implication for weather forecasting is profound. If the leading Lyapunov exponent of the atmosphere corresponds to an error-doubling time of two days, and if we cannot measure initial conditions with infinite precision, then beyond some finite horizon the forecast error will be comparable to the climatological variance-at which point the forecast has no skill.

Theorem 1 (Predictability Limit).

Let σclim2 denote the climatological variance of a forecast variable, and let σ02 denote the analysis error variance (the uncertainty in the initial condition). Under the assumption of linear error growth with Lyapunov exponent λ1, the forecast error variance at lead time τ satisfies: (Error Growth)σ2(τ)σ02e2λ1τ. The predictability horizon τ is defined as the lead time at which forecast error equals climatological variance: (Horizon)τ=12λ1lnσclim2σ02. Empirically, τ2 weeks for large-scale atmospheric variables.

Remark 1 (Beyond the Predictability Horizon).

The two-week predictability limit applies to the deterministic atmosphere: the expectation of the forecast. Probabilistic quantities-the distribution of possible outcomes-remain informative at longer lead times. Climate models, for instance, project changes in the statistics of extremes decades hence, not by predicting individual events, but by estimating shifts in the underlying probability distribution. This distinction is fundamental and motivates much of the chapter.

Formal Definitions: The Atmospheric State and Forecast Operator

We now formalise the mathematical framework for weather prediction, establishing notation that will be used throughout the chapter.

Definition 2 (Atmospheric State Vector).

The atmospheric state at time t is represented by a vector 𝒙t𝒳D, where 𝒳 is the state space. For a global forecast model at 0.25 horizontal resolution with Nz=37 pressure levels, the state vector typically includes: (State)𝒙t=(Ti,j(k),ui,j(k),vi,j(k),qi,j(k),ωi,j(k),Φi,j(k))i,j,k(psfc,i,j,T2m,i,j,u10m,i,j,v10m,i,j)i,j, where (i,j) are horizontal grid indices, k{1,,Nz} is the pressure level index, T is temperature, (u,v) are horizontal wind components, q is specific humidity, ω is vertical velocity, and Φ is geopotential. The dimensionality D of the ERA5 reanalysis grid (used to train most current ML weather models) is approximately D2×108 at the operational 0.25 resolution with 37 levels (a 721×1440 grid over 37 levels and roughly six upper-air fields plus surface fields); at a coarser 1.5 resolution it is about 5×106.

Definition 3 (Forecast Operator).

A deterministic forecast operator with lead time Δt is a mapping Δt:𝒳𝒳 such that: (Deterministic OP)𝒙t+ΔtΔt(𝒙t). In classical NWP, Δt is implemented by numerically integrating the primitive equations of atmospheric motion using finite difference, finite element, or spectral discretisation. In machine learning weather prediction (MLWP), Δt is approximated by a neural network Δt(;𝜽) with parameters 𝜽 learned from reanalysis data.

Definition 4 (Probabilistic Forecast Operator).

A probabilistic forecast operator is a mapping from the current state to a probability distribution over future states: (PROB OP)p(𝒙t+Δt|𝒙t)=𝒫Δt(𝒙t), where 𝒫Δt maps states to distributions over 𝒳. The ideal probabilistic forecast is the true conditional distribution of atmospheric states, which reflects both initial-condition uncertainty (arising from imperfect observations and data assimilation) and model uncertainty (arising from approximations in the governing equations and their discretisation). Generative models are, at their core, parametric approximations to p(𝒙t+Δt|𝒙t).

Remark 2 (Autoregressive Rollout).

For forecast horizons longer than Δt, a common approach is autoregressive rollout: apply the operator Δt (or sample from 𝒫Δt) repeatedly, using each predicted state as the next input: (Rollout)𝒙t+kΔt=Δtk(𝒙t),k=1,2,,K. In the probabilistic setting, autoregressive rollout produces a trajectory distribution; errors can compound over rollout steps, which is one of the central practical challenges in MLWP.

The Operational Bottleneck: Compute Cost and the NWP Scaling Problem

Modern operational NWP represents one of the most computationally demanding regular tasks in all of science. ECMWF's Integrated Forecasting System (IFS), which produces the world's leading medium-range global forecasts, runs on a dedicated supercomputer cluster with a peak performance of approximately 1017 floating-point operations per second (100 petaFLOPS). A single ten-day global forecast at 9 km resolution requires roughly 1020 floating-point operations-approximately 107 times more than a single forward pass through a large language model.

The computational cost of NWP scales approximately as: (NWP COST)CNWPNxNyNzNt, where Nx×Ny is the horizontal grid resolution, Nz is the number of vertical levels, and Nt is the number of time steps. Halving the horizontal grid spacing increases cost by a factor of 23=8 (two factors in horizontal resolution, one in time step required for numerical stability by the Courant–Friedrichs–Lewy condition).

Proposition 1 (Cost of NWP Resolution Increase).

Let h denote the horizontal grid spacing of a global NWP model. Under typical operational configurations with a CFL-constrained time step Δth, the computational cost of a fixed lead-time forecast scales as: (COST Scaling)C(h)h(d+1), where d is the number of spatial dimensions. For d=2 (global horizontal grid with fixed vertical levels), C(h)h3. Moving from 25 km to 1 km global resolution therefore increases cost by a factor of (25)3=15,625. Kilometre-scale global NWP is projected to become operationally feasible by the early 2030s on exascale hardware, but will require 𝒪(103) times the computational resources of current systems.

Key Idea.

Weather Forecasting as Sampling from a Chaotic Distribution Weather forecasting is fundamentally a problem of sampling from a chaotic conditional probability distribution. Given the current atmospheric state 𝒙t, the true forecast is not a single predicted state 𝒙^t+Δt but the entire conditional distribution p(𝒙t+Δt|𝒙t). This distribution is:

  1. High-dimensional: D2×108 for operational-resolution (0.25) grids.

  2. Non-Gaussian: especially for precipitation and extreme variables.

  3. Strongly multimodal: the atmosphere can follow qualitatively different trajectories (e.g., blocking high vs. progressive westerlies) with comparable probability.

  4. Physically constrained: samples must approximately satisfy conservation laws (mass, energy, momentum) and balance conditions.

Generative models-diffusion models, normalising flows, GANs, and their modern variants-are precisely the class of methods designed to learn and sample from distributions of this kind.

The Quiet Revolution: Skill Improvement in Traditional NWP

The sixty-year history of operational NWP reveals a remarkable and sustained trend in forecast skill: roughly one day of useful forecast range gained per decade. This improvement is most clearly measured by the anomaly correlation coefficient (ACC) of the 500 hPa geopotential height field-a standard metric that compares the forecast anomaly (deviation from climatology) with the verifying analysis. An ACC above 0.6 is conventionally considered the threshold of useful skill.

In 1980, ECMWF forecasts crossed the ACC,>0.6 threshold at approximately 5 days lead time. By 2020, the threshold had extended to approximately 8.5 days. This represents a gain of 3.5 days over four decades. Equivalently, the quality of today's seven-day forecast is roughly comparable to the quality of a three-day forecast in 1980. The improvement reflects advances in:

  • Data assimilation: Moving from optimal interpolation to four-dimensional variational assimilation (4D-Var), which optimally blends observations with model trajectories over a 6–12 hour assimilation window.

  • Model resolution: From 150 km in 1979 to 9 km in 2023, enabling better representation of orographic and mesoscale processes.

  • Physical parameterisations: Improved schemes for convection, boundary layer turbulence, radiation, and cloud microphysics.

  • Observations: The global observing network has grown from 104 surface stations in 1980 to 107 observations per day from the current satellite constellation.

Insight.

The history of NWP skill improvement suggests diminishing returns in the traditional paradigm: each additional day of forecast range costs approximately twice the compute of the previous. Meanwhile, the recent AI-based models (FourCastNet, Pangu-Weather, GraphCast, FengWu, Aardvark, and others) achieve comparable or superior skill to IFS at a computational cost four to six orders of magnitude lower per inference. This is not an incremental improvement; it represents a fundamental change in the cost-skill frontier of weather forecasting.

Exercises for Section The Challenge of Atmospheric Prediction

Exercise 1 (Lyapunov exponent and predictability).

Consider a simple model of atmospheric error growth in which the error ϵ(t) satisfies ϵ˙=λϵ with λ=ln2/(2days) (corresponding to an error-doubling time of two days).

  1. (a)

    Show that ϵ(t)=ϵ02t/(2days).

  2. (b)

    If the analysis error is ϵ0=0.1% of the climatological standard deviation, compute the predictability horizon τ using Theorem Theorem 1.

  3. (c)

    How does τ change if observations improve and ϵ0 is halved? What does this imply about the practical ceiling of medium-range forecast skill?

Exercise 2 (NWP computational cost).

Using the scaling relation of Proposition Proposition 1:

  1. (a)

    Estimate the cost ratio of a 1 km global forecast relative to the current operational ECMWF system at 9 km, assuming the same number of vertical levels and lead time.

  2. (b)

    If a 9 km global NWP system requires 10,000 node-hours per forecast cycle, and if node-hours cost $0.50 on a cloud HPC facility, estimate the annual cost of running 50-member ensemble forecasts every 12 hours.

  3. (c)

    Compare this to the estimated inference cost of a state-of-the-art ML weather model, which can produce a 10-day global forecast in under 60 seconds on a single GPU. What is the approximate cost ratio?

Exercise 3 (Atmospheric state dimensionality).

The ERA5 reanalysis provides the following variables on a 0.25 latitude-longitude grid (721×1440 points) at 37 pressure levels: temperature (T), zonal wind (u), meridional wind (v), specific humidity (q), and geopotential (z). Additionally, four single-level variables are included: mean sea-level pressure, 2-metre temperature, and 10-metre wind components.

  1. (a)

    Compute the total number of degrees of freedom D in the ERA5 state representation.

  2. (b)

    Compare D to the number of parameters in a large language model (e.g., GPT-3 with 175 billion parameters). What does this suggest about the relative difficulty of the weather forecasting and language modelling problems?

  3. (c)

    Most ML weather models operate at 1.5 resolution (roughly 120×240 grid points) or 0.25. How does the dimensionality change, and what are the implications for model capacity requirements?

Why Generative AI for Weather?

The previous section established that weather forecasting is, at its mathematical core, a problem of learning and sampling from a high-dimensional conditional probability distribution. It also established that the classical NWP paradigm, while enormously successful, faces a cost wall: operational ensemble forecasting with 50 members at high resolution consumes resources available only to the largest national meteorological centres. In this section we examine more precisely why generative models offer a compelling solution to these challenges, and how they relate to the broader taxonomy of machine learning approaches to weather prediction.

The Three Pillars: Cost, Ensembles, and Extremes

The case for generative models in weather prediction rests on three mutually reinforcing pillars.

Pillar 1: Computational Cost

As established in Proposition Proposition 1, the cost of a single NWP forecast is enormous, and the cost of an ensemble forecast is this number multiplied by the ensemble size. A 50-member ensemble at 9 km global resolution, run for a 10-day lead time, requires on the order of 1022 floating-point operations-enough to occupy the ECMWF supercomputer for several hours. Only a handful of national centres worldwide have the resources to run such systems operationally.

By contrast, a trained generative model produces ensemble members by forward sampling, which requires a single forward pass through a neural network (or, for diffusion models, a sequence of Tdiff20–100 such passes). The total inference cost is: (GEN COST)Cgen=Nens×Tdiff×Cfwd, where Cfwd is the cost of a single neural network forward pass. For a model like GenCast or SEEDS, this amounts to roughly 1015 operations per 50-member ensemble-seven orders of magnitude less than the NWP equivalent.

Pillar 2: Ensemble Generation and Calibration

Operational ensemble prediction systems generate spread by perturbing initial conditions (using singular vectors or ensemble Kalman filter perturbations) and sometimes by stochastic model perturbations. These perturbations are designed to sample the leading error modes of the system, but they are necessarily limited in their ability to represent the full uncertainty distribution.

A well-trained generative model, by contrast, learns the full conditional distribution p(𝒙t+Δt|𝒙t) from data. If the training data is sufficiently rich and diverse, the model can in principle capture uncertainty sources that are difficult to parameterise explicitly in physical models: mesoscale convective organisation, land-surface feedback uncertainty, orographic precipitation spread, and more. This offers the prospect of better-calibrated ensembles-ensembles whose spread more faithfully represents the true forecast uncertainty.

Definition 5 (Calibration).

A probabilistic forecast is calibrated (or reliable) if the stated probabilities match observed frequencies. Formally, for any event A and stated probability p: (Calibration)Pr(event A occurs|stated probability=p)=p. In practice, calibration is assessed via rank histograms (Talagrand diagrams) for ensemble systems, or reliability diagrams for probabilistic forecasts. A perfectly calibrated 50-member ensemble should have each of the 50 members verified against the true observation equally often on average; a flat rank histogram indicates calibration.

Generative models offer a systematic path to calibration improvement through post-processing: rather than running the expensive NWP ensemble and then applying bias correction, one can train a conditional generative model to map a deterministic (or low-resolution) NWP forecast directly to a calibrated ensemble distribution. This is the ensemble emulation paradigm explored in GenCast, NowcastNet, and similar systems.

Pillar 3: Extreme Events

Extreme weather events-heat waves, atmospheric rivers, tropical cyclones, flash floods-are precisely the events for which forecast skill matters most, both in terms of economic impact and loss of life. They are also, almost by definition, the hardest to forecast.

Traditional ML weather models trained with mean squared error (MSE) loss face a fundamental problem with extremes: MSE minimisation encourages predictions that are close to the conditional mean, which for multimodal distributions is not a typical sample. A model predicting whether a storm will track north or south of a coastal city, each with 50% probability, should predict one or the other-not an average track that lies in the middle of the coast and is unlikely to verify. MSE-optimal forecasts are necessarily smooth, tending to regress toward climatology for uncertain events. This is the blurring problem.

Caution.

The blurring problem in deterministic ML weather models is not merely a cosmetic issue. A 24-hour precipitation forecast that smears a 100 mm/day convective event over a 1,000 km region has an RMSE comparable to the unsmeared forecast but provides no useful information for flash flood warning. Generative models address this problem structurally by learning to sample sharp, physically plausible realisations rather than predicting blurred averages.

Generative models, by learning to sample from the full conditional distribution, can in principle produce sharp forecasts of extreme events. A diffusion model conditioned on a predicted atmospheric state can generate individual sample trajectories that include coherent, physically realistic extreme events, even if those events appear in only a fraction of the ensemble members. The probability of the event is estimated from the ensemble frequency.

Deterministic MLWP: Limitations and Where Generative Models Help

The first generation of modern ML weather models-FourCastNet (2022), Pangu-Weather (2023), GraphCast (2023)-are deterministic systems that directly predict the atmospheric state at the next time step. They have demonstrated remarkable skill, matching or exceeding the ECMWF IFS for many variables at 7–10 day lead times while running at a fraction of the computational cost.

However, their fundamental architecture-a neural network trained to minimise MSE between predicted and verifying states-imposes a systematic bias: the regression to the mean problem. Consider the formal decomposition: (MSE Solution)𝒙^t+ΔtMSE=𝔼[𝒙t+Δt|𝒙t]=𝒙p(𝒙|𝒙t)d𝒙, where the equality in holds because MSE minimisation yields the conditional expectation. For multimodal distributions p(𝒙|𝒙t)-which are common in the atmosphere, especially at longer lead times when the flow can bifurcate into qualitatively different regimes-the conditional mean is not a typical sample. It lies between the modes, in a region of low probability density.

Deterministic vs. generative approaches to ML weather prediction. Deterministic models produce a single output corresponding to the conditional mean, which can be blurred at high uncertainty regimes. Generative models produce an ensemble of sharp, physically plausible samples, enabling calibrated probabilistic forecasting.

Figure fig:weather:det_vs_gen illustrates the architectural difference between deterministic and generative MLWP. The key structural insight is that the conditional mean-the optimal deterministic forecast under MSE loss-is not the same as the most likely forecast, and for multimodal distributions it may lie in a region of essentially zero probability.

Example 1 (Blurring in Precipitation Forecasts).

Consider the 6-hour accumulated precipitation field over the United Kingdom. The true distribution p(𝒙t+6h|𝒙t) is highly multimodal: convective cells may form in the Thames valley or in Wales or both, depending on subtle mesoscale features. A deterministic model predicts the conditional mean, which spreads the precipitation evenly across both potential locations at half the intensity. This “drizzle everywhere” artefact is a well-documented failure mode of MSE-trained models. Operationally, precipitation skill scores such as the fractions skill score (FSS) and equitable threat score (ETS) specifically penalise spatial displacement errors, making this artefact visible in standard verification.

A generative model, by contrast, draws individual sample realisations that place the precipitation coherently in one location or the other, each with intensity close to the true event. The ensemble mean may still be blurred, but any individual sample is physically sharp-which is what matters for flash flood warnings.

Ensemble Prediction Systems and the Cost of NWP Ensembles

The state-of-the-art in operational probabilistic forecasting is the ensemble prediction system (EPS). The flagship systems are:

  • ECMWF ENS: 51 members (1 control + 50 perturbed) at 18 km resolution, 15-day lead time. Initial perturbations generated by singular vectors and ensemble data assimilation; model uncertainty represented by stochastic parameterisation schemes.

  • NOAA GEFS (Global Ensemble Forecast System): 31 members at 25 km, 16-day lead time; being upgraded to higher resolution under the Next Generation Global Prediction System (NGGPS) programme.

  • UK Met Office MOGREPS-G: 18 members at 20 km; uses the ensemble transform Kalman filter (ETKF) for perturbation generation.

  • Multi-model ensembles: The THORPEX Interactive Grand Global Ensemble (TIGGE) archive collects outputs from all major operational EPS systems, enabling multi-model ensemble combinations that typically outperform any individual system.

The computational cost of running 50 ensemble members is, approximately, 50 times the cost of a single deterministic forecast. For the ECMWF system in 2023, this amounts to approximately 30 megawatt-hours of electricity per day-comparable to the annual electricity consumption of 3,000 European households. The energy and financial cost of ensemble NWP is a fundamental barrier to democratising access to probabilistic weather services: most national meteorological services in developing countries cannot afford to run their own ensemble systems and rely on the ECMWF or NOAA outputs.

Insight.

Generative models as ensemble emulators could democratise probabilistic forecasting. A country with a single GPU server could run a trained generative model to produce 100-member ensembles conditioned on the publicly available ECMWF deterministic forecast, achieving calibrated probability estimates at a cost thousands of times lower than running a physical ensemble. This is not hypothetical: the SEEDS model (Stockdale et al., 2024) and the EPS emulator of Price et al. (2023) have demonstrated this approach operationally.

Formal Framework: Weather Forecasting as Conditional Generative Modelling

We now place weather forecasting squarely within the conditional generative modelling framework developed in earlier chapters of this book.

Definition 6 (Weather Forecast as Conditional Distribution).

Given the current atmospheric state 𝒙t𝒳, the ideal probabilistic weather forecast at lead time Δt is the conditional distribution: (COND DIST)pΔt(𝒙t+Δt|𝒙t), which represents the probability that the atmosphere will be in state 𝒙t+Δt at time t+Δt given that it is in state 𝒙t at time t. This distribution encodes both:

  1. Initial-condition uncertainty: arising from imperfect observations and data assimilation, the true atmospheric state at time t is uncertain; pΔt marginalises over this uncertainty.

  2. Intrinsic atmospheric uncertainty: arising from the chaotic dynamics of the atmosphere, even a perfectly known initial state leads to a spread of possible outcomes at long lead times.

A generative model G𝜽 is a parametric approximation: (GEN Model)q𝜽(𝒙t+Δt|𝒙t)pΔt(𝒙t+Δt|𝒙t).

This framework immediately suggests the applicability of the main generative model families covered in this book:

  • Diffusion models (Chapter 19): Learn pΔt by training a denoising score network s𝜽(,σ)𝒙logpΔt(𝒙|𝒙t). Sampling proceeds via Langevin dynamics or DDIM. Key models: GenCast, CorrDiff, EarthFormer-Diffusion.

  • Normalising flows (Chapter 18): Model pΔt as a pushforward of a standard Gaussian through an invertible map f𝜽. Exact likelihoods enable principled calibration assessment. Key models: RainFall (Gong et al., 2023), NF-based post-processing (Groenke et al., 2022).

  • Variational Autoencoders (Chapter 15): A latent-variable model for atmospheric state that enables compressed representations and fast sampling. Key models: WeatherVAE, GenWP.

  • GANs (Chapter 9): Generative Adversarial Networks for downscaling and super-resolution of weather fields. Key models: DeepSD (Stengel et al., 2020), DeepMind's downscaling GAN, ESRGAN-based approaches.

A Taxonomy of ML Weather Prediction Approaches

The landscape of ML weather prediction has grown dramatically since 2020. To navigate it, we introduce a systematic taxonomy along four axes: (1) model type (deterministic vs. generative), (2) spatial scope (global vs. regional/limited-area), (3) temporal architecture (autoregressive vs. direct multi-step), and (4) target variable (full atmosphere vs. single-variable).

Table Table 1 provides a structured overview of the most influential models along these axes.

ModelTypeScopeTemporalRes.Key Feature
Deterministic Global Models
FourCastNetDet.GlobalAR0.25Spherical FNO
Pangu-WeatherDet.GlobalDirect0.253D Earth transformer
GraphCastDet.GlobalAR0.25Graph neural network
FengWuDet.GlobalAR0.25Cross-modal fusion
AardvarkDet.GlobalAR0.25Sparse observations in
Generative Global Models
GenCastDiffusionGlobalAR0.25Calibrated ensembles
SEEDSDiffusionGlobalEmulator1EPS emulation
PreDiffDiffusionRegionalAR4 kmNowcasting
CorrDiffDiffusionRegionalAR3 kmDownscaling
EarthFormerDiff+AttnRegionalAR1Earth attention
Nowcasting and Short-Range
NowcastNetGANRegionalDirect1 kmExtrapolation
Skilful Prec.GANRegionalDirect1 kmDeepMind GAN
DGM-RNFRegionalAR1Radar nowcast
Downscaling / Super-Resolution
DeepSDGANRegionalDirect3 kmStatistical SD
CorrDiffDiffusionRegionalDirect3 kmScore-based SD
GenRainFlowRegionalDirect1 kmProbabilistic
Taxonomy of major machine learning weather prediction approaches. “AR” = autoregressive (iterative), “Direct” = single-shot multi-step prediction. Resolution refers to native grid spacing in degrees. CRPS = Continuous Ranked Probability Score.

Chapter Roadmap and Dependencies

This chapter is structured to develop the material from foundational principles through state-of-the-art models and open problems. Figure fig:weather:roadmap shows the dependency structure between sections.

Chapter roadmap and dependency structure. Dashed arrows indicate prerequisite chapters or concepts; solid arrows indicate the recommended reading order within this chapter. Green boxes (Sections 5–8) develop the core generative model material; blue boxes provide foundations and synthesis.

Remark 3 (Connections to Other Chapters).

This chapter connects to several other chapters in the book:

  • Chapter 35 (PDEs for Fluid Dynamics): The primitive equations of atmospheric motion are a system of PDEs; understanding their structure (balanced flow, the primitive equations, quasi-geostrophic theory) provides crucial physical intuition for why certain ML architectures succeed and others fail.

  • Chapter 38 (Interpretability): Understanding what a weather model has learned-which atmospheric patterns it attends to, which teleconnections it has discovered, whether its representations align with physical modes like ENSO or the North Atlantic Oscillation-is an active research frontier.

  • Chapter 19 (Diffusion Models): The core generative modelling machinery of this chapter is the score-based diffusion framework. Readers unfamiliar with denoising score matching and the SDE formulation of diffusion should review that chapter before proceeding to Section 5 of the present chapter.

Exercises for Section Why Generative AI for Weather?

Exercise 4 (The regression-to-mean problem).

Consider a bimodal conditional distribution: (Bimodal)p(𝒙|𝒙)=12𝒩(𝒙;𝝁1,σ2I)+12𝒩(𝒙;𝝁2,σ2I), where 𝝁1 and 𝝁2 are two distinct modes with 𝝁1𝝁22=d and σ2 is small (each mode is tight).

  1. (a)

    Show that the MSE-optimal forecast is 𝒙^=(𝝁1+𝝁2)/2.

  2. (b)

    Compute the probability density of the MSE-optimal forecast under p(𝒙|𝒙) as a function of d/σ. For what value of d/σ does the MSE forecast lie in a region of near-zero density?

  3. (c)

    Define the sharpness of a single forecast 𝒙^ under distribution p as logp(𝒙^|𝒙). Show that a randomly sampled forecast 𝒙~p(|𝒙) has higher expected sharpness than the MSE-optimal forecast when d>2σln2.

Exercise 5 (Calibration of ensemble forecasts).

An ensemble forecast system produces N=10 members. Over a verification archive of M=1,000 forecast-observation pairs, the rank of the observation within the sorted ensemble (rank 1 = observation below all members, rank N+1=11 = observation above all members) has the following histogram:

Rank1234567891011
Count152898288918987858286169

  1. (a)

    Under the null hypothesis of a perfectly calibrated ensemble, what count would you expect in each rank bin?

  2. (b)

    The U-shaped histogram (high counts at ranks 1 and 11) indicates a specific type of calibration failure. Identify the failure mode and suggest two possible causes.

  3. (c)

    Compute a chi-squared statistic for the deviation from uniformity and determine whether the miscalibration is statistically significant at the p<0.01 level.

Exercise 6 (Ensemble size and sampling error).

A 50-member ensemble is used to estimate the probability that 24-hour precipitation at a point exceeds 50 mm. Suppose the true probability is p=0.10.

  1. (a)

    Model the number of ensemble members exceeding the threshold as Binomial(50,0.10). Compute the standard deviation of the estimated probability p^=k/50 where k is the count.

  2. (b)

    What ensemble size N would be required to estimate p=0.01 (a 1-in-100 event) with a coefficient of variation (standard deviation divided by mean) below 20%?

  3. (c)

    Comment on the practical implications for using NWP ensembles vs. generative model ensembles for estimating rare event probabilities. A generative model can produce thousands of samples at marginal cost; how does this change the analysis in part (b)?

The Governing Equations of the Atmosphere

“The atmosphere is a nonlinear fluid on a rotating sphere, forced by solar radiation and interacting with the ocean, land, and biosphere. Its equations are simple to write, impossible to solve exactly, and extraordinarily difficult to approximate well.” - Edward N. Lorenz (paraphrased)

Weather prediction is, at its mathematical core, an initial value problem for a system of nonlinear partial differential equations. The atmosphere is a thin shell of gas-roughly 100,km thick over a planet of radius 6,371,km-set in rotation at one revolution per day, heated unevenly from below by sunlight, and stirred by the irregular topography of continents and mountain ranges. Despite this complexity, the fundamental physical laws governing atmospheric motion are well known. They form the primitive equations, a closed system of PDEs derived from Newtonian mechanics, thermodynamics, and the ideal gas law.

In this section we derive and discuss these equations in detail, connect them to the general Navier–Stokes framework introduced in Chapter 35 (Section The Navier--Stokes equations: beauty and terror), and explain why, despite being fully known, they resist exact solution and force us toward numerical approximation.

Coordinate systems and notation

The Earth's atmosphere is most naturally described in spherical coordinates (λ,ϕ,r), where λ[0,2π) is longitude, ϕ[π/2,π/2] is latitude, and r=a+z is the radial distance from Earth's centre with mean radius a6,371km and height above the surface z0. In practice, NWP models use a hybrid pressure–terrain-following coordinate η or σ, which simplifies the treatment of the lower boundary.

We denote the three-dimensional velocity field as 𝐮=(u,v,w), where u is the zonal (east–west) component, v is the meridional (north–south) component, and w=dz/dt is the vertical velocity. For notational simplicity in the following subsections, we work in local Cartesian coordinates on the sphere (the tangent plane approximation), which is exact in the limit of small horizontal scales and standard in textbook derivations.

The material derivative (Lagrangian rate of change following a fluid parcel) is (Material)DDtt+𝐮=t+ux+vy+wz, where denotes the three-dimensional gradient operator. The distinction between Eulerian (/t at a fixed point) and Lagrangian (D/Dt following a parcel) perspectives is essential throughout atmospheric dynamics.

The momentum equation: Navier–Stokes on a rotating sphere

Newton's second law for a fluid parcel in an inertial frame gives the Navier–Stokes equations (Chapter 35, Section The Navier--Stokes equations: beauty and terror). Transforming to a reference frame rotating with the Earth at angular velocity 𝛀=Ω𝐤^ (where Ω=7.292×105s1 and 𝐤^ points toward the North Pole) introduces two pseudo-forces: the Coriolis acceleration 2𝛀×𝐮 and the centrifugal acceleration 𝛀×(𝛀×𝐫). The centrifugal term is absorbed into a modified gravitational acceleration 𝐠 (pointing effectively downward, of magnitude g9.81ms2). The result is the atmospheric momentum equation: (Momentum)D𝐮Dt+2𝛀×𝐮=1ρp+𝐠+𝐅, where p(𝐱,t) is pressure, ρ(𝐱,t) is air density, 𝐠=g𝐤^ is effective gravity, and 𝐅 represents frictional and turbulent drag forces (which act primarily in the planetary boundary layer and through parameterised gravity-wave drag).

The term 2𝛀×𝐮 is the Coriolis acceleration. In local coordinates at latitude ϕ, defining the Coriolis parameter f=2Ωsinϕ, the horizontal momentum equations take the familiar form: (Momentum U)DuDtfv=1ρpx+Fx,DvDt+fu=1ρpy+Fy,DwDt=1ρpzg+Fz. At mid-latitudes (ϕ45), f104s1, so the Coriolis force is significant for synoptic-scale motions (cyclones, anticyclones) but negligible at small scales (thunderstorms, boundary layer turbulence).

Remark 4 (Connection to Chapter 35).

Equation is the Navier–Stokes momentum equation (Chapter 35, Eq. (Momentum)) with two modifications: (i) the compressible form with variable density ρ, and (ii) the Coriolis pseudo-force arising from the rotating reference frame. The atmosphere is a compressible, stratified, rotating fluid, making it significantly more complex than the canonical incompressible setting studied in Chapter 35.

The continuity equation: conservation of mass

Mass conservation for a compressible fluid yields the continuity equation: (Continuity)ρt+(ρ𝐮)=0, or equivalently, using the material derivative: (Continuity Lagrange)DρDt+ρ𝐮=0. This states that the density of an air parcel changes only through divergence of the velocity field. A convergent flow (𝐮<0) compresses air parcels and increases their density.

In the Boussinesq approximation, valid for small density variations (useful for ocean dynamics but less so for the full atmosphere), ρ is treated as constant and one recovers the incompressibility condition 𝐮=0. The full atmosphere requires the compressible form.

The thermodynamic energy equation

The first law of thermodynamics applied to a fluid parcel gives the thermodynamic energy equation, governing temperature evolution: (Thermo)cpDTDt1ρDpDt=Q, where T(𝐱,t) is temperature, cp1005Jkg1K1 is the specific heat at constant pressure, and Q is the diabatic heating rate per unit mass (units Jkg1s1 =Wkg1). The diabatic heating Q encompasses:

  • Radiative heating: absorption of solar shortwave radiation and emission/absorption of terrestrial longwave radiation;

  • Latent heat release: phase changes of water (condensation releasing heat, evaporation absorbing heat);

  • Sensible heat fluxes: exchange of heat between the atmosphere and the underlying surface;

  • Diffusion and turbulent mixing: small-scale transport of heat by unresolved eddies.

When Q=0, the process is adiabatic: temperature changes only through compression and expansion as the parcel moves vertically in the pressure gradient.

Using the ideal gas law (Section The equation of state: the ideal gas law) to eliminate Dp/Dt, the thermodynamic equation can be rewritten in terms of potential temperature θ=T(p0/p)Rd/cp, where p0=1000hPa is a reference pressure and Rd=287Jkg1K1 is the gas constant for dry air: (Pottemp)DθDt=θcpTQ. Potential temperature θ is conserved following an adiabatic parcel and is the natural prognostic variable for the thermodynamic equation in NWP models.

The moisture equation

Water in the atmosphere exists in three phases (vapour, liquid, ice) and plays a crucial role in weather through cloud formation, precipitation, and latent heat release. The prognostic equation for specific humidity q (mass of water vapour per unit mass of moist air, kgkg1) is: (Moisture)DqDt=Sq, where Sq is the net source/sink term including:

  • condensation and evaporation from cloud microphysics;

  • precipitation (removing liquid water from the column);

  • surface evaporation (adding moisture at the lower boundary);

  • turbulent transport within the boundary layer.

In full models, separate equations are carried for cloud liquid water q, cloud ice qi, rain qr, and snow qs, each with its own source/sink parameterisation. The latent heat release when water vapour condenses directly feeds back into the thermodynamic equation via Q=LvSq, where Lv2.5×106Jkg1 is the latent heat of vaporisation.

The equation of state: the ideal gas law

Air behaves to excellent approximation as an ideal gas. The equation of state closes the system by relating pressure, density, and temperature: (EOS)p=ρRdTv, where Rd=287Jkg1K1 is the gas constant for dry air and Tv=T(1+(Rv/Rd1)q)T(1+0.608q) is the virtual temperature, which accounts for the lower molecular weight of water vapour (Rv=461Jkg1K1). For dry air (q0), TvT and the familiar ideal gas law p=ρRdT applies.

The primitive equations as a formal system

We can now state the complete governing system.

Definition 7 (Primitive equations).

The primitive equations of the atmosphere are the system of PDEs governing the evolution of wind (u,v,w), temperature T (or potential temperature θ), specific humidity q, and pressure p (or density ρ): (PRIM MOM)D𝐮Dt+2𝛀×𝐮=1ρp+𝐠+𝐅,(Momentum)DρDt+ρ𝐮=0,(Continuity)cpDTDt1ρDpDt=Q,(Thermodynamics)DqDt=Sq,(Moisture)p=ρRdTv.(State) This is a system of seven scalar PDEs (three momentum components, one continuity, one thermodynamic, one moisture, one algebraic state equation) in seven unknowns (u,v,w,ρ,T,q,p) as functions of (x,y,z,t), closed by prescribing the diabatic terms Q, Sq, and 𝐅 through parameterisation schemes.

Conservation properties

The primitive equations conserve fundamental physical quantities in the absence of diabatic forcing and friction. This is a cornerstone of both the theoretical analysis and the numerical implementation of atmospheric models.

Theorem 2 (Energy and mass conservation for the primitive equations).

Consider the primitive equations on a domain 𝒱 (the atmospheric volume) with no-normal-flow boundary conditions and 𝐅=0, Q=0, Sq=0. Then:

  1. Total mass conservation: (MASS CONS)ddt𝒱ρdV=0.

  2. Total energy conservation: The sum of kinetic energy 𝒦, internal energy , and potential energy 𝒫 is conserved: (Energy CONS)ddt(𝒦++𝒫)=0, where 𝒦=12𝒱ρ|𝐮|2dV, =𝒱ρcvTdV (cv specific heat at constant volume), and 𝒫=𝒱ρgzdV.

Sketch.

Mass conservation follows directly from the continuity equation by integrating over 𝒱 and applying the divergence theorem with no-normal-flow boundary conditions. Energy conservation follows from taking the scalar product of 𝐮 with the momentum equation to obtain the kinetic energy budget, adding the thermodynamic equation (rewritten as an internal energy equation using cv=cpRd), and adding the gravitational potential energy equation D(gz)/Dt=gw. The pressure work terms cancel through the continuity equation, yielding .

Remark 5.

Preserving these conservation laws discretely (i.e., in the numerical approximation) is a major constraint on the design of NWP models. A model that fails to conserve total mass will develop a spurious mass drift over long integrations. Mimetic discretisations and geometric integrators (Section Discretisation strategies) are designed precisely to inherit the continuous conservation properties.

The hydrostatic approximation

The atmosphere's extreme aspect ratio-horizontal scales of thousands of kilometres versus vertical scales of tens of kilometres-implies that vertical accelerations Dw/Dt are negligibly small compared to the dominant balance between gravity and the vertical pressure gradient. This yields the hydrostatic approximation, obtained by setting Dw/Dt=0 in Eq. : (Hydrostatic)pz=ρg. This single equation replaces the vertical momentum equation, reducing the prognostic system by one equation. Hydrostatic models are appropriate for horizontal scales larger than 10,km; at smaller scales (cloud-resolving models, large-eddy simulations), the full non-hydrostatic equations are required.

Combined with the shallow atmosphere approximation-treating the atmosphere as a thin shell so that ra throughout-one arrives at the equations used in virtually all global operational NWP models. Departures from the shallow atmosphere assumption become non-negligible only at very high altitudes.

Boundary conditions

The primitive equations require boundary conditions at two surfaces:

Lower boundary (Earth's surface).

At the surface z=zs(x,y) (terrain height), the kinematic boundary condition requires that no air passes through the surface: (BC Lower)w=zst+uzsx+vzsyat z=zs. For a stationary surface (zs/t=0), this says that vertical velocity equals the slope of the terrain times the horizontal wind-air is deflected over mountains. Thermodynamic and moisture boundary conditions prescribe surface fluxes of heat and water vapour, computed from land-surface and ocean models.

Upper boundary (top of atmosphere).

At the model top z=ztop, the pressure is set to a small value (ptop0.11hPa, corresponding to the stratosphere or mesosphere). A sponge layer absorbs spurious wave reflections near the model top.

Atmospheric structure

The primitive equations govern motion throughout the atmosphere, but different vertical layers have distinct dynamical regimes. Figure fig:weather:layers shows the standard atmospheric stratification.

Vertical structure of the atmosphere, showing the four main layers, their typical height ranges, and approximate pressures at layer boundaries. Nearly all weather occurs in the troposphere, where temperature decreases with altitude. The stratosphere is characterised by a temperature inversion caused by ozone absorption of ultraviolet radiation. NWP models typically extend to the upper stratosphere or lower mesosphere (p10.1hPa).

Why direct numerical simulation is impossible

Remark 6 (The scale problem: why DNS of the atmosphere is impossible).

The atmosphere contains approximately Nmol1×1044 molecules. A direct numerical simulation (DNS) resolving every molecular interaction would require a computational mesh with 1044 grid points. Even if each grid point required only one byte of storage, this would demand 1044,bytes-roughly 1021 times more than all the data ever created by humanity.

More concretely, atmospheric turbulence spans scales from the molecular mean free path (107,m) to synoptic systems (106,m), a range of 1013 in length. DNS of Navier–Stokes at the atmospheric Reynolds number Re1010 would require a three-dimensional grid of Re9/41022 points per atmospheric layer (Kolmogorov scaling). A global DNS is utterly beyond any conceivable computing technology.

This fundamental impossibility is the reason why parameterisation, numerical approximation, and machine learning are not merely convenient, but necessary, for any practical atmospheric simulation.

Parameterisation of sub-grid processes

Because a global NWP model operates on a grid with typical spacing Δx550km, all physical processes occurring at smaller scales must be parameterised: represented through equations relating their aggregate effect to the resolved grid-scale variables. The main parameterisation schemes in a state-of-the-art NWP model are:

Radiation.

Atmospheric radiation involves absorption and emission across millions of spectral lines of H2O, CO2, O3, and other gases. Full line-by-line calculations are computationally prohibitive for NWP; instead, two-stream approximations or correlated-k methods provide accurate broadband fluxes at manageable cost. Radiation parameterisation is among the most computationally expensive components of a GCM.

Convection.

Thunderstorms and moist convection organise at scales of 1–10,km, far below the grid scale of global models. Mass flux or entraining plume schemes represent the effects of deep and shallow convection on the column temperature and moisture profiles. Errors in convective parameterisation are among the leading sources of forecast error in the tropics.

Cloud microphysics.

The formation and growth of cloud droplets, ice crystals, and precipitation particles involves processes from nanometre to millimetre scales. Bulk microphysics schemes represent clouds through moment equations for the distribution of hydrometeor sizes; spectral bin schemes are more accurate but far more expensive.

Planetary boundary layer.

The lowest 1–2,km of the atmosphere is the planetary boundary layer (PBL), where turbulent eddies transfer momentum, heat, and moisture between the surface and the free atmosphere. PBL schemes typically use mixing-length or turbulence kinetic energy (TKE) closures to represent this transport.

Gravity wave drag.

Sub-grid-scale orographic and convective gravity waves transport momentum vertically, decelerating the large-scale flow when they break. This drag is critical for the correct simulation of the stratospheric circulation and must be parameterised in global models.

The parameterisation problem is not merely a technical inconvenience-it is a fundamental scientific challenge. Errors in parameterisation account for a large fraction of model bias and uncertainty, particularly in climate projections. Machine learning approaches to learned parameterisation (replacing hand-tuned schemes with data-driven approximations) are an active frontier, discussed in later sections.

Historical background: from Richardson to ENIAC

The idea that weather could be predicted by solving the equations of fluid motion numerically dates to Lewis Fry Richardson (1881–1953). In his landmark 1922 book Weather Prediction by Numerical Process, Richardson described in extraordinary detail a scheme for solving the primitive equations on a grid, using a network of 64,000 human computers working in parallel in a vast “forecast factory”. His own attempt at a 6-hour forecast for a point in central Europe-carried out by hand during World War I-took approximately six weeks to compute and produced a catastrophically wrong answer (a pressure change of 145,hPa, when the observed change was near zero) due to an inadequate initialisation procedure.

Richardson's vision proved prophetic. The missing ingredient was data assimilation: a method for initialising the model state consistently with the underlying equations. Without it, the initial conditions contain fast-moving acoustic and gravity waves that swamp the slower weather-bearing Rossby waves, causing the forecast to explode.

The breakthrough came in 1950, when Jule Charney, Ragnar Fjortoft, and John von Neumann produced the first successful numerical weather forecast on the ENIAC computer at the Aberdeen Proving Ground in Maryland (the team was based at the Institute for Advanced Study in Princeton). Working with a simplified barotropic vorticity equation (a single-level filter that eliminates the problematic fast waves), they ran 24-hour forecasts for the 500,hPa geopotential height field over North America. The computation took 24 hours of ENIAC time to produce a 24-hour forecast-a ratio of 1:1. Today's operational models run at ratios of order 103:1 (about 103 seconds of forecast produced per second of wall-clock time), reflecting seven decades of algorithmic and hardware advances.

Remark 7 (Richardson's legacy).

Richardson's forecast factory was not merely a quaint historical curiosity: it was the first explicit description of a massively parallel computation. Von Neumann's decision to use ENIAC for weather prediction-rather than nuclear weapons calculations-was motivated by his belief that atmospheric simulation would drive the development of digital computing. He was right. The history of NWP is inseparable from the history of supercomputing.

Exercises for Section The Governing Equations of the Atmosphere

Exercise 7.

The Coriolis parameter at the equator is f=0 and increases to f=2Ω1.46×104s1 at the poles.

  1. At latitude ϕ=45N, compute the Coriolis parameter f and the inertial period Tinertial=2π/f (time for a fluid parcel to complete one inertial oscillation).

  2. A synoptic-scale cyclone has horizontal winds of U20ms1 and a radius of L1000km. Compute the Rossby number Ro=U/(fL). Is the Coriolis force important for this system?

  3. For a thunderstorm with U30ms1 and L10km, compute Ro. Can we neglect rotation for thunderstorms?

Exercise 8.

  1. Starting from the ideal gas law p=ρRdT and the hydrostatic balance p/z=ρg, derive the hypsometric equation relating the thickness Δz of an atmospheric layer to its mean temperature: Δz=RdTgln(p1p2), where T is the mean temperature of the layer and p1>p2 are the pressures at the bottom and top of the layer.

  2. The 850500hPa layer has a mean temperature of 5C in winter and +15C in summer. Compute the thickness difference between the two seasons. (This thickness field is a standard diagnostic in operational forecasting.)

  3. Show that for an isothermal atmosphere at temperature T0, pressure decays exponentially: p(z)=p0exp(z/H), where H=RdT0/g is the scale height. Evaluate H for T0=255K.

Exercise 9.

Consider a global NWP model with horizontal resolution Δx=25km. A deep convective cloud cluster has a typical horizontal scale of 10km and releases latent heat of Lv=2.5×106Jkg1 at a rate of q˙c=5×104kgkg1h1.

  1. Compute the diabatic heating rate Q=Lvq˙c in Kh1 (use cp=1005Jkg1K1).

  2. This cloud cluster cannot be resolved on the 25,km grid. Explain why simply ignoring it (setting Q=0 in that grid column) leads to a systematic cold bias in the tropics.

  3. A machine learning parameterisation trained on cloud-resolving model output is used in place of the traditional convective scheme. Describe two potential failure modes: one related to out-of-distribution inputs and one related to physical conservation.

Numerical Weather Prediction Foundations

“NWP is the crown jewel of computational science: a discipline where every factor of two in resolution, every percentage point improvement in initialisation, every better parameterisation scheme translates directly into lives saved and economic losses prevented.” - Attributed to Peter Lynch

The primitive equations of Section The Governing Equations of the Atmosphere form a continuous system of PDEs. To solve them on a computer, we must discretise them: approximate the continuous fields on a finite set of grid points or basis functions, and advance the solution forward in time using a discrete time-stepping scheme. This is the domain of Numerical Weather Prediction (NWP).

NWP is not simply “computational weather”. It is a sophisticated interplay between numerical analysis (stability, accuracy, convergence), dynamical meteorology (wave propagation, balanced flow, geostrophy), computational science (parallelisation, I/O at scale), and data science (assimilation, ensemble generation, probabilistic post-processing). Modern NWP systems represent one of the most complex software engineering endeavours in science-the ECMWF Integrated Forecasting System (IFS) comprises more than two million lines of Fortran code, accumulated over 40 years of continuous development.

Definition 8 (Numerical weather prediction model).

A numerical weather prediction (NWP) model is a computational system that:

  1. approximates the primitive equations on a discrete grid or spectral basis;

  2. advances the atmospheric state forward in time from prescribed initial conditions;

  3. applies parameterisation schemes for sub-grid physical processes (radiation, convection, microphysics, boundary layer, gravity waves);

  4. produces gridded output fields (wind, temperature, precipitation, etc.) at specified future times.

Discretisation strategies

Three main families of spatial discretisation are used in NWP:

Finite differences

The simplest approach: replace spatial derivatives by algebraic differences between neighbouring grid points. For a uniform grid with spacing Δx, the second-order centred difference for the first derivative is (FD)ux|iui+1ui12Δx+O(Δx2). Finite differences are simple to implement and easily adapted to stretched or variable grids, but achieving high accuracy requires large stencils (many neighbouring points), and formulating them on the sphere requires care near the poles (the “pole problem”).

Spectral methods

In spectral methods, the prognostic variables are expanded in a truncated series of global basis functions. For the sphere, the natural basis is spherical harmonics: (Spectral)u(λ,ϕ,t)=n=0Nm=nnu^nm(t)Ynm(λ,ϕ), where Ynm are spherical harmonics of wavenumber n and zonal wavenumber m, and u^nm(t) are spectral coefficients. A triangular truncation at total wavenumber N (denoted TN) resolves features with a minimum wavelength of approximately πa/N where a is Earth's radius. ECMWF's operational IFS uses cubic-octahedral grids: TCo1279 (9km) for high-resolution deterministic forecasting (HRES) and TCo639 (18km) for the ensemble.

Spectral methods achieve spectral accuracy (exponentially fast convergence for smooth fields) and automatically avoid the pole problem. They dominated global NWP from the 1970s through the 2000s. Their main limitation is that non-linear terms must be evaluated in grid space and transformed (via fast Legendre and Fourier transforms), adding cost, and that they are poorly suited to massively parallel architectures with local memory-motivating the shift to finite-volume and finite-element approaches.

Semi-Lagrangian schemes

In the semi-Lagrangian approach, the advection step is solved by tracking trajectories backward in time: to find the value of a field ψ at grid point 𝐱i at time t+Δt, one solves for the departure point 𝐱 such that a parcel currently at 𝐱 will reach 𝐱i by time t+Δt, then interpolates ψ(𝐱,t) from surrounding grid points: (SL)ψ(𝐱i,t+Δt)ψ(𝐱,t)+ΔtS~(𝐱,t), where S~ collects all non-advective source terms. The key advantage: unlike Eulerian advection, the semi-Lagrangian scheme is unconditionally stable with respect to the Courant number cΔt/Δx, allowing time steps 5–10 times larger than explicit Eulerian schemes. Combined with semi-implicit treatment of gravity waves (below), this gives the dominant time-stepping strategy for global NWP.

Grid types

The choice of horizontal grid profoundly affects the performance and scalability of an NWP model:

Gaussian grid.

The standard grid for spectral models: latitudinal grid points are placed at the zeros of Legendre polynomials (Gaussian latitudes), with a regular spacing in longitude. Efficient for Legendre transforms but has a very high point density near the poles (leading to extremely small effective grid spacings and very short stable time steps for explicit schemes).

Reduced Gaussian grid.

A practical modification: the number of longitudinal points is reduced near the poles so that the grid spacing remains roughly uniform in physical distance. ECMWF's IFS uses the octahedral reduced Gaussian grid (ON), where the number of points near the poles decreases following a specific octahedral tessellation. This reduces the total number of grid points by 20% compared to the full Gaussian grid and improves computational efficiency.

Cubed sphere.

The sphere is divided into six faces of a cube, each discretised with a regular Cartesian grid. The cubed sphere avoids the pole singularity and maps well to parallel architectures (six independent patches). It is used in GFDL's FV3 dynamical core (which underlies NOAA's GFS and GEFS after 2019), the NASA GEOS model, and others.

Icosahedral (triangular and hexagonal) grids.

The sphere is tiled with triangles or hexagons derived from the geodesic refinement of an icosahedron. These grids achieve near-uniform resolution across the globe and are well-suited to adaptive mesh refinement. Germany's ICON model (Icosahedral Non-hydrostatic) uses a triangular-cell icosahedral grid; Japan's Nonhydrostatic ICosahedral Atmospheric Model (NICAM) uses a hexagonal formulation.

Time integration: semi-implicit and semi-Lagrangian schemes

Atmospheric dynamics contain waves of very different speeds. Acoustic waves travel at 300ms1; gravity waves at 100300ms1; Rossby (weather) waves at 1030ms1. An explicit time-stepping scheme must satisfy the Courant–Friedrichs–Lewy (CFL) condition ΔtΔx/cmax with respect to the fastest wave speed cmax, making time steps impractically small.

The semi-implicit approach treats fast linear waves (gravity and acoustic) implicitly and slow nonlinear terms explicitly. Writing the governing equations as (Semiimplicit Abstract)𝐗t=L𝐗+N(𝐗), where L contains the linear (fast-wave) terms and N the nonlinear (slow) terms, the semi-implicit time step reads: (Semiimplicit)𝐗n+1𝐗nΔt=L(𝐗n+1+𝐗n2)+N(𝐗n). This is the two-time-level semi-implicit scheme. Solving for 𝐗n+1 requires inverting a linear system (IΔt2L)𝐗n+1=RHS, which in spectral space decouples into independent systems for each wavenumber-a crucial efficiency. Combined with semi-Lagrangian advection, this approach allows time steps of Δt1800s (30 minutes) at Δx25km resolution, compared to Δt60,s required for explicit Eulerian schemes.

Data assimilation fundamentals

The most accurate numerical model is useless without good initial conditions. The process of constructing the best estimate of the atmospheric state at a given time, combining information from a short-range model forecast (the background) with all available observations, is called data assimilation.

Remark 8 (Why initialisation matters: Richardson's lesson).

As noted in Section Historical background: from Richardson to ENIAC, Richardson's first forecast failed not because of errors in the equations or the numerical scheme, but because his initial conditions were dominated by spurious high-frequency noise. Correct initialisation is half the battle in NWP.

The variational framework: 3D-Var and 4D-Var

Data assimilation can be formulated as a Bayesian inference problem. Let 𝐱n denote the atmospheric state vector (all model variables on all grid points; n109 for modern models) and let 𝐲m denote the observation vector (m107 observations per 6-hour window for ECMWF). The background state 𝐱b is a short-range forecast from the previous cycle, with error covariance 𝐁n×n. Each observation yihi(𝐱)+ϵi is related to the state through a (possibly nonlinear) observation operator hi, with observational error ϵi having covariance 𝐑m×m.

The maximum a posteriori (MAP) estimate minimises the cost function: (3dvar)𝒥(𝐱)=12(𝐱𝐱b)𝐁1(𝐱𝐱b)+12(𝐲H(𝐱))𝐑1(𝐲H(𝐱)), where H:nm is the observation operator mapping the model state to observation space.

  • 3D-Var (three-dimensional variational assimilation): minimise 𝒥(𝐱) over a single time level, treating all observations as simultaneous. This is computationally cheap but ignores the temporal structure of observation coverage.

  • 4D-Var (four-dimensional variational assimilation): minimise a time-extended cost function (4dvar)𝒥(𝐱0)=12(𝐱0𝐱b)𝐁1(𝐱0𝐱b)+12k=0K(𝐲kHk(𝐱k))𝐑k1(𝐲kHk(𝐱k)), where 𝐱k=0k(𝐱0) is the model state at time tk obtained by running the forecast model forward from the initial state 𝐱0. The gradient 𝐱0𝒥 is computed using the adjoint model-the transpose of the linearised forward model's tangent linear. 4D-Var is used operationally by ECMWF and is the gold standard for NWP initialisation, but requires maintaining the adjoint code of the full forecast model.

The ensemble Kalman filter

The Ensemble Kalman Filter (EnKF), introduced by Evensen (1994) and widely used in NWP since the 2000s, approximates the background error covariance 𝐁 by the sample covariance of a finite ensemble of model states.

An ensemble of K members {𝐱(k)}k=1K (typically K=20100) is evolved forward from the previous analysis: (ENKF Forecast)𝐱k(k)=(𝐱k1(k))+𝜼(k),k=1,,K, where 𝜼(k) is a model error perturbation. The sample background covariance is (ENKF B)𝐁𝐁^=1K1k=1K(𝐱(k)𝐱)(𝐱(k)𝐱), where 𝐱=K1k𝐱(k) is the ensemble mean.

The Kalman gain matrix (Kalman GAIN)𝐊=𝐁^H(H𝐁^H+𝐑)1n×m provides the analysis update (analysis step) for each ensemble member: (ENKF Analysis)𝐱a(k)=𝐱b(k)+𝐊(𝐲+𝝐(k)H(𝐱b(k))), where 𝝐(k)𝒩(𝟎,𝐑) are perturbed observations that prevent ensemble collapse. The ensemble mean of {𝐱a(k)} is the analysis state used to initialise the forecast.

Remark 9 (Why data assimilation is expensive).

The state dimension of a global NWP model is n109 (e.g., ECMWF IFS at TL639 with 137 vertical levels and 8 variables per grid point has n1.4×109). Storing 𝐁n×n directly is impossible: it would require 1018 floating-point numbers, or 106107,TB (a few exabytes). The entire point of variational and ensemble methods is to represent 𝐁 implicitly (through the adjoint model or through Kn ensemble members).

Even so, 4D-Var minimisation typically requires O(100) iterations of the forward and adjoint model, each costing as much as a 12-hour forecast. ECMWF's entire data assimilation system (observations, quality control, assimilation, post-processing) consumes more compute than the forecast itself. It is among the most expensive scientific computations performed operationally in the world.

Reanalysis datasets

Definition 9 (Reanalysis).

A reanalysis is a consistent historical record of the atmospheric (and sometimes oceanic and land-surface) state, produced by running a fixed data assimilation system over a multi-decadal historical period using all available historical observations. Because the model and assimilation system are fixed throughout, reanalysis datasets are temporally homogeneous-changes in the record reflect changes in the real atmosphere, not changes in the analysis system. Reanalyses serve as the primary training data source for data-driven weather models.

The three most widely used reanalysis products in current AI weather research are:

ERA5 (ECMWF Reanalysis v5).

ERA5 covers 1940 to present at 0.25 (28km) horizontal resolution with 137 vertical pressure levels and hourly output. It assimilates more than 109 observations per year using ECMWF's 4D-Var system. ERA5 is the primary training dataset for virtually all published AI weather models (FourCastNet, Pangu-Weather, GraphCast, GenCast, AIFS, and others). The full ERA5 archive (1940–present, all variables, all levels, hourly) occupies 5,PB.

MERRA-2 (Modern-Era Retrospective analysis for Research and Applications, Version 2).

NASA's MERRA-2 reanalysis covers 1980–present at 0.5×0.625 resolution with 72 vertical levels. It is particularly valued for its treatment of aerosols and its long-term consistency in the hydrological cycle, and is widely used in climate research and machine learning applications requiring aerosol and composition data.

JRA-55 (Japanese 55-year Reanalysis).

Produced by the Japan Meteorological Agency (JMA), JRA-55 covers 1958–present at 55km resolution. Its extended temporal coverage (starting before the satellite era) makes it valuable for long-term trend analysis and for training models that must generalise across a wider range of climate states.

The NWP pipeline

Figure fig:weather:pipeline shows the complete pipeline of a modern operational NWP system.

The operational NWP pipeline. Observations from diverse sources (weather satellites, radiosondes, aircraft, surface stations, ocean buoys) are quality-controlled and assimilated with a short-range background forecast to produce the initial state. The forecast model advances this state forward in time; post-processing (statistical calibration, ensemble spread, probabilistic products) converts raw model output into operational products for end users. The dashed arrow shows how the current forecast becomes the background for the next assimilation cycle.

Operational NWP systems

The world's major operational NWP centres maintain global models that run multiple times per day, 365 days per year, and provide the backbone of public weather forecasts. Table Table 2 summarises the key operational systems as of 2024.

SystemCentreDet. res.Ens. membersTop levelDynamical core
IFS (HRES)ECMWF9km1 (det.)0.01hPaSpectral + SL
IFS (ENS)ECMWF18km500.01hPaSpectral + SL
GFSNOAA/NCEP13km1 (det.)0.002hPaFV3 (cubed sphere)
GEFSNOAA/NCEP25km300.2hPaFV3 (cubed sphere)
UM (MOGREPS-G)UKMO10km1880kmENDGame (semi-impl.)
ICONDWD/MPI-M13km40 (ICON-EPS)0.01hPaIcosahedral FV
GSMJMA20km27 (GEPS)0.01hPaSpectral + SL
SL = semi-Lagrangian; FV = finite volume; det. = deterministic; ens. = ensemble; res. = resolution.
ECMWF's AIFS (AI model) runs alongside IFS but is not listed as it uses a different paradigm.
Comparison of major operational global NWP systems (approximate figures as of 2024; values change with each model upgrade).
ECMWF IFS.

The European Centre for Medium-Range Weather Forecasts (ECMWF) Integrated Forecasting System is widely considered the world's most accurate global NWP model, consistently outperforming competing systems on objective verification metrics over the 10-day range. It uses a spectral dynamical core with TCo1279 (9km) for deterministic and TCo639 (18km) for ensemble forecasting, 4D-Var data assimilation, and runs on the ECMWF supercomputer in Bologna (currently 6,petaflop/s sustained).

NOAA GFS.

The Global Forecast System is the primary operational model of the US National Centers for Environmental Prediction (NCEP), updated to the FV3 dynamical core on the cubed sphere in 2019. GFS data are freely available in near-real time, making it the primary training target for many ML weather benchmarks.

UKMO UM.

The UK Met Office Unified Model uses a non-hydrostatic, semi-implicit, semi-Lagrangian dynamical core (ENDGame) and the same model code from global scales down to storm-resolving nest domains-the “unified” philosophy. The probabilistic MOGREPS-G ensemble provides calibrated uncertainty estimates.

ICON.

The ICosahedral Nonhydrostatic model, developed jointly by the German Weather Service (DWD) and the Max Planck Institute for Meteorology, is the primary example of a production icosahedral-grid model. ICON is fully non-hydrostatic and can be run from global scales down to cloud-resolving resolution without changing the dynamical core.

JMA GSM.

The Japan Meteorological Agency's Global Spectral Model is the primary NWP model for East Asia and the western Pacific, where the JMA provides authoritative guidance on typhoon track and intensity.

Ensemble forecasting and uncertainty quantification

The atmosphere is a chaotic system: tiny differences in initial conditions amplify exponentially, so that after 14 days even a perfect model loses all predictive skill. This predictability limit (the Lorenz limit) means that a single deterministic forecast is incomplete: it provides no information about forecast uncertainty.

Ensemble forecasting addresses this by running K forecasts from slightly perturbed initial conditions (and, in modern systems, stochastic perturbations to the model physics): (Ensemble){𝐱T(k)}k=1K={0T(𝐱0(k))}k=1K,𝐱0(k)=𝐱0+𝜹k, where 𝜹k are carefully constructed initial perturbations (singular vectors, bred vectors, or EnKF perturbations) and K=50100 members. The ensemble mean approximates the expectation, and the ensemble spread provides a flow-dependent estimate of forecast uncertainty. Ensemble forecasting has transformed operational meteorology from deterministic prediction to probabilistic weather forecasting, enabling products such as probability of precipitation, percentile temperature forecasts, and severe weather risk maps.

Key Idea.

NWP is 70 years of hard-won physics and numerical mathematics AI-based weather models (Chapter 39, Sections 5–8) have achieved remarkable forecast skill by training on ERA5 reanalysis data and learning to approximate the mapping 𝐱t𝐱t+Δt. But this success rests on a foundation of 70 years of hard-won physics and numerical mathematics:

  • The primitive equations encode conservation laws, rotation effects, and thermodynamics developed from first principles over more than a century.

  • ERA5, the primary training data for AI models, is itself the output of a sophisticated NWP data assimilation system-AI models are, in effect, learning from NWP, not from raw observations.

  • Verification protocols, evaluation datasets, and physical consistency checks (conservation of mass and energy, geostrophic balance, precipitation physics) were developed by the NWP community and are essential for assessing AI model quality.

  • The failure modes of AI weather models (spectral truncation artefacts, hallucinated precipitation, unphysical vertical profiles) can only be diagnosed and corrected with the physical understanding provided by NWP science.

NWP is 70 years of hard-won physics and numerical mathematics that AI must build on, not replace. The most promising future systems will be hybrid: AI components embedded within or trained with guidance from the physical equations, combining the generalisation power of deep learning with the physical fidelity of NWP.

Exercises for Section Numerical Weather Prediction Foundations

Exercise 10.

Consider a global spectral NWP model with TL639 truncation (Δx16km) using a semi-implicit semi-Lagrangian scheme with time step Δt=1800s.

  1. The CFL condition for explicit Eulerian advection requires ΔtΔx/Umax. For gravity wave speed cg300ms1, what is the maximum stable time step for an explicit scheme at this resolution?

  2. By what factor does the semi-implicit semi-Lagrangian scheme allow the time step to exceed the explicit CFL limit?

  3. The forecast model runs for 10 days. Compute the total number of time steps required. If each time step takes 2.5 seconds of wall-clock time on the supercomputer, how long does the 10-day forecast take to produce?

Exercise 11.

A global EnKF system uses K=80 ensemble members on a model with n=2×109 state variables and assimilates m=5×106 observations every 6 hours.

  1. Compute the total memory required to store the full ensemble matrix 𝐗n×K in 32-bit floating point. Compare this to the memory required for the full background covariance matrix 𝐁n×n in 32-bit floating point.

  2. The Kalman gain computation requires forming 𝐇𝐁^𝐇m×m. Explain why this is infeasible to store directly, and describe the ensemble space approach that reduces the effective dimension of this system from m to K.

  3. A proposed AI surrogate replaces the 80-member ensemble with a single forward pass of a diffusion model conditioned on the current analysis. Discuss two physical requirements that such a surrogate must satisfy to be a valid replacement.

Exercise 12.

ERA5 provides hourly atmospheric state estimates on a 0.25 (28km) global grid with 137 pressure levels and covers 1940–present.

  1. Estimate the number of grid points in the ERA5 three-dimensional global grid. If each grid point stores K=8 prognostic variables in 32-bit floating point, what is the storage per hourly snapshot?

  2. ERA5 is described as a “reanalysis”, not a pure observational record. Explain three ways in which ERA5 data differ from direct atmospheric observations, and discuss implications for training AI weather models.

  3. In the pre-satellite era (before 1979), ERA5 has far fewer assimilated observations, particularly over the ocean and Southern Hemisphere. How would you expect the quality of ERA5 to differ between 1950 and 2010? What does this imply for AI weather models that train over the full 1940–present period?

Model Output Statistics and Early Post-Processing

By the early 1970s, numerical weather prediction had achieved a remarkable technical milestone: operational atmospheric models were running daily at major meteorological centres around the world, producing gridded forecasts of temperature, wind, humidity, and precipitation on scales of hundreds of kilometres. Yet operational forecasters faced a persistent and embarrassing problem. The model output was systematically wrong in ways that were entirely predictable. Temperature forecasts at Denver, Colorado were routinely too warm because the coarse model grid smoothed the sharp elevation gradients of the Rocky Mountain Front Range. Precipitation probabilities at coastal stations were biased because the model could not resolve mesoscale orographic lifting. Wind speeds at airport sites were consistently underestimated because the aerodynamic roughness of urban terrain was absent from the land-surface parameterisation.

The operational forecaster could see these errors accumulating. They knew, from years of experience, that the model always ran cold in the San Joaquin Valley in summer, always ran dry over the Appalachian windward slopes in winter, always underforecast the morning low at coastal stations. But there was no systematic framework for correcting these biases – only institutional memory, forecaster experience, and manual adjustment.

It was into this gap that Harry Glahn and Dale Lowry stepped in 1972 with a paper that would reshape operational meteorology for the next five decades.

The Glahn–Lowry Paper and the MOS Framework

The fundamental insight of Glahn and Lowry was to treat the relationship between NWP model output and observed weather at a specific surface station as a statistical estimation problem. Rather than attempting to correct the model's physics – an enormously difficult task – one could instead learn a statistical mapping from model-predicted quantities to locally observed quantities, using historical pairs of model forecasts and verifying observations.

This idea rested on three prior observations. First, model errors are not random; they are systematic, location-specific, and seasonally varying. Second, the model's large-scale fields contain genuine skill – correctly capturing synoptic-scale patterns such as frontal passages, cyclone tracks, and upper-level ridges – even when local surface variables are poorly forecast. Third, multiple model output fields (upper-level temperatures, geopotential heights, absolute vorticity, precipitable water) contain complementary information about local weather conditions that no single predictor captures alone.

These three observations collectively motivate the use of multiple linear regression applied to a carefully selected subset of model output fields as predictors of a surface meteorological variable of interest. The method Glahn and Lowry developed for selecting this subset – screening regression – became the methodological core of operational MOS.

Definition 10 (Model Output Statistics).

Let 𝐱p denote a vector of predictors derived from numerical weather prediction model output at a forecast lead time τ, and let y denote a scalar predictand – an observed meteorological quantity at a specific surface station. Model Output Statistics (MOS) is the family of statistical post-processing methods that estimate y as a function (Basic)y^=f(𝐱;𝜷^) where f is fitted by regression over a developmental sample of historical model–observation pairs {(𝐱t,yt)}t=1N. In its classical linear form, (Linear)y^=β^0+β^1x1+β^2x2++β^kxk, where kp predictors are chosen by a sequential screening procedure that maximises reduction in mean-squared error at each step.

The definition captures several important degrees of freedom that distinguish MOS from naive bias correction. First, the predictor vector 𝐱 may contain not only the model's direct forecast of the predictand (e.g., the model's 2-metre temperature forecast) but also indirect predictors: upper-level temperatures, thickness values, vorticity, relative humidity at multiple pressure levels, and even squared or product terms formed from primary predictors. Second, the mapping is station-specific: a separate regression equation is fitted for each station and each forecast lead time. Third, the mapping implicitly performs both bias correction (removing systematic mean errors) and downscaling (bridging the spatial resolution gap between the coarse model grid and the point observation).

Sequential Screening Regression

The central algorithmic challenge in MOS equation development is predictor selection. A modern NWP model may produce forecasts of hundreds of variables at dozens of pressure levels and multiple lead times, yielding a predictor pool of potentially thousands of candidates for a single predictand. Including all predictors in the regression would produce severe overfitting on the developmental sample and numerically unstable coefficient estimates.

The solution adopted by Glahn and Lowry – and still used in operational MOS development today – is sequential forward screening, a greedy procedure that builds the regression equation one predictor at a time.

Algorithm 1 (Sequential Forward Screening for MOS).

  1. Initialise. Let 𝒮= be the current predictor set and S02=𝖵ar(y) be the baseline mean-squared error (variance of the predictand).

  2. Screen. For each candidate predictor xj𝒮, compute the reduction in mean-squared error Δj that would result from adding xj to the current regression equation.

  3. Select. Add xj with j=arg maxjΔj to 𝒮, provided Δj exceeds a prescribed entry threshold (typically corresponding to a partial F-test p-value below 0.05).

  4. Check retention. Retest all predictors already in 𝒮 via partial F-tests; remove any whose marginal contribution has fallen below a retention threshold.

  5. Iterate. Return to step 2 until no candidate predictor meets the entry criterion, or until a prescribed maximum number of predictors is reached (typically k10 in classical MOS).

The screening algorithm is conservative by design. The entry and retention criteria prevent the inclusion of predictors whose apparent skill is an artefact of the finite developmental sample rather than genuine meteorological signal. The check-retention step (step 4) is particularly important: as new predictors enter the equation, previously entered predictors may become redundant due to multicollinearity, and their removal improves the equation's out-of-sample performance.

The result of the screening procedure for a specific station, predictand, and lead time is a small set of regression coefficients 𝜷^=(β^0,β^1,,β^k) that defines the MOS equation. These coefficients are stored and applied in real time: when the NWP model produces a new forecast, the predictor values are extracted, fed into the equation, and the local station forecast is produced within seconds.

Predictands: Temperature, Precipitation, and Wind

Operational MOS systems develop separate equation sets for each predictand. The three predictand families of greatest economic and social importance are surface temperature, precipitation occurrence and amount, and wind.

Temperature predictands.

The most important temperature predictands are maximum daytime temperature (Tmax) and minimum overnight temperature (Tmin) at the 2-metre standard observation height. These quantities drive energy demand, agricultural frost risk, human health impacts, and transportation planning. Classical MOS predictors for Tmax include the model's 850-hPa temperature (which is largely free of surface boundary-layer errors), the model's 2-metre temperature (which carries the direct low-level information despite its biases), 1000–500-hPa thickness (a proxy for the mean tropospheric temperature), relative humidity, and the sine and cosine of the day of year (to capture seasonal residual biases after the climatological mean is removed).

Precipitation predictands.

The primary precipitation predictand in classical MOS is the probability of precipitation (PoP), defined as the probability that measurable precipitation (0.01 inches) occurs within a specified time window (typically 12 or 24 hours) at or near the forecast station. Because PoP is a probability rather than a continuous quantity, the linear regression output must be transformed; the classical approach uses a linear regression for a conditional expectation and then truncates predictions to [0,1], though in practice the regression coefficients are chosen so that the fitted values naturally fall within a physically plausible range. More sophisticated extensions include the use of logistic regression or probit regression applied to a dichotomous (occurrence/non-occurrence) observation.

Wind predictands.

Wind is the most challenging classical MOS predictand because it is inherently two-dimensional and exhibits strong non-Gaussianity due to the directional wrapping of the wind rose. Operational MOS systems typically forecast wind speed and wind direction separately, using the model's 10-metre wind components u10 and v10 as primary predictors but also including terrain-adjusted wind exposure indices, mixing-layer depth, and roughness-length corrections specific to each station's exposure category.

Bias Correction and Downscaling

The two most important functions performed by MOS regression equations – beyond pure statistical prediction – are systematic bias correction and spatial downscaling. These are conceptually distinct but are accomplished simultaneously by the same regression coefficients.

Systematic bias correction.

Let μy denote the climatological mean of the predictand at the station and μx~1 denote the long-run mean of the primary model predictor. If the model has a systematic warm bias b=μx~1μy>0, the intercept term β^0 will adjust downward to compensate. More precisely, taking expectations of the MOS equation over the developmental sample: (Unbiasedness)𝔼[y^]=β^0+j=1kβ^j𝔼[xj]=y, so the MOS forecast is unbiased over the developmental period by construction. This is the climatological unbiasedness property of ordinary least-squares regression, and it guarantees that MOS forecasts will not exhibit the systematic warm or cold biases present in the raw NWP output.

Spatial downscaling.

The NWP model produces forecasts on a grid with spacing of order 10–100 km in operational systems. A surface station may sit at an elevation, land-surface type, or coastal proximity that differs substantially from the grid-cell average. The MOS regression coefficients encode this discrepancy implicitly: if the station sits in a valley that is systematically 3C cooler than the surrounding plateau that dominates the model grid cell, that constant offset is absorbed by the regression intercept β^0; a slope different from unity instead encodes an amplified or damped sensitivity of the station to the large-scale thermal signal. No explicit terrain correction is applied; the statistics of the developmental sample speak for themselves.

Remark 10.

The implicit downscaling accomplished by MOS is both its greatest strength and its greatest weakness. It is a strength because it requires no knowledge of the physical mechanism responsible for the local anomaly – the statistics encode whatever causal relationship exists. It is a weakness because it can only correct for stationary local effects: those that are present consistently enough in the developmental sample to appear as a stable statistical relationship. Climate change, station relocation, and changes in land use can all invalidate the developmental-sample statistics and introduce new biases that MOS cannot detect or correct without retraining.

Example: MOS Equations for Maximum Temperature

To make the abstract framework concrete, consider a hypothetical MOS equation for maximum temperature (Tmax in F) at a mid-latitude inland station, valid 24–36 hours after model initialisation. After screening from a pool of 312 candidate predictors, suppose the screening algorithm selects the following five predictors:

VariableDescriptionPressure levelr
x12-metre temperatureSurface0.89
x2Temperature850 hPa0.82
x31000–500 hPa thickness0.74
x4Relative humidity700 hPa0.31
x5cos(2πd/365)0.27
Example predictor set selected by MOS screening for Tmax at a hypothetical inland station, 24-h lead time. r denotes the simple correlation with the predictand over the developmental sample.

The fitted MOS equation takes the form: (TMAX Example)T^max=4.7β^0+0.61β^1x1+0.28β^2x2+0.019β^3x30.15β^4x4+1.8β^5x5, where x3 is expressed in decametres and x4 in per cent.

Several features of equation are worth noting. The dominant predictor is x1, the model's own 2-metre temperature forecast, with a coefficient less than unity: this is regression attenuation, since the noisy predictor makes the least-squares fit shrink its slope toward the mean, so the regression pulls the model's temperature slightly toward the climatological mean. The 850-hPa temperature x2 provides an independent estimate of the synoptic thermal environment, adding skill beyond x1 alone because the 850-hPa level is largely above the boundary layer and hence less affected by surface parameterisation errors. The negative coefficient on x4 (mid-tropospheric relative humidity) captures the physical relationship between cloud cover (which suppresses maximum temperatures) and moisture. The seasonal harmonic x5 corrects for residual seasonal biases that persist after the large-scale predictors are included.

The MOS Pipeline: From NWP Output to Local Forecast

fig:weather:mos:pipeline illustrates the complete operational MOS workflow, from NWP model output through predictor extraction, regression application, and local forecast dissemination.

The MOS operational pipeline. The developmental (off-line) branch (green) uses historical model–observation pairs to fit regression coefficients via sequential screening; these coefficients are stored and applied in the operational (real-time) branch (blue). Dashed arrow indicates that the stored coefficients are loaded by the real-time regression step.

SAPEMOS and Regional Variants

The original Glahn–Lowry MOS framework was developed for the United States and relied on the dense observational network and long archive of NWP model runs that the National Weather Service had accumulated. Applying MOS in regions with sparse observational networks, short model archives, or less consistent station records required significant methodological adaptation.

SAPEMOS (South African Probabilistic Ensemble MOS) is a regional adaptation developed to provide probabilistic surface weather forecasts for southern Africa, where the observational network is far less dense than in North America or Europe. SAPEMOS addresses the data-sparsity problem through several innovations. First, it uses ensemble NWP output (rather than a single deterministic forecast) as the predictor set, so that forecast spread is available as an additional predictor alongside the ensemble mean; this allows the regression to encode the relationship between model uncertainty and forecast skill. Second, it employs spatial pooling across nearby stations to augment the effective developmental sample size, using station-specific dummy variables and elevation-adjusted corrections to retain station-specific information while borrowing statistical strength from the regional pool. Third, it outputs full probability distributions over the predictand rather than point forecasts, matching the needs of decision-makers in sectors such as agriculture, water management, and disaster preparedness.

Example 2 (SAPEMOS precipitation probability).

Let 𝐱eE×p denote the predictor matrix formed from an ensemble of E NWP members, each providing p output variables. SAPEMOS forms ensemble-derived predictors by stacking the ensemble mean 𝐱p and ensemble standard deviation 𝐬p into an augmented predictor vector 𝐳=[𝐱,𝐬]2p. The probability of exceeding a precipitation threshold τ is then modelled as (Logistic)P(y>τ|𝐳)=11+exp((α^0+𝜷^𝐳)), where α^0 and 𝜷^ are fitted by penalised logistic regression over the developmental sample of pooled station–season pairs. The ensemble spread predictors in 𝐬 allow the probability estimate to widen when the NWP ensemble is more uncertain, providing calibrated probabilistic output rather than a single probability estimate.

Classical Statistical Ensemble Post-Processing

The shift from single deterministic NWP runs to ensemble NWP systems – multiple model runs with perturbed initial conditions and model parameters – opened a new chapter in statistical post-processing. An ensemble is, in principle, a probabilistic forecast: the spread of ensemble members should encode forecast uncertainty. In practice, however, raw ensembles are both underdispersive (their spread is too narrow, underestimating uncertainty in smooth flows) and biased (systematic errors in initial perturbations and model parameterisations shift the ensemble mean away from the true state). Classical statistical ensemble post-processing methods were developed to correct these deficiencies.

Bayesian Model Averaging (BMA).

Raftery and colleagues introduced Bayesian Model Averaging (BMA) for weather forecasts in a landmark 2005 paper. The BMA approach treats each ensemble member as generating a conditional predictive distribution for the observation, and the overall predictive distribution is a weighted mixture: (BMA)p(y|𝐱1,,𝐱K)=k=1Kwkpk(y|𝐱k), where wk0, kwk=1 are mixture weights fitted by maximum likelihood (via the EM algorithm) over a training window, and pk(y|𝐱k) is a Gaussian predictive density centred at a bias-corrected version of ensemble member k.

Ensemble Model Output Statistics (EMOS).

Gneiting and colleagues proposed EMOS (also called Non-homogeneous Gaussian Regression, NGR) as a more parsimonious alternative to BMA. Rather than fitting a mixture distribution, EMOS fits a single Gaussian whose mean and variance are affine functions of the ensemble mean and variance: (EMOS)y|𝐱Normal(a+bx,c+ds2), where x is the ensemble mean, s2 is the ensemble variance, and (a,b,c,d) are fitted parameters. The parameters are estimated by minimising the continuous ranked probability score (CRPS) over a rolling training window.

Non-homogeneous Gaussian Regression (NGR).

NGR is essentially a synonym for EMOS, emphasising the statistical interpretation: the predictive variance is allowed to be a function of the ensemble spread (hence “non-homogeneous”), unlike classical homoscedastic regression where the residual variance is constant. This flexibility is critical for ensemble post-processing because the model's predictability varies substantially by weather regime: zonal, predictable flows yield small ensemble spread and tight predictive distributions, while amplified blocked patterns yield large spread and broad distributions.

Remark 11.

The use of CRPS as the fitting criterion for EMOS is not coincidental. CRPS is a proper scoring rule: it is minimised in expectation when the predictive distribution F equals the true conditional distribution of the observation. This means that fitting by CRPS encourages calibrated probability forecasts rather than merely accurate point forecasts – a crucial distinction in operational meteorology where downstream users make risk-weighted decisions.

Limitations of Linear MOS

For all its practical success, classical linear MOS carries fundamental limitations that became increasingly apparent as operational forecasters pushed into higher-resolution, higher-stakes prediction problems.

Linearity.

The central assumption of MOS is that the relationship between model output predictors and local observations is well approximated by a linear combination. This assumption is reasonable for large-scale temperature and thickness predictors, where the relationship is genuinely quasi-linear over synoptic scales. But it fails for a broad class of meteorologically important phenomena. Convective initiation – the transition from a stable, cloudless atmosphere to active convective precipitation – is intrinsically nonlinear: small changes in lower-tropospheric moisture and stability can flip the atmosphere from suppressed to convectively active within hours, a bifurcation that no linear model can represent.

Interactions.

A linear regression cannot capture the interaction between predictors. Severe wind gusts at a coastal station depend not on wind speed or atmospheric stability alone, but on their joint configuration: a marine layer that is both deep and strongly stable traps coastal jets more effectively than either condition alone. The product term xdepthxstability could in principle be added as a new predictor, but the curse of dimensionality quickly limits the number of interaction terms that can be included without overfitting on the developmental sample.

Spatial structure.

Classical MOS equations are fitted independently for each station, ignoring the spatial correlation structure of the atmosphere. Two stations 50 km apart share large fractions of their forecast error, and a method that models them jointly could exploit this correlation to improve both forecasts. Station-independent regression discards this information.

Regime dependence.

The statistical relationship between model output and observations can change dramatically between weather regimes. A regression equation fitted on climatological averages of all regime types will perform poorly in any specific regime, particularly extreme events where the atmosphere is furthest from its climatological state and where forecast accuracy matters most.

Caution.

These limitations of linear MOS are not merely technical inconveniences; they reflect a fundamental ceiling on the skill achievable by linear statistical post-processing. The nonlinear interactions, spatial dependencies, and regime sensitivities of the atmosphere require methods capable of learning complex, high-dimensional functional relationships – precisely the territory of machine learning, to which the remainder of this chapter and the following sections are devoted.

Historical Note: Harry Glahn at NOAA-MDL

Historical Note.

Harry Glahn and the Birth of MOS, 1972–2012.

Harry R. Glahn spent his entire career at the National Oceanic and Atmospheric Administration's Meteorological Development Laboratory (NOAA-MDL) in Silver Spring, Maryland, retiring in 2012 after four decades of contributions to statistical weather forecasting. His 1972 paper with Dale Lowry, “The Use of Model Output Statistics (MOS) in Objective Weather Forecasting,” published in the Journal of Applied Meteorology, introduced both the term “Model Output Statistics” and the methodological framework that would underpin operational US weather forecasting for the next half century.

Glahn's insight was that the growing power of numerical weather prediction could be harnessed not only through physical model improvement but through systematic statistical learning from model errors. At a time when machine learning did not exist as a field and “big data” was decades away, Glahn built MOS on the modest but reliable tools of linear regression and classical statistics. The result was remarkably durable: variants of the original screening regression approach continued to be used operationally at NOAA-MDL well into the 2010s, and the MOS equations for the Global Forecast System (GFS) model produced forecasts that outperformed raw NWP output by statistically significant margins at virtually every US station.

Glahn's other contributions included the development of the Model Output Statistics Message (MOSM) format, which allowed MOS forecasts to be transmitted to weather offices in a compact binary format, and foundational work on the probabilistic interpretation of MOS output. He was awarded the American Meteorological Society's Award for Outstanding Contribution to the Advance of Applied Meteorology in 2000.

Exercises

Exercise 13.

Let yt denote the observed maximum temperature at a station on day t and let x1t,x2t denote the NWP-predicted 2-metre temperature and 850-hPa temperature respectively. Derive the ordinary least-squares estimator 𝜷^ for the two-predictor MOS equation y^=β0+β1x1+β2x2, and show that the fitted values {y^t} are unbiased over the developmental sample (i.e., y^=y). What happens to the unbiasedness property if the regression is fitted without an intercept term?

Exercise 14.

The Continuous Ranked Probability Score (CRPS) for a predictive distribution F and scalar observation y is defined as (CRPS)CRPS(F,y)=(F(z)𝟏[zy])2dz. Show that for a Gaussian predictive distribution F=Normal(μ,σ2), the CRPS has the closed form CRPS=σ[u(2Φ(u)1)+2ϕ(u)π1/2] where u=(yμ)/σ, ϕ is the standard normal density and Φ is the standard normal CDF. Verify that CRPS(F,y)0 with equality only when F is the point mass at y.

Exercise 15.

In the SAPEMOS logistic regression model , the augmented predictor vector includes both ensemble mean 𝐱 and ensemble standard deviation 𝐬. Explain intuitively why including 𝐬 as a predictor can improve probabilistic calibration even when 𝐬 has low correlation with the observation y itself. Under what meteorological conditions would you expect the ensemble spread to carry the most additional information beyond the ensemble mean?

Early Machine Learning in Meteorology

The closing years of the twentieth century brought a surge of interest in applying artificial neural networks to meteorological problems. The appeal was obvious: neural networks are universal approximators, capable in principle of learning arbitrary nonlinear mappings from input to output, and the limitations of linear MOS that we documented in the previous section were precisely the limitations that nonlinear function approximation promised to cure. Convective initiation, regime-dependent forecast skill, complex multiway predictor interactions – all of these phenomena involve nonlinearities that a sufficiently expressive neural network could in principle capture.

The reality, as we shall see, was more complicated. The neural networks of the 1990s and early 2000s were shallow – almost universally single-hidden-layer multilayer perceptrons trained by backpropagation. They were trained on modest datasets that were large by the standards of their era but tiny by those of modern deep learning. They ran on hardware orders of magnitude slower than contemporary GPUs. And they were applied to a forecasting problem whose spatiotemporal complexity would not be revealed until convolutional and recurrent architectures, trained on continental- scale radar archives, arrived two decades later.

Nevertheless, the early ML literature in meteorology is far from insignificant. It established the conceptual vocabulary of learned weather prediction, documented the first systematic experiments with nonlinear post-processing, and laid intellectual groundwork on which deep learning methods would later build. Understanding why these early methods were ultimately limited – and what was needed to overcome those limits – is essential context for appreciating the deep learning revolution in weather forecasting.

Key Idea.

Early machine learning in meteorology was fundamentally post-processing, not forecasting. The neural networks of the 1990s and 2000s took NWP model output as input and learned to correct or refine it, just as MOS did, but with nonlinear function approximators replacing linear regression. The idea of replacing the NWP model itself with a learned dynamical system – the aspiration of modern foundation models for weather – would not become computationally feasible for another two decades.

The First Wave: 1990s ANN Applications

The first serious applications of artificial neural networks to weather problems appeared in the early 1990s, driven by the renewed interest in connectionism that followed the rediscovery of backpropagation by Rumelhart, Hinton, and Williams in 1986. Meteorologists and environmental scientists were attracted by the promise of a nonlinear regression substitute that required no explicit specification of the functional form.

Chow and Leung (1996): Weather-Compensated Load Forecasting

An influential early application bridging meteorology and electrical engineering came from Chow and Leung, who in 1996 applied neural networks to short-term load forecasting – predicting electricity demand for grid management – with explicit weather-variable compensation.

The problem is meteorologically interesting because electricity demand depends nonlinearly on temperature: demand rises sharply for cooling at high temperatures and for heating at low temperatures, with a minimum in the mild temperature range. This U-shaped or V-shaped temperature–load relationship is precisely the kind of nonlinearity that linear regression handles poorly and that neural networks can in principle represent.

Chow and Leung used a two-stage network architecture. The first stage was a weather compensation module: a small MLP trained to predict the load residual attributable to temperature and humidity deviations from climatological norms, given the forecast temperature and humidity as inputs. The second stage was a base-load predictor that modelled the calendar-driven component of demand (day of week, hour of day, holiday flags). The outputs were combined linearly to produce the final load forecast.

The key contribution was demonstrating that the weather compensation could be learned automatically from historical data rather than parameterised analytically, and that the resulting nonlinear mapping outperformed linear regression-based weather adjustment on a dataset of Hong Kong hourly load observations. The authors reported mean absolute percentage errors that were reduced by 15–20% relative to the linear baseline in summer months, when the nonlinear cooling load dominated.

Hall, Brooks, and Doswell (1999): ANN Review for Meteorology

By the late 1990s, enough neural network studies had appeared in the meteorological literature to warrant a systematic review. Hall, Brooks, and Doswell published an influential survey in 1999 in the Weather and Forecasting journal that assessed the state of ANN applications across multiple meteorological problem domains: severe weather prediction, precipitation estimation, tropical cyclone intensity, and synoptic pattern recognition.

Several consistent findings emerged from the review. First, neural networks consistently outperformed linear regression on tasks with demonstrably nonlinear input–output relationships, with the largest improvements in heavy precipitation prediction and severe convective event discrimination. Second, the performance of neural networks was highly sensitive to the training sample size and composition: networks trained on climatologically balanced samples generalised poorly to rare extreme events because the extreme cases were underrepresented in the training data. Third, the “black box” nature of the single-hidden-layer MLP was a significant practical barrier to operational deployment: operational forecasters were reluctant to use tools whose internal reasoning they could not interrogate or verify.

The last finding anticipates a tension that remains unresolved in modern deep learning for weather: the trade-off between model expressiveness and interpretability. A linear MOS equation can be examined term by term; a forecaster can understand why the model predicted a warm day by looking at which predictors contributed most to the forecast. A neural network provides no such transparency.

Fuzzy and Bayesian Approaches

Chen and Hwang (2000): Fuzzy Time Series for Temperature

Alongside neural network approaches, the late 1990s and early 2000s saw a parallel tradition of fuzzy time series methods applied to meteorological forecasting. Chen and Hwang extended Song and Chissom's fuzzy time series framework to the problem of temperature prediction, introducing a method that represented historical observations as fuzzy sets and used fuzzy relational equations to model the temporal dynamics.

The approach partitioned the historical temperature range into a set of fuzzy linguistic variables (e.g., “very cold”, “cold”, “mild”, “warm”, “very hot”), defined membership functions for each linguistic variable, and then estimated a fuzzy transition matrix encoding the conditional probability that a temperature classified as “mild” today transitions to “warm” tomorrow. Forecasting consisted of applying the fuzzy matrix to the fuzzified current observation and defuzzifying the result to obtain a crisp temperature prediction.

The method's attraction was its interpretability: the fuzzy rules had a natural linguistic interpretation that could in principle be examined and validated by domain experts. Its limitation was its inability to use information from more than one or two previous time steps without an exponential explosion in the size of the fuzzy relational matrix.

Cofino et al. (2002): Bayesian Networks for Probabilistic Weather

A more principled probabilistic approach appeared in 2002 with the work of Cofino and colleagues, who applied Bayesian networks – directed acyclic graphs encoding conditional independence relationships between random variables – to the prediction of precipitation occurrence and amount at Spanish meteorological stations.

The Bayesian network framework represented the joint distribution of NWP predictors and surface observations as a factored product: (Bayesnet)P(𝐲,𝐱)=i=1nP(yi|Pa(yi)), where Pa(yi) denotes the parent nodes of yi in the directed graph and the factorisation structure encodes the meteorologist's prior beliefs about which NWP fields causally influence which surface observations.

The key advantage over MOS was the ability to represent complex joint distributions over multiple simultaneous predictands and to propagate probabilistic uncertainty through the network. If the 500-hPa geopotential height was uncertain (as in an ensemble forecast), that uncertainty could be propagated through the network structure to yield a predictive distribution for precipitation that reflected both the model uncertainty and the statistical relationship between the large-scale predictor and the local observation.

Schizas, Baboo, and Backpropagation Networks

The application of backpropagation networks to the specific problem of minimum temperature forecasting represents one of the most thoroughly documented threads in early ML meteorology. Schizas, in a series of studies conducted at the University of Cyprus, and Baboo and colleagues in subsequent independent work, systematically compared MLP architectures of varying depth and width on the problem of predicting next-day minimum temperature from NWP predictors and surface observations.

The findings were consistent across different geographic settings and data periods. A single-hidden-layer MLP with between 10 and 20 hidden units, trained by batch backpropagation with momentum, outperformed linear MOS on temperature predictands when the training period included multiple weather regimes. The improvement was largest for minimum temperature – the predictand most sensitive to boundary-layer processes that the NWP model parameterised crudely – and smallest for maximum temperature, where the large-scale synoptic predictors (850-hPa temperature, 1000–500-hPa thickness) captured most of the variance.

The networks were typically trained with 5–10 years of daily data, yielding training sets of order N2,0004,000 samples. Generalisation to independent test periods was assessed by root-mean-squared error and mean absolute error. While the improvements over MOS were statistically significant at many stations, they were modest in absolute terms – typically 0.1–0.3 C reductions in RMSE.

Hsieh (2009): Nonlinear Methods for Environmental Science

The most comprehensive attempt to synthesise the scattered early ML literature in atmospheric and oceanic science came with the publication of William Hsieh's 2009 textbook Machine Learning Methods in the Environmental Sciences. Published by Cambridge University Press, the book provided the first systematic treatment of neural networks, kernel methods, self-organising maps, and related techniques from the perspective of a practicing atmospheric scientist.

Hsieh's central contribution was to give the disparate ML applications in meteorology a unified statistical foundation. He showed that MOS could be seen as a special case of the broader framework of nonlinear regression, that Bayesian methods provided a principled approach to uncertainty quantification, and that the overfitting problems observed empirically in early neural network studies could be understood through the lens of the bias–variance trade-off.

Remark 12.

Hsieh's textbook appeared at a significant inflection point. Published in 2009, it represented the state of the art in ML for environmental science just before the deep learning revolution began to accelerate: AlexNet (2012), the availability of large GPU clusters, and the accumulation of continental-scale atmospheric data archives. The methods it covered – shallow networks, kernel SVMs, principal component analysis – would be largely superseded within five years by deep architectures that could exploit spatial and temporal structure in ways that single-hidden-layer MLPs could not.

The Limits of Shallow Networks

To understand why the early ML approaches in meteorology remained marginal – improving on MOS but never replacing it operationally – we must examine the specific limitations of shallow networks when applied to atmospheric data.

Vanishing gradients.

The standard activation function in 1990s neural networks was the logistic sigmoid σ(z)=(1+ez)1 or the hyperbolic tangent. Both functions saturate: for |z|1, the gradient σ(z)0. In networks with more than one or two hidden layers, the backpropagation gradient signal diminishes exponentially as it propagates from the output layer toward the input layer, making the early layers effectively untrainable. The practical consequence was that deep networks were inferior to shallow ones in the 1990s, not because depth was theoretically less powerful, but because the training algorithm failed to exploit it.

The vanishing gradient problem meant that early ML practitioners confined themselves to single-hidden-layer architectures. The universal approximation theorem guarantees that a single-hidden-layer network with sufficiently many units can approximate any continuous function, but the number of units required may be exponentially large in the input dimension. A single hidden layer of 20 units cannot capture the hierarchical spatial structure of a weather system – the synoptic scale pattern of ridges and troughs that organises the mesoscale convective structure that organises the microscale turbulent boundary layer – without an enormous number of parameters that the small training datasets of the era could not support.

No exploitation of spatial structure.

The single-hidden-layer MLP treats all inputs as exchangeable real numbers, with no structure imposed by the spatial proximity of adjacent grid points. A meteorological field – a 2-D array of temperature or geopotential values on a regular grid – contains rich spatial structure: nearby points are correlated, fronts appear as coherent oriented discontinuities, vorticity filaments have characteristic length scales. A fully connected MLP sees this field as a flat vector and must learn spatial relationships entirely from data, requiring far larger training sets than were available in the 1990s.

No capture of temporal dynamics.

Similarly, the early MLP architectures did not exploit the temporal structure of meteorological sequences. A weather state at time t is not statistically independent of the states at times t1,t2,; the atmosphere is a dynamical system, and its future state depends on its recent history. MLP architectures that use a fixed window of lagged inputs cannot generalise to longer-range dependencies and cannot represent the recurrent dynamics of developing weather systems.

Data scarcity.

Digital archives of NWP model output paired with surface observations were limited in the 1990s. Reanalysis products (ERA-Interim did not begin until 1979, and was not available until the late 2000s; NCEP/NCAR reanalysis extended to 1948 but at low resolution) provided modest training datasets by modern standards. The consequence was systematic undertraining of models with more than a few hundred free parameters.

Hardware constraints.

Training a neural network on 4,000 samples with 50 hidden units by backpropagation required hours on a workstation in 1996. Experimenting with multiple architectures, regularisation strengths, and predictor sets – the hyperparameter search that is routine today – was prohibitively expensive. Practitioners typically trained one or two architectures and reported results on the architecture that appeared to work best, a practice that inflated apparent gains and made inter-study comparisons unreliable.

Insight.

The fundamental ceiling on early ML in meteorology was not algorithmic – it was the conjunction of shallow architectures, small datasets, and slow hardware. Each of these limitations was necessary and jointly sufficient to suppress deep learning from emerging sooner. When GPUs reduced training time by three orders of magnitude, internet-scale data archives became accessible, and deep architectures with rectified linear units solved the vanishing gradient problem, the ceiling dissolved – not gradually, but essentially overnight.

The ConvLSTM Breakthrough: Shi et al. (2015)

The transition from shallow post-processing networks to deep spatiotemporal architectures for weather forecasting has a remarkably precise historical date: 2015, the year of the ConvLSTM paper by Shi and colleagues at the Hong Kong University of Science and Technology.

The problem they addressed was radar nowcasting: predicting the spatial structure of radar-observed precipitation at lead times of 0–2 hours. This is a qualitatively different problem from the MOS and ANN applications surveyed above. It is not a post-processing problem (there is no NWP model whose output is being corrected); it is a direct spatiotemporal prediction problem, mapping a sequence of past radar images to a sequence of future radar images.

Definition 11 (ConvLSTM Cell).

A Convolutional LSTM (ConvLSTM) cell generalises the standard LSTM cell by replacing the matrix–vector products with convolution operations. For input tensor 𝖷t, hidden state 𝖧t1, and cell state 𝖢t1 (all spatial tensors of shape H×W×C), the ConvLSTM transitions are: (Gates)𝖨t=σ(𝐖xi𝖷t+𝐖hi𝖧t1+𝒃i),𝖥t=σ(𝐖xf𝖷t+𝐖hf𝖧t1+𝒃f),𝖮t=σ(𝐖xo𝖷t+𝐖ho𝖧t1+𝒃o),𝖦t=tanh(𝐖xg𝖷t+𝐖hg𝖧t1+𝒃g),𝖢t=𝖥t𝖢t1+𝖨t𝖦t,𝖧t=𝖮ttanh(𝖢t), where denotes spatial convolution, denotes elementwise multiplication, and σ is the logistic sigmoid. The convolutional weight tensors 𝐖xi,𝐖hi (and analogues for other gates) are shared across all spatial positions, enforcing translational equivariance.

The key insight is that spatial convolution replaces matrix multiplication at every gate, so the hidden state 𝖧t and cell state 𝖢t remain spatial tensors rather than collapsing to vectors. This preserves the spatial structure of the input throughout the temporal unrolling, avoiding the information destruction that occurs when a fully connected LSTM flattens a spatial field to a vector.

Shi et al. trained a stacked ConvLSTM on the HKO-7 dataset, a 7-year archive of Hong Kong Observatory radar images at 6-minute intervals. The architecture used three ConvLSTM layers, each with 64 filters of size 3×3, followed by a convolutional output layer predicting the next 20 radar frames (2 hours at 6-minute intervals).

The results were decisive. The ConvLSTM architecture outperformed ROVER (the optical-flow nowcasting baseline), LSTM (without convolution), and other deep learning baselines on all three evaluation metrics: CSI (Critical Success Index), FAR (False Alarm Rate), and POD (Probability of Detection). The improvement over the LSTM without convolution was particularly informative: it demonstrated that spatial structure was the critical missing ingredient, not just temporal depth.

Shi et al. (2017): TrajGRU and the HKO-7 Benchmark

In a 2017 follow-up, Shi and colleagues identified a limitation of the ConvLSTM: its convolutional connections are location-invariant (the same kernel is applied everywhere), which means the network implicitly assumes the same flow structure at every spatial location. Weather patterns, however, are inherently location-variant: a cyclone generates counterclockwise flow in the northern hemisphere, so the contribution of the state to the north differs systematically from the contribution of the state to the south.

The Trajectory GRU (TrajGRU) architecture they introduced replaced the fixed recurrent convolution with a learnable flow field: at each time step, the network predicted an optical-flow-like warp field 𝐔tH×W×2 that specified how to sample the previous hidden state when computing the current state. This sampling was implemented via bilinear interpolation, making the operation differentiable and compatible with standard backpropagation.

(WARP)𝖧~t1=Warp(𝖧t1,𝐔t), where 𝐔t is predicted from 𝖷t and 𝖧t1 by a small convolutional sub-network, and Warp denotes bilinear sampling at the positions displaced by 𝐔t. The TrajGRU cell then computes standard GRU transitions using 𝖧~t1 in place of 𝖧t1.

The same paper introduced a comprehensive benchmark evaluation framework for the HKO-7 dataset, defining standard train/validation/ test splits, evaluation metrics, and baselines (optical flow, ROVER, ConvLSTM). This benchmark infrastructure was an important contribution independent of the TrajGRU architecture itself: it provided a reproducible comparison point that subsequent methods could use, an example that the weather forecasting deep learning community would follow in establishing later benchmarks such as WeatherBench and ERA5-based evaluation suites.

MetNet and MetNet-2: Toward Continental-Scale Nowcasting

The conceptual arc from MOS through ConvLSTM reached a significant milestone with Google's MetNet (2020) and MetNet-2 (2021), presented in the paper by Sonderby and colleagues. These models extended the spatiotemporal deep learning paradigm to the full problem of precipitation probability forecasting over the continental United States at 1–8 km resolution, with lead times up to 8 hours (MetNet) and 12 hours (MetNet-2).

MetNet departed from the ConvLSTM paradigm in several important respects. First, it used a multi-scale convolutional encoder (based on a deep ResNet-style architecture with axial self-attention) rather than a recurrent architecture, extracting spatial context at multiple resolutions from a large spatial patch of radar and satellite observations. Second, it conditioned on the forecast lead time explicitly, using a learnable lead-time embedding that allowed a single model to produce forecasts at all lead times from 1 minute to 8 hours. Third, it was trained on a very large archive of MRMS (Multi-Radar Multi-Sensor) observations over the continental US, with years of training data covering diverse weather regimes.

Example 3 (MetNet-2 output representation).

MetNet-2 outputs a probabilistic precipitation rate at each grid point, represented as a categorical distribution over B discretised precipitation bins. For bin boundaries 0=r0<r1<<rB (in mm/hr), the model outputs a softmax probability vector 𝐩ΔB1 (the (B1)-simplex), where pb=P(rb1R<rb). A point estimate of the precipitation rate is recovered as R^=b=1Bpbrb where rb is the bin midpoint. This representation allows the model to capture the highly skewed, zero-inflated distribution of precipitation rates – with high probability mass at zero, a long right tail for heavy rain – without assuming any parametric form.

The MetNet-2 paper reported that at lead times up to 6 hours, the model outperformed HRRR (the High-Resolution Rapid Refresh NWP model) in terms of CSI and other standard metrics. This was a landmark result: a learned model, trained entirely from observations without any explicit atmospheric physics, had matched or exceeded a state-of-the-art operational NWP model at mesoscale precipitation nowcasting.

Remark 13.

Both MetNet and MetNet-2 remain constrained to lead times below 12 hours. Beyond this horizon, the lack of explicit atmospheric dynamics – the conservation laws, mass continuity, and pressure- wind balance that give NWP its physical consistency – limits the model's skill. For multi-day forecasts, purely data-driven models did not outperform NWP on standard metrics until 2022–2023, when foundation-model architectures such as Pangu-Weather and GraphCast surpassed operational NWP on many variables at those ranges (see Sections FourCastNet and the Spectral Revolution and following).

The Evolution of Architectures: From MOS to Transformers

fig:weather:earlyml:evolution charts the conceptual evolution from classical MOS through shallow ANNs, ConvLSTM, and transformer-based foundation models.

Evolution of machine learning approaches to weather forecasting from classical MOS through shallow ANNs, ConvLSTM-based nowcasting, and transformer foundation models. Each generation overcame specific limitations of the previous era. Lower boxes (red) indicate the primary limitation of each paradigm. The dashed arrows indicate that limitations motivated the next architectural generation.

Comparison of Early ML Methods

Table 4 summarises the key characteristics and limitations of the early ML approaches surveyed in this section.

MethodSpatialTemporalProbabilisticPrimary limitation
Linear MOSNoNoPartialLinearity; no interactions
Logistic/NGRNoNoYesParametric family assumption
BMANoNoYesGaussian members; computational cost
Fuzzy time seriesNoPartialNoExponential state space
Bayesian networkNoNoYesManual graph elicitation
Shallow ANN (MLP)NoNoNoVanishing gradient; no spatial
ConvLSTMYesYesNoShort lead time; no physics
TrajGRUYesYesNoShort lead time; no physics
MetNet/MetNet-2YesYesYes 12-hour horizon
Comparison of early machine learning methods for meteorological applications. “Spatial” indicates whether the method explicitly models spatial structure. “Temporal” indicates whether it models temporal dynamics beyond a fixed lag window. “Probabilistic” indicates whether the method produces calibrated probability distributions.

The Transition from Shallow to Deep

The history surveyed in this section invites a natural question: why did the transition from shallow post-processing networks to deep spatiotemporal architectures take twenty years, and what eventually made it possible?

Insight.

The transition from shallow to deep learning in meteorology was not gradual – it required three simultaneous breakthroughs that arrived in rapid succession between 2012 and 2016. GPU hardware reduced neural network training time by three orders of magnitude. Large digital archives of reanalysis data (ERA-Interim, CFSR) and operational radar observations provided training datasets of sufficient size to train deep architectures without overfitting. And architectural innovations – rectified linear units eliminating the vanishing gradient problem, batch normalisation stabilising deep training, and convolutional architectures enforcing spatial equivariance – provided the modelling tools needed to exploit both the data and the hardware. Any one of these breakthroughs alone would have been insufficient; it was their conjunction that made deep learning for weather possible.

The forty-three years between Glahn and Lowry's 1972 paper and the 2015 ConvLSTM paper were not wasted. The early ML community established the problem formulation: that weather forecasting could be cast as a statistical learning problem with NWP output and observations as inputs and outputs. They documented the failure modes of linear and shallow nonlinear models, motivating the specific architectural innovations that would arrive later. And they built the evaluation infrastructure – standard datasets, metrics, and comparison baselines – on which the deep learning era would build.

What they could not provide was the essential technical substrate: the hardware, the data, and the architecture. These arrived in a compressed window between 2012 and 2017, and the field of weather forecasting has not been the same since.

Exercises

Exercise 16.

Consider a deep fully-connected neural network with L hidden layers, each using the logistic sigmoid activation σ(z)=(1+ez)1. Let δ(l) denote the backpropagation error signal at layer l. Show that |δ(l)|(1/4)Llmaxj|wij(l+1)|Ll|δ(L)|, where wij(l) are the layer-l weights. Hence conclude that the gradient magnitude decreases geometrically with depth when all activations are in their saturating regime. How does switching to the ReLU activation σ(z)=max(0,z) modify this bound?

Exercise 17.

Derive the number of trainable parameters in a ConvLSTM layer with input channel dimension Cin, hidden dimension Ch, and convolutional kernel size k×k. Compare this to the parameter count of a standard fully-connected LSTM taking as input the flattened spatial field of size H×W×Cin and producing a hidden state of the same total dimension H×W×Ch. For H=W=64, Cin=1, Ch=64, and k=3, compute the ratio of parameter counts. What is the practical implication of this ratio for training with limited data?

Exercise 18.

MetNet-2 outputs a categorical distribution over B=512 discretised precipitation bins. A simpler approach would be to output a single scalar (the expected precipitation) trained with mean-squared-error loss. Give two specific arguments, drawn from the properties of atmospheric precipitation fields, for why the categorical output representation is preferable to the scalar regression approach for operational forecasting applications. Your arguments should relate to the structure of the precipitation distribution, not merely to the general desirability of uncertainty quantification.

FourCastNet and the Spectral Revolution

The history of numerical weather prediction is in part a history of choosing the right basis. Richardson's finite-difference scheme (1922) tiled the atmosphere onto a rectilinear grid and advanced each cell forward in time by finite differences. It was correct in principle but required ten thousand human computers to advance a six-hour forecast for the northern hemisphere. Charney's spectral model (1949) transformed the governing equations into Fourier space, expressing every field as a superposition of spherical harmonics. The spectral formulation did not change the physics; it changed the algebra, converting the differential operators of the primitive equations into diagonal multiplications in frequency space. The ECMWF's Integrated Forecasting System (IFS) still relies on a spectral core for its dynamical equations.

The first generation of deep learning weather models-U-Net architectures trained to minimise mean-squared error-largely ignored this spectral heritage. They processed data on the physical grid, applying local convolution kernels that could only communicate information one receptive-field width at a time. The atmosphere is global: a blocking anticyclone over the Urals changes the phase of the North Atlantic Oscillation, which modulates precipitation over Britain, which alters the sensible-heat flux that feeds back into large-scale dynamics. Capturing these teleconnections requires global receptive fields, and achieving them with local convolutions requires either very deep networks or explicitly non-local attention.

Transformers offer global attention: every token communicates with every other token at each layer. But the cost of dense self-attention scales as 𝒪(N2) in the number of tokens N. At the resolution used by ERA5-0.25×0.25, corresponding to a 720×1440 longitude-latitude grid-a weather state comprises N=1,036,800 spatial locations. Standard self-attention on this grid is computationally impossible. FourCastNet, introduced by Pathak et al. from NVIDIA in 2022, solved this problem by moving the token-mixing operation from physical space into Fourier (spectral) space, where global communication can be achieved in 𝒪(NlogN) operations via the Fast Fourier Transform.

Complexity and the Case for Spectral Mixing

To understand why spectral processing is attractive for global atmospheric fields, consider the three main approaches to spatial mixing and their asymptotic costs on a two-dimensional grid of H×W points, with C channels.

Local convolution.

A k×k convolution over a single channel pair requires k2HW multiply-add operations. The receptive field after L layers grows as (L(k1)+1)2; to achieve a global receptive field on a 720×1440 grid requires hundreds of layers. Communication is local; teleconnections emerge only indirectly.

Dense self-attention.

Treating each grid cell as a token, the attention matrix 𝐀N×N (where N=HW) has N2 entries. Computing the matrix product Attention(𝐐,𝐊,𝐕)=softmax(𝐐𝐊d)𝐕 costs 𝒪(N2d) operations and 𝒪(N2) memory. For N106 this is prohibitive.

Spectral mixing (AFNO).

The Discrete Fourier Transform (DFT) of a signal of length N can be computed in 𝒪(NlogN) operations via the FFT. In Fourier space, convolution becomes pointwise multiplication; hence a global convolution-one whose kernel spans the full domain-costs only 𝒪(NlogN). The Adaptive Fourier Neural Operator augments this with a learned, frequency-wise mixing step, achieving global communication at 𝒪(NlogN) cost, five orders of magnitude cheaper than dense attention for ERA5 resolution.

Key Idea.

Moving computation from physical space to spectral space collapses the cost of global attention. A dense self-attention over N tokens costs 𝒪(N2). The FFT transforms those N tokens into N complex frequency coefficients in 𝒪(NlogN); global mixing in Fourier space then costs 𝒪(N); and the inverse FFT maps back to physical space in 𝒪(NlogN). The total 𝒪(NlogN) replaces the 𝒪(N2) of dense attention, while retaining the property that every spatial location communicates with every other location at each layer.

Fourier Neural Operators: Mathematical Foundations

The Fourier Neural Operator (FNO), introduced by Li et al. (2021), provides the mathematical basis for spectral-domain learning. Let Ωd be a bounded domain (in weather applications, Ω is the sphere 𝕊2 discretised as a regular longitude-latitude grid). An FNO layer maps a function v:Ωdv to a function u:Ωdu via

(FNO Layer)u(x)=σ(Wv(x)+(𝒦(v))(x)),

where Wdu×dv is a pointwise linear map (the residual branch), σ is a nonlinearity applied elementwise, and 𝒦 is the integral kernel operator

(Integral Kernel)(𝒦(v))(x)=Ωκ(xy)v(y)dy.

By the convolution theorem, equation becomes, in Fourier space,

(CONV Theorem)𝒦(v)^(ξ)=κ^(ξ)v^(ξ),

where ^ denotes the Fourier transform and ξ is a frequency index. The FNO parametrises κ^(ξ) as a learnable complex-valued tensor Rξdu×dv for each retained frequency ξ. Only the lowest kmax modes are learned; high-frequency components are zeroed (a soft truncation that acts as a spectral filter). The full FNO layer in discrete form is thus

(FNO Discrete)(𝒦(v))n=1(|ξ|kmaxRξ(v)ξ)n,

where denotes the (fast) Discrete Fourier Transform and 1 its inverse.

Definition 12 (Fourier Neural Operator Layer).

Let vN×dv be an input feature map on a grid of N spatial locations with dv channels. A Fourier Neural Operator (FNO) layer computes

(FNO DEF)FNO(v)=σ(Wv+1(R(v))),

where Wdu×dv is a pointwise weight matrix, Rkmax×du×dv is the spectral weight tensor retaining only the lowest kmax frequency modes, denotes mode-wise matrix multiplication, and σ is a pointwise nonlinearity (typically GELU).

The key properties of the FNO layer that make it attractive for weather modelling are:

  • Global receptive field: every grid point communicates with every other via the Fourier transform.

  • Permutation equivariance: the layer is equivariant to translations of the input field.

  • Resolution invariance: the spectral representation is basis-independent; a model trained at one resolution can be evaluated at another by adjusting the number of retained modes.

  • Computational efficiency: the FFT costs 𝒪(NlogN), and the learned mixing costs 𝒪(Nkmaxd), much less than 𝒪(N2d) for dense attention.

Adaptive Fourier Neural Operators

FourCastNet does not use FNO directly; it uses the Adaptive Fourier Neural Operator (AFNO), introduced by Guibas et al. (2021) as part of the FNet/AFNO line of work. The AFNO modifies the FNO in two key ways:

  1. Token mixing via FFT: Rather than treating each channel independently, the AFNO applies the 2D FFT across spatial dimensions, treating the C-dimensional feature vector at each frequency as a “token” and applying a shared MLP in frequency space.

  2. Sparsity via soft-thresholding: The AFNO applies a learnable soft-thresholding operator to the Fourier coefficients, adaptively pruning frequency components that carry little information for the current input. This is the “adaptive” part.

Formally, let 𝒙H×W×C be the input feature map. The AFNO layer proceeds as follows:

  1. Forward FFT: Compute 𝒙^=2D(𝒙)H×W×C.

  2. Frequency-wise MLP: For each frequency bin (m,n){0,,H1}×{0,,W1}, apply a two-layer MLP with hidden dimension r (typically r=C/4 for efficiency): (AFNO MLP)𝒚^m,n=MLPθ(𝒙^m,n), where the MLP operates on the complex-valued channel vector at that frequency. The weights θ are shared across all frequency bins, giving translation equivariance.

  3. Soft-thresholding (sparsification): Apply a learnable element-wise shrinkage: (SOFT Threshold)y~m,n,c=sign(y^m,n,c)max(|y^m,n,c|λc,0), where λc0 is a learnable threshold per channel. This promotes sparsity in frequency space, concentrating representational energy in the most informative modes.

  4. Inverse FFT: Compute 𝒚=2D1(𝒚~)H×W×C.

  5. Residual connection: Output 𝒛=𝒙+𝒚.

Definition 13 (Adaptive Fourier Neural Operator).

An Adaptive Fourier Neural Operator (AFNO) layer with input 𝒙H×W×C, shared channel-mixing MLP MLPθ:CC, and per-channel thresholds 𝝀0C computes

(AFNO FULL)𝒙^=2D(𝒙),𝒚^m,n=MLPθ(𝒙^m,n)(m,n)[H]×[W],y~m,n,c=sign(y^m,n,c)max(|y^m,n,c|λc,0),AFNO(𝒙)=𝒙+2D1(𝒚~).

The total computational cost is 𝒪(HWlog(HW)C) for the FFT steps and 𝒪(HWCr) for the frequency-wise MLP, where rC is the hidden dimension of the MLP.

Remark 14 (AFNO versus multi-head self-attention).

Standard multi-head self-attention (MHSA) on a sequence of N tokens with embedding dimension d costs 𝒪(N2d) for the attention computation. At ERA5 resolution, N=720×1440=1,036,800, so MHSA would cost roughly N2/NAFNO5×104 times as many token-mixing operations per layer as the AFNO (about five orders of magnitude, consistent with the estimate above). The AFNO achieves the same global receptive field-every spatial location is mixed with every other via the Fourier basis-at a fraction of the cost. The price paid is the loss of content-dependent weighting: the mixing weights in the AFNO MLP do not depend on the input values, only on the frequency index. FourCastNet empirically shows that this sacrifice is acceptable for short-to-medium range weather forecasting.

FourCastNet Architecture

FourCastNet (Pathak et al., 2022) is a vision-transformer-like architecture that replaces every attention layer with an AFNO layer. The full architecture proceeds in four stages.

Stage 1: Patch embedding.

Each atmospheric state is represented as a multi-channel field 𝑿H×W×Cin where H=720, W=1440, and Cin is the number of input variables (20 in FourCastNet-v1, including surface variables and pressure-level fields). The field is first partitioned into non-overlapping p×p patches (patch size p=4 in the original model), and each patch is linearly projected to an embedding dimension de:

(Patch Embed)𝑬i,j=𝑾evec(𝑿ip:(i+1)p,jp:(j+1)p,:)+𝒃e+𝑷i,j,

where 𝑬i,jde is the embedding of patch (i,j), 𝑾ede×p2Cin and 𝒃ede are the projection weights and biases, and 𝑷i,j is a learnable positional embedding. After embedding, the field becomes a 2D array of tokens 𝑬(H/p)×(W/p)×de.

Stage 2: AFNO blocks.

The embedded tokens are processed by L sequential AFNO blocks, each consisting of:

  1. Layer normalisation (pre-norm);

  2. An AFNO layer performing spectral token mixing;

  3. A residual connection;

  4. Layer normalisation;

  5. A two-layer feed-forward MLP with expansion ratio r and GELU nonlinearity;

  6. A residual connection.

Letting 𝑯()(H/p)×(W/p)×de denote the hidden state after block , the recurrence is

(AFNO Block)𝑯()=AFNO(LN(𝑯(1)))+𝑯(1),𝑯()=MLP(LN(𝑯()))+𝑯(),

for =1,,L. FourCastNet-v1 uses L=12 AFNO blocks with embedding dimension de=768.

Stage 3: Decoding to grid.

The final hidden state 𝑯(L)(H/p)×(W/p)×de is projected back to the physical grid using a learned patch-expansion layer:

(Patch Expand)𝑿^=PatchExpand(𝑯(L))H×W×Cout,

where Cout is the number of predicted output variables. The patch-expansion uses a transposed linear projection followed by a pixel-shuffle (sub-pixel convolution) to upsample from patch resolution to full grid resolution.

Stage 4: Autoregressive rollout.

FourCastNet is trained to predict the atmospheric state 𝑿t+Δt from 𝑿t for a fixed time step Δt=6h. For longer forecast horizons, the model is rolled out autoregressively: 𝑿^t+kΔt=fθ(𝑿^t+(k1)Δt) for k=1,2,

FourCastNet architecture. (a) Input: a 20-channel ERA5 atmospheric state at 0.25 resolution (720×1440 latitude-longitude grid). (b) Patch embedding: the grid is partitioned into 4×4 patches, each linearly projected to an embedding vector of dimension de=768. (c) Twelve sequential AFNO blocks, each performing spectral token mixing via FFT, a frequency-wise shared MLP with soft-thresholding, inverse FFT, and a feed-forward network with residual connections. (d) Patch expansion: the latent field is upsampled to the full ERA5 grid via a learned pixel-shuffle decoder. (e) Output: predicted atmospheric state six hours later. For multi-day forecasts the model is rolled out autoregressively (feedback arrow).

Training Data and Objective

Dataset.

FourCastNet is trained on the ERA5 reanalysis dataset produced by ECMWF. ERA5 provides hourly estimates of the global atmospheric state at 0.25 horizontal resolution (approximately 28,km at the equator), with 37 pressure levels from 1000,hPa to 1,hPa. The training period spans 1979–2015, the validation set covers 2016–2017, and the test set covers 2018 onward.

The model uses 20 atmospheric channels, a sparse subset of variables and levels (not a full variable-by-level product):

  • Surface fields (5): 10-metre wind components U10, V10, 2-metre temperature T2m, surface pressure, and mean sea-level pressure.

  • 1000,hPa (3): U, V, geopotential Z.

  • 850,hPa (5): T, U, V, Z, relative humidity.

  • 500,hPa (5): U, V, Z, T, relative humidity.

  • 50,hPa (1): Z; and total column water vapour TCWV (1).

(The full 5×13+5=70 level set listed for other models is Pangu-Weather's, not FourCastNet-v1's.)

Each channel is normalised per-level to zero mean and unit variance using statistics computed from the training split, ensuring equal gradient contributions from fields with very different physical magnitudes.

Loss function.

The training objective is the weighted mean-squared error

(Fourcastnet LOSS)(θ)=1|Ttrain|tTtrainc=1Ci=1Hj=1Wwcai(X^t+Δt,i,j(c)Xt+Δt,i,j(c))2,

where wc>0 is a channel-specific weight that up-weights physically important variables (e.g., geopotential Z500 is given higher weight than humidity), and ai=cos(ϕi)/icos(ϕi) is the area weighting for latitude ϕi, compensating for the convergence of meridians toward the poles where grid cells have smaller physical area.

The area weighting is crucial: without it, gradient contributions from high-latitude cells (which are small in physical area but numerous in the regular grid) would dominate training, causing the model to over-optimise polar regions at the expense of the tropics.

Multi-step fine-tuning.

FourCastNet is first trained with the single-step loss . It is then fine-tuned with a multi-step loss that includes up to 8 autoregressive steps, backpropagating through the rollout:

(Multistep LOSS)multi(θ)=k=1Kγkk(θ,𝑿^t+(k1)Δt),

where K=8 steps and γ(0,1) is a discount factor that down-weights distant predictions. This fine-tuning phase is essential: without it, errors compound quickly during autoregressive rollout because the model was only trained to map ERA5 states to ERA5 states, not its own imperfect predictions to ERA5 states.

Worked Example: Seven-Day Surface Wind Forecast

Example 4 (Seven-day wind forecast with FourCastNet).

Suppose we wish to produce a 7-day (168-hour) forecast of 10-metre wind speed starting from 00:00 UTC on 1 September 2018.

Initialisation.

Download ERA5 analysis for 00:00 UTC 1 September 2018. This gives 20 channels on a 720×1440 grid. Normalise each channel using the training-set statistics (μc,σc): X~i,j(c)=(Xi,j(c)μc)/σc.

Rollout.

Apply FourCastNet autoregressively for K=168/6=28 steps: 𝑿^t+k6h=fθ(𝑿^t+(k1)6h),k=1,,28.

Each forward pass through the L=12-block FourCastNet takes approximately 0.15 seconds on a single NVIDIA A100 GPU. The full 7-day rollout (28 passes) therefore completes in about 4 seconds. A comparable IFS ensemble member at T1279 (9km) spectral resolution requires roughly 4000 CPU-hours.

Reconstruction.

Denormalise the predicted U10 and V10 channels: X^i,j(c)=X~^i,j(c)σc+μc. The 10-metre wind speed is W^10=U^102+V^102.

Accuracy.

On the ERA5 test set (2018), FourCastNet achieves a latitude-weighted RMSE for W10 at 5-day lead time of approximately 1.9m s1, comparable to IFS (1.8m s1) at 5 days. The speed-up factor exceeds 105 (100,000×) versus IFS at comparable resolution.

Performance Against Operational Forecasting

Pathak et al. (2022) evaluated FourCastNet against the ECMWF IFS high-resolution deterministic forecast (HRES) using latitude-weighted RMSE and anomaly correlation coefficient (ACC) on the 2018 test year. Key findings:

  • Geopotential Z500: FourCastNet matches IFS HRES at lead times up to 5 days; IFS is superior at 7 days (FourCastNet shows 10% higher RMSE).

  • Surface wind U10, V10: FourCastNet matches IFS at 1–3 days; slight degradation at 5+ days.

  • Precipitation: FourCastNet performs substantially worse than IFS for total precipitation, because precipitation is poorly constrained in ERA5 (it is derived, not directly observed) and involves nonlinear convective processes that the deterministic regression objective cannot capture.

  • Speed: FourCastNet inference on a single A100 GPU produces a 7-day global forecast in under 5 seconds; IFS HRES requires approximately 150,000 CPU-hours on ECMWF's Atos supercomputer. The speed-up is five to six orders of magnitude.

Remark 15 (ERA5 smoothing and verification circularity).

Both FourCastNet and its evaluation target are based on ERA5. ERA5 is itself produced by a variational data-assimilation system that blends model forecasts with observations; it is therefore smoother than reality at small scales. Evaluating FourCastNet against ERA5 means measuring how well the model reproduces a smoothed, gridded analysis, not how well it predicts actual atmospheric states. This is an important caveat: FourCastNet is better characterised as an “ERA5 emulator” than a direct observation predictor.

FourCastNet-v2 and Scalable Geometric ML

The original FourCastNet established the AFNO paradigm. Two subsequent iterations significantly extended its capability.

FourCastNet-v2 (Bonev et al., 2023).

FourCastNet-v2 replaces the AFNO token mixer with a spherical Fourier neural operator (SFNO) that operates natively on the sphere 𝕊2 using spherical harmonics as the Fourier basis. The motivation is geometric: the regular latitude-longitude grid treats the sphere as a flat rectangle, introducing distortions near the poles. Spherical harmonics Ym(ϕ,λ) (where is the degree, m the order, ϕ the latitude, and λ the longitude) are the natural basis for functions on the sphere, satisfying 𝕊22Ym=(+1)Ym.

The SFNO layer replaces the 2D FFT with the Spherical Harmonic Transform (SHT) and its inverse, and replaces the frequency-wise MLP with a degree-wise (rotationally equivariant) mixing:

(SFNO MIX)y^m=W,x^m,

where W,de×de is a learnable coupling matrix between spherical harmonic degrees and . This formulation is equivariant to SO(3) rotations of the sphere, a property the original Cartesian AFNO lacks. FourCastNet-v2 achieves improved accuracy at polar latitudes and better long-range teleconnection representation.

FourCastNet 3: Geometric Foundation Models.

Subsequent work (2024–2025) extended FourCastNet into a geometric foundation model framework, in which a single large model pre-trained on diverse atmospheric data (ERA5, MERRA-2, JRA-55, satellite radiances) can be fine-tuned for downstream tasks including:

  • Medium-range deterministic forecasting (days 1–10);

  • Subseasonal-to-seasonal prediction (weeks 2–8);

  • Downscaling to high-resolution regional grids via learned geometric interpolation operators;

  • Data assimilation, generating analysis states from sparse observations.

The architecture scales from 70M parameters (FourCastNet-v1) to 2B parameters (FourCastNet 3), with performance improvements following approximate power laws in parameter count, mirroring scaling behaviour observed in large language models.

Insight.

The AFNO-based approach demonstrates that the spectral heritage of classical NWP-rooted in Charney's 1949 spectral model-can be reincorporated into deep learning architectures, not as a rigid physical constraint but as a flexible inductive bias that dramatically reduces computational cost while preserving global spatial communication.

Exercises

Exercise 19 (FFT complexity on the ERA5 grid).

The ERA5 0.25 grid has H=720 latitude points and W=1440 longitude points, giving N=HW=1,036,800 spatial locations.

  1. Show that the 2D FFT of a real-valued field on this grid can be computed in 𝒪(NlogN) operations. Derive the exact operation count using the Cooley-Tukey algorithm, assuming H and W are highly composite numbers (which they are: 720=24325, 1440=25325).

  2. Dense self-attention on the same grid treats each of the N spatial locations as a token. Compute the ratio of the self-attention FLOPs to the AFNO FLOPs for de=768 and kmax=20 retained Fourier modes.

  3. The AFNO frequency-wise MLP is shared across all N frequency bins. How many learnable parameters does this MLP have if it has one hidden layer of width r=de/4? How does this compare to the parameter count of a single self-attention head?

Exercise 20 (Area weighting in the loss function).

The FourCastNet loss uses latitude-dependent area weights ai=cos(ϕi)/icos(ϕi).

  1. Derive ai from the requirement that the weighted mean of a spatially uniform field equals 1, i.e., iaiwi,j=1 for all j when the field is constant. Why is the naive (unweighted) arithmetic mean biased toward polar regions?

  2. For the ERA5 720×1440 grid, compute the ratio aϕ=90/aϕ=0 (polar weight over equatorial weight). What does this ratio imply for gradient magnitudes in polar versus equatorial regions during training without area weighting?

  3. Propose an alternative area-weighting scheme based on the Voronoi area of each grid cell on the sphere (the actual area in square kilometres), and compare it to the cos(ϕ) approximation. Under what conditions are the two schemes equivalent?

Exercise 21 (Autoregressive error growth).

Let ϵk denote the RMSE of the FourCastNet forecast at lead time kΔt (where Δt=6h), and suppose that at each step the model introduces an independent error increment with variance σmodel2.

  1. Assuming errors add in quadrature (i.e., are independent across steps), show that ϵkkσmodel. Empirically, FourCastNet RMSE for Z500 grows approximately as ϵkk0.7. What does the sub-linear exponent (0.7<1) suggest about the error-growth mechanism?

  2. The multi-step fine-tuning loss uses a discount factor γk. Derive the optimal γ that minimises the expected RMSE at the maximum forecast horizon KΔt, under the independent-errors model from (a).

  3. The spherical harmonic expansion of the forecast error field at step k has power spectrum Sk() where is the spherical harmonic degree. Explain qualitatively why Sk() grows faster for large (small scales) than small (large scales), and discuss the implications for the spectral bias of AFNO-based models.

Pangu-Weather and 3D Transformer Architectures

In 2023, a paper published in Nature reported that a neural network had, for the first time, beaten the world's best operational numerical weather prediction system-ECMWF's Integrated Forecasting System-on over 90% of variables at all tested lead times. The model was called Pangu-Weather, developed by researchers at Huawei Cloud Research and Huawei Noah's Ark Laboratory, led by Kaifeng Bi and colleagues. The result was not a marginal improvement; at 5-day lead times, Pangu-Weather reduced the RMSE for 500-hPa geopotential by approximately 3% over IFS HRES while running ten thousand times faster.

The architectural leap that enabled this result was three-dimensionality. Where FourCastNet processed the atmosphere as a 2D field of horizontal patches-treating vertical levels as separate channels-Pangu-Weather introduced a genuine three-dimensional transformer that attends simultaneously over latitude, longitude, and pressure level. This apparently minor change has profound consequences: it allows the model to learn the vertical coupling that governs phenomena as diverse as tropical cyclone development, jet-stream variability, and the propagation of planetary waves from the stratosphere into the troposphere.

From Vision Transformers to Weather Transformers

Pangu-Weather's architecture has a clear lineage in computer vision.

Vision Transformer (ViT).

Dosovitskiy et al. (2021) introduced the ViT by treating an image as a sequence of non-overlapping patches and applying standard transformer self-attention. The key insight was that the inductive biases of convolutional networks (translation equivariance, local connectivity) could be abandoned in favour of global attention, with the model free to learn its own spatial inductive biases from data. ViTs achieve state-of-the-art performance on ImageNet with sufficient data, outperforming CNNs of comparable parameter count.

Swin Transformer.

Liu et al. (2021) observed that global attention in ViT scales as 𝒪(N2). The Swin Transformer replaces global attention with shifted window (SW) attention: each token attends only to tokens within a local w×w window, reducing cost to 𝒪(Nw2/w2)=𝒪(N) for fixed window size w. A “shift” mechanism introduces cross-window communication by shifting the window partition between consecutive layers. Swin won the ImageNet-22K top-1 accuracy benchmark in 2021 and became the dominant backbone for dense prediction tasks (detection, segmentation).

3D Swin Transformer.

The natural extension to video and volumetric data replaces 2D windows with 3D windows spanning height × width × time (or depth). Liu et al. (2022) introduced Video Swin for video recognition. Pangu-Weather adapts this idea to atmospheric data, where the three dimensions are latitude × longitude × pressure level.

The 3D Earth-Specific Transformer (3DEST)

The core of Pangu-Weather is the 3D Earth-Specific Transformer (3DEST), which differs from a standard 3D Swin Transformer in two critical respects: (1) it uses an Earth-specific positional bias that accounts for the non-uniform physical spacing of pressure levels and the spherical geometry of the planet; and (2) it processes upper-air and surface variables in separate streams that interact only at the decoding stage.

Input representation.

The full atmospheric state at a given time is represented as two tensors:

  • Upper-air tensor: 𝖷upper13×H×W×Cupper, where 13 is the number of pressure levels (1000, 925, 850, 700, 600, 500, 400, 300, 250, 200, 150, 100, 50,hPa), H=721, W=1440, and Cupper=5 channels (geopotential Z, temperature T, zonal wind U, meridional wind V, specific humidity Q).

  • Surface tensor: 𝖷surfH×W×Csurf, where Csurf=4 channels (mean sea-level pressure Pmsl, 10m wind U10, V10, and 2m temperature T2m).

Patch embedding.

The upper-air tensor is partitioned into 2×4×4 patches (2 pressure levels × 4 latitude points × 4 longitude points), giving (13/2)×(721/4)×(1440/4)6×180×360=388,800 tokens. Each token is a 2×4×4×5=160-dimensional vector, linearly projected to embedding dimension de. The surface tensor uses 1×4×4 patches.

3D window attention.

The 3DEST divides the token grid into non-overlapping 3D windows of size Wz×Wy×Wx (with typical values Wz=2, Wy=6, Wx=12). Standard self-attention is applied within each window:

(3D ATTN)Attn(𝐐,𝐊,𝐕)=softmax(𝐐𝐊d+B)𝐕,

where 𝐐,𝐊,𝐕nw×d are query, key, and value matrices for the nw=WzWyWx tokens in the window, and B is the Earth-specific relative position bias defined below.

The cost of 3D window attention is 𝒪(Nnw) rather than 𝒪(N2); for fixed window size nw this is linear in N. Cross-window communication is achieved by shifting the window partition by (Wz/2,Wy/2,Wx/2) in alternating layers.

Earth-Specific Positional Bias

The Earth-specific positional bias B in equation is the central innovation of Pangu-Weather. It encodes three geometric facts about the atmosphere that generic positional encodings ignore:

  1. Non-uniform pressure level spacing: The 13 pressure levels are not uniformly spaced in altitude. In geometric altitude, the spacing between adjacent levels varies from 0.6,km (1000 to 925,hPa) to 5.2,km (100 to 50,hPa, in the lower stratosphere). Pairs of tokens at the same horizontal distance but different vertical positions should have different attention biases reflecting their actual physical proximity.

  2. Latitude-dependent longitude spacing: At latitude ϕ, one degree of longitude corresponds to physical distance 111kmcos(ϕ). Two tokens separated by the same number of grid points in the east-west direction are physically much closer near the poles than near the equator.

  3. Rotational symmetry: The atmosphere is approximately rotationally symmetric about the Earth's axis (in the climatological mean), so biases should depend on latitude but not longitude.

Let (zi,yi,xi) and (zj,yj,xj) denote the vertical, meridional, and zonal indices of tokens i and j within a window. The relative position is (δz,δy,δx)=(zizj,yiyj,xixj). The Earth-specific bias is a learnable function

(ESPB)Bij=b(δz,δy,δxcos(ϕyi),ϕyi),

where ϕyi is the latitude of the window row containing token i and the longitude displacement is scaled by cos(ϕyi) to account for the physical narrowing of longitude spacing at higher latitudes. The function b is parametrised as a lookup table over quantised offsets, learnable during training.

Definition 14 (Earth-Specific Relative Position Bias).

Let ϕy denote the latitude of grid row y in degrees. The Earth-Specific Relative Position Bias (ESPB) for a token pair (i,j) within a 3D attention window is

(ESPB DEF)Bij=B^[δz/sz,δy/sy,δxcos(ϕyi)/sx,ϕyi/sϕ],

where B^ is a learnable bias table and sz,sy,sx,sϕ are quantisation step sizes. The table is shared across all attention heads and all layers within the model.

Remark 16 (ESPB versus sinusoidal positional encoding).

Standard sinusoidal positional encodings (Vaswani et al., 2017) assign each position a fixed trigonometric embedding that does not account for non-uniform physical distances. Learnable relative biases (Shaw et al., 2018) allow flexible per-position-offset weights but do not encode domain-specific geometry. The ESPB combines both advantages: it is learnable (flexible) and physically grounded (latitude-corrected distances, non-uniform vertical levels). This is a general design principle: whenever the spatial structure of the domain departs from uniform Euclidean geometry, positional encodings should be adapted accordingly.

Lead-Time-Specific Models

The most architecturally distinctive decision in Pangu-Weather is the use of four separate models, each optimised for a different forecast lead time:

  • f1: trained to predict the state 1 hour ahead;

  • f3: trained to predict the state 3 hours ahead;

  • f6: trained to predict the state 6 hours ahead;

  • f24: trained to predict the state 24 hours ahead.

For an arbitrary forecast horizon τ, the models are combined hierarchically: τ is decomposed into a sum of 1, 3, 6, and 24-hour increments (analogous to expressing τ in a “time-base-24” numeral system), and the corresponding models are applied in sequence. For example, a 72-hour forecast is produced as f24f24f24 (three applications of f24), a 7-hour forecast as f6f1, and a 37-hour forecast as f24f6f6f1.

Why multiple models?

The key insight is that autoregressive error accumulation is dominated by the number of model applications, not the total lead time. A single 6-hour model applied 16 times to produce a 4-day forecast accumulates error through 16 composition steps. The same 4-day forecast from f24 requires only 4 composition steps. Since each model application introduces systematic biases (the model output differs from ERA5 in systematic ways), reducing the number of compositions dramatically reduces error accumulation.

More formally, let ϵ denote the per-step error standard deviation and suppose errors accumulate linearly (a conservative upper bound). The RMSE after K steps is at most Kϵ. A single 6-hour model applied K=16 times achieves RMSE 16ϵ. The 24-hour model applied K=4 times achieves RMSE 4ϵ, where ϵ may be larger than ϵ (harder single-step prediction) but the reduced K typically dominates.

Key Idea.

Lead-time-specific models minimise accumulated autoregressive error by reducing the number of composition steps. For a forecast horizon τ, the expected RMSE under any per-step error model grows monotonically in the number of model applications K. By matching the model's native step size to the largest divisor of τ consistent with available compute, Pangu-Weather minimises K and hence the dominant source of long-range forecast degradation.

Hierarchical time aggregation.

The four-model hierarchy can be viewed as a mixed-radix number system for time. Let τ be the desired forecast horizon in hours. Write

(Pangu Decompose)τ=24n24+6n6+3n3+1n1,

where n24,n6,n3,n10 are non-negative integers chosen to minimise n24+n6+n3+n1 subject to satisfying the equation. The greedy algorithm (fill with the largest unit first) achieves this minimum. The forecast is then

(Pangu Compose)𝑿^t+τ=f1n11-h stepsf3n33-h stepsf6n66-h stepsf24n2424-h steps(𝑿t).

Training Objective and Data

Each of the four Pangu-Weather models is trained independently on the ERA5 reanalysis using a weighted mean-absolute error (MAE) loss. Unlike FourCastNet, which uses MSE, Pangu-Weather adopts MAE because it is less sensitive to the large outliers introduced by extreme weather events, produces sharper predictions of wind and pressure features, and aligns better with the meteorological practice of evaluating forecasts by absolute error in physically meaningful units.

Training loss.

For model fΔ with lead time Δ:

(Pangu LOSS)Δ(θ)=1|Ttrain|tTtrainc=1Cl=113i=1Hj=1Wwc,lai|X^t+Δ,i,j(c,l)Xt+Δ,i,j(c,l)|,

where wc,l is a variable-and-level-specific weight (empirically set to balance gradient magnitudes across physically diverse channels), ai=cos(ϕi) is the latitude area weight, the outer sum runs over all Cupper×13+Csurf=69 channels (5 upper-air × 13 levels + 4 surface), and the inner sums run over the 721×1440 grid.

Data split.

ERA5 (1979–2017) is used for training with training on 1979–2017, validation on 2019, and testing on 2018. A consistent split is used for all four models to ensure comparability.

Optimisation.

Each model is trained with AdamW (β1=0.9, β2=0.999, weight decay =0.05) for 200 epochs with a cosine annealing learning rate schedule, starting from a peak learning rate of 5×104. Each model has approximately 200 million parameters. Training each model on 192 NVIDIA A100 GPUs requires approximately 16 days. Despite this training cost, inference for a 7-day forecast takes approximately 1.4 seconds on a single A100.

Pangu-Weather Architecture: TikZ Illustration

Pangu-Weather architecture. The model processes upper-air fields (left, 3D stream) and surface fields (right, 2D stream) independently before merging in the decoder. All attention layers use 3D (or 2D for surface) shifted-window attention with Earth-Specific Relative Position Bias (ESPB) that encodes latitude-corrected horizontal distances and non-uniform vertical pressure-level spacing. Four separate models with this architecture are trained for lead times of 1, 3, 6, and 24 hours; they are combined hierarchically to produce forecasts at arbitrary lead times via greedy time decomposition .

Performance: Beating IFS on 90% of Variables

Bi et al. (2023) evaluated Pangu-Weather against IFS HRES on the 2018 ERA5 test set using both latitude-weighted RMSE and ACC. The headline result is remarkable:

  • Pangu-Weather outperforms IFS HRES on over 90% of all variable-level combinations at lead times from 1 day to 7 days.

  • For the critical metric Z500 (500-hPa geopotential, a primary measure of large-scale weather pattern skill), Pangu-Weather achieves approximately 3% lower RMSE than IFS at 5-day lead time.

  • Pangu-Weather's ACC (anomaly correlation coefficient) for Z500 exceeds 0.6 at day 7, the traditional “useful forecast” threshold, whereas IFS falls below 0.6 at approximately day 6.5 in the test year.

  • Inference time for a 7-day global forecast: approximately 1.4 seconds on a single A100 GPU. IFS HRES requires approximately 14,000 CPU-hours on ECMWF's Atos supercomputer. The speed-up factor is 104 (ten thousand times faster).

Variable-by-variable breakdown.

The improvement is not uniform. Pangu-Weather most dramatically outperforms IFS for:

  • Upper-tropospheric temperature (200,hPa T): RMSE reduced by 8% versus IFS at 5 days.

  • Geopotential at most pressure levels (500, 850, 1000,hPa Z).

  • Meridional wind at multiple levels.

IFS retains advantages (or ties) for:

  • Precipitation (Pangu does not directly predict precipitation).

  • Boundary-layer variables in complex terrain (Pangu is on a regular grid; IFS uses terrain-following levels).

  • Near-surface wind in regions of strong orographic forcing.

Case Study: Hurricane Lee (2023)

The 2023 Atlantic hurricane season provided a high-profile operational test of AI weather models. Hurricane Lee, which formed on 5 September 2023 in the tropical Atlantic, intensified rapidly and tracked across the Caribbean toward Atlantic Canada.

Example 5 (Hurricane Lee track prediction).

Hurricane Lee underwent rapid intensification to Category 5 on 8 September 2023. At 96-hour lead time (4 days), the GFS ensemble (NOAA's Global Forecast System) showed large spread in the track, spanning a range of approximately 5 of latitude in the landfall region (coastal Maine/Nova Scotia). The ECMWF ensemble was more tightly clustered but still showed significant uncertainty.

Pangu-Weather, initialised from the GFS analysis at 00:00 UTC 5 September 2023, predicted the Lee track with an error of approximately 120,km at 96-hour (four-day) lead time, verifying on 9 September (Lee made landfall in Nova Scotia on 16 September). In contrast, the GFS deterministic forecast had an error of approximately 310,km at the same lead time.

Crucially, Pangu-Weather locked on to the eventual track several days earlier than the GFS deterministic forecast converged. Operational meteorologists at the National Hurricane Center noted that Pangu-Weather was consistently pointing to the eventual track at 96-hour lead time from multiple initialisation times, while ensemble systems were still showing substantial spread.

The physical mechanism responsible for Pangu-Weather's advantage is not fully understood, but two hypotheses have been proposed:

  1. Pangu's 3D architecture better captures the upper-level steering flow (especially the 200–300,hPa geopotential ridge over the western Atlantic) that dominated Lee's track in the 4–7-day window.

  2. The ESPB allows Pangu to learn asymmetric positional biases that encode the climatological tendency for Atlantic hurricanes to recurve northeastward when encountering mid-latitude troughs, a pattern that appears at specific latitude-longitude combinations.

The Lee case does not prove that Pangu-Weather is superior to IFS or GFS in general; a single case study cannot establish statistical superiority. However, it demonstrated that AI models could, in at least one high-stakes situation, provide earlier and more accurate operational guidance than state-of-the-art NWP systems.

The Smoothing Caveat: Extreme Events and ERA5 Inheritance

Pangu-Weather inherits a fundamental limitation from its training data: ERA5 is a reanalysis product, not a direct observation. ERA5 is produced by 4D-Var data assimilation that blends a prior from the ECMWF IFS model with available observations. This process is regularising: it smooths sharp features in the analysis, penalises departures from the model climatology, and represents phenomena below the assimilation resolution imperfectly.

Caution.

Pangu-Weather systematically underpredicts extreme events. Because Pangu-Weather is trained to predict ERA5 analysis states-which are themselves smoothed and regularised-the model's output distribution is narrower than the true atmospheric distribution at fine scales. Specifically:

  • Precipitation extremes: ERA5 captures precipitation as a 3-hourly accumulation on a 0.25 grid; actual precipitation at sub-kilometre resolution can be 5–10× more intense. Pangu does not predict precipitation directly; any precipitation derived from Pangu humidity fields will miss local extremes.

  • Wind gusts: ERA5 provides 10-metre wind speed as a 6-hourly mean. Peak gusts in a thunderstorm or hurricane eyewall are not resolved. Pangu inherits this temporal and spatial averaging.

  • Sub-grid convection: Deep convection (thunderstorms, mesoscale convective systems) occurs at scales of 1–10,km, far below the Pangu grid. Pangu's loss function does not penalise missing convective events because ERA5 does not resolve them either.

This smoothing bias is not a bug in Pangu-Weather's architecture; it is a property of the verification framework. A model trained on ERA5 cannot outperform ERA5 on scales ERA5 does not resolve. Evaluating Pangu against station observations or radar data rather than ERA5 would reveal substantially larger errors.

The smoothing issue motivates two active research directions: (1) post-processing Pangu outputs with diffusion models or quantile regression to recover physically plausible sub-grid distributions of extreme values; and (2) training weather AI models directly on observation data (station networks, radar, satellite) using data-assimilation-inspired loss functions that account for observation operators and error covariances.

Connection to Vision Transformers: Transfer and Adaptation

The architectural similarity between Pangu-Weather and Swin-based vision models raises the question: can ImageNet-pretrained weights help weather AI? The answer is nuanced.

What transfers.

Low-level features in ViTs (first few attention layers) detect oriented edges and patches of coherent colour or intensity-analogous to the horizontal gradients and vorticity filaments in atmospheric fields. Pre-training on large vision datasets can provide a useful initialisation for the attention weights, reducing the number of gradient steps needed to reach good weather performance.

What does not transfer.

The Earth-specific positional bias is domain-specific and has no ImageNet equivalent. The physical semantics of channels (geopotential, temperature, humidity) differ fundamentally from image RGB channels. The temporal structure of weather (quasi-periodic diurnal and annual cycles, teleconnections) has no direct analogue in static image datasets.

In practice, Pangu-Weather is trained from scratch rather than initialised from ViT weights. The training set (ERA5, 40 years × 1460 analysis times per year = 58,000 snapshots) is small by deep learning standards, but the physical constraints imposed by the loss function and the ESPB provide sufficient regularisation.

Cross-architecture lessons.

The Pangu-Weather success validates a design principle from computer vision: hierarchical, windowed self-attention with local-to-global spatial coupling (the Swin paradigm) generalises well beyond natural images. The critical adaptations required for atmospheric science-3D tokenisation, Earth-specific bias, lead-time-specific models-are relatively small changes to the Swin blueprint, suggesting that future advances in vision transformers will continue to benefit weather AI, and vice versa.

Historical Note: Huawei's Entry into Weather AI

Historical Note.

Huawei Cloud and the Pangu-Weather papers. The Pangu-Weather project emerged from Huawei Cloud's Meteorological AI Research Group and Huawei's Noah's Ark Laboratory in Shenzhen, founded in 2012 as Huawei's central AI research institute. The group had no prior publication record in meteorology; their background was in computer vision, natural language processing, and hardware-software co-optimisation for Huawei's Ascend AI accelerators.

The first Pangu-Weather preprint appeared on arXiv in November 2022 and immediately attracted attention from both the AI and meteorological communities. The Nature paper (published July 2023) passed peer review that included both deep learning experts and operational meteorologists, an unusual combination reflecting the cross-disciplinary nature of the work.

The rapidity of Huawei's ascent in weather AI illustrates a broader pattern: the algorithmic advances needed for weather AI (transformers, attention mechanisms, large-scale training) were developed in the AI community for other purposes. Once the community recognised that these tools could address the weather prediction problem, progress was extraordinarily fast. From the first FourCastNet preprint (February 2022) to Pangu-Weather (November 2022) to GraphCast's Science paper (November 2023), three landmark models appeared within about twenty-one months-a pace of progress that contrasts sharply with the decades-long timescales of traditional NWP development.

The institutional lesson is that meteorology benefits from being treated as an applied AI problem rather than a pure physics simulation problem. The computational resources, talent, and algorithmic infrastructure of the AI industry can be brought to bear in ways that the weather services, operating under government mandates and legacy infrastructure constraints, cannot easily replicate internally.

Exercises

Exercise 22 (3D window attention complexity).

Pangu-Weather uses 3D window attention with window size Wz×Wy×Wx=2×6×12.

  1. The upper-air tensor after patch embedding has shape (Pz,Py,Px)=(6,180,360) where Pz=13/2, Py=721/4180, Px=1440/4=360. Compute the total number of 3D attention windows. Within each window, the self-attention matrix has how many entries?

  2. Show that the total FLOPs for 3D window attention (one layer) scale as 𝒪(PzPyPxWzWyWxde) and compute the ratio to global 3D self-attention 𝒪(N2de) where N=PzPyPx.

  3. The shifted-window mechanism introduces cross-window communication by shifting the window partition by (Wz/2,Wy/2,Wx/2). Explain how cyclic padding is used to handle boundary tokens that span two windows after the shift, and why a masking mechanism is needed to prevent attending across non-adjacent regions.

Exercise 23 (Lead-time decomposition and error accumulation).

Pangu-Weather uses a greedy time-decomposition strategy (equation ) to produce forecasts at arbitrary lead times from the four models f1,f3,f6,f24.

  1. Write out the decomposition for lead times τ{1,3,6,7,12,24,36,72,120} hours, minimising the total number of model applications n24+n6+n3+n1.

  2. Suppose each model application introduces an independent Gaussian error increment with variance σΔ2=αΔ for some constant α>0 (i.e., the per-step variance scales linearly with the step size Δ). Under this model, derive the total forecast error variance for a τ-hour forecast using the greedy decomposition, and compare it to the variance achieved by using only f6 autoregressively for the same τ.

  3. In practice, σΔ2 grows super-linearly in Δ (longer-range single-step predictions are disproportionately harder). Let σΔ2=αΔβ with β>1. Is the greedy decomposition still optimal? Formulate the optimisation problem for choosing the decomposition of τ that minimises total forecast variance under this model.

Exercise 24 (Earth-specific positional bias: learning and evaluation).

The Earth-Specific Relative Position Bias (ESPB) defined in is a learnable table indexed by quantised relative positions.

  1. Estimate the total number of learnable parameters in the ESPB table for a 3D attention window of size 2×6×12 with latitude quantisation step sϕ=5 and spatial quantisation steps sz=1, sy=1 level/point, sx=0.25cosϕ0.25. Compare this to the parameter count of a standard 2D relative position bias table of the same window size.

  2. The ESPB incorporates the factor cos(ϕyi) in the longitude displacement term. Suppose we train a model with and without this correction (two ablations). Describe a diagnostic test using ERA5 verification data that would quantify the improvement from including this correction, and predict which latitude bands would show the largest improvement.

  3. Pangu-Weather's ESPB is defined at the attention-window level. An alternative design is to incorporate the Earth's geometry at the patch embedding level by projecting the ERA5 grid onto a cubed sphere or HEALPix tessellation. Discuss the trade-offs between ESPB-based geometry encoding and geometry-aware tokenisation for atmospheric transformer models.

GraphCast and Graph Neural Networks

Weather prediction is, at its core, a problem of propagating information across a sphere. Temperature anomalies in the Pacific influence European precipitation weeks later. A tropical cyclone's track depends on hemispheric-scale pressure gradients. Jet-stream meanders couple the stratosphere to the surface boundary layer. The fundamental challenge for any data-driven forecasting architecture is therefore how to represent and process spatially coherent signals on a curved, planetary domain.

The approaches studied in earlier sections-Pangu-Weather (Section Pangu-Weather and 3D Transformer Architectures) and FourCastNet (Section FourCastNet and the Spectral Revolution)-answered this question with variants of the Transformer operating on regular latitude-longitude (lat-lon) grids, borrowing the vision-transformer paradigm of dividing the globe into patches and computing attention between them. This choice is natural: ERA5 data is natively delivered on lat-lon grids, and the rectangular-grid paradigm inherits decades of software infrastructure.

Yet lat-lon grids carry a hidden flaw that becomes catastrophic at the poles. On a regular 0.25×0.25 grid, meridional grid lines converge toward the poles, creating cells whose east-west spacing shrinks from roughly 28 km at the Equator to less than 1 km at 89N. Numerical instabilities accumulate at these singularities. Convolutional and attention operations that assume uniform cell areas must apply ad-hoc area-weighting corrections that do not compose cleanly with the rest of the computational graph. The geometry is, in a precise sense, wrong.

In 2023, Remi Lam and colleagues at Google DeepMind published GraphCast: Learning Skillful Medium-Range Global Weather Forecasting in Science, demonstrating that an entirely different approach could outperform the European Centre for Medium-Range Weather Forecasts (ECMWF) Integrated Forecasting System (IFS) HRES operational model on the vast majority of standard verification targets. The key insight was deceptively simple: replace the lat-lon grid with a multi-mesh icosahedron, a hierarchy of increasingly refined triangulations of the sphere that tile the globe with nearly-equal-area cells, and process information on this mesh using a graph neural network (GNN). The result was the first data-driven system to systematically surpass HRES, doing so in a fraction of the computational cost, in roughly 60 seconds on a single Google TPU v4 chip.

Key Idea.

Spatial structure matters. The right topology beats the obvious one. An icosahedral mesh avoids the pole singularities, near-equal-area cells, and artificial anisotropy of the latitude-longitude grid. By matching the computational graph to the true geometry of the sphere, GraphCast eliminates an entire class of approximation errors before a single weight is trained.

Why Graphs? The Failure Mode of Lat-Lon Grids

To appreciate why a graph formulation helps, consider the computational representation of a function f:𝕊2d on the sphere. The standard meteorological choice is a regular lat-lon grid with resolution Δλ×Δϕ (longitude × latitude), producing Nλ×Nϕ grid cells. For ERA5 at 0.25 resolution, this gives 1440×721106 cells.

The area of cell (i,j) at latitude ϕj is (Latlon AREA)Aij=R⊕︎2ΔλΔϕcosϕj, where R⊕︎6371km is Earth's radius. As |ϕj|90 we have cosϕj0 and the cell area collapses to zero, while the number of cells per latitude circle remains fixed. A 3×3 convolution kernel applied at 89.75N integrates information from cells spanning radically different physical distances: neighbouring cells in the east-west direction are only 100m apart, while cells in the north-south direction are 28km apart. The implicit assumption of uniform spatial scale is violated by three orders of magnitude.

Gauss-Legendre grids and reduced Gaussian grids (used by ECMWF) partially address this by halving the number of longitude points at high latitudes, but they introduce irregular connectivity that complicates convolutional operations. Spherical harmonic representations avoid the singularity entirely but sacrifice the locality of spatial operations.

An icosahedral tessellation takes a different approach. Starting from a regular icosahedron inscribed in the unit sphere (20 equilateral triangular faces, 12 vertices, 30 edges), each triangular face is subdivided into 4k smaller triangles by connecting the midpoints of edges and projecting them onto the sphere. After k refinements, the mesh has 20×4k faces, 10×4k+2 vertices, and 30×4k edges. Crucially, all triangles have nearly equal areas: the ratio of the largest to smallest face area is bounded by a constant independent of refinement level, typically around 1.03 for standard icosahedral subdivision.

This near-uniformity has profound implications. A graph convolution or message-passing operation applied at any node integrates information from geometrically similar neighbourhoods regardless of latitude. There are no poles, no singularities, no ad-hoc area-weighting corrections. The mesh is topologically a graph 𝒢=(𝒱,) with vertex set 𝒱 and edge set , and graph neural network machinery applies directly.

Multi-Mesh Icosahedron: Six Refinement Levels

GraphCast employs not one but six icosahedral meshes at different resolution levels, labelled 0 through 5. Mesh k is obtained by applying k rounds of icosahedral subdivision. The number of vertices and mean edge lengths are summarised in Table Table 5.

Level kSubdivisionsNVNEMean edge (km)
0012307,054
11421203,765
221624801,914
336421,920961
442,5627,680481
5510,24230,720241
GraphCast multi-mesh icosahedron properties. Mean edge length (km) is computed on the unit sphere and scaled by Earth's radius. NV denotes the number of mesh vertices; NE the number of undirected edges.

The finest mesh 5 has a mean inter-node spacing of roughly 241 km, coarser than the 0.25 ERA5 grid resolution at mid-latitudes (approximately 28 km); the encoder still ingests the full ERA5 grid, so fine-scale information is not discarded. However, the mesh nodes are not placed at ERA5 grid points; instead, the encoder maps from the lat-lon ERA5 grid to the icosahedral mesh, and the decoder maps back.

The multi-mesh structure means that the processor graph 𝒢proc is the union of all six icosahedral meshes: (Multimesh Union)𝒢proc=k=05k, with nodes 𝒱proc=𝒱5 (the finest level's vertices, which subsume all coarser levels' vertices) and edges proc=k=05k. This is the crucial design: by including edges from all six refinement levels in the processor graph, each message-passing step can propagate information over a range of spatial scales simultaneously. A single message-passing step on an edge from 0 connects vertices 2,559 km apart, while edges from 5 provide fine-grained local refinement. This multi-scale connectivity replaces the explicit down-sampling and up-sampling of U-Net-style architectures with a more organic, graph-theoretic analogue.

Schematic of the multi-mesh icosahedral structure used by GraphCast. A small planar patch of the sphere is shown for three of the six refinement levels. Blue solid edges belong to 0 (coarsest, 2500km spacing); green dashed edges to 1; orange dotted edges to 2. The processor graph includes all edges from all six levels simultaneously, enabling multi-scale message passing in a single forward pass.

Encoder-Processor-Decoder Architecture

GraphCast adopts a three-stage architecture that cleanly separates the concerns of grid-to-mesh mapping, atmospheric dynamics processing, and mesh-to-grid reconstruction. Figure fig:weather:graphcast:arch illustrates the pipeline.

GraphCast encoder-processor-decoder architecture. Two atmospheric states at times t6h and t are encoded from the ERA5 lat-lon grid onto the icosahedral mesh 𝒢proc via a bipartite graph neural network (the encoder). The processor applies 16 rounds of message passing on the multi-mesh graph, enabling multi-scale information propagation. The decoder maps mesh states back to the lat-lon grid to produce the predicted state at t+6h. The full pipeline runs in 60s on a single TPU v4 chip.

Each of the three stages is a graph neural network with a different bipartite or homogeneous graph structure.

Encoder (Grid-to-Mesh).

The encoder maps features from ERA5 grid nodes vg𝒱g to mesh nodes vm𝒱5. It is a single-layer bipartite GNN defined by a bipartite graph 𝒢gm whose edges connect each grid node to the nearest K=4 mesh nodes. Let 𝐡g(0) denote the initial feature embedding of grid node g (including atmospheric variables, static fields like orography and land-sea mask, and sinusoidal positional encodings of latitude, longitude, and time of year). The mesh node features after encoding are (Encoder)𝐡menc=ϕm(𝐡m(0),g:(g,m)gmϕe(𝐡g(0),𝐡m(0),𝐚gm)), where ϕm and ϕe are learned MLPs, 𝐚gm are edge features (3D unit vector from g to m, arc length, etc.), and denotes sum aggregation.

Processor (Mesh-to-Mesh).

The processor is the heart of GraphCast. It applies Tproc=16 rounds of message passing on the multi-mesh graph 𝒢proc. Each round implements a standard edge-update then node-update GNN step (detailed in Section Graph Neural Network for Weather Forecasting).

Decoder (Mesh-to-Grid).

The decoder is the mirror image of the encoder: a single-layer bipartite GNN on a graph 𝒢mg whose edges connect each mesh node m to the nearest K grid nodes. It maps processed mesh features back to ERA5 grid locations, predicting the residual (change in state) rather than the absolute next state: (Decoder Residual)𝐱^t+6=𝐱t+Decoder(𝐡(Tproc)). Predicting residuals rather than absolute states improves training stability: the model only needs to learn the change over 6 hours, which is small relative to the typical magnitudes of atmospheric variables.

Graph Neural Network for Weather Forecasting

We now give the formal definition of the graph neural network used within GraphCast's processor.

Definition 15 (GNN for Weather Forecasting).

Let 𝒢=(𝒱,) be the processor graph with node feature matrix 𝐇(0)|𝒱|×dn and edge feature matrix 𝐄(0)||×de. A GNN message-passing step tt+1 consists of two updates:

Edge update. For each directed edge (u,v), the edge feature is updated by (EDGE Update)𝐞uv(t+1)=𝐞uv(t)+ψe(𝐡u(t),𝐡v(t),𝐞uv(t)),

Node update. For each node v𝒱, the node feature is updated by (NODE Update)𝐡v(t+1)=𝐡v(t)+ψn(𝐡v(t),u:(u,v)𝐞uv(t+1)), where ψe:dn×dn×dede and ψn:dn×dedn are learnable MLPs with layer normalisation and residual connections. After T message-passing steps, the output node features {𝐡v(T)} are decoded to forecast variables.

The residual connections in and are critical: without them, 16 layers of message passing would suffer from over-smoothing and vanishing gradients. GraphCast uses dn=de=512 and two-hidden-layer MLPs (512512512) with ReLU activations followed by layer normalisation.

Remark 17 (Expressiveness and locality).

A single message-passing step on 𝒢proc allows information to travel from node u to node v if there exists a directed edge (u,v)proc. With edges from all six refinement levels, this includes pairs as far as 2500km apart at level 0. After T=16 steps, information can travel at most 16×250040,000km-more than Earth's circumference. Thus 16 message-passing steps are theoretically sufficient for any signal to traverse the globe, analogous to the log-diameter scaling in random graphs.

Training on ERA5: Autoregressive Rollout and Loss

Data: ERA5 at 0.25, 37 Years

GraphCast is trained on ERA5 reanalysis data spanning 1979 to 2017 (approximately 37 years), held out: 2018 for validation, 2019 and 2020 for testing. The model operates at 0.25 horizontal resolution with 37 pressure levels (from 1 hPa to 1000 hPa) and six surface variables (2-metre temperature, 10-metre winds u and v, mean sea-level pressure, total precipitation, and total column water vapour; four of these enter the state vector). The full input-output dimensionality is (DIM)d=(37×5+4)×1440×7211.98×108 values per time step.

Two-State Input

A fundamental design choice is to provide two consecutive atmospheric states as input: 𝐱t6h and 𝐱t. This gives the model access to the instantaneous state and its recent tendency (the 6-hour difference 𝐱t𝐱t6h), mimicking the “two time levels” scheme of finite-difference NWP schemes that must approximate first-order time derivatives. Without this second time level, the model would need to infer the effective “velocity” of the atmospheric state from a single snapshot, a harder problem.

Autoregressive Rollout Training

Rather than training only on one-step predictions, GraphCast performs autoregressive rollout training: the model is unrolled for K steps, and the loss is computed as the sum over all rollout steps. For a rollout of length K starting at time t: (Rollout)𝐱^t+k6h=fθ(𝐱^t+(k1)6h,𝐱^t+(k2)6h),k=1,,K, with 𝐱^t6h=𝐱t6h and 𝐱^t=𝐱t (ground truth initialisation for the first step). The published GraphCast model was trained with increasing rollout length: beginning with single-step (K=1) pre-training and progressing to K=12 fine-tuning (three days of autoregressive rollout), one step at a time.

Normalised MSE Loss

The loss function must treat all variables comparably despite enormous differences in magnitude and variance (e.g., temperature in Kelvin vs. specific humidity in kg/kg). GraphCast uses a normalised mean squared error weighted by pressure level and variable: (LOSS)=1Kk=1K1|𝒱g|v𝒱g𝒫c𝒞wwc(x^v,,c(k)xv,,c(k)σ,c)2, where 𝒫 is the set of pressure levels, 𝒞 the set of predicted channels, w is the pressure-level weight (proportional to the pressure thickness of the layer), wc is the per-variable weight, and σ,c is the temporal standard deviation of channel c at level computed over the training set. The normalisation by σ,c ensures that variables with small natural variability (e.g., total column ozone) are not overwhelmed by variables with large variability (e.g., near-surface wind speed).

An area-weighting factor avcos(ϕv) (where ϕv is the latitude of ERA5 grid point v) is also applied to correct for the unequal areas of lat-lon cells, so polar regions do not dominate the loss despite having more grid points per unit area.

Operational Results: Surpassing HRES

The headline result of the Lam et al. (2023) paper is striking: GraphCast outperformed ECMWF HRES on 90.4% of the 1380 verification targets used in the standard WMO evaluation framework. The 1380 targets factor as 69×20:

  • 5 atmospheric variables (geopotential, temperature, u-wind, v-wind, specific humidity) at 13 pressure levels (50, 100, 150, 200, 250, 300, 400, 500, 600, 700, 850, 925, 1000 hPa), that is 65,

  • plus 4 surface variables, giving 69 variable-level combinations,

  • at 20 lead times from 12h to 10×24h=240h in 12-hour steps.

GraphCast showed the largest skill improvements at medium range (3–7 days), particularly for upper-tropospheric geopotential (Z500) and wind, which are most relevant for synoptic-scale pattern forecasting. At short range (0–48 h), high-resolution NWP still held advantages on fine-scale convective precipitation.

Lead time rangeFraction (%) where GraphCast > HRES
12–48 h (short range)81
60–120 h (medium range)95
132–240 h (extended)88
All 1380 targets (reported)90.3
Fraction of verification targets where GraphCast outperforms ECMWF IFS HRES, broken down by lead time category. Results from Lam et al. (2023).

A particularly noteworthy achievement was GraphCast's skill at predicting the track of tropical cyclones. Tropical cyclone track prediction requires accurate representation of the large-scale steering flow over multiple days, a task where medium-range skill is paramount. GraphCast demonstrated competitive cyclone track skill even before any task-specific fine-tuning, a strong validation of the general representational capacity of the model.

Example 6 (GraphCast on a European Heatwave).

Consider a 5-day forecast initialised in late June 2023, prior to the record-breaking heatwave that struck southern and central Europe in early July. ECMWF HRES, at the time the operational standard, predicted peak 2-metre temperature anomalies of +3 to +5K above climatology in Spain, Italy, and Greece at 5-day lead time. GraphCast, run in hindcast mode on the same initial conditions, forecast anomalies of +5 to +8K-consistently warmer, closer to what was subsequently observed (anomalies peaking at +9K in some locations).

The improvement arose from GraphCast's better representation of the atmospheric blocking pattern over the Atlantic, which was the dynamical precursor of the heatwave. Blocking is a quintessential large-scale, slowly-evolving phenomenon; it involves persistent high-pressure ridges that deflect the jet stream over thousands of kilometres. The multi-mesh connectivity of GraphCast, with edges spanning up to 2500km, is well matched to the spatial scales of blocking anomalies, whereas local convolution kernels must propagate this information over many layers.

Energy consumption for the 5-day, 6-hourly forecast (20 rollout steps): 1020kJ (of order 60s on a single TPU v4 chip), compared to 1000kWh (3.6GJ) for the equivalent ECMWF HRES run on a dedicated supercomputer cluster.

Open Source Release and Google DeepMind's Vision

In November 2023, Google DeepMind released GraphCast as open source, publishing model weights, code, and evaluation benchmarks on GitHub. This release was significant: it was the first time a state-of-the-art MLWP system was made freely available for research and operational experimentation, catalysing a wave of derivative work that adapted GraphCast to regional forecasting, ensemble generation, and climate downscaling.

The open release reflected a deliberate strategic choice by Google DeepMind. The AlphaFold release in 2021 had demonstrated that open publication of model weights (coupled with the AlphaFold Protein Structure Database) could catalyse an entire scientific field. The GraphCast open release carried a similar ambition: to accelerate weather science by providing the community with a production-quality forecast tool that could be fine-tuned on regional or application-specific data without the computational cost of training from scratch.

DeepMind has articulated a broader vision of AI for science in which deep learning serves as a universal approximator for complex physical systems, replacing or augmenting expensive first-principles simulations. GraphCast, AlphaFold, AlphaTensor (for discovering fast matrix multiplication algorithms), and AlphaCode represent different facets of this programme: applying large-scale deep learning and reinforcement learning to problems that have traditionally been the domain of physics, biology, and mathematics.

Remark 18 (GraphCast as a scientific instrument).

One subtle but important consequence of open release is that GraphCast can now be used as a scientific instrument. Because the model is differentiable end-to-end, researchers can compute gradients of forecast quantities with respect to initial conditions-a form of adjoint sensitivity analysis that NWP systems perform through separate, hand-coded adjoint solvers. This opens the door to ML-assisted data assimilation and uncertainty quantification, where the forecast model itself serves as the forward operator in a variational assimilation framework.

Exercises

Exercise 25.

(Multi-mesh receptive field.) Consider the multi-mesh processor graph 𝒢proc=k=05k. Let δk denote the mean edge length of k (see Table Table 5).

  1. After T message-passing steps, what is the maximum physical distance (in km) over which information can travel? Express your answer in terms of δ0 and T, and evaluate for T=16.

  2. How does this compare to the diameter of the Earth (40,000km)? Is 16 steps sufficient for global information propagation, in principle?

  3. Propose a principled method for choosing T as a function of the number of refinement levels K and the coarsest edge length δ0, ensuring global coverage.

Exercise 26.

(Normalised MSE loss decomposition.) Consider the GraphCast loss in . Suppose you have two variables c1 (temperature at 500 hPa) and c2 (specific humidity at 850 hPa) with temporal standard deviations σc1=8K and σc2=1.5gkg1, and suppose the model makes errors ϵc1=2K and ϵc2=0.2gkg1 on a particular example.

  1. Compute the normalised squared errors for c1 and c2 assuming equal variable weights wc1=wc2=1.

  2. If instead you set wc1=1 and wc2=0.1, how does the loss change? Motivate physically why one might want to down-weight humidity.

  3. Derive the gradient of the loss with respect to the predicted value x^c2 and show how σc2 acts as a normalising factor in the gradient magnitude.

Exercise 27.

(Icosahedral vs. lat-lon grid area uniformity.) Let Amax and Amin be the largest and smallest cell areas on a lat-lon grid with resolution Δ=0.25.

  1. Using , compute Amax (at the Equator) and Amin (at the highest latitude cell, 89.875N) in km2. What is the ratio Amax/Amin?

  2. For an icosahedral mesh 5 with 10,242 nodes, the theoretical area ratio is approximately 1.03. How many times more uniform is the icosahedral mesh compared to the lat-lon grid?

  3. Discuss quantitatively how area non-uniformity might bias a convolutional model's skill, assuming that gradient descent minimises the unweighted spatial average of squared errors.

Extending Horizons: FuXi, FengWu, NeuralGCM

The publication of GraphCast in late 2022 (preprint) and late 2023 (Science) (Science) ignited a global race. Within months, teams from Fudan University, Shanghai AI Lab, and Google Research had published competing architectures that matched or exceeded GraphCast on different aspects of the evaluation benchmark. This section examines three of the most scientifically influential: FuXi from Fudan University, FengWu from the Shanghai AI Lab, and NeuralGCM from Google Research, each of which contributes a distinct conceptual advance.

FuXi addresses the fundamental tension in extended-range forecasting: a single model optimised for short-range accuracy tends to become oversmoothed at long range, while a model optimised for long-range plausibility may sacrifice short-range detail. FuXi resolves this through a cascaded architecture of specialised models with explicit handoffs. FengWu addresses the catastrophic forgetting problem that emerges when autoregressive models are trained with very long rollouts, introducing a replay buffer and uncertainty-weighted multi-task loss. NeuralGCM takes the most radical departure: it is not a pure ML model but a hybrid system that combines a differentiable atmospheric dynamical core with learned parameterisations, bridging the gap between MLWP and climate modelling.

Insight.

Pure ML models can match NWP in weather but not yet in climate. Weather forecasting is an initial-value problem: skill depends on encoding the current atmospheric state and propagating it forward for days. Climate simulation is a boundary-value problem: skill depends on capturing long-term statistics shaped by radiative forcing, ocean coupling, and land-surface feedbacks over decades. Hybrid approaches like NeuralGCM are the natural bridge, preserving the conservation laws and long-term stability of physics-based dynamics while using ML to handle the complex, multi-scale subgrid processes that pure physics models parametrise crudely.

FuXi: Cascaded Architecture for 15-Day Forecasts

FuXi (Chen et al., 2023, Fudan University) takes its name from the legendary Chinese deity associated with cosmic order and the origins of civilisation-a fitting metaphor for a model that seeks to impose structure on the chaotic atmosphere over unprecedented lead times. The key technical contribution is a cascaded architecture consisting of three specialised models:

  • FuXi-Short: lead times 0–5 days (0–120 h),

  • FuXi-Medium: lead times 5–10 days (120–240 h),

  • FuXi-Long: lead times 10–15 days (240–360 h).

Each model is a U-Transformer built on SwinTransformer V2 blocks (described below), trained on ERA5 at 0.25 resolution with 37 pressure levels.

U-Transformer with SwinTransformer V2 Blocks

The base model for each of the three FuXi components is a U-Transformer: a hierarchical encoder-decoder architecture in the style of U-Net, but with SwinTransformer V2 blocks replacing convolutional layers.

SwinTransformer V2 recap.

SwinTransformer V2 (Liu et al., 2022) computes shifted-window self-attention over local w×w windows of patches. Given an input feature map of shape H×W×C (height, width, channels), the map is partitioned into non-overlapping windows of w×w patches and self-attention is computed independently within each window: (WMSA)W-MSA(𝐐,𝐊,𝐕)=softmax(𝐐𝐊d+𝐁)𝐕, where 𝐁 is a learned relative position bias and d is the head dimension. By alternating between regular and shifted-window partitions, consecutive SwinTransformer blocks achieve cross-window information exchange without computing global attention.

U-Transformer design.

The U-Transformer encoder reduces the spatial resolution through patch merging (analogous to strided convolution) while increasing channel depth, and the decoder up-samples through patch splitting (analogous to transposed convolution) with skip connections. For FuXi at ERA5 0.25 resolution, the encoder operates on an input of 721×1440×C0 and produces representations at multiple scales (721×1440, 361×720, 181×360), all processed by SwinTransformer V2 blocks.

Definition 16 (FuXi U-Transformer).

Let 𝐗H×W×C0 be the input atmospheric state embedding. The FuXi U-Transformer computes: 𝐙0=PatchEmbed(𝐗),𝐙0H×W×C,𝐙=SwinV2Block(𝐙1),=1,,Lenc,𝐙~=SwinV2Block(PatchSplit(𝐙~+1)⊕︎𝐙),=Lenc1,,1,𝐗^=PatchProj(𝐙~1), where ⊕︎ denotes skip connection concatenation, PatchEmbed is a linear projection over p×p patches, PatchMerge halves spatial resolution and doubles channels, PatchSplit is its inverse, and PatchProj projects back to the output variable space.

Cascaded Handoffs

The cascade works as follows. FuXi-Short is applied first, rolling out in 6-hour steps from the initial state to produce forecasts at 6, 12, 18, , 120 h (20 rollout steps). At the 120 h mark, the predicted state 𝐱^120h is passed to FuXi-Medium as its initial condition. FuXi-Medium then rolls out from 120 h to 240 h (another 20 steps). Finally, FuXi-Long takes the 𝐱^240h state and extends to 360 h (15 days).

FuXi cascaded forecasting pipeline. Three independent U-Transformer models (Short, Medium, Long) are chained with explicit handoffs at 5-day and 10-day lead times. Each model is trained independently on its respective lead-time regime, avoiding the simultaneous optimization of short-range accuracy and long-range plausibility. The cascade achieves skillful forecasts out to 15 days, surpassing the operational extended-range limit of most NWP systems.

The rationale for this decomposition is rooted in the predictability horizon of the atmosphere. Lorenz (1969) showed that the predictability of synoptic-scale weather is limited to roughly two weeks by the intrinsic chaotic divergence of nearby trajectories. Different timescales are dominated by different dynamical processes: the first five days are primarily governed by baroclinic instability and the detailed synoptic-scale flow; days 5–10 are increasingly influenced by the large-scale circulation patterns and teleconnections; beyond 10 days, predictability depends on slowly varying boundary conditions (sea surface temperatures, soil moisture) and the Madden-Julian Oscillation. A single model trained to excel across all three regimes must compromise; the cascade avoids this by specialising.

Training and Achievements

Each FuXi sub-model is trained independently on ERA5 data from 1979 to 2015, with 2016–2017 for validation and 2018 for testing. Training uses 6-hourly data with autoregressive rollout of K steps: FuXi-Short with K=20 (120 h); FuXi-Medium initialised from FuXi-Short predictions and trained for K=20 additional steps; FuXi-Long similarly.

The published results demonstrate skillful forecasts out to 15 days, measured by the latitude-weighted RMSE and anomaly correlation coefficient (ACC) for Z500 and T850. FuXi achieves positive ACC for Z500 at 15-day lead time in the Northern Hemisphere extra-tropics-a threshold traditionally associated with the “predictability barrier” of NWP. In head-to-head comparisons on the WeatherBench 2 benchmark (Rasp et al., 2024), FuXi-Medium outperforms GraphCast and Pangu-Weather at lead times beyond 7 days, while FuXi-Short is competitive with GraphCast at 1–5 day lead times.

FuXi-ENS: Ensemble Extension

Building on the deterministic FuXi system, the Fudan team subsequently developed FuXi-ENS: an ensemble extension that generates probabilistic forecasts by applying stochastic perturbations to the latent representations of the U-Transformer at each rollout step. Rather than training separate ensemble members from scratch, FuXi-ENS learns a perturbation network that produces spatially coherent additive noise fields in the latent space, conditioned on the current atmospheric state. This approach avoids the combinatorial explosion of training many ensemble members independently while producing spread-skill relationships that improve on deterministic single forecasts for verification of extreme events.

FengWu: Replay Buffer and Multi-Task Loss

FengWu (Chen et al., 2023, Shanghai AI Lab) is named after the ancient Chinese wind god. Its architecture is a multi-modal encoder-decoder that processes atmospheric variables in groups based on their physical characteristics, feeding separately encoded representations into a shared Transformer processor.

Multi-Modal Encoder-Decoder

The key design insight of FengWu is that the 70+ atmospheric variables in ERA5 span very different physical scales and statistical distributions. Rather than treating all variables identically (as GraphCast and Pangu-Weather do, modulo normalisation), FengWu divides variables into modality groups:

  1. Upper-air dynamics: geopotential, temperature, wind components (u, v), specific humidity at 13 pressure levels (5 variables × 13 levels = 65 channels);

  2. Surface fields: 2-metre temperature, 10-metre wind, mean sea-level pressure, total precipitation (4 channels);

  3. Static fields: orography, land-sea mask, soil type (time-invariant, encoded once and broadcast).

Each modality group is processed by a dedicated encoder: a convolutional stem followed by cross-attention to a learned set of “modality tokens.” The modality tokens serve as a compressed representation of each group; they are then concatenated and processed by a shared PerceiverIO-style Transformer. The decoder inverts this process, mapping shared tokens back to per-modality spatial fields.

This architecture has two advantages. First, it allows the model to allocate representational capacity differentially: the upper-air group, which dominates forecast error at medium range, receives more parameters. Second, the modality tokens provide a bottleneck that enforces cross-variable communication: the upper-air and surface encoders must coordinate through the shared Transformer to produce a consistent forecast, rather than evolving independently.

Replay Buffer for Long Rollouts

A fundamental challenge in training MLWP models with long autoregressive rollouts is catastrophic forgetting. During training, as the model learns to minimise the loss at long lead times (e.g., 7–10 days), the gradient signal from those late steps may interfere with the representations learned for short lead times (1–3 days). This is precisely the catastrophic forgetting phenomenon from continual learning applied to the temporal axis of a single forecasting model.

FengWu addresses this with a replay buffer: a store of previously generated forecast trajectories (both from the model's own outputs and from ERA5) that is mixed into each training batch. At each gradient step, the model sees not only fresh ERA5 sequences but also “replayed” trajectories from earlier training phases, preserving the gradient signal that maintains short-range skill.

Formally, let ={(𝐱0(i),𝐱ki(i))} be the replay buffer, where ki is the lead time (in 6-hour steps) of trajectory i. The training objective mixes a standard one-step MSE loss with a replay loss: (Replay LOSS)FengWu=𝔼(𝐱t,𝐱t+1)𝒟[MSE(fθ(𝐱t),𝐱t+1)]one-step loss+λr𝔼(𝐱0,𝐱k)[MSE(fθk(𝐱0),𝐱k)]replay loss, where fθk denotes the model rolled out k steps, and λr is a balancing coefficient (typically 0.10.3).

Uncertainty-Based Multi-Task Loss Balancing

FengWu predicts 69 atmospheric variable-level fields (65 upper-air plus 4 surface). Naively summing the MSE across all variables in equal proportion gives disproportionate weight to variables with high variance (e.g., wind speed at 10 m) and effectively ignores low-variance variables that may be meteorologically significant (e.g., stratospheric temperatures).

FengWu adopts uncertainty-based task weighting (Kendall et al., 2018), treating each variable as a separate task in a multi-task learning framework. For task c, the loss contribution is (MTL)c=12sc2𝐱^c𝐱c2+logsc, where sc>0 is a learnable uncertainty (standard-deviation) parameter for variable c. The total loss is =cc. Minimising over sc for a fixed prediction error is equivalent to maximising the Gaussian log-likelihood with variance sc2, and the regularisation term logsc prevents sc (which would collapse the loss to zero). Variables for which the model achieves low error naturally have small sc (low uncertainty), amplifying their gradient signal; variables for which error is irreducible (high atmospheric chaos) have large sc, down-weighting their contribution.

Energy Efficiency

One of FengWu's headline claims is exceptional energy efficiency: a complete 10-day forecast (40 autoregressive steps at 6-hourly resolution) requires approximately 12kJ of energy, compared to roughly 10,000kJ for an equivalent ECMWF HRES run. This three-orders-of-magnitude reduction in energy cost is a consequence of two factors: (i) the ML forward pass replaces millions of finite-difference operations on a petascale supercomputer with a single neural network evaluation on a modern GPU, and (ii) the smaller number of parameters in FengWu (270 million) versus the ECMWF model (which implements a full dynamical core with many parameterisation schemes).

The energy efficiency advantage has profound implications for operational meteorology in resource-limited settings. A national weather service in a developing country that cannot afford supercomputer access can run FengWu on a single GPU server and produce medium-range forecasts of quality that would previously have required bilateral data-sharing agreements with European or North American centres.

Comparison: Pangu vs. GraphCast vs. FuXi vs. FengWu

Table Table 7 summarises the key properties of the four major MLWP systems studied in this chapter.

SystemArchitectureResolutionHorizon10-day costOpen
ECMWF HRESNWP (spectral)9 km10 d3.6 GJ
Pangu-Weather3D + 2D ViT0.257 d12 kJYes
GraphCastGNN (icosahedral)0.2510 d15 kJYes
FuXiU-Trans. cascade0.2515 d15 kJYes
FengWuMulti-modal Enc-Dec0.2510 d12 kJYes
Comparison of major machine learning weather prediction (MLWP) systems as of mid-2024. “Horizon” is the maximum lead time for which the model claims skill. “10-day cost” is the approximate energy to generate one 10-day deterministic forecast. HRES cost is for a single-member deterministic run at 9km resolution on the ECMWF supercomputer.

The table reveals several striking patterns. First, all MLWP systems are multiple orders of magnitude more energy-efficient than ECMWF HRES. Second, maximum horizon varies considerably: FuXi uniquely pushes to 15 days through its cascaded design. Third, resolution remains constant at 0.25 across MLWP systems, not because finer resolution is undesirable, but because ERA5 training data at sub-0.25 resolution is unavailable at the scale needed for training. Fourth, all major MLWP systems have been open-sourced, a remarkable departure from the proprietary culture of traditional NWP.

NeuralGCM: Differentiable Physics Meets Learned Parameterisations

NeuralGCM (Kochkov et al., 2024, Google Research) represents the most conceptually radical departure from the transformer-stacking approach. Rather than replacing the entire NWP pipeline with a neural network, NeuralGCM hybridises a differentiable atmospheric dynamical core with learned neural parameterisations. This hybrid design was motivated by a key observation: pure MLWP systems excel at weather forecasting (initial-value problems on timescales of days) but fail at climate simulation (boundary-value problems on timescales of years to centuries) because they do not conserve mass, energy, and momentum, and they cannot generalise to atmospheric states outside their training distribution.

Differentiable Atmospheric Dynamical Core

The foundation of NeuralGCM is a differentiable implementation of the primitive equations of atmospheric dynamics: (Momentum)D𝐮Dt=1ρpfk^×𝐮+𝐅phys,Tt=𝐮T+κTωp+Qphys,lnpst=01𝐮dη+Sphys, where 𝐮 is the horizontal wind vector, ρ is air density, p is pressure, f is the Coriolis parameter, T is temperature, ω=Dp/Dt is vertical velocity in pressure coordinates, κ=Rd/cp is the ratio of the gas constant to the specific heat at constant pressure, ps is surface pressure, and η is the terrain-following vertical coordinate.

The terms 𝐅phys, Qphys, and Sphys are physical parameterisations: approximations of sub-grid-scale processes (convection, clouds, radiation, turbulence, land-surface exchange) that cannot be explicitly resolved at the model's grid resolution. In traditional GCMs, these parameterisations are elaborate hand-coded schemes with dozens of empirical parameters. NeuralGCM replaces them with learned neural networks.

The dynamical core is implemented in JAX, making it end-to-end differentiable with respect to all parameters (including the neural parameterisations), so the entire hybrid system can be trained jointly using automatic differentiation. This is a departure from the traditional “offline training” approach in which ML parameterisations are fitted to column-level inputs and outputs from the GCM without backpropagating through the dynamical core.

Learned Parameterisations

The neural parameterisations in NeuralGCM are column-local neural networks: small MLPs that take as input the vertical profile of atmospheric state at a grid column (temperature, humidity, wind, pressure) and produce tendencies (time derivatives) for the parameterised processes. Formally, for grid column (i,j): (Param)(𝐅phys,Qphys,Sphys)ij=gϕ({T,q,u,v,p}ij,=1L), where ϕ are the neural network parameters, q is specific humidity, and L is the number of vertical levels. The network gϕ is shared across all horizontal grid columns-it is not location-specific-so it must learn universal parameterisations that apply equally in the tropics, mid-latitudes, and poles.

This column-locality is a deliberate inductive bias: physical parameterisations are largely local in the horizontal (a convective event in one column does not directly affect parameterised tendencies in a column 100 km away), so imposing this structure reduces the parameter count dramatically compared to a global attention mechanism.

Weather and Climate Capability

A crucial test of NeuralGCM's hybrid design is whether it can operate stably for climate-length integrations (years to decades). Pure MLWP models like GraphCast and Pangu-Weather accumulate systematic errors that cause the model state to drift off the atmospheric manifold after a few weeks; the predicted fields develop physically implausible structures (negative humidity, spurious temperature inversions) that make long-run stability impossible.

NeuralGCM avoids this pathology because its dynamical core explicitly conserves mass and angular momentum through the discretised primitive equations. The neural parameterisations can produce physically implausible tendencies locally, but the dynamical core constrains the global evolution to remain on the manifold of physically consistent atmospheric states. Kochkov et al. (2024) demonstrated NeuralGCM's ability to:

  • Match or exceed GraphCast on medium-range weather forecasting (1–10 day skill);

  • Simulate multiple years of stable atmospheric evolution without state-space divergence;

  • Reproduce climatological statistics (mean temperature, precipitation patterns, variability indices) that drift catastrophically in pure MLWP models.

The ability to run in climate mode unlocks a new set of applications: century-scale climate projections at weather-resolving resolutions, rapid generation of large ensembles for uncertainty quantification, and “storyline” simulations that ask how specific weather events would change under different greenhouse gas concentrations.

Remark 19 (NeuralGCM as a bridge).

NeuralGCM occupies a unique position in the landscape of atmospheric modelling. It is neither a pure physics model (like ECMWF IFS) nor a pure data-driven model (like GraphCast). Instead, it is a physics-informed generative model: the dynamical core provides the geometric and conservation-law scaffolding that constrains the solution space, while the neural parameterisations provide the expressive capacity to approximate sub-grid physics without hand-coding their complex functional dependencies. This paradigm-differentiable physics as a structural prior, learned networks as flexible closures- is likely to become the dominant framework for the next generation of earth system models.

Example: FuXi's 15-Day Forecast of an Atmospheric River

Example 7 (FuXi and the 2023 California Atmospheric River).

In January 2023, a sequence of atmospheric rivers made landfall along the California coast, delivering record-breaking precipitation across Central and Northern California-in some locations exceeding five times the January climatological average. Atmospheric rivers are elongated corridors of intense water vapour transport, typically 1000–3000 km wide and extending from subtropical Pacific into the mid-latitudes; they account for roughly 50% of California's annual precipitation when they make landfall.

At 15-day lead time, FuXi correctly identified the anomalous meridional water vapour flux signature over the Pacific: the integrated vapour transport (IVT) field showed a pronounced tongue of >750kgm1s1 oriented toward Northern California, a textbook atmospheric river signature. FuXi-Long's prediction of the IVT pattern at this lead time agreed with the ERA5 analysis to within 150 km in position and within 20% in magnitude-a remarkable result given that the predictability of atmospheric river landfall location is generally considered poor beyond 10 days in conventional NWP.

By contrast, ECMWF HRES (single deterministic member) failed to resolve the atmospheric river at 15-day lead time; its extended-range products (ECMWF ENS control) showed the correct general pattern but with 30% underestimation of IVT magnitude. FuXi's superior skill at this range can be traced to its FuXi-Long component, which is specifically optimised for the low-frequency, large-scale dynamics that govern tropical-extratropical teleconnections-the physical mechanism driving atmospheric rivers.

The practical consequence: a 15-day lead time would have allowed California water managers to begin reservoir pre-releases roughly 12 days earlier than conventional models permitted, potentially mitigating downstream flooding.

The Race for Weather AI Supremacy

Remark 20 (Chinese and Western labs in competition).

The MLWP landscape of 2023–2024 was marked by an unusually rapid and geographically concentrated competition. Google DeepMind (UK/USA) published GraphCast; Huawei Noah's Ark Lab (China) published Pangu-Weather; Fudan University (China) published FuXi; and the Shanghai AI Lab (China) published FengWu-all within a six-month window spanning late 2022 to mid-2023.

This simultaneity was not coincidental. All four systems trained on the same dataset (ERA5), all targeted the same benchmark (HRES verification on WeatherBench), and all used broadly similar architectures (Transformer-based encoder-decoder with ERA5 at 0.25). The competition was therefore one of architectural innovation within a highly constrained problem specification, reminiscent of the ImageNet competition of 2012–2017 but compressed into months rather than years.

The concentration of Chinese institutional contributions is noteworthy. Pangu-Weather, FuXi, and FengWu all emerged from elite Chinese universities and industry labs with access to large-scale GPU clusters and deep talent pools in deep learning. The Chinese government's strategic investment in AI research, particularly in applications to climate and environment, provided an institutional context in which weather AI could attract top researchers and funding on a timescale that might not have been possible in a purely academic environment.

For the global weather forecasting community, the competitive dynamic has been almost entirely beneficial: it produced four open-source, state-of-the-art forecasting systems within a year, each with detailed technical papers describing their architectures. Operational meteorological services worldwide have been able to evaluate and integrate these systems without contributing to their development costs- a form of scientific public good that the open-publication norm in AI uniquely enables.

Exercises

Exercise 28.

(FuXi cascade error propagation.) Consider the FuXi cascaded pipeline. Let ϵS, ϵM, ϵL denote the root-mean-square errors (RMSEs) of FuXi-Short, FuXi-Medium, and FuXi-Long at their respective transition points (120 h, 240 h, 360 h), and let ϵclim denote the climatological RMSE (the error of always predicting the climatological mean). Assume that each sub-model's error at its initialisation step is equal to the error of the previous model at its handoff.

  1. If FuXi-Medium is trained to reduce its accumulated error over the 120–240 h window by a factor of α<1 relative to a single model trained end-to-end, derive the overall 240 h RMSE of the cascaded system in terms of ϵS and α.

  2. Under what conditions does the cascade give lower error than a single end-to-end model of equal parameter count?

  3. Propose a method for choosing the handoff lead times (currently 5 and 10 days) that minimises the expected total cascade error, given an empirical error-growth curve ϵ(t) for a single model.

Exercise 29.

(FengWu uncertainty weighting.) Recall the FengWu multi-task loss in .

  1. Show that minimising c=12sc2𝐱^c𝐱c2+logsc with respect to sc (for fixed prediction error ec=𝐱^c𝐱c2) yields sc=ec1/2.

  2. Substituting sc back, show that the optimised loss per variable simplifies to c=12+12logec, independent of the choice of weighting scheme.

  3. Gradient analysis. Compute c/x^c,i when sc is treated as a trainable parameter (not substituted by sc). Show that the gradient magnitude is attenuated by 1/sc2, confirming that high-uncertainty variables contribute smaller gradients.

Exercise 30.

(NeuralGCM: hybrid vs. pure ML stability.) Consider a simplified 1D discretisation of the advection equation tu+cxu=0 (constant wave speed c>0) on a periodic domain [0,1] with N grid points.

  1. For the upwind finite-difference scheme ujn+1=ujncΔtΔx(ujnuj1n), state the Courant-Friedrichs-Lewy (CFL) stability condition and show that it bounds the numerical dissipation.

  2. Now suppose the forcing term Fj in tu+cxu=F is replaced by a neural network prediction Fj=gϕ(uj). If gϕ is trained to minimise MSE against a dataset but can produce values with magnitude up to gϕ=M, derive a sufficient condition on M and Δt for the hybrid scheme to remain bounded.

  3. In the NeuralGCM context, the equivalent of M is the magnitude of the neural parameterisation tendencies. Argue that the conservation laws of the dynamical core provide an implicit upper bound on M, and explain how this differs from a pure ML model that can produce arbitrary state updates.

The Probabilistic Foundations of Weather Forecasting

The history of weather forecasting is, at its deepest level, the history of humanity coming to terms with a fundamental philosophical shift: the atmosphere does not have a single, deterministic future. It has a distribution of futures, and any honest forecast must communicate that distribution. This insight, which now seems obvious, was radical when Edward Epstein first articulated it in 1969. The intervening half-century has transformed it from a philosophical curiosity into the operational backbone of every major national weather service on the planet.

In this section we develop the mathematical foundations of probabilistic weather prediction from first principles. We trace the intellectual lineage from Epstein's stochastic-dynamic equations through Leith's theoretical analysis of Monte Carlo skill, to the operational ensemble systems introduced by Toth and Kalnay at the National Meteorological Center and by the European Centre for Medium-Range Weather Forecasts. We introduce the formal vocabulary - ensemble prediction systems, initial-condition uncertainty, model uncertainty, boundary uncertainty - and we derive the primary verification metric for probabilistic forecasts, the Continuous Ranked Probability Score. The section concludes with a spread-skill theorem that characterises when an ensemble is well-calibrated, and with a discussion of the immense computational cost that makes this framework ripe for machine-learning acceleration.

Epstein's Stochastic-Dynamic Prediction

In 1969, Edward Epstein published a short but transformative paper in the Journal of Applied Meteorology that asked a question no operational forecaster had dared to formalise: if we cannot know the initial state of the atmosphere exactly, what is the correct mathematical object to forecast? His answer was unambiguous. The correct object is not a single state trajectory, but the probability density function over all possible atmospheric trajectories consistent with our uncertain knowledge of the initial conditions.

Epstein observed that the atmosphere evolves according to a system of nonlinear partial differential equations - the primitive equations of fluid dynamics. Let 𝒙(t)n denote the state vector of the atmosphere at time t, where n is the number of degrees of freedom (in practice, of order 108 for a global model). The dynamics are governed by (Primitive)d𝒙dt=𝒇(𝒙,t), where 𝒇:n×n encodes the physical laws of fluid dynamics, thermodynamics, and radiative transfer. In the deterministic paradigm, one specifies an initial condition 𝒙(0)=𝒙0 and integrates forward to produce a unique forecast trajectory.

Epstein's insight was to replace the point initial condition with a probability distribution p0(𝒙) over possible initial states and to ask: how does this distribution evolve under the dynamics? If p(𝒙,t) denotes the probability density at time t, then by the continuity equation (the Liouville equation), (Liouville)pt+𝒙(p𝒇)=0. This is the stochastic-dynamic equation: a partial differential equation for the evolution of the full probability distribution over atmospheric states. A forecast is no longer a single trajectory but the entire time-evolving density p(𝒙,t).

Historical Note.

Edward Epstein (1931–2013) and the Birth of Probabilistic Forecasting. Edward Epstein spent most of his career at the National Oceanic and Atmospheric Administration (NOAA) and the University of Michigan. His 1969 paper, “Stochastic dynamic prediction,” ran to barely ten pages but contained an idea of lasting importance. Epstein recognised that the atmosphere is a chaotic system - small errors in the initial state grow exponentially over time - and that the correct treatment of such a system is statistical. He wrote the Liouville equation ((Liouville)) explicitly and showed that, even for quadratic nonlinearities, the distribution of forecasts cannot generally be Gaussian, and must be tracked through higher-order moments or sampled directly. The practical challenge of solving the Liouville equation in 108 dimensions would not be resolved until the Monte Carlo methods of the 1990s, but Epstein had established the philosophical foundation: a weather forecast is a probability distribution, not a number.

Epstein's paper arrived at the same moment that Edward Lorenz was demonstrating the sensitive dependence on initial conditions of low-order atmospheric models. The two insights are complementary: Lorenz showed why deterministic forecasts must fail at long lead times; Epstein showed what should replace them. Every ensemble prediction system in operation today is a computational realisation of Epstein's vision.

Leith's Theoretical Analysis of Monte Carlo Skill

Epstein's stochastic-dynamic formulation was theoretically clean but computationally intractable. Solving the Liouville equation in the full state space of a global weather model is impossible; the dimensionality is far too large. The natural alternative is Monte Carlo sampling: instead of propagating the distribution analytically, one propagates a finite ensemble of N sample trajectories and uses the ensemble to approximate the distribution.

Cecil Leith (1974) provided the first rigorous theoretical analysis of how the skill of a Monte Carlo ensemble scales with ensemble size N and with the accuracy of the underlying deterministic model. Leith's central result is that the mean-square error of an ensemble mean forecast decomposes into a variance term and a bias term, and that the variance term decreases as 1/N.

Let xt be a scalar forecast variable (a simplification for exposition; the full theory applies componentwise to vector states). Suppose the true future state is xt and we have an ensemble {xt(k)}k=1N of N forecast members drawn from the forecast distribution p(xt|𝒙0). Define the ensemble mean (Ensemble MEAN)xt=1Nk=1Nxt(k). Leith showed that under mild regularity conditions, (Leith Decomp)𝔼[(xtxt)2]=𝔼[(xtμt)2]irreducible error+σt2Nsampling variance, where μt=𝔼[xt] and σt2=𝖵ar[xt] are the mean and variance of the forecast distribution. The first term is the irreducible forecast error due to chaotic growth of uncertainties; it cannot be reduced by running more ensemble members. The second term is the finite-ensemble sampling error; it vanishes as N.

Remark 21 (Practical Implications of Leith's Result).

Leith's decomposition ((Leith Decomp)) has an important practical implication: there is diminishing return to adding ensemble members. Going from N=1 (deterministic) to N=10 removes 90% of the sampling variance; going from N=10 to N=50 removes a further 80% of what remains; going from N=50 to N=200 yields only marginal improvement. ECMWF's operational ensemble uses N=50 members precisely because Leith's analysis indicates that larger ensembles are not cost-effective for the purpose of estimating the ensemble mean. The situation is different for estimating tail-probability events, where larger ensembles confer substantial benefit by providing more samples in the tails of the distribution.

Operational Ensemble Forecasting at NMC

The theoretical case for ensemble forecasting was well-established by the early 1990s, but operational implementation required both the computational resources and the methodological innovations to make it practical. Toth and Kalnay (1993) introduced the breeding method for generating initial perturbations and demonstrated the first operational ensemble forecast system at the National Meteorological Center (NMC, later renamed the National Centers for Environmental Prediction, NCEP).

The core challenge in designing an ensemble is the choice of initial perturbations. One could, in principle, draw perturbations at random from the analysis error covariance. But Toth and Kalnay observed that random perturbations project mostly onto stable or neutral directions in phase space - directions in which errors decay or remain bounded. What matters for forecast skill is the growing error directions: the modes in which small initial errors amplify most rapidly.

The breeding method constructs perturbations by iteratively running the model forward and then normalising the evolved perturbation back to the initial amplitude. Formally, let 𝒙0 be the analysis state. Choose a random initial perturbation δ𝒙0 with small amplitude ϵ. Integrate both the perturbed and unperturbed forecasts forward by a breeding cycle of length Δt: (Breeding Cycle)δ𝒙Δt=ΦΔt(𝒙0+δ𝒙0)ΦΔt(𝒙0), where ΦΔt is the model's forward-integration operator. The rescaled perturbation (Rescale)δ𝒙0new=ϵδ𝒙Δtδ𝒙Δt is then used as the starting point for the next breeding cycle. After many cycles, the perturbation aligns with the fastest-growing error mode - the bred vector - and captures the directions in phase space where the ensemble spread is most meaningful.

Definition 17 (Bred Vector).

A bred vector is the perturbation obtained by iterating the nonlinear breeding cycle ((Breeding Cycle))– ((Rescale)) to convergence. Bred vectors approximate the leading Lyapunov vectors of the system - the directions of maximal error growth - and are used as initial perturbations for ensemble members in breeding-based ensemble systems.

The NCEP operational ensemble, as described by Toth and Kalnay, used five pairs of bred vectors (each pair consisting of a positive and a negative perturbation) to create ten initial states offset from the analysis. Together with the unperturbed control run, this produced an eleven-member ensemble at a fraction of the cost of running eleven independent forecasts.

Remark 22 (Bred Vectors vs. Singular Vectors).

ECMWF independently developed singular vector (SV) perturbations for its ensemble, introduced at roughly the same time. Singular vectors are computed by linearising the forecast model and finding the initial perturbations that maximise energy growth over a finite-time interval T (typically 48 hours). Formally, if 𝐋 is the tangent linear model (Jacobian of ΦT), singular vectors are the right singular vectors of 𝐋 with respect to an energy inner product. Singular vectors are more expensive to compute than bred vectors (requiring an adjoint model), but they have a clear optimality property: they represent the initial perturbations that will contribute most to forecast uncertainty at the target time. Practical ensemble systems in current use often combine elements of both approaches.

Stochastic Weather Generators

Ensemble prediction systems target the spread of forecast trajectories at medium range (up to about two weeks). A complementary tradition, reviewed comprehensively by Wilks and Wilby (1999), addresses a different but related problem: generating synthetic sequences of weather variables that are statistically indistinguishable from observations over long time horizons. These stochastic weather generators (SWGs) are used for climate impact assessment, hydrological modelling, agricultural planning, and risk analysis.

The classic SWG for daily precipitation models wet-day occurrence as a first-order Markov chain: the probability of rain on day t depends only on whether day t1 was wet or dry. Let Wt{0,1} be a binary indicator of wet days. The Markov model is specified by two transition probabilities, (Markov Precip)p01=P(Wt=1|Wt1=0),p11=P(Wt=1|Wt1=1), estimated from historical records. Given Wt=1, the precipitation amount Rt>0 is drawn from a fitted distribution (often gamma or mixed exponential).

Example 8 (Richardson's Stochastic Weather Generator).

Charles Richardson (1981) extended the Markov precipitation model to include daily temperature and solar radiation, conditioned on the wet/dry state. In Richardson's model, the multivariate vector of weather variables 𝒛t=(Ttmax,Ttmin,St) - maximum temperature, minimum temperature, and solar radiation - is modelled as a lag-1 vector autoregression conditional on the occurrence state Wt: (Richardson)𝒛t=𝐀Wt𝒛t1+𝐁Wt𝝐t,𝝐tiid𝒩(0,𝐈), where 𝐀Wt and 𝐁Wt are parameter matrices that depend on the wet/dry state. Wilks and Wilby (1999) survey extensions to this model that incorporate seasonality, spatial correlation, and climate change scenarios.

The stochastic weather generator tradition is important for our purposes because it represents an early, if simple, form of generative modelling for weather: the goal is to learn a distribution p(𝒛1:T) over weather sequences and sample from it, rather than to predict the next state deterministically. The limitations of classical SWGs - their reliance on prescribed parametric distributions, their inability to capture complex spatial structures, their difficulty with rare extremes - are precisely the limitations that modern deep generative models are designed to overcome.

The Conceptual Framework for Ensemble Prediction

The most influential modern synthesis of why ensembles matter is due to Leutbecher and Palmer (2008), who provide a comprehensive conceptual and practical guide to ensemble prediction. Their framework rests on three interacting sources of forecast uncertainty that together determine the spread of an ensemble.

Definition 18 (Sources of Forecast Uncertainty).

In an ensemble prediction system, forecast uncertainty arises from three distinct sources:

  1. Initial condition uncertainty. The analysis 𝒙0 is not the true atmospheric state; it is an estimate obtained by combining model background forecasts with observations. The analysis error δ𝒙0=𝒙0𝒙0 is uncertain and follows a distribution p(δ𝒙0) characterised by the analysis error covariance 𝐏0=𝔼[δ𝒙0δ𝒙0]. Ensemble members are typically initialised at states 𝒙0(k)=𝒙0+δ𝒙0(k), where the perturbations δ𝒙0(k) are drawn from or designed to capture p(δ𝒙0).

  2. Model uncertainty. The forecast model 𝒇(𝒙,t) is an imperfect representation of the true atmosphere. Discretisation errors, sub-grid parameterisations, and missing physical processes all introduce systematic biases and random errors that cannot be corrected by better initial conditions alone. Model uncertainty is captured by stochastic physics parameterisations (Section Stochastic Physics Parameterisations).

  3. Boundary uncertainty. For limited-area models, uncertainty in the lateral boundary conditions propagates into the domain interior. For global models, uncertainty in sea surface temperatures and land-surface states plays the analogous role.

Leutbecher and Palmer emphasise that a well-designed ensemble must represent all three sources simultaneously. An ensemble that perturbs only the initial conditions will be under-dispersive at long lead times, because model errors grow and accumulate in a way that the ensemble cannot capture. Conversely, an ensemble that represents model uncertainty but ignores initial condition uncertainty will produce misleading probability estimates in the first few days when initial condition uncertainty dominates.

Definition 19 (Ensemble Prediction System).

An ensemble prediction system (EPS) is a tuple (,p0,N,𝒮) where:

  • is a numerical weather prediction model (possibly stochastic) that maps initial states to forecast trajectories;

  • p0 is a distribution over initial atmospheric states, characterising initial condition uncertainty;

  • N is the ensemble size; and

  • 𝒮 is a stochastic parameterisation scheme representing model uncertainty.

An EPS produces a forecast at lead time τ as the set of N model states {xτ(k)}k=1N, where xτ(k)=τ(𝒙0(k),ξ(k)), with 𝒙0(k)p0 and ξ(k) an independent draw from the stochastic parameterisation scheme 𝒮. The ensemble collectively approximates the forecast probability distribution p(xτ).

Singular Vector Perturbations at ECMWF

The European Centre for Medium-Range Weather Forecasts (ECMWF) developed singular vector (SV) perturbations as the primary mechanism for capturing initial condition uncertainty in its ensemble prediction system (EPS). The mathematical foundation of SVs rests on the theory of optimal linear perturbation growth.

Let Φτ:nn denote the nonlinear forward model integrated over time interval τ, and let 𝐋τ=D𝒙Φτ(𝒙0) be its linearisation (the tangent linear model) about the analysis trajectory. Define an energy inner product 𝒖,𝒗E=𝒖𝐄𝒗 on the state space, where 𝐄 is a positive definite energy-metric matrix. The singular vectors are the solutions to the constrained optimisation problem (SV Optim)𝒖j=arg max𝒖:𝒖E=1𝐋τ𝒖E,j=1,,M, i.e., the initial perturbations of unit energy that experience the greatest energy growth over the interval τ. These are the right singular vectors of 𝐄1/2𝐋τ𝐄1/2 ordered by decreasing singular value σ1σ20. The j-th singular value σj quantifies the amplification factor: an initial perturbation aligned with 𝒖j will grow by a factor of σj in energy over time τ.

ECMWF's operational implementation uses M=50 singular vectors per hemisphere, computed for a target time of τ=48 hours. The leading SVs are those that grow most rapidly, and they correspond to the meteorologically active regions where forecast uncertainty is expected to be largest (typically jet stream regions, baroclinic zones, and cyclone development areas).

Stochastic Physics Parameterisations

Initial-condition perturbations address the first source of uncertainty in Leutbecher and Palmer's framework, but they cannot capture model errors that accumulate during integration. To represent model uncertainty, modern ensemble systems augment their physics parameterisations with stochastic components.

The most widely used approach is the Stochastically Perturbed Parameterisation Tendencies (SPPT) scheme, introduced at ECMWF in the early 2000s. In SPPT, the parameterised tendency 𝒙˙param from all physics schemes (convection, boundary layer, radiation, etc.) is multiplied by a spatially and temporally correlated random field r(𝒙,t): (SPPT)d𝒙dt=𝒙˙dyn+r𝒙˙param,r(𝒙,t)𝒢(ρs,ρt,σr), where 𝒙˙dyn is the dynamical (resolved-scale) tendency and 𝒢(ρs,ρt,σr) denotes a Gaussian random field with spatial correlation length ρs, temporal decorrelation time ρt, and standard deviation σr. Typical operational values are ρs500,km, ρt6 hours, and σr0.5.

Remark 23 (Limitations of SPPT).

The SPPT scheme has two known deficiencies. First, it assumes that parameterisation errors are proportional to the tendency magnitude; in reality, errors can be large even when tendencies are small (e.g., near the tropopause). Second, SPPT applies the same random perturbation to all parameterisation schemes simultaneously, whereas different schemes have independent sources of uncertainty. The Stochastic Kinetic Energy Backscatter (SKEB) scheme and the more recent Physically Consistent Stochastic Parameterisations address these limitations by treating different parameterisations independently and ensuring that the stochastic perturbations respect energy conservation.

The Continuous Ranked Probability Score

Evaluating a probabilistic forecast requires a verification metric that rewards both accuracy and reliability - a metric that assigns a high score to a forecast distribution that places most of its mass near the verifying observation, and a low score to a distribution that is either biased or over-/under-confident. The standard metric for this purpose is the Continuous Ranked Probability Score (CRPS).

Definition 20 (Continuous Ranked Probability Score).

Let F:[0,1] be a predictive cumulative distribution function (CDF) for a scalar weather variable, and let x be the verifying observation. The Continuous Ranked Probability Score is (CRPS DEF)CRPS(F,x)=[F(y)𝟏(yx)]2dy, where 𝟏(yx) is the Heaviside step function that equals 1 for yx and 0 otherwise.

Equivalently, if F corresponds to an ensemble of N members {x(k)}k=1N, the CRPS admits the energy-score representation (CRPS Energy)CRPS({x(k)},x)=1Nk=1N|x(k)x|12N2k=1Nj=1N|x(k)x(j)|. The CRPS is negatively oriented (lower is better) and equals the Mean Absolute Error (MAE) for a deterministic forecast (N=1).

Several properties of the CRPS make it the preferred metric for ensemble verification. It is a proper scoring rule: the expected CRPS is minimised if and only if the predictive distribution F equals the true data-generating distribution. This means a forecaster cannot artificially improve the expected CRPS score by hedging or by reporting a distribution that differs from their true belief.

Decomposition of CRPS

Proposition 2 (CRPS Decomposition).

The CRPS admits a decomposition into three climatologically interpretable components: (CRPS Decomp)CRPS=Reliability0Resolution0+Uncertainty0, where CRPS denotes the mean CRPS over a verification dataset. Here:

  • Reliability measures the degree of statistical consistency between the forecast distribution and the observed frequencies. It is zero for a perfectly calibrated forecast.

  • Resolution measures how much the forecast distribution varies from the climatological distribution. Higher resolution means the forecast adapts more specifically to individual situations.

  • Uncertainty is determined entirely by the observations and represents the irreducible variability of the verification data.

A lower mean CRPS requires either better reliability, higher resolution, or lower intrinsic uncertainty (none of which can be controlled by the forecaster).

Proof.

We follow the derivation of Hersbach (2000). Define the probability integral transform (PIT) value uk=Fk(xk) for each forecast–observation pair (Fk,xk) in the verification set, where Fk is the predictive CDF and xk the observation.

By the integral representation ((CRPS DEF)), the mean CRPS over K verification pairs is (CRPS SUM)CRPS=1Kk=1K[Fk(y)𝟏(yxk)]2dy. Expand the square: (CRPS Expand)[Fk(y)𝟏(yxk)]2=Fk(y)22Fk(y)𝟏(yxk)+𝟏(yxk), and integrate each term. The third term integrates to xkdy, which diverges for unbounded support; we therefore define CRPS on a bounded interval or work with standardised anomalies. For the purpose of this decomposition, the key step is to condition on the “alpha” and “beta” functions of Hersbach (2000): α(p)=1Kk=1K(Fk1(p)xk)+,β(p)=1Kk=1K(xkFk1(p))+, where (z)+=max(z,0). Substituting and rearranging (see Hersbach 2000, Eq. 26–32), one obtains CRPS=01[α(p)p2+β(p)(1p)2]dp=01[α(p)+β(p)](pp(p))2dpReliability+(UncertaintyResolution)potential CRPS, following Hersbach (2000, Eq. 26–32), where the weights enter squared. The climatological CRPS (Uncertainty) is obtained by replacing Fk1(p) with the climatological quantile function Fclim1(p) for all k, and the Resolution is the reduction below that baseline achieved by a calibrated forecast with the same predictive quantiles. This reproduces the proposition's identity CRPS=ReliabilityResolution+Uncertainty. Reliability is non-negative because α,β0 pointwise; Resolution is non-negative by the propriety of the CRPS (no calibrated forecast scores worse than climatology).

Remark 24 (Practical Computation of CRPS).

In practice the CRPS is most easily computed via the energy score formula ((CRPS Energy)), which requires only the ensemble members and the observation. The decomposition into reliability, resolution, and uncertainty is computed using the rank histogram (Talagrand diagram) and cumulative integration as described above. The energy score formula generalises directly to multivariate forecasts as the Energy Score: (Energy Score)ES({𝒙(k)},𝒙)=1Nk=1N𝒙(k)𝒙12N2k=1Nj=1N𝒙(k)𝒙(j), where is the Euclidean norm on d.

The Spread-Skill Relationship

A well-calibrated ensemble should have a spread that equals its skill: if the ensemble members are drawn from the forecast distribution, the root-mean-square error (RMSE) of the ensemble mean should equal the ensemble standard deviation (spread), on average.

Definition 21 (Spread-Skill Relationship).

For a scalar forecast variable, the spread-skill relationship is the joint relationship between:

  • the ensemble spread σt=1N1k=1N(xt(k)xt)2, the sample standard deviation of the ensemble members;

  • the skill of the ensemble mean et=|xtxt|, the absolute error of the ensemble mean against the verifying observation.

The ensemble is reliable (or calibrated) if, averaged over many forecast–verification pairs, (Spread Skill)𝔼[σt2]=𝔼[et2]NN+1, where the factor (N+1)/N corrects for the finite ensemble size. An ensemble with 𝔼[σt2]<𝔼[et2] is under-dispersive (overconfident); one with 𝔼[σt2]>𝔼[et2] is over-dispersive (underconfident).

In practice, most operational ensemble systems are moderately under-dispersive, particularly at longer lead times, because model errors introduce systematic biases that the ensemble perturbations do not fully capture. This is one reason why post-processing techniques - statistical methods that inflate ensemble spread to match observed error statistics - are routinely applied before ensemble forecasts are issued to users.

Ensemble spaghetti plot illustrating how ten ensemble members (coloured trajectories) diverge from a common analysis state 𝒙0 as lead time τ increases. The ensemble mean (dark blue) is a smooth compromise among the members, while the true future state (dashed black) may lie far from the mean, and even outside the ensemble spread at long lead times in an under-dispersive system. Spread στ (green double arrow) quantifies the ensemble's uncertainty at any given lead time.

The Computational Cost of Ensemble NWP

The theoretical and practical case for ensemble prediction is compelling, but the cost is formidable. A state-of-the-art global ensemble such as ECMWF's ENS runs 50 ensemble members plus one unperturbed control forecast at the same resolution as the members (the separate high-resolution deterministic run is HRES). Each member is itself a NWP model integration at approximately 9,km (since IFS Cycle 48r1, June 2023; 18,km before it) horizontal resolution (as of 2024), with roughly 109 grid-point degrees of freedom and 103 vertical levels after accounting for the spectral truncation.

Key Idea.

The operational ECMWF ensemble (50 members, Δx18,km, τ15 days) consumes roughly 50–100 times the compute of a single deterministic medium-range forecast. At global production scale, this corresponds to several petaFLOP-hours per forecast cycle (every 12 hours). No other scientific activity routinely produces and disseminates probabilistic forecasts of a chaotic system at this scale - making NWP simultaneously the largest operational user of probabilistic methods and one of the strongest motivators for computationally efficient surrogate models.

The high cost of ensemble NWP motivates two complementary machine-learning strategies. First, one can train a deterministic ML model to approximate a single NWP integration, reducing the cost of each member while maintaining ensemble diversity through perturbations - the approach taken by GraphCast, Pangu-Weather, and others. Second, one can train a generative model that directly samples from the forecast distribution without running N separate integrations - the approach of GenCast, AIFS-CRPS, and related systems. The next section examines why the second approach requires generative modelling and cannot be achieved by deterministic MLmodels alone.

Exercises

Exercise 31.

Show from the energy-score formula ((CRPS Energy)) that the CRPS reduces to the Mean Absolute Error (MAE) when the ensemble size is N=1, i.e., when the forecast is a single deterministic value x(1). Explain why the CRPS is a strictly proper generalisation of the MAE to probabilistic forecasts.

Exercise 32.

Let {x(k)}k=1N be an exchangeable ensemble of scalar forecasts with true forecast distribution p(x) of mean μ and variance σ2. Let x=N1kx(k) be the ensemble mean and s2=(N1)1k(x(k)x)2 the sample variance.

  1. Show that 𝔼[s2]=σ2 (unbiasedness).

  2. Show that 𝔼[(xμ)2]=σ2/N.

  3. Hence derive the calibration condition ((Spread Skill)) that 𝔼[s2]=𝔼[e2]N/(N+1), where e=xx and xp.

Exercise 33.

This exercise compares bred vectors and singular vectors as mechanisms for generating ensemble perturbations.

  1. Explain in words why bred vectors align with the leading Lyapunov vector of the dynamical system after many breeding cycles. What is the connection to the Oseledets multiplicative ergodic theorem?

  2. Show that the leading singular vector 𝒖1 satisfies 𝒖1=arg max𝒖E=1𝐋τ𝒖E and that it equals the right singular vector of 𝐄1/2𝐋τ𝐄1/2 with largest singular value.

  3. Discuss one advantage and one disadvantage of each approach for an operational ensemble system that must produce perturbations every 12 hours.

Why Generative Models? The Blurring Problem

The previous section established that weather forecasting is inherently probabilistic: the atmosphere is a chaotic system, and an honest forecast must be a distribution, not a point. Machine learning has produced a generation of deterministic weather models - GraphCast, Pangu-Weather, FourCastNet, and their successors - that achieve remarkable skill at short to medium lead times, matching or exceeding operational NWP at a fraction of the compute cost. But there is a deep mathematical reason why these deterministic models cannot replace ensemble forecasting, no matter how large they are trained or how much data they see. This section develops that argument rigorously.

The argument proceeds in four steps. First, we show that any model trained to minimise mean squared error converges to the conditional expectation, which is a smooth average over all possible futures. Second, we show that for chaotic systems, this conditional expectation loses the sharp spatial features of any individual realisation. Third, we document empirically that GraphCast and Pangu-Weather exhibit exactly this behaviour at long lead times. Fourth, we argue that the only principled remedy is to train a generative model that explicitly targets the conditional distribution rather than its mean.

The MSE Minimisation Trap

Proposition 3 (MSE-Optimal Predictor).

Let (𝒙t,𝒙t+1) be a pair of atmospheric states drawn from the joint distribution p(𝒙t,𝒙t+1). Among all measurable functions f:nn, the function that minimises the expected mean squared error (MSE LOSS)MSE(f)=𝔼[𝒙t+1f(𝒙t)2] is the conditional expectation: (MSE Optimal)f(𝒙t)=𝔼[𝒙t+1|𝒙t].

Proof.

Add and subtract the conditional mean inside the squared norm: (MSE Expand)𝔼[𝒙t+1f(𝒙t)2]=𝔼[𝒙t+1𝔼[𝒙t+1|𝒙t]+𝔼[𝒙t+1|𝒙t]f(𝒙t)2]=𝔼[𝒙t+1𝔼[𝒙t+1|𝒙t]2]+𝔼[𝔼[𝒙t+1|𝒙t]f(𝒙t)2]+2𝔼[𝒙t+1𝔼[𝒙t+1|𝒙t],𝔼[𝒙t+1|𝒙t]f(𝒙t)]. The cross term vanishes by the law of total expectation: since 𝔼[𝒙t+1|𝒙t]f(𝒙t) is measurable with respect to 𝒙t, and 𝔼[𝒙t+1𝔼[𝒙t+1|𝒙t]|𝒙t]=0 by definition of conditional expectation, the cross term equals zero. The first term is a constant independent of f. The second term is non-negative and equals zero if and only if f(𝒙t)=𝔼[𝒙t+1|𝒙t] almost surely. Therefore f=𝔼[𝒙t+1|𝒙t] is the unique (a.s.) minimiser.

This proposition is a classical result in estimation theory, but its implications for weather forecasting are severe. A neural network trained with an MSE loss on a dataset of input–output pairs (𝒙t,𝒙t+1) will converge, given sufficient capacity, to the conditional mean 𝔼[𝒙t+1|𝒙t]. This is not a sample from the conditional distribution; it is an average over all possible next states.

Why the Conditional Mean Is Blurry

Proposition 4 (Smoothness of the Conditional Mean in Chaotic Systems).

Let 𝒙t+1=Φτ(𝒙t)+𝝐t, where Φτ is the chaotic forward model and 𝝐tpε is model or observational noise. Assume that the conditional distribution p(𝒙t+1|𝒙t) has a density pt+1|t(𝒚|𝒙t) that is non-degenerate (positive everywhere on a compact support) for all 𝒙t in a neighbourhood of the attractor. Then the conditional mean μ(𝒙t)=𝔼[𝒙t+1|𝒙t] satisfies:

  1. μ(𝒙t)=𝒚pt+1|t(𝒚|𝒙t)d𝒚, which is a spatial average over the support of the conditional distribution.

  2. The spatial power spectrum μ^(𝒌) of the conditional mean satisfies 𝔼[|μ^(𝒌)|2]𝔼[|𝒙^t+1(𝒌)|2] for all wavenumbers 𝒌, i.e., the power spectrum of the conditional mean is bounded by the mean power spectrum: averaging removes variance at every scale.

  3. In particular, the variance of the conditional mean is strictly less than the variance of the true distribution: (Variance Decomp)𝖵ar[μ(𝒙t)]=𝖵ar[𝒙t+1]𝔼[𝖵ar[𝒙t+1|𝒙t]].

Proof.

Part (i) is immediate from the definition of conditional expectation.

For part (ii), write μ^(𝒌)=𝒚^(𝒌)pt+1|t(𝒚|𝒙t)d𝒚. By Jensen's inequality applied to the convex function z|z|2: (Jensen Spectrum)|μ^(𝒌)|2=|𝒚^(𝒌)pt+1|t(𝒚|𝒙t)d𝒚|2|𝒚^(𝒌)|2pt+1|t(𝒚|𝒙t)d𝒚=𝔼[|𝒙^t+1(𝒌)|2|𝒙t]. Averaging over 𝒙t gives 𝔼|μ^(𝒌)|2𝔼|𝒙^t+1(𝒌)|2, with equality if and only if the conditional distribution is a point mass (deterministic), which fails for a chaotic system.

For part (iii), the law of total variance gives: (Total Variance)𝖵ar[𝒙t+1]=𝔼[𝖵ar[𝒙t+1|𝒙t]]+𝖵ar[𝔼[𝒙t+1|𝒙t]]=𝔼[𝖵ar[𝒙t+1|𝒙t]]+𝖵ar[μ(𝒙t)], so 𝖵ar[μ(𝒙t)]=𝖵ar[𝒙t+1]𝔼[𝖵ar[𝒙t+1|𝒙t]]<𝖵ar[𝒙t+1] whenever the conditional variance is positive.

The conclusion of Proposition Proposition 4 is stark: a deterministic ML model trained to minimise MSE will produce forecasts with systematically damped spatial variability compared to the truth. At short lead times, when the conditional distribution is tightly concentrated around a single trajectory, the conditional mean closely approximates a typical realisation. But as lead time increases and the forecast distribution spreads over multiple distinct weather patterns, the conditional mean becomes an average of incompatible structures - a field that looks like no particular weather realisation, with blurred fronts, smoothed cyclones, and damped precipitation maxima.

Empirical Evidence: GraphCast and Pangu-Weather

Proposition Proposition 4 is not merely a theoretical concern; it is observed in practice. Both GraphCast and Pangu-Weather - the two most widely benchmarked deterministic MLWP models - exhibit increasing spatial blurring at lead times beyond approximately 5–7 days.

The spectral signature of this blurring was systematically documented by Kim et al. (2026), who computed the kinetic energy spectrum of GraphCast and GenCast forecasts as a function of lead time and compared them with the ERA5 reanalysis power spectrum. At lead times of 1–3 days, both deterministic and generative models track the ERA5 spectrum closely across all resolved wavenumbers. At lead times of 7–10 days, GraphCast shows a pronounced spectral depression at synoptic and mesoscales (wavenumbers 10–100): power is systematically deficient by 10–30% relative to ERA5. GenCast, trained as a generative diffusion model, maintains spectral fidelity across all lead times.

Brenowitz et al. (2025) document a related paradox in MLWP benchmarking: when deterministic MLWP models such as GraphCast and Pangu are evaluated using CRPS in a lagged-ensemble configuration - using multiple initialisation times to construct an ensemble - their CRPS scores are substantially better than their deterministic metrics suggest. In other words, these models produce diverse forecasts across different runs (capturing climatological variability), but any individual run is smooth (failing to capture the spatial sharpness of a single realisation). This creates the paradox that a model's ensemble CRPS can be competitive while its individual forecast is visually blurred.

Caution.

The lagged-ensemble evaluation paradigm - using multiple initialisation times t0,t06h,t012h, as ensemble members - is a common but potentially misleading benchmark for deterministic MLWP models. While lagged ensembles capture the model's sensitivity to timing offsets, they do not sample the full forecast distribution at a fixed initialisation time. Lagged-ensemble CRPS conflates the spread due to different initial conditions with the spread due to genuine atmospheric predictability. Models can score well on lagged-ensemble CRPS while producing individually blurred forecasts that underrepresent the extremes that matter most for users.

The Physical Consequences of Blurring

The blurring of deterministic MLWP forecasts has two particularly damaging physical consequences.

Underprediction of extreme events. Extreme weather events - heavy precipitation, strong winds, deep cyclones - are precisely the features that users care most about. They correspond to the tails of the conditional distribution, regions far from the conditional mean. An MSE-trained model produces forecasts near the mean and therefore systematically underestimates the intensity of extremes. Operationally, this means that a deterministic ML forecast of a category-4 hurricane at τ=10 days may appear as a broad, weak low-pressure system with no clear intensification signal, because the conditional mean averages over trajectories that do and do not intensify.

Damped energy spectrum. The atmosphere has a power-law kinetic energy spectrum E(k)k3 in the synoptic range (wavelengths above roughly 500 to 1000,km), transitioning to E(k)k5/3 at mesoscales (below roughly 500,km). A blurred forecast lacks energy at small scales, violating the physical scaling law. This has practical consequences for downstream applications: wind energy estimation, convection-permitting downscaling, and any application that depends on mesoscale structure will be degraded by blurred input fields.

Remark 25 (Blurring vs. Uncertainty).

It is crucial to distinguish between two very different manifestations of the long-lead-time behaviour. An ensemble system at τ=10 days produces sharp, realistic-looking individual members that are uncertain (they disagree with each other). A deterministic MLWP model at τ=10 days produces a single smooth field that is uncertain in a different sense (it has been averaged into a plausible but non-physical state). The first kind of uncertainty is epistemically correct: it correctly represents the range of possible outcomes. The second kind is a modelling artifact: it represents the model's failure to commit to any single outcome.

The Generative Weather Model

The preceding analysis makes clear what a weather model must do to avoid the blurring problem: it must learn the full conditional distribution p(𝒙t+1|𝒙t), not merely its mean.

Definition 22 (Generative Weather Model).

A generative weather model is a parametric family of conditional distributions {pθ(𝒙t+1|𝒙t):θΘ} over atmospheric state transitions, where 𝒙t,𝒙t+1n are consecutive atmospheric states. A generative weather model is characterised by:

  1. Distributional output: For each conditioning state 𝒙t, the model defines a full probability distribution over next states, not a point estimate.

  2. Sampleability: The model supports efficient sampling 𝒙t+1pθ(|𝒙t), enabling the construction of ensemble forecasts by drawing multiple independent samples.

  3. Training objective: The model is trained to minimise a proper scoring rule (e.g., CRPS, negative log likelihood, or energy score) that penalises distributional mismatch, not just mean-prediction error.

Contrast with a deterministic weather model 𝒙^t+1=fθ(𝒙t), which outputs a point estimate and is trained to minimise a mean prediction error (MSE or MAE).

The phrase “learns p(𝒙t+1|𝒙t) not 𝔼[𝒙t+1|𝒙t]” is the essential distinction. A generative model, when sampled, produces sharp, physically realistic fields that look like actual weather. When sampled many times, the collection of samples forms an ensemble that correctly quantifies forecast uncertainty.

Key Idea.

The fundamental difference between deterministic and generative machine learning weather models is distribution matching versus error minimisation. A deterministic model optimises the expected pointwise error; a generative model optimises the distributional fidelity of its samples. These two objectives agree only when the system is deterministic. For a chaotic atmosphere, they diverge sharply at long lead times, and only the generative objective produces physically meaningful forecasts.

Physical Consistency: Spectral Tests

Kim et al. (2026) provide a comprehensive evaluation of the physical consistency of GenCast, the diffusion-based generative ensemble model of Price et al. (2025). Their analysis introduces a suite of spectral diagnostic tests that go beyond conventional RMSE and CRPS verification.

The central test compares the time-averaged kinetic energy spectrum Emodel(k,τ) of model forecasts to the corresponding spectrum of ERA5 reanalysis fields EERA5(k), as a function of lead time τ and wavenumber k. Formally, they define the spectral ratio (Spectral Ratio)R(k,τ)=Emodel(k,τ)EERA5(k), with R(k,τ)=1 indicating perfect spectral consistency. Values R<1 indicate spectral damping (blurring); values R>1 indicate spectral over-amplification (noise).

Their key finding is that GenCast maintains R(k,τ)1 across all wavenumbers k and lead times τ15 days, whereas GraphCast shows R(k,τ)<0.85 for k>15 and τ>7 days. The spectral deficiency grows approximately linearly with lead time, consistent with the blurring mechanism described in Proposition Proposition 4.

Kim et al. also test for physical consistency in the precipitation field, using the distribution of daily accumulations and their spatial correlation structure. Generative models correctly reproduce the heavy-tailed marginal distribution of precipitation, while deterministic models produce over-smooth precipitation fields with too little probability in the tail beyond the 95th percentile.

The AI Weather Benchmarks Paradox

Brenowitz et al. (2025) identify what they call the AI weather benchmarks paradox: the metrics most commonly used to evaluate deterministic MLWP models (RMSE of geopotential height at 500,hPa) may have led the field to optimise for the wrong objective.

Their argument proceeds as follows. When a deterministic model such as GraphCast is evaluated at τ=10 days on RMSE, it achieves a score comparable to the ECMWF HRES operational deterministic forecast. This has been widely reported as evidence that ML models have “matched” NWP. But when the same models are evaluated on CRPS, comparing each deterministic forecast against the ECMWF ENS ensemble, a striking pattern emerges: GraphCast's CRPS at τ=10 days is actually better than its RMSE would suggest, because the model is implicitly diverse across initialisation times.

However, the paradox cuts both ways. The CRPS improvement of deterministic models is largely due to their climatological diversity (they are sensitive to the initial condition), not to their ability to represent the forecast distribution at a fixed initial time. A model that is evaluated on CRPS through lagged ensembles is rewarded for correlating strongly with observed variability across time, not for producing calibrated distributional forecasts at a fixed lead time. Brenowitz et al. show that when models are evaluated on strictly synchronous CRPS (fixed initialisation time, N samples from the model vs N ensemble members from ECMWF ENS), deterministic models perform much worse than their lagged-ensemble evaluation suggests.

Insight.

A well-calibrated probabilistic forecast is more valuable than a perfectly accurate mean. A forecaster who consistently gives the correct conditional mean while omitting uncertainty information may cause more harm than good: users who trust the forecast will not prepare for outcomes that depart from the mean. The value of a probabilistic forecast lies precisely in its ability to communicate the range of possible outcomes - and this requires a generative model, not a regressor.

Visualising the Blurring Problem

The blurring problem in machine-learning weather prediction. Left: A deterministic MSE-trained model produces smooth, blurry fields at long lead times, lacking sharp fronts and intense precipitation cores. This is the inevitable consequence of minimising mean squared error, which converges to the conditional mean - an average over all possible futures. Centre: A single sample from a generative diffusion model produces sharp, physically realistic fields with well-defined fronts and intense precipitation. Right: The ERA5 verifying analysis (truth) shares the sharp structure of the generative sample. The generative sample may not match the truth exactly, but it is a plausible realisation of the atmosphere; the deterministic forecast is not.

The Two-Way Relationship

The argument so far might suggest that generative models entirely supersede deterministic ones. This is too strong. In practice, the two paradigms are complementary and each benefits from the other.

Generative models condition on recent analysis states. The leading operational generative weather models - GenCast, AIFS-CRPS, and related systems - condition the generator on the most recent analysis states rather than perturbing a separate deterministic model's output. GenCast, for instance, is a pure conditional diffusion model that takes the two most recent analysis states as input and denoises directly into the next state. The conditioning states provide the large-scale flow structure (which is predictable at medium range); the generative component adds the small-scale variability that accounts for forecast uncertainty. Without the deterministic backbone, the generative model would need to learn all of the large-scale dynamics from scratch, which is far more difficult.

Deterministic models need generative corrections. Conversely, a deterministic model run at multiple initialisations - with small perturbations applied at each run - can be used to approximate an ensemble. The quality of this lagged ensemble depends on how sensitive the model is to initial perturbations, which is itself a function of how well the model has learned the chaotic dynamics. A generative model that captures the conditional distribution provides, in principle, a better characterisation of what perturbations are physically plausible, which can be used to design better initialisation perturbations for deterministic models.

Remark 26 (Hybrid Architectures).

The two-way relationship between deterministic and generative weather models points toward a class of hybrid architectures that are currently an active research direction. One family uses a deterministic model as the mean of a Gaussian process, with a learned covariance structure that captures forecast uncertainty. Another family uses score-based diffusion to sample perturbations around a deterministic trajectory. A third family learns a stochastic parameterisation scheme for a physical NWP model, so that the NWP model itself becomes a generative ensemble system. These hybrids aim to combine the interpretability and physical consistency of NWP with the computational efficiency and distributional fidelity of deep generative models.

Training Directly on CRPS: AIFS-CRPS

A particularly direct approach to the blurring problem is to replace the MSE training objective with the CRPS itself. If the CRPS is a proper scoring rule that rewards distributional accuracy, why not train a model to minimise it directly?

Lang et al. (2026) describe AIFS-CRPS, the ECMWF AI Integrated Forecasting System trained with a CRPS loss. The architecture is a graph transformer operating on a multi-scale icosahedral mesh, following the AIFS architecture of Ben Bouallègue et al. (2024). The key modification is the training objective: instead of minimising the MSE between predicted and verifying fields, the model minimises the energy score loss, which is equivalent to the multivariate CRPS: (CRPS LOSS)CRPS(θ)=𝔼[1Mk=1M𝒙t+1(k)𝒙t+112M2k,j𝒙t+1(k)𝒙t+1(j)], where {𝒙t+1(k)}k=1M are M samples drawn from the model and 𝒙t+1 is the verifying state. Minimising ((CRPS LOSS)) with respect to θ encourages the model to produce a sample distribution that matches the verifying distribution in expectation.

Lang et al. find that AIFS-CRPS achieves competitive CRPS scores compared to the 50-member ECMWF ENS ensemble, at a fraction of the computational cost (each ensemble member is one AIFS-CRPS sample, which is several orders of magnitude cheaper than an NWP member). Crucially, AIFS-CRPS samples do not exhibit the spectral damping seen in MSE-trained models: the energy spectrum tracks ERA5 closely at lead times up to 10 days.

Remark 27 (CRPS Loss vs. Diffusion Sampling).

The CRPS loss ((CRPS LOSS)) provides a principled training signal for any model that can produce multiple samples for a single input. It can be combined with any generative architecture: a Gaussian mixture head on a deterministic backbone, a conditional normalising flow, or a diffusion model. GenCast uses a denoising diffusion architecture (Price et al., 2025) and trains with a score-matching objective that implicitly optimises the log likelihood under the diffusion kernel. AIFS-CRPS trains directly on the energy score. Both approaches avoid MSE minimisation and both produce sharp, calibrated ensembles; they differ in architecture and in how they represent the forecast distribution.

Comparison: Deterministic vs. Generative MLWP

DimensionDeterministic MLWPGenerative MLWP
Representative modelsGraphCast, Pangu, FourCastNetGenCast, AIFS-CRPS, NeuralGCM
[2pt] Training objectiveMSE / MAE lossCRPS, Energy Score, ELBO
[2pt] Output typeSingle deterministic fieldDistribution; sampleable
[2pt] Forecast uncertaintyNone (point estimate)Full distribution
[2pt] Ensemble generationRequires lagged runsNative: draw N samples
[2pt] Spatial sharpnessDegrades at τ5,dMaintained across lead times
[2pt] Energy spectrumDamped at short scalesConsistent with ERA5
[2pt] Extreme eventsSystematically underpredictedCorrectly represented in tails
[2pt] Compute per forecast1 model forward passN forward passes (N50)
[2pt] Calibration (CRPS)Poor (not designed for this)Good (trained for this)
[2pt] Physical consistencyWeakens with lead timeMaintained if trained on CRPS
[2pt] InterpretabilitySingle trajectory, easy to inspectRequires ensemble diagnostics
[2pt] Anchor needed?Self-containedOften uses deterministic anchor
[2pt] Key limitationBlurs at long lead timesMore expensive; harder to train
Comparison of deterministic and generative machine-learning weather prediction (MLWP) approaches across key dimensions. Operational systems cited as representative examples.

Exercises

Exercise 34.

Consider a 1D chaotic dynamical system xt+1=f(xt)+εt, where f(x)=4x(1x) (the logistic map on [0,1]) and εt𝒩(0,σ2) with σ=0.01.

  1. Argue that for t1, the map has a unique invariant measure π on [0,1] and that the conditional distribution p(xt+1|xt) is approximately 𝒩(f(xt),σ2) at short horizons but broadens over multiple steps.

  2. Let xt+k=𝔼[xt+k|xt] be the k-step conditional mean. Show that xt+k=𝔼[fk(xt)|xt]+O(σ), where fk denotes k applications of f.

  3. Explain why xt+k𝔼π[x] (the mean of the invariant measure) as k, and why this means that an MSE-trained k-step forecast converges to a constant for all initial conditions as k increases.

  4. What does this imply for the usefulness of a deterministic ML weather model at lead times beyond the predictability limit?

Exercise 35.

Let {x(k)}k=1N be N i.i.d. samples from a distribution pθ(|𝒙t), and let x be the verifying observation from the true distribution p. Show:

  1. The naïve ensemble CRPS with the 12N2 coefficient is a biased estimator of the population energy score 𝔼xp[𝔼[x(1)x]12𝔼[x(1)x(2)]]; compute the bias (12N𝔼xx) and show the “fair” coefficient 12N(N1) removes it.

  2. The energy score is minimised when pθ=p, and the minimum value equals 𝔼x,xp[12xx].

  3. Hence the CRPS loss ((CRPS LOSS)) is a proper scoring rule for the distributional forecast pθ(|𝒙t).

Exercise 36.

The lagged ensemble technique constructs an ensemble at verification time t+τ by using forecasts initialised at times t,tΔt,t2Δt,,t(N1)Δt, where Δt is the model cycle time (e.g., 6 hours).

  1. Let x^t+τ(k) be the forecast of variable x at time t+τ from the model initialised at time t(k1)Δt. Write an expression for the lagged-ensemble mean xt+τlag and the lagged-ensemble CRPS.

  2. Suppose the model is perfect (no model error) and the atmosphere is ergodic with a decorrelation time scale Tc. Show that for NΔtTc, the lagged ensemble members are highly correlated and the lagged-ensemble CRPS significantly underestimates the true forecast uncertainty.

  3. Argue that for a chaotic system with predictability limit τp, lagged ensembles initialised at times t,tΔt, do not sample the conditional distribution p(xt+τ|xt) but instead sample from a mixture of distributions p(xt+τ|xt(k1)Δt) with different conditioning states. What bias does this introduce in the CRPS at lead times ττp?

  4. Conclude: under what circumstances is lagged-ensemble evaluation a valid substitute for a true probabilistic evaluation?

GenCast and Diffusion Ensemble Forecasting

Deterministic neural weather models such as GraphCast and Pangu-Weather demonstrated that deep learning could surpass the European Centre for Medium-Range Weather Forecasts (ECMWF) deterministic High-Resolution Forecast (HRES) on a wide array of verification metrics. Yet deterministic forecasts are fundamentally incomplete: the atmosphere is a chaotic system, and a single trajectory through state space cannot convey the range of possible futures that operational forecasters need to communicate risk. The state of the art in operational NWP therefore relies on ensemble forecasting: running many perturbed versions of a model to sample the forecast probability distribution. ECMWF's Ensemble Prediction System (ENS) runs 50 members at reduced resolution (0.2 degrees) with carefully constructed initial condition perturbations, at a cost of several hours of supercomputer time.

GenCast (Price et al., 2024/2025, Nature) is a conditional diffusion model trained on the ERA5 reanalysis archive that converts the paradigm of ensemble generation from running many perturbed deterministic models to drawing many independent samples from a learned probabilistic generative model. Each sample is produced by running a reverse diffusion process conditioned on the two most recent atmospheric states, requiring 8 minutes on a single tensor processing unit (TPU)- far less than the compute required to run a single ENS member. In a head-to-head comparison across 1,320 verification targets spanning lead times of 12 to 360 hours, GenCast outperformed ECMWF ENS on 97.4% of those targets, establishing a new state of the art in probabilistic medium-range weather forecasting.

Historical Note.

From TIGGE to neural ensembles. The practice of ensemble forecasting stretches back to work by Epstein (1969) and Leith (1974), who showed that the atmosphere's sensitive dependence on initial conditions could be exploited by running a stochastic ensemble rather than a single forecast. The Thorpex Interactive Grand Global Ensemble (TIGGE) archive, begun in 2006, aggregated operational ensembles from eleven global NWP centres to enable multi-model ensemble research. The idea that a generative neural network could replace this infrastructure-producing thousands of ensemble members in minutes on a single accelerator-would have seemed implausible as recently as 2022. GenCast realised this vision by pairing the graph-based encoder–decoder architecture of GraphCast with the denoising diffusion probabilistic modelling (DDPM) framework of Ho et al. (2020), creating the first neural model to be systematically evaluated against the full suite of operational NWP ensemble verification metrics.

Diffusion Models: A Probabilistic Primer

Before developing GenCast's specific architecture, we establish the mathematical framework of denoising diffusion probabilistic models (DDPMs) in the setting relevant to conditional weather forecasting.

The data distribution.

Let 𝒙0d denote a sample from the target data distribution q(𝒙0). In the weather forecasting context, 𝒙0 represents the atmospheric state at the next forecast step: a high-dimensional vector encoding temperature, wind, humidity, and surface variables on a global grid at 0.25-degree resolution across 13 pressure levels, with d exceeding 106 entries.

The forward process.

The DDPM forward process is a fixed Markov chain that gradually corrupts 𝒙0 with Gaussian noise according to a noise schedule {βt}t=1T, with 0<β1<β2<<βT<1: (Forward STEP)q(𝒙t|𝒙t1)=𝒩(𝒙t;1βt𝒙t1,βt𝐈),t=1,,T. The schedule {βt} is chosen so that at t=T the distribution q(𝒙T|𝒙0)𝒩(𝟎,𝐈) is essentially pure Gaussian noise, destroying all information about 𝒙0.

Definition 23 (Marginal Forward Distribution).

Define αt=s=1t(1βs). The marginal distribution of the noisy sample 𝒙t given 𝒙0 is (Marginal)q(𝒙t|𝒙0)=𝒩(𝒙t;αt𝒙0,(1αt)𝐈). Equivalently, 𝒙t=αt𝒙0+1αt𝜺 where 𝜺𝒩(𝟎,𝐈). The signal-to-noise ratio (SNR) at step t is SNR(t)=αt/(1αt), which decreases monotonically from SNR(0) to SNR(T)0.

The reverse process.

The key insight of DDPM is that the reverse conditional distribution q(𝒙t1|𝒙t,𝒙0) is also Gaussian, with computable mean and variance: (Reverse Posterior)q(𝒙t1|𝒙t,𝒙0)=𝒩(𝒙t1;𝝁~t(𝒙t,𝒙0),β~t𝐈), where (Reverse MEAN)𝝁~t(𝒙t,𝒙0)=αt1βt1αt𝒙0+1βt(1αt1)1αt𝒙t,β~t=1αt11αtβt. Because 𝒙0 is unknown at inference time, we train a neural network to predict it (or equivalently, to predict the noise 𝜺 added to 𝒙0 to obtain 𝒙t).

The score network.

The denoising network 𝜺𝜽(𝒙t,t,𝒄) takes the noisy sample 𝒙t, the diffusion step index t, and a conditioning context 𝒄 (the recent atmospheric states in GenCast's case), and predicts the noise 𝜺. The approximate reverse process is then: (Learned Reverse)p𝜽(𝒙t1|𝒙t,𝒄)=𝒩(𝒙t1;𝝁𝜽(𝒙t,t,𝒄),β~t𝐈), where 𝝁𝜽 is obtained by substituting the network prediction 𝒙^0=(𝒙t1αt𝜺𝜽(𝒙t,t,𝒄))/αt in place of 𝒙0 into equation .

Remark 28.

Predicting the noise 𝜺 is mathematically equivalent to estimating the score function 𝒙tlogq(𝒙t) via the relation 𝒙tlogq(𝒙t|𝒙0)=𝜺/1αt. The score-based diffusion framework of Song et al. (2021) provides a continuous-time generalisation via stochastic differential equations (SDEs), which we develop below for GenCast's specific formulation.

Conditional Diffusion for Weather: Formal Definition

GenCast models the conditional distribution of the next atmospheric state 𝒙t+1 given the current and previous states 𝒄=(𝒙t,𝒙t1).

Definition 24 (Conditional Weather Diffusion Model).

Let 𝒮 denote the space of global atmospheric states (vectors in d encoding all prognostic variables on the global grid), and let 𝒄𝒮2 denote a conditioning context consisting of two consecutive atmospheric states. A conditional weather diffusion model is a parametric family {p𝜽(|𝒄)}𝜽 where p𝜽(𝒙|𝒄) approximates the true conditional distribution q(𝒙t+1|𝒙t,𝒙t1) via a learned reverse diffusion process: (DEF)p𝜽(𝒙|𝒄)=s=1Tp𝜽(𝒙s1|𝒙s,𝒄)d𝒙1:T, where 𝒙T𝒩(𝟎,𝐈), p𝜽(𝒙s1|𝒙s,𝒄)=𝒩(𝒙s1;𝝁𝜽(𝒙s,s,𝒄),β~s𝐈), and the mean 𝝁𝜽 is parameterised by a neural network 𝜺𝜽(𝒙s,s,𝒄) that predicts the noise component at diffusion step s. Samples from p𝜽(|𝒄) constitute ensemble members: independent draws representing distinct possible future atmospheric states consistent with the conditioning context 𝒄.

Forward SDE formulation.

GenCast adopts the continuous-time SDE framework. The forward process corresponds to an Itô SDE: (Forward SDE)d𝑿=12β(t)𝑿dt+β(t)d𝑾t,t[0,T], where 𝑾t is a standard Wiener process and β(t) is a continuous noise schedule. The marginal at time t satisfies qt(𝒙|𝒙0)=𝒩(𝒙;α(t)𝒙0,σ2(t)𝐈) with α(t)=e120tβ(s)ds and σ2(t)=1e0tβ(s)ds.

Reverse SDE.

By Anderson's (1982) time-reversal theorem, the reverse-time SDE is: (Reverse SDE)d𝑿=[12β(t)𝑿β(t)𝑿logqt(𝑿|𝒄)]dt+β(t)d𝑾t, where 𝑾t is a reverse-time Wiener process and 𝑿logqt(𝑿|𝒄) is the conditional score function. GenCast approximates this score with the neural network s𝜽(𝑿,t,𝒄)𝑿logqt(𝑿|𝒄).

Remark 29.

The conditioning context 𝒄=(𝒙t,𝒙t1) enters the score network as additional input, analogous to class conditioning in image diffusion models. Unlike classifier-free guidance, GenCast does not require a separate unconditional model: the conditioning is always on the two most recent atmospheric states, which are always available during both training and inference.

Training Objective

The GenCast training objective is the noise-prediction loss (epsilon-matching), which minimises: (LOSS)(𝜽)=𝔼t𝒰[1,T],𝒙0q(|𝒄),𝜺𝒩(𝟎,𝐈)[w(t)𝜺𝜺𝜽(αt𝒙0+1αt𝜺,t,𝒄)2], where w(t) is a loss weighting function that may up-weight certain noise levels to improve sample quality. This objective is a variational lower bound (ELBO) on the negative log-likelihood of the data under the model (Ho et al., 2020), weighted by the SNR schedule.

Proposition 5 (ELBO Equivalence).

The noise-prediction loss (𝜽) in equation with unit weighting w(t)=1 is a reweighted version of the evidence lower bound logp𝜽(𝒙0|𝒄)DKL(qp𝜽) derived from the hierarchical variational model q(𝒙1:T|𝒙0). The weighting w(t)SNR(t1)SNR(t) recovers the exact ELBO, while the simplified unit weighting empirically produces higher sample quality (Ho et al., 2020).

Variable weighting in weather.

In the atmospheric context, a naive 2 loss in state space gives undue weight to variables with large physical magnitude (e.g., surface pressure in Pascals vs. specific humidity in kg/kg). GenCast normalises each variable and pressure level by its climatological standard deviation, computed from the ERA5 training set. Additionally, grid-cell area weighting ensures that equatorial cells (with larger area on the sphere) receive proportional weight: (Weighted LOSS)GenCast(𝜽)=𝔼t,𝒙0,𝜺v,p,Aσv,p2(εv,p,[𝜺𝜽()]v,p,)2, where v indexes variables, p indexes pressure levels, indexes grid cells, A is the grid-cell area, and σv,p2 is the climatological variance of variable v at level p.

Architecture: Graph-Based Diffusion

GenCast inherits the encode–process–decode graph neural network architecture of GraphCast, augmenting it with the noise-conditioning and time-step embedding required for diffusion.

Spatial discretisation.

The global atmosphere at 0.25-degree resolution is represented on an icosahedral–octahedral (Ico-O) reduced Gaussian grid with approximately 1.1 million grid points. GenCast covers the full globe and models 80+ atmospheric variables across 13 pressure levels (50, 100, 150, 200, 250, 300, 400, 500, 600, 700, 850, 925, 1000 hPa) plus several surface and single-level variables.

Encoder.

The encoder maps the conditioning context 𝒄=(𝒙t,𝒙t1) and the noisy target 𝒙s(τ) (at diffusion step τ) from the physical grid to a multi-mesh graph latent space. The physical grid nodes are connected to a coarser multi-resolution icosahedral mesh via learned bipartite message-passing layers: (Encoder)𝒉ilat=fenc({𝒄j,𝒙s,j(τ)}j𝒩(i);𝜽enc), where 𝒩(i) denotes the physical grid neighbours of mesh node i.

Diffusion step embedding.

The diffusion time step τ is embedded via a sinusoidal positional encoding followed by a two-layer MLP, producing a vector 𝒆τdemb. This embedding is injected into every graph network layer through feature-wise linear modulation (FiLM): (FILM)𝒉~i=(𝟏+γ(𝒆τ))𝒉i+δ(𝒆τ), where γ,δ:dembdlat are learned linear projections and denotes element-wise multiplication.

Processor.

The processor applies L rounds of message-passing on the multi-mesh graph, enabling global information exchange: (MSG)𝒎ij(l)=ϕe(l)(𝒉i(l),𝒉j(l),eij;𝜽e(l)),𝒉i(l+1)=ϕv(l)(𝒉i(l),j𝒩(i)𝒎ij(l);𝜽v(l)), where eij are edge features encoding relative position and distance in the mesh, and ϕe(l),ϕv(l) are MLPs with residual connections. The diffusion embedding 𝒆τ is injected via FiLM in each layer.

Decoder.

The decoder maps the updated mesh representations back to the physical grid to produce the predicted noise: (Decoder)𝜺^j=fdec({𝒉i(L)}i(j);𝜽dec), where (j) denotes the mesh neighbours of physical grid point j. The output 𝜺^d has the same dimension as the atmospheric state.

12-Hour Autoregressive Steps and Rollout

GenCast generates extended forecasts (up to 15 days, 360 hours) by autoregressively applying the conditional diffusion model with 12-hour time steps. At each step, a fresh sample is drawn from p𝜽(|𝒄) using the learned reverse process.

Why 12-hour steps?

The choice of 12-hour autoregressive steps is deliberate and reflects a trade-off between error accumulation and computational cost. Shorter steps (e.g., 6 hours) require more autoregressive iterations and accumulate more sampling variance; longer steps (e.g., 24 hours) reduce the conditioning resolution and increase per-step prediction error. The 12-hour step matches ECMWF ENS's output frequency and was found empirically to minimise rollout drift on the ERA5 validation period (2019–2021).

Independent ensemble members.

At each autoregressive step, a new Gaussian noise sample 𝑿T𝒩(𝟎,𝐈) is drawn independently for each ensemble member. The diffusion reverse process then denoises this noise, conditioned on the current ensemble member's atmospheric state. Crucially, unlike NWP ensemble methods that construct initial perturbations through singular vectors or ensemble Kalman filters, GenCast's ensemble spread arises entirely from the stochasticity of the reverse diffusion sampling. This is both its strength-no perturbation design required-and a source of potential miscalibration if the learned distribution differs from the true climatological spread.

Fast Sampling: DDIM-Style Inference

Running the full T=1000 step reverse diffusion at inference time is impractical for operational forecasting. GenCast employs a denoising diffusion implicit model (DDIM; Song et al., 2020) sampler that achieves high-quality samples in a small number of denoising steps ST by using a non-Markovian reverse process.

Definition 25 (DDIM Sampler).

Given a trained noise network 𝜺𝜽 and a subsequence of time steps 1=τ1<τ2<<τS=T, the DDIM update rule at step s is: (DDIM)𝒙τs1=ατs1𝒙^0(𝒙τs)+1ατs1η2β~τs𝜺𝜽(𝒙τs,τs,𝒄)+ηβ~τs1/2𝝃, where 𝒙^0(𝒙τs)=(𝒙τs1ατs𝜺𝜽(𝒙τs,τs,𝒄))/ατs is the denoised prediction, 𝝃𝒩(𝟎,𝐈), and η[0,1] interpolates between deterministic (η=0) and stochastic (η=1) sampling. With η=0 the sampler is fully deterministic given the initial noise 𝒙T.

Operational speed.

Using S=20 DDIM steps, GenCast generates a single ensemble member in 8 minutes on a single TPU v4. By comparison, a single ECMWF ENS member at operational resolution requires approximately 30–60 minutes of dedicated high-performance computing. This means an ensemble of 50 members-comparable to the operational ENS-can be generated in 50 × 8 = 400 minutes on a single TPU, or roughly 8 minutes on a TPU pod of 50 chips.

TikZ Figure: Forward Diffusion and Reverse Denoising

GenCast forward diffusion and reverse denoising. Top: The forward process q(𝒙t|𝒙t1) gradually corrupts the clean atmospheric state 𝒙0 into pure Gaussian noise 𝒙T by adding incremental Gaussian perturbations with schedule {βt}. Bottom: The reverse process draws 𝑿T𝒩(𝟎,𝐈) and iteratively denoises it using the learned score network 𝜺𝜽, conditioned on the context 𝒄=(𝒙t1,𝒙t2). Each independent draw of 𝑿T yields a distinct ensemble member. The DDIM sampler reduces inference to S20 network evaluations.

Performance: Verification Against ECMWF ENS

GenCast was evaluated against ECMWF ENS on an independent test set covering 2019–2023, using the standard WMO verification framework. The comparison used 50-member ensembles from both systems.

Headline result.

Across 1,320 verification targets-consisting of combinations of variables (geopotential, temperature, wind components, precipitation, mean sea-level pressure), pressure levels, and lead times from 12 to 360 hours-GenCast outperformed ECMWF ENS on 97.4% of targets as measured by the Continuous Ranked Probability Score (CRPS).

Definition 26 (Continuous Ranked Probability Score).

For a scalar forecast distribution F and observation y, the Continuous Ranked Probability Score is: (CRPS)CRPS(F,y)=[F(z)𝟏(zy)]2dz, which measures the integrated squared difference between the forecast cumulative distribution function and the Heaviside function at the observation. CRPS reduces to the mean absolute error when F is a point forecast and is proper: it is minimised in expectation when F equals the true distribution. Lower CRPS indicates better probabilistic forecast quality.

Spread–skill ratio.

A well-calibrated ensemble should have spread (ensemble standard deviation) approximately equal to skill (root-mean-square error of the ensemble mean). GenCast achieves spread–skill ratios close to 1.0 across lead times, slightly outperforming ECMWF ENS at medium range (days 7–15), where NWP models tend to be overdispersive.

Rank histogram calibration.

For a perfectly calibrated ensemble of M members, the observation should be equally likely to fall in any of the M+1 rank positions defined by the sorted ensemble. GenCast's rank histograms are approximately flat across variables and lead times, indicating good calibration. Minor u-shaped departures at very short lead times (<48 hours) reflect the challenge that the diffusion model was not specifically tuned for deterministic day-1 forecasting.

Extreme Event Forecasting

Extreme weather events-tropical cyclones, heatwaves, extratropical storms, wind power extremes-are precisely the situations where ensemble forecasting matters most. A deterministic forecast conveys no information about low-probability, high-impact outcomes.

Hurricane Beryl (2024).

Hurricane Beryl (2024) was the earliest Category 5 Atlantic hurricane on record, reaching peak intensity in late June. GenCast ensembles initialised 5 days prior to landfall captured the storm's track and intensification with calibrated uncertainty. The ensemble spread correctly indicated high track uncertainty at day 4 but converged to tight agreement on landfall location at day 2, providing operationally useful guidance.

Example 9 (GenCast Ensemble for Hurricane Beryl).

Consider a GenCast 50-member ensemble initialised on 27 June 2024 at 00:00 UTC (5 days before Beryl's Caribbean landfall on 1 July 2024).

  1. Track ensemble. At 5-day lead time, the track ensemble spans a cross-track spread of approximately 250 km, consistent with ECMWF ENS spread and reflecting the genuine uncertainty in the steering flow.

  2. Intensity calibration. GenCast's central pressure ensemble correctly places the 1013-960 hPa range at 5-day lead, with the median near the verifying value of 965 hPa.

  3. Wind power tail. The 99th percentile of 10-metre wind speed across the ensemble is 58 m/s near landfall, above the ENS 99th percentile of 52 m/s, indicating that GenCast's ensemble samples more extreme members from the right tail of the intensity distribution.

The Beryl case illustrates that diffusion-based sampling can generate ensemble members that are statistically consistent with the true atmospheric distribution without requiring explicit perturbation design.

Wind power tails.

GenCast's probabilistic forecasts of 10-metre wind speed are evaluated using the Energy Score for multivariate distributions and the Threshold-Weighted CRPS (twCRPS) for upper-tail events: (Twcrps)twCRPS(F,y;τ)=τ[F(z)𝟏(zy)]2dz, where τ is a threshold (e.g., the 90th or 99th climatological percentile). GenCast outperforms ECMWF ENS on twCRPS for wind speed at the 95th percentile threshold at most lead times, indicating better characterisation of wind energy extremes.

Heatwave skill.

For 2-metre temperature extremes, GenCast is evaluated using the Brier Score for the probability of exceeding the 90th climatological percentile: (Brier)BS(p,y)=(p𝟏y>τ)2, where p is the forecast probability and y is the observation. At 240-hour (10-day) lead time, GenCast achieves Brier Skill Scores (BSS, relative to climatology) that exceed ECMWF ENS by 3–8 percentage points over Europe during the 2021–2023 test period.

Key Idea: Diffusion as Ensemble Generator

Key Idea.

Diffusion converts a deterministic neural operator into a full ensemble generator at marginal cost. Once the score network is trained, generating an additional ensemble member requires only a new draw of 𝑿T𝒩(𝟎,𝐈) and S20 forward passes through the network-exactly the same compute as generating the first member. The cost of a 50-member ensemble scales linearly in M only through the number of parallel samples; with sufficient hardware, it is constant in wall-clock time. This fundamentally changes the economics of probabilistic weather forecasting.

Exercises

Exercise 37.

Noise schedule and signal-to-noise ratio. Let the noise schedule be a cosine schedule defined by αt=cos2(πt2T) for t=0,1,,T.

  1. Show that α0=1 and αT=0 for this schedule.

  2. Derive βt=1αt/αt1 and plot βt for t=1,,T with T=1000. Compare to the linear schedule βt=βmin+(βmaxβmin)(t1)/(T1) with βmin=104 and βmax=0.02.

  3. Compute the SNR at t=T/4,T/2,3T/4 under both schedules. Which schedule maintains higher SNR for longer, and why might this be beneficial for weather forecasting where the data lies on a low-dimensional atmospheric manifold?

Exercise 38.

Variational lower bound for conditional diffusion. Starting from the decomposition logp𝜽(𝒙0|𝒄)DKL(q(𝒙1:T|𝒙0)p𝜽(𝒙0:T|𝒄)), derive the ELBO explicitly as a sum of KL divergences: ELBO=𝔼q[logp𝜽(𝒙0|𝒙1,𝒄)]DKL(q(𝒙T|𝒙0)p(𝒙T))t=2T𝔼q[DKL(q(𝒙t1|𝒙t,𝒙0)p𝜽(𝒙t1|𝒙t,𝒄))]. Show that each KL divergence term is computable in closed form and that minimising the noise-prediction loss with unit weights corresponds to maximising the ELBO with a specific reweighting of the KL terms.

Exercise 39.

Ensemble calibration and rank histograms. Let X1,,XM be i.i.d. samples from the forecast distribution F and let YG be the observation distribution. Define the rank R=m=1M𝟏(Xm<Y)+1.

  1. Show that if F=G (perfect calibration), then R is uniformly distributed on {1,2,,M+1}.

  2. Show that if F is systematically too narrow (underdispersive), the rank histogram is U-shaped. What physical interpretation does this have for weather forecasting?

  3. Propose a calibration correction based on ensemble dressing: replacing each ensemble member Xm with Xm+κϵm where ϵm𝒩(0,1) and κ>0 is a tunable parameter. Derive the optimal κ in terms of the ensemble variance and the mean squared error of the ensemble mean.

SEEDS, DEFfusion, and the Diffusion Ecosystem

GenCast demonstrated that a single conditional diffusion model trained end-to-end on reanalysis data could produce a state-of-the-art probabilistic medium-range forecast. The broader research community quickly recognised that the diffusion framework is not a monolithic solution but rather a family of tools, each suited to a different part of the atmospheric prediction pipeline: ensemble generation, data assimilation, statistical downscaling, nowcasting, and superensemble combination. This section surveys the emerging ecosystem of diffusion-based weather models, with particular attention to SEEDS (Li et al., 2024), DEFfusion (Andrae et al., 2025), GenEPS (Nai et al., 2025), CasCast (Gong et al., 2024), and DiffDA (Huang et al., 2024).

SEEDS: Scalable Ensemble Envelope Diffusion Sampler

SEEDS (Scalable Ensemble Envelope Diffusion Sampler; Li et al., 2024, Google Research) takes a different philosophy from GenCast. Rather than learning the atmospheric distribution from scratch, SEEDS trains a diffusion model to emulate an existing operational ensemble system-in this case, the ECMWF ENS-using a small number of operational ensemble members as conditioning information. The goal is to generate thousands of statistically consistent additional members at negligible marginal cost, thereby mapping the tail of the forecast distribution with far higher resolution than the operational 50-member ensemble allows.

Motivation: tail coverage.

An operational ensemble of M=50 members can estimate the p-th percentile of the forecast distribution with standard error p(1p)/M. For p=0.99 (99th percentile, relevant for extreme events), this gives a standard error of approximately 0.014 in percentile units-or equivalently, about ±0.7 members. To estimate the 99.9th percentile with comparable relative accuracy requires M10,000 members. SEEDS is designed to generate exactly this order of magnitude.

Definition 27 (Ensemble Envelope).

Let ={x(1),,x(M)} be an ensemble of M scalar forecasts of a quantity of interest X. The ensemble envelope at coverage level α(0,1) is the interval (Envelope)α()=[x(Mα/2),x(M(1α/2))], where x(1)x(2)x(M) are the order statistics. The ensemble envelope distribution of a multivariate forecast 𝑿 is the joint distribution of the order statistics (𝑿(1),,𝑿(M)), capturing the full range of possible outcomes including extreme realisations.

Remark 30.

The ensemble envelope is a nonparametric credible interval: it does not assume a specific distributional form for the forecast distribution. For atmospheric variables with non-Gaussian marginal distributions (e.g., precipitation, which is bounded below at zero and has a heavy upper tail), this nonparametric nature is especially important.

SEEDS architecture.

SEEDS is a latent diffusion model operating in a compressed embedding space of the atmospheric state. The forward process corrupts a target ensemble member 𝒙, and the reverse process is conditioned on a small set of operational ensemble members 𝒄={𝒙(1),,𝒙(K)} (typically K=2 or K=4): (Latent)p𝜽SEEDS(𝒙|𝒄)=p𝜽(𝒙|𝒛,𝒄)p𝜽(𝒛|𝒄)d𝒛, where 𝒛 is a latent variable obtained by encoding 𝒙 into a lower-dimensional space via a variational autoencoder (VAE). The latent diffusion model p𝜽(𝒛|𝒄) operates in this compressed space, dramatically reducing the cost of the diffusion forward and reverse passes.

Key capability: 10,000+ members.

Because the latent diffusion operates in a compressed space and the conditioning context is small (2–4 operational members), SEEDS can generate a single additional ensemble member in seconds. Li et al. (2024) demonstrate generation of 10,000 ensemble members for operational forecast periods, enabling high-resolution mapping of the 99.9th percentile of the forecast distribution across the globe.

Example 10 (SEEDS for Tropical Cyclone Path Distributions).

Consider a SEEDS application to Typhoon Hinnamnor (2022), which made landfall in South Korea at peak intensity. Initialising SEEDS with K=2 ECMWF ENS members at 5-day lead time:

  1. Operational ensemble. The 50-member ECMWF ENS samples the track distribution coarsely; the 5th and 95th percentile tracks span approximately 400 km in cross-track distance.

  2. SEEDS 10,000-member ensemble. The SEEDS ensemble maps the full envelope, resolving the 0.1th and 99.9th percentile tracks (spanning 650 km) and revealing a bimodal track distribution corresponding to two distinct synoptic regimes.

  3. Landfall risk. The probability of landfall within 50 km of the eventual landfall point increases from 34% (ENS) to 41% (SEEDS corrected), reflecting better tail coverage and the bimodal structure missed by the smaller ensemble.

This example illustrates that tail coverage is not just a statistical nicety: it materially changes operational risk estimates used for emergency preparedness decisions.

Training procedure.

SEEDS is trained on historical pairs (𝒄,𝒙) where 𝒄 are operational ENS members available at forecast initialisation and 𝒙 is a held-out ENS member treated as the target. The training objective is the standard noise-prediction loss applied in the latent space: (LOSS)SEEDS(𝜽)=𝔼t,𝒛0,𝜺𝜺𝜺𝜽SEEDS(αt𝒛0+1αt𝜺,t,fenc(𝒄))2, where 𝒛0=fenc(𝒙) and fenc is a frozen VAE encoder. At inference time, the latent code is decoded via fdec to recover a full-resolution ensemble member.

DEFfusion: Direct Ensemble Forecasting with Diffusion

DEFfusion (Direct Ensemble Forecasting with Diffusion; Andrae et al., 2025) takes yet another approach: rather than emulating an existing NWP ensemble or replacing deterministic models, it trains a diffusion model directly as an autoregressive ensemble forecasting system, using observations (ERA5) rather than NWP ensembles as training targets.

Architecture.

DEFfusion combines a convolutional autoencoder (to compress the global atmospheric state) with a denoising diffusion model operating in the latent space. Unlike GenCast's graph-based architecture, DEFfusion uses a U-Net backbone with attention at multiple resolutions, following the design used in image-generation diffusion models (Ho et al., 2020; Rombach et al., 2022).

(UNET)𝜺^=𝒰(𝒛t(τ),τ,𝒛𝒄;𝜽𝒰), where 𝒰 is the U-Net score network, 𝒛t(τ) is the latent noisy state at diffusion step τ, and 𝒛𝒄 is the latent encoding of the conditioning context produced by the autoencoder encoder fencDEF(𝒄).

CRPS and spread–skill improvements.

DEFfusion was evaluated on medium-range forecasting benchmarks including the WeatherBench-2 dataset. On 2-metre temperature at 72-hour lead time, DEFfusion achieves:

  • CRPS improvement: 8.3% reduction versus the persistence ensemble baseline.

  • Spread–skill ratio: 0.98 versus 0.82 for a deterministic model with Gaussian noise added post-hoc.

  • Energy Score: 5.1% improvement for joint verification of temperature and geopotential over Europe.

The improved spread–skill ratio reflects that DEFfusion's ensemble spread is dynamically generated by the diffusion process, intrinsically adapted to the atmospheric state, rather than being a fixed noise level.

Comparison with deterministic baseline.

A natural question is whether the CRPS improvement from DEFfusion is simply due to the ensemble size (more members reduce sampling variance in CRPS estimation) or a genuine improvement in distributional accuracy. Andrae et al. (2025) control for this by comparing against a Gaussian ensemble with the same mean and variance as DEFfusion. DEFfusion outperforms the Gaussian ensemble by 4.2% on CRPS at 72 hours, indicating that the non-Gaussian structure learned by the diffusion model is genuinely informative.

GenEPS: Generative Superensemble Prediction System

GenEPS (Generative Superensemble Prediction System; Nai et al., 2025) exploits a key property of diffusion models: they can serve as unconditional priors over the atmospheric phase space, independently of any specific forecast system.

Unconditional diffusion prior.

Nai et al. train an unconditional diffusion model on ERA5 reanalysis data, learning the climatological distribution q(𝒙) of atmospheric states without any conditioning. The resulting model can evaluate the density q𝜽(𝒙) of any atmospheric state, approximated via the Stein score: (Score)𝒙logq𝜽(𝒙)1σ2(𝒙𝜺𝜽1(𝒙,σ)), where σ is a small noise level and 𝜺𝜽1 denotes the denoised prediction at noise level σ. States with high climatological probability have large gradient norms pointing toward the high-density region of the atmospheric manifold.

Hybrid superensemble.

The GenEPS superensemble combines output from multiple AI weather models (e.g., GraphCast, Pangu-Weather, FourCastNet) with the NWP ensemble (ECMWF ENS) using the diffusion prior to weight members according to their climatological plausibility: (Weights)w(m)exp(λlogq𝜽(𝒙(m))), where 𝒙(m) is the m-th superensemble member (from any source), q𝜽 is the diffusion prior density, and λ>0 is a temperature parameter. Members with higher climatological plausibility receive higher weight. The superensemble mean is then: (MEAN)𝒙GenEPS=mw(m)𝒙(m)mw(m).

Results.

On a superensemble combining 50 ECMWF ENS members, 50 GraphCast trajectory samples, and 50 Pangu-Weather samples, GenEPS achieves CRPS improvements of 6–12% over the unweighted superensemble at lead times of 5–10 days, particularly for rare atmospheric states such as blocking anticyclones and atmospheric rivers.

Remark 31.

A key advantage of the diffusion prior for superensemble weighting is that it enforces physical coherence: members that violate basic atmospheric constraints (e.g., thermal wind balance, continuity) receive low weight because such states have low climatological probability. This is an implicit form of post-processing that does not require explicit constraint specification.

CasCast: Cascaded Diffusion for Precipitation Nowcasting

Precipitation nowcasting-predicting rainfall at high spatial resolution (1–4 km) and short lead times (0–6 hours)-presents qualitatively different challenges from medium-range forecasting. The precipitation field is highly non-Gaussian, spatially intermittent (sparse with intense local maxima), and temporally rapid-evolving. Classical deep learning nowcasters (e.g., DeepMind's MetNet, DGMRs) have been applied with some success, but tend to produce blurry predictions at longer nowcast lead times.

Cascaded diffusion architecture.

CasCast (Gong et al., 2024) addresses this by using a cascaded diffusion model: a series of diffusion models operating at progressively finer spatial resolutions, each conditioned on the output of the previous (coarser) model. (Cascade)p𝜽(𝒙(1),,𝒙(R)|𝒄)=p𝜽(1)(𝒙(1)|𝒄)r=2Rp𝜽(r)(𝒙(r)|𝒙(r1),𝒄), where 𝒙(r) denotes the precipitation field at resolution level r (r=1 is coarsest, r=R is finest), and each p𝜽(r) is a separate diffusion model conditioned on the coarser-resolution output.

Why cascading works.

The coarse-to-fine cascade exploits the multi-scale structure of precipitation: large-scale organisation (fronts, convective systems) is captured at coarse resolution, while fine-scale structure (individual convective cells, orographic precipitation) is resolved at fine resolution conditioned on the coarse prediction. This avoids the mode collapse that single-resolution diffusion models can suffer when trying to simultaneously capture both scales.

Verification.

On the SEVIR benchmark (Storm EVent ImagRy; Veillette et al., 2020) with 384×384 pixel frames at 1-km resolution, CasCast achieves:

  • CSI (Critical Success Index) at 74 dBZ: 0.387 (CasCast) vs. 0.342 (DGMR) vs. 0.318 (EarthFormer).

  • MSE at 60-minute lead: 35.2 vs. 41.8 (DGMR).

  • FID (Fréchet Inception Distance for sharpness): 4.1 vs. 8.6 (DGMR), indicating significantly sharper samples.

DiffDA: Diffusion for Data Assimilation

Data assimilation (DA) is the process of combining prior model forecasts (the background state) with observations to produce an analysis-an optimal estimate of the true atmospheric state-that serves as the initial condition for the next forecast. Classical DA methods (4D-Var, Ensemble Kalman Filter) are expensive because they require either adjoint model integration or large ensembles to estimate the background error covariance.

Diffusion DA framework.

DiffDA (Huang et al., 2024) formulates DA as a conditional sampling problem: given observations 𝒚 and a prior (background) state 𝒙b, draw samples from the posterior p(𝒙a|𝒚,𝒙b). By training a diffusion model as a learned prior over analysis states, DiffDA avoids the explicit construction of background error covariance matrices.

The observation operator maps from state space to observation space (e.g., extracting temperature at specific radiosonde locations, or simulating satellite radiances). The observation likelihood is: (Likelihood)p(𝒚|𝒙)exp(12(𝒚(𝒙))𝖳𝐑1(𝒚(𝒙))), where 𝐑 is the observation error covariance matrix. DiffDA combines this likelihood with the diffusion prior via diffusion posterior sampling (DPS; Chung et al., 2022): at each reverse diffusion step, the gradient of the log-likelihood with respect to the current noisy state is used to guide the denoising toward states consistent with the observations: (DPS)𝒙t1𝒙t1uncondρt𝒙t𝒚(𝒙^0(𝒙t))𝐑12, where 𝒙t1uncond is the unconditional reverse step, 𝒙^0(𝒙t) is the current denoised estimate, and ρt>0 is a step-size schedule.

Results.

On the ERA5-based DA benchmark (assimilating simulated radiosonde and satellite observations), DiffDA achieves analysis errors within 8–15% of 4D-Var at 10% of the computational cost, making it a promising direction for operational DA-particularly in data-sparse regions where classical DA methods perform poorly due to insufficient observations to constrain the error covariance.

Continuous Ensemble Forecasting

A natural extension of the discrete-time diffusion framework is continuous ensemble forecasting, which models the forecast distribution as the output of a continuous normalising flow or score-based SDE. In this framework, the ensemble is not a finite set of members but a continuous family of trajectories parameterised by the initial noise 𝑿0𝒩(𝟎,𝐈).

Definition 28 (Continuous Ensemble Forecast).

A continuous ensemble forecast is a measurable map G𝜽(;𝒄):dd such that if 𝒁𝒩(𝟎,𝐈), then G𝜽(𝒁;𝒄)p𝜽(|𝒄). The map G𝜽 is given by the solution of the probability flow ODE: (ODE)d𝑿dτ=β(τ)2[𝑿+𝑿logqτ(𝑿|𝒄)],τ[T,0], initialised at 𝑿T=𝒁. The solution 𝑿0=G𝜽(𝒁;𝒄) defines an ensemble member. Because the ODE is deterministic given 𝒁, the ensemble is fully described by the source distribution 𝒩(𝟎,𝐈) and the learned vector field.

Flow matching as an alternative.

Conditional flow matching (Lipman et al., 2022; Liu et al., 2022) offers an alternative continuous framework that trains a vector field 𝒖𝜽(𝑿,τ,𝒄) directly by regressing onto the optimal transport (OT) flow between the prior 𝒩(𝟎,𝐈) and the data distribution q(|𝒄): (FLOW Matching)FM(𝜽)=𝔼τ,𝒙0,𝒁𝒖𝜽(τ𝒙0+(1τ)𝒁,τ,𝒄)(𝒙0𝒁)2. Flow matching converges faster than DDPM training and avoids the numerical instabilities of the reverse SDE integration, making it an active research direction for atmospheric modelling (Watt-Meyer et al., 2024; Nguyen et al., 2024).

Comparison Table

ModelTraining dataSampling costUse caseKey feature
GenCastERA5 40yr8 min/memberMedium-rangeEnd-to-end
(Price et al., 2025)reanalysis(single TPU)ensembleprobabilistic
[2pt] SEEDSECMWF ENS<1 min/memberTail mapping10k+ members
(Li et al., 2024)members(CPU feasible)risk assessmentcheap
[2pt] DEFfusionERA512 min/memberDirectU-Net latent
(Andrae et al., 2025)reanalysis(single GPU)ensemblediffusion
[2pt] GenEPSERA5 (prior)NegligibleSuperensembleDiffusion
(Nai et al., 2025)+ AI models(weighting)combinationprior weighting
[2pt] CasCastRadar +3 min/memberPrecipitationCascaded
(Gong et al., 2024)ERA5(GPU)nowcastingmulti-scale
[2pt] DiffDAERA515 min/analysisDataPosterior
(Huang et al., 2024)reanalysis(GPU)assimilationsampling
Comparison of diffusion-based weather models. Training data, sampling cost, primary use case, and key distinguishing feature for the main diffusion models discussed in this chapter. Cost measured in TPU/GPU hours for a single 50-member ensemble at 0.25-degree global resolution.

TikZ Figure: Taxonomy of Diffusion Weather Approaches

Taxonomy of diffusion-based weather approaches. Diffusion models address four distinct sub-problems in the atmospheric prediction pipeline: probabilistic ensemble forecasting (GenCast, SEEDS, DEFfusion), data assimilation (DiffDA), short-range nowcasting (CasCast), and multi-model superensemble combination (GenEPS). Statistical downscaling (generating high-resolution fields from coarse model output) is an active research area not yet represented by a dominant model.

Diffusion for Statistical Downscaling

Statistical downscaling-learning a mapping from coarse-resolution model output to fine-resolution fields-is a natural application of image-to-image translation diffusion models. In climate science, downscaling bridges global climate projections (typically 25–100 km resolution) with regional impact assessments that require 1–10 km resolution for hydrology, agriculture, and urban planning.

Formulation.

Let 𝒙coarsedc be a coarse-resolution atmospheric field and 𝒙finedf with dfdc be the corresponding fine-resolution field. A downscaling diffusion model learns: (Model)p𝜽down(𝒙fine|𝒙coarse)=s=1Tp𝜽(s)(𝑿s1fine|𝑿sfine,𝒙coarse)d𝑿1:Tfine, where the conditioning on 𝒙coarse (typically upsampled and concatenated with the noisy fine-resolution state) steers the diffusion toward fine-resolution fields consistent with the coarse input.

Stochastic downscaling.

A key advantage over deterministic super-resolution methods is that the diffusion model produces a distribution of plausible fine-resolution fields, each consistent with the coarse input but differing in fine-scale detail. This is essential for climate impact studies where the uncertainty in small-scale features (e.g., local extreme precipitation) is as important as the mean.

Insight: Diffusion as a Family of Atmospheric Tools

Insight.

Diffusion is not one thing-it is a family of tools for every level of the atmospheric pipeline. At the long end of the prediction horizon (days to weeks), diffusion models generate probabilistic ensembles from initial conditions (GenCast, DEFfusion). At intermediate time scales (hours), they serve as statistical emulators that expand operational ensembles by orders of magnitude (SEEDS, GenEPS). At short time scales (minutes to hours), they resolve fine-scale precipitation structure in nowcasting systems (CasCast). And in the analysis phase, they provide Bayesian posterior sampling for data assimilation (DiffDA). The common thread is the ability to represent and sample from complex high-dimensional distributions-a capability that no other class of generative model has achieved at atmospheric scale.

Warning: Sampling Cost and Speed-Up Research

Caution.

Diffusion sampling cost scales linearly in the number of denoising steps S. Reducing S from 1000 to 20 via DDIM is a dramatic improvement, but the resulting cost is still 20× that of a single forward pass through a deterministic model. For applications requiring real-time forecasting (e.g., aviation, emergency management), this may be prohibitive. Active research directions include:

  • Consistency models (Song et al., 2023): train networks that produce high-quality samples in a single forward pass by enforcing self-consistency of the diffusion trajectory.

  • Distillation (Salimans & Ho, 2022): train a student model to match a teacher diffusion model in fewer steps.

  • Flow matching: replace the diffusion framework with optimal-transport flow matching (Lipman et al., 2022), which typically requires fewer integration steps.

  • Progressive distillation: iteratively halve the number of required steps (Meng et al., 2023).

None of these approaches has yet achieved one-step sampling quality matching 20-step DDIM for atmospheric fields. The practical trade-off between sample quality and inference speed remains an open research question for operational weather forecasting applications.

The Diffusion–NWP Interface

An important architectural question is where in the forecasting pipeline diffusion models are most effectively deployed relative to classical NWP. Three distinct paradigms have emerged:

Replace-NWP paradigm (GenCast, DEFfusion).

The diffusion model replaces the NWP ensemble entirely, generating atmospheric states from scratch conditioned on the analysis. This requires the model to learn all physical dynamics from data, placing heavy demands on training data coverage and model capacity. The risk is physical inconsistency: samples may violate conservation laws or produce unphysical atmospheric structures not penalised by the training loss.

Augment-NWP paradigm (SEEDS, GenEPS).

The diffusion model augments an existing NWP ensemble by generating additional members or reweighting existing ones. This leverages NWP's physical consistency guarantees while adding statistical power. The risk is that the diffusion model inherits biases from the NWP system it is trained to emulate.

Correct-NWP paradigm (post-processing diffusion).

A diffusion model learns the mapping from NWP forecasts to verifying analyses, correcting systematic biases in the NWP output while preserving its large-scale structure. This is the most conservative paradigm and requires the least training data but cannot generate truly independent ensemble members.

Remark 32.

All three paradigms face the same fundamental challenge: diffusion models optimise a statistical loss and do not explicitly enforce physical laws. Future work may incorporate physics-informed diffusion (adding penalty terms for divergence-free wind fields, hydrostatic balance, etc.) or use NWP model integrations as part of the conditioning at inference time (analogous to classifier guidance but with a physical model as the guide).

Exercises

Exercise 40.

Ensemble size and tail coverage. Let X1,,XM be i.i.d. samples from a continuous distribution F with density f. Let Q^M(p) be the sample p-quantile (the pM-th order statistic).

  1. Show that Q^M(p) is asymptotically normal with mean Q(p)=F1(p) and variance p(1p)/[Mf(Q(p))2].

  2. For a standard Gaussian distribution (f(x)=ϕ(x), Q(0.99)2.33), compute the 95% confidence interval width for Q^50(0.99) and Q^10000(0.99). By what factor does the confidence interval shrink?

  3. Argue that for a distribution with a heavier tail than Gaussian (e.g., a Student's t3 distribution), the benefit of increasing M from 50 to 10,000 is even larger for the 99th percentile. Compute the asymptotic variance ratio Var[Q^50(0.99)]/Var[Q^10000(0.99)] for the t3 distribution and compare to the Gaussian case.

Exercise 41.

Diffusion posterior sampling for data assimilation. Suppose we wish to sample from the posterior p(𝒙a|𝒚)p(𝒚|𝒙a)p(𝒙a), where p(𝒙a) is a Gaussian diffusion prior and p(𝒚|𝒙a)=𝒩(𝒚;𝒙a,𝐑) with linear observation operator .

  1. Show that for a Gaussian prior p(𝒙a)=𝒩(𝒙a;𝟎,𝐁) (background error covariance 𝐁), the posterior is also Gaussian with mean 𝒙opta=𝐁𝖳(𝐁𝖳+𝐑)1𝒚 and covariance 𝐀=(𝐁1+𝖳𝐑1)1. This is the standard analysis from the Kalman gain formula.

  2. Now suppose p(𝒙a) is a non-Gaussian diffusion model prior. The DPS update approximates the score 𝒙tlogp(𝒚|𝒙t) by 𝒙tlogp(𝒚|𝒙^0(𝒙t)). Derive this approximation and identify the conditions under which it is exact.

  3. Propose a modified DPS step-size schedule ρt that ensures the correction term does not dominate the diffusion update at early denoising steps (large t) and increases smoothly as t0. Justify your choice.

Exercise 42.

Flow matching versus DDPM for weather. Consider training both a DDPM and a conditional flow matching (CFM) model on the same conditional weather forecasting dataset.

  1. Write down the training objectives for both methods. Show that the DDPM noise-prediction loss and the CFM loss both upper-bound the true negative log-likelihood logp𝜽(𝒙0|𝒄).

  2. The CFM model uses the straight-line interpolant 𝑿τ=τ𝒙0+(1τ)𝒁 with 𝒁𝒩(𝟎,𝐈) and τ[0,1]. Show that the optimal vector field is 𝒖(𝑿τ,τ)=𝒙0𝒁, a constant in τ. Why might this make the CFM ODE easier to integrate with large step sizes than the DDPM probability flow ODE?

  3. Suppose the DDPM requires SDDPM=20 DDIM steps and the CFM requires SCFM=4 ODE steps to achieve comparable sample quality. If the network forward pass costs the same for both models, what is the wall-clock speedup from switching to CFM for a 50-member ensemble? Discuss any practical limitations of this speedup in an operational forecasting context.

Functional Generative Networks and Joint Distributions

The probabilistic revolution in weather forecasting has been extraordinarily successful at producing calibrated marginal distributions. Given a single location, a trained ensemble model can output a probability distribution over tomorrow's temperature that correctly assigns, say, 10% probability to values above 32C and passes every standard calibration test. Yet a meteorologist looking at the resulting ensemble members may feel profound unease: something is wrong with the spatial pattern. Individual ensemble members look like random noise fields rather than physically coherent weather maps. A temperature front in one member appears five hundred kilometres north of where it sits in another, even though each member is individually well-calibrated.

This tension between marginal correctness and joint coherence is the central problem of this section. We formalise it, exhibit a sharp counterexample, and then develop the Functional Generative Network (FGN) framework introduced by Alet et al. (2025) as the principled solution.

The Joint Distribution Challenge

Let Ω2 be the spatial domain of a numerical weather prediction grid, with |Ω|=N grid points. At lead time τ, the atmosphere is described by a state vector 𝒙(τ)N×V, where V indexes meteorological variables (temperature, wind components, geopotential, humidity, etc.). A probabilistic forecast is a distribution p(𝒙(τ)|𝒙(0)), where 𝒙(0) is the analysis state at initialisation.

Marginal CRPS optimisation.

The workhorse evaluation metric in NWP is the Continuous Ranked Probability Score (CRPS). For a scalar forecast F (a distribution) and observation y, it is defined as:

Definition 29 (Continuous Ranked Probability Score).

Let F:[0,1] be a forecast CDF and y an observed value. The CRPS is (CRPS)CRPS(F,y)=(F(z)𝟏[zy])2dz=𝔼XF[|Xy|]12𝔼X,XF[|XX|], where X,X are independent draws from F. The second equality provides the ensemble form, making CRPS computable from a finite ensemble {x(k)}k=1K: (CRPS Ensemble)CRPS^=1Kk=1K|x(k)y|12K2j=1Kk=1K|x(j)x(k)|. The CRPS is a proper scoring rule: it is minimised in expectation by the true forecast distribution and by no other.

The marginal CRPS for a gridded forecast averages ((CRPS Ensemble)) over all grid points independently: (MEAN CRPS)CRPS=1Ni=1NCRPS^i, where the index i runs over grid points and CRPS^i is computed using the marginal ensemble at location i. The critical observation is that CRPS depends only on marginals: it is completely insensitive to the joint structure of the ensemble.

Remark 33.

Consider two ensembles 1 and 2 with identical marginals at every grid point. Then CRPS(1)=CRPS(2) regardless of how coherent or incoherent the spatial patterns within each ensemble are. A model that assigns identical skill to a physically meaningful frontal passage and to a random spatial permutation of that frontal passage is not measuring the thing meteorologists care about.

A Counterexample: Perfect Marginals, Incoherent Storms

We now exhibit a concrete construction showing that attaining the minimum achievable marginal CRPS at every location is entirely compatible with producing storm forecasts of zero physical utility.

Example 11 (Storm Coherence Counterexample).

Consider a simplified domain consisting of N=100 grid points arranged in a 10×10 grid. A tropical cyclone occupies a circular region of radius r=3 grid points, centred at a location 𝒄true drawn uniformly from the interior of the grid. The cyclone produces a radially symmetric wind speed anomaly: (Cyclone Field)u(𝒙)=Aexp(𝒙𝒄true22r2),A=30 m/s. Suppose the true distribution of 𝒄true is uniform on the 6×6 interior. An ensemble of K=36 members, one centred at each interior grid point, has:

  1. Perfect marginals: at every grid point i, the empirical CDF of {ui(k)}k=136 matches the true marginal distribution of ui, so CRPS^i attains its minimum achievable value at every i (equal to that of the true marginal, about 5.6 m/s at the storm centre and about 3.9 m/s averaged over the grid, not zero: a non-degenerate calibrated forecast has strictly positive CRPS). A coherent and an incoherent ensemble with these marginals are therefore indistinguishable under marginal scoring.

  2. No coherent storm: no individual ensemble member represents a physically possible future. With probability 35/36, the member with the storm centred at position 𝒄k𝒄true will assign maximum wind speed to the wrong location, mislabelling the intensity at the correct location as near-zero.

Any decision that depends on the joint wind field-emergency evacuation radius, storm surge modelling, flight routing-will be catastrophically mislead by this ensemble despite its perfect CRPS.

The counterexample is not a pathology. It reflects a fundamental mathematical fact: the marginal distributions of a joint distribution carry strictly less information than the joint distribution itself. Optimising a sum of marginal objectives cannot, in general, constrain the joint. What is needed is an architectural or training mechanism that enforces joint coherence without requiring a joint likelihood objective (which would be intractable for high-dimensional forecasts).

Functional Generative Networks: Formal Definition

Alet et al. (2025) introduce Functional Generative Networks (FGN) as an architectural solution to the joint coherence problem. The key insight is deceptively simple: rather than injecting stochasticity into the data space (as diffusion models do), inject it into the function space of the network itself.

Definition 30 (Functional Generative Network).

Let f𝜽:𝒳𝒴 be a deterministic neural network mapping an atmospheric state 𝒙𝒳 to a forecast 𝒚𝒴. A functional generative network is a family (FGN DEF){f𝜽,𝒛:𝒳𝒴|𝒛𝒵}, where 𝒛𝒵=d is a latent noise vector with ddim(𝒴), and f𝜽,𝒛 is obtained from f𝜽 by modulating the network's internal activations at every layer using 𝒛: (FGN Modulation)𝒉𝒛(l)(𝒙)=𝒉(l)(𝒙)+𝐖mod(l)𝒛, where 𝒉(l)(𝒙) denotes the pre-activation feature map at layer l, and 𝐖mod(l)dl×d is a learned modulation matrix. The functional qualifier emphasises that 𝒛 parametrises the network function f𝜽,𝒛, not a data-space variable.

The stochastic forecast is obtained by drawing 𝒛p(𝒛)=𝒩(0,𝐈d) and computing 𝒚^=f𝜽,𝒛(𝒙).

Remark 34.

In a diffusion model, stochasticity enters through repeated data-space perturbations 𝒙t=αt𝒙0+1αt𝝐, and coherence is rebuilt iteratively through the reverse process. In an FGN, a single d-dimensional draw 𝒛 modulates the entire computation graph simultaneously. Every layer “sees” the same noise realisation, which propagates spatial correlations coherently from coarse to fine scales without any iterative refinement.

The 32-Dimensional Noise Vector

In the WeatherNext 2 implementation, d=32. This dimension is not arbitrary. The atmospheric state on a global grid has 𝒪(107) degrees of freedom, but the meteorologically relevant stochastic modes-large-scale circulation regimes, blocking events, jet-stream positions, cyclone tracks-lie on a much lower-dimensional manifold. Empirically, 32 dimensions captures the dominant sources of forecast uncertainty without over-parametrising the noise space.

Formally, the modulation at layer l can be written in terms of a scale-and-shift: (Adanorm)𝒉~(l)(𝒙,𝒛)=(𝟏+𝜸(l)(𝒛))𝒉(l)(𝒙)𝝁(l)𝝈(l)+𝜷(l)(𝒛), where 𝜸(l),𝜷(l):ddl are learned affine maps from the noise vector, and 𝝁(l),𝝈(l) are the layer normalisation statistics. This is analogous to the Adaptive Layer Norm (AdaLN) conditioning used in DiT architectures, but here the conditioning signal is a stochastic latent vector rather than a deterministic class embedding.

Why FGN Works: Coherent Propagation Through Layers

The key theorem underlying FGN is that functional perturbations propagate equivariantly through the network, preserving spatial correlations that data-space noise would break.

Theorem 3 (Coherence Propagation).

Let f𝜽,𝒛 be an FGN with modulation as in ((FGN Modulation)). Let 𝒙1,𝒙2𝒳 be two nearby atmospheric states with 𝒙1𝒙2δ. Then for a fixed noise realisation 𝒛: (Coherence Bound)f𝜽,𝒛(𝒙1)f𝜽,𝒛(𝒙2)L(𝒛)δ, where L(𝒛) is the Lipschitz constant of f𝜽,𝒛 at fixed 𝒛. Moreover, the spatial covariance structure of the output ensemble {𝒚^(k)=f𝜽,𝒛(k)(𝒙)} satisfies (FGN Covariance)Cov(y^i,y^j)=k=1dfizkfjzk+𝒪(δz2), where the Jacobian fi/zk couples output locations i and j through the shared computational graph.

Proof.

The bound ((Coherence Bound)) follows directly from the Lipschitz continuity of neural networks with bounded weights and smooth activations; 𝒛 enters only through the modulation matrices 𝐖mod(l), so fixing 𝒛 reduces the FGN to a standard deterministic network. The covariance formula ((FGN Covariance)) follows from a first-order Taylor expansion of f𝜽,𝒛 around 𝒛=0, which is valid when the noise scale is small relative to the network's nonlinearity.

The practical implication is profound. Because every output grid point i shares the same 𝒛, the correlation between y^i and y^j is mediated by the network's receptive field-precisely the physical correlations that the deterministic backbone was trained to respect. A large receptive field (as in graph-based models) automatically yields large-scale spatial coherence in the ensemble.

Training with Marginal CRPS

The remarkable property of FGNs is that they can be trained purely on marginal CRPS objectives, yet the architecture guarantees joint coherence in the resulting ensemble. The training objective is:

Definition 31 (FGN Training Objective).

Given a training set of analysis–verification pairs {(𝒙n,𝒚n)}n=1Ntrain, the FGN is trained to minimise: (FGN LOSS)FGN(𝜽)=1Ntrainn=1Ntrain1Ni=1NCRPS^i({f𝜽,𝒛(k)(𝒙n)i}k=1K,(yn)i), where 𝒛(1),,𝒛(K)iid𝒩(0,𝐈d) are drawn fresh at each training step, and the subscript i denotes extraction of the i-th grid point.

Key Idea.

The smartest place to inject noise is not the data-it is the model itself. Diffusion models inject noise into data and then laboriously reconstruct coherence through hundreds of denoising steps. FGNs inject a single low-dimensional noise vector into the model's internal function space. Because the deterministic backbone already encodes physical correlations (from training on real atmospheric data), the functional perturbation automatically inherits these correlations without any explicit joint objective. The architecture does the work that data-space diffusion must do iteratively.

WeatherNext 2: Operational FGN at Google DeepMind

WeatherNext 2 (Google DeepMind, 2025) represents the first large-scale operational deployment of the FGN paradigm. It inherits the graph-based architecture of GraphCast and GenCast but replaces diffusion-based ensemble generation with functional noise injection.

Architecture Overview

The WeatherNext 2 architecture rests on three components:

  1. Multi-mesh graph encoder. The global atmosphere is represented on an icosahedral multi-mesh with 40,000 nodes at 0.25 resolution (the operational ERA5 grid). Grid-point features are lifted to a latent graph representation via learned encoder edges, following the GraphCast design.

  2. Graph neural network processor. A deep GNN with message-passing layers processes the latent mesh. Each layer applies: (WN2 Message)𝒉i(l+1)=ϕv(𝒉i(l),j𝒩(i)ϕe(𝒉i(l),𝒉j(l),𝒆ij)), where ϕv and ϕe are MLP update and edge functions, and 𝒆ij encodes geographic edge features. The FGN noise injection modulates both ϕv and ϕe through AdaLN conditioning on 𝒛.

  3. Decoder and ensemble generation. The latent mesh representation is decoded back to the physical grid. An ensemble of K=50 members is generated by drawing 50 independent 𝒛(k)𝒩(0,𝐈32) and running a single forward pass per member-no iterative sampling required.

Speed and Accuracy

Replacing 20 iterative diffusion steps with a single forward pass per member cuts the network evaluations per member by roughly 20×. A 50-member 15-day global ensemble forecast requires approximately 45 seconds on a single TPUv5 chip; a single-chip GenCast ensemble of the same size needs of order hours (Section GenCast and Diffusion Ensemble Forecasting gives about 50×8=400 minutes on one TPU v4), so the wall-clock speedup on a single chip is large.

On the WeatherBench,2 evaluation suite, WeatherNext 2 achieves superior skill to GenCast on 99.9% of all evaluated targets, spanning:

  • Deterministic metrics: RMSE and anomaly correlation coefficient (ACC) for all upper-air and surface variables.

  • Probabilistic metrics: CRPS, spread/skill ratio, and reliability diagrams at all lead times from 6 hours to 15 days.

  • Joint metrics: energy score and variogram score over multi-location subsets of the forecast domain.

The gains are especially large on joint metrics, confirming the theoretical expectation that FGNs improve joint coherence relative to diffusion-based models.

Definition 32 (Energy Score).

The energy score is the multivariate generalisation of CRPS. For an ensemble {𝒚^(k)}k=1KD and observation 𝒚D: (Energy Score)ES=1Kk=1K𝒚^(k)𝒚12K2j=1Kk=1K𝒚^(j)𝒚^(k). The energy score is a proper scoring rule for the full joint distribution; it reduces to the CRPS when D=1. Unlike the sum of marginal CRPSs, the energy score penalises incorrect joint structure.

15-Day Forecasts and Joint Coherence

At 15-day lead times-well into the chaotic regime where deterministic skill has vanished-WeatherNext 2 ensemble members exhibit qualitatively correct synoptic-scale patterns. Individual members show coherent frontal systems, realistic cyclone tracks, and physically plausible blocking configurations. This stands in contrast to ensemble members from models that optimise only marginal objectives, which at 15 days often degenerate into spatially incoherent “spaghetti” fields.

The improvement is quantified by the variogram score:

Definition 33 (Variogram Score).

For an ensemble {𝒚^(k)} and observation 𝒚, the variogram score of order p is: (Variogram)VSp=i=1Dj=1Dwij(|yiyj|p1Kk=1K|y^i(k)y^j(k)|p)2, where wij0 are spatial weights (often wij=dij1 for geographic distance dij). The variogram score penalises mismatches in the variogram structure of the ensemble, which directly measures spatial coherence.

TikZ: FGN vs. Diffusion Noise Injection Comparison

Diffusion vs. Functional Generative Network noise injection. Left: A diffusion model generates each ensemble member through T sequential denoising steps, injecting independent data-space noise at each step. Spatial coherence must be reconstructed iteratively. Right: An FGN draws a single 32-dimensional noise vector 𝒛 and modulates every GNN layer simultaneously (dashed purple arrows). A single forward pass produces one ensemble member. Because all layers see the same 𝒛, the functional perturbation propagates spatial correlations coherently through the computational graph. WeatherNext 2 achieves an 8× inference speedup over GenCast using this mechanism.

Example: Continental Heatwave with Spatial Coherence

Example 12 (Continental Heatwave Forecast).

Consider a 10-day forecast for a European continental heatwave of the kind that occurs with increasing frequency under anthropogenic climate change. The key forecast quantities are:

  • T2m: 2-metre temperature over Western Europe (10E to 30E, 35N to 65N).

  • The spatial extent of the region exceeding 38C.

  • The persistence: number of consecutive days above threshold at each grid point.

A diffusion-based ensemble (e.g., GenCast) produces 50 members, each individually calibrated at every grid point. However, individual members may show the heat dome displaced by 200300 km relative to the true position, with intensity profiles that look reasonable in isolation but represent physically inconsistent scenarios when examined as trajectories.

A WeatherNext 2 ensemble, by contrast, produces members with consistent heat-dome positions: if a member shows the dome centred over France, it also shows the correct blocking high in the upper atmosphere, the suppressed precipitation to the south, and the downstream cooling anomaly over Eastern Europe. The within-ensemble spread in heat-dome position reflects genuine forecast uncertainty, not spurious noise from incoherent sampling.

Quantitatively, the energy score for the spatial T2m field at Day 10 is reduced by 12% relative to GenCast, reflecting improved joint skill. The variogram score at lag 500 km is reduced by 18%, confirming that the spatial correlation structure of the ensemble more closely matches that of the observation network.

Skillful Joint Probabilistic Forecasting from Marginals

The paper “Skillful Joint Probabilistic Weather Forecasting from Marginals” (Alet et al., 2025) proves a more general result that underpins the FGN framework. The central result can be paraphrased as follows. (Note that requiring zero marginal CRPS would force each marginal to a Dirac mass and hence a deterministic forecast; the substantive statement uses the minimum achievable marginal score, so the coherence must come from the FGN's architecture, not from the marginal objective alone.)

Theorem 4 (Marginal Optimality plus Coverage Implies Joint Calibration under FGN).

Let ptrue(𝒚|𝒙) be the true forecast distribution and p𝜽(𝒚|𝒙)=p(f𝜽,𝒛(𝒙)) the FGN distribution induced by 𝒛𝒩(0,𝐈d). Suppose the FGN matches every true marginal: (ZERO CRPS)i:πi#p𝜽(|𝒙)=πi#ptrue(|𝒙)a.s., where πi is the projection onto coordinate i (equivalently, each marginal attains its minimum achievable CRPS). If additionally the map 𝒛f𝜽,𝒛(𝒙) covers the support of ptrue, then: (Joint Recovery)p𝜽(𝒚|𝒙)=ptrue(𝒚|𝒙).

Remark 35.

The surjectivity condition is the key regularity assumption: the 32-dimensional noise must be able to “reach” every mode of the true forecast distribution. For atmospheric forecasting, this holds when drank(Σatm), where Σatm is the covariance of the true forecast ensemble restricted to the dominant modes of variability. In practice, 32 dimensions is more than sufficient for global weather at 10-day lead times.

Exercises

Exercise 43 (CRPS Properties and Joint Coherence).

  1. CRPS is blind to joint structure. Let 𝒚^(1),,𝒚^(K)D be an ensemble forecast. Define a permuted ensemble 𝒚~(k) by independently permuting each coordinate: y~i(k)=y^iσi(k) for independent random permutations σ1,,σDSK. Show that CRPS(~)=CRPS() for any choice of permutations σi. Conclude that marginal CRPS is invariant under arbitrary permutation of ensemble member indices within each coordinate.

  2. Energy score detects joint incoherence. Using the permuted ensemble from part (a), show that ES(~)ES() with equality if and only if the ensemble members are already independent across coordinates. Hint: Expand the energy score using the triangle inequality in D.

  3. FGN covariance recovery. Let f𝜽,𝒛(𝒙)=𝐀𝒛+𝒃 (linear FGN). Show that the ensemble covariance matrix satisfies 𝚺^=𝐀𝐀 and that this equals the true marginal covariances whenever 𝐀𝐀=𝚺true. Under what conditions on 𝐀 and 𝚺true is joint recovery achieved?

Exercise 44 (WeatherNext 2 Inference Speedup).

WeatherNext 2 claims an 8× speedup over GenCast at ensemble size K=50.

  1. Model the per-step cost of GenCast as Cstep floating-point operations and the number of diffusion steps as T. Model the per-member cost of WeatherNext 2 as CFGN. Write an expression for the total cost of generating K members with each system.

  2. If CFGN=Cstep (same per-step cost), solve for the diffusion step count T consistent with an 8× overall speedup. Is this a plausible number of diffusion steps for a high-quality weather model?

  3. Suppose instead that the FGN is ρ times more expensive per forward pass than a single diffusion step (because of the additional modulation matrices 𝐖mod(l)). Find the maximum ρ consistent with maintaining a 5× speedup when T=20.

  4. Discuss how the speedup scales with ensemble size K for both systems. Which system benefits more from parallelism on hardware accelerators?

Exercise 45 (Functional Perturbation and Spatial Scales).

Consider an FGN whose modulation is applied only at the -th layer (not all layers), where the receptive field radius at layer is R grid points.

  1. Show that the output covariance between grid points i and j with ij>R is zero (up to boundary effects). Interpret this in terms of the weather phenomena that can be captured by noise injection at that layer.

  2. In a typical graph neural network, R2 (receptive field doubles with each layer). For a network with L=8 layers and base resolution Δx=25 km, at which layer(s) should noise be injected to capture synoptic-scale variability (1000 km), mesoscale variability (100 km), and both simultaneously?

  3. In WeatherNext 2, noise is injected at all L layers. Write the resulting output covariance as a sum of layer-specific contributions: (Multi Layer COV)Cov(y^i,y^j)==1Lk=1dfizk()fjzk(), where 𝒛() is the noise modulating layer . Argue qualitatively why this multi-scale injection produces more realistic ensemble spread than injection at a single layer.

Flow Matching, Latent Diffusion, and Data Assimilation

Score-based diffusion models and their variants have proven extraordinarily capable at sampling from complex high-dimensional distributions. Yet for weather applications they carry a practical burden: the iterative reverse-diffusion process requires many network evaluations, and the diffusion path through data space produces trajectories with little physical meaning. Two complementary directions attack this problem.

Flow matching (Lipman et al., 2023) replaces the stochastic SDE with a deterministic ODE whose velocity field is learned directly, enabling faster and smoother trajectories. Latent diffusion compresses the high-dimensional atmospheric state into a compact latent code before applying the generative model, reducing both memory and compute. Together, these techniques open the door to two of the most computationally demanding problems in weather science: subseasonal-to-seasonal (S2S) prediction out to 30 days, and data assimilation-the reconstruction of the full atmospheric state from sparse, heterogeneous observations.

Score-Based Generative Models: Continuous-Time SDEs

Recall that the modern diffusion framework (Song et al., 2021) unifies DDPM and SMLD under a common continuous-time SDE forward process.

Definition 34 (Forward Diffusion SDE).

The forward process from clean data 𝒙0 to pure noise 𝒙T satisfies the SDE: (Forward SDE)d𝒙t=𝒇(𝒙t,t)dt+g(t)d𝑾t,t[0,T], where 𝒇:D×[0,T]D is the drift, g:[0,T] is the diffusion coefficient, and 𝑾t is a standard Brownian motion. The reverse-time SDE (Anderson, 1982) is: (Reverse SDE)d𝒙t=[𝒇(𝒙t,t)g(t)2𝒙tlogpt(𝒙t)]dt+g(t)d𝑾t, where 𝑾t is a reverse-time Brownian motion and s𝜽(𝒙t,t)𝒙tlogpt(𝒙t) is the score function approximated by a neural network.

The score-matching training objective is: (Score Matching)SM(𝜽)=𝔼t,𝒙0,𝒙t[λ(t)s𝜽(𝒙t,t)𝒙tlogp(𝒙t|𝒙0)2], where λ(t)>0 is a loss weighting function and p(𝒙t|𝒙0) is available in closed form as a Gaussian for linear forward processes.

Flow Matching: Deterministic Continuous-Time Modelling

Flow matching (Lipman et al., 2023) provides an alternative to score-based models that avoids stochastic sampling entirely. Instead of learning a score function, the network learns a velocity field whose integration transports a simple base distribution to the data distribution.

Definition 35 (Conditional Flow Matching).

Let p0=𝒩(0,𝐈D) be the base distribution and p1=pdata the target. A flow is a time-dependent diffeomorphism ϕt:DD satisfying ϕ0=id and (ϕ1)#p0=p1. The flow is generated by the ODE: (FLOW ODE)ddtϕt(𝒙)=v𝜽(ϕt(𝒙),t),ϕ0(𝒙)=𝒙, where v𝜽:D×[0,1]D is the learned velocity field.

Conditional flow matching (CFM) trains v𝜽 by specifying a conditional path μt(𝒙|𝒙1) between 𝒙0p0 and a data point 𝒙1p1, typically the linear interpolant: (Linear Interpolant)μt(𝒙|𝒙0,𝒙1)=(1t)𝒙0+t𝒙1,t[0,1]. The conditional velocity is then ut(𝒙|𝒙0,𝒙1)=𝒙1𝒙0, and the CFM objective is: (CFM LOSS)CFM(𝜽)=𝔼t,𝒙0,𝒙1[v𝜽(μt(𝒙0,𝒙1),t)(𝒙1𝒙0)2]. This objective has the same gradient as the marginal flow matching objective, which targets the true marginal velocity vt(𝒙)=𝔼[ut|ϕt=𝒙], but is tractable via conditional sampling.

Remark 36 (Advantages over Diffusion for Weather).

Flow matching offers three practical advantages for weather:

  1. Fewer sampling steps: the linear conditional path requires 𝒪(10) ODE solver steps for high-quality samples, vs. 𝒪(100) for DDPM.

  2. Smoother trajectories: the linear interpolant μt=(1t)𝒙0+t𝒙1 has constant conditional velocity, avoiding the noisy, high-curvature paths of the DDPM reverse process.

  3. Deterministic inversion: the ODE ((FLOW ODE)) can be integrated in both directions, enabling exact encoding of observations into the base space-useful for data assimilation.

Marchuk: Generative Latent Flow-Matching DiT for S2S

Marchuk (2026) introduces a generative latent flow-matching Diffusion Transformer (DiT) that achieves state-of-the-art subseasonal-to-seasonal (S2S) prediction at lead times up to 30 days. The architecture combines three innovations:

Latent Space Compression with VAE

Raw atmospheric fields are compressed into a latent space via a convolutional variational autoencoder (VAE): (Marchuk VAE)𝒛atm=Encoderϕ(𝒙),𝒙^=Decoderψ(𝒛atm), where 𝒛atmH×W×C with H=H/r, W=W/r for spatial compression ratio r. At r=4, the global atmospheric state at 0.25 resolution (1440×721×V variables) is compressed to 360×180×C latent codes-a V/C-fold reduction in the channel dimension plus a 16× spatial compression.

The VAE is trained with a combined loss: (Marchuk VAE LOSS)VAE=recon+βDKL(qϕ(𝒛|𝒙)p(𝒛)), with β=104 in the Marchuk implementation, preserving fine-scale atmospheric structure at the cost of minimal additional KL regularisation.

DiT Backbone with Spatial and Temporal Embeddings

The generative model operates on the latent codes 𝒛atm. The backbone is a Diffusion Transformer (DiT) with:

  • 2D spatial embeddings: rotary positional embeddings (RoPE) applied in the latitude and longitude dimensions, enabling the model to generalise across spatial positions.

  • 1D temporal RoPE: a separate rotary embedding for the forecast lead time τ, allowing smooth interpolation between lead times and generalisation beyond the training horizon. Formally, for query/key vectors 𝒒,𝒌 at lead time τ: (ROPE)q~j=qjeiωjτ,k~j=kjeiωjτ,ωj=τbase2j/d, where the inner product 𝒒~,𝒌~ depends only on ττ (relative lead time), encoding temporal equivariance.

  • Adaptive Layer Norm (AdaLN-Zero): following the DiT convention, flow time t conditions each transformer block through learned scale and shift parameters.

Efficiency: 276M Parameters vs. 1.6B Baseline

The latent-space operation reduces the sequence length for the transformer from 106 (full resolution) to 6.5×104 (latent resolution), enabling a 276M parameter model to match or exceed the performance of 1.6B parameter autoregressive baselines that operate in data space. The effective parameter count for the generative component is: (Marchuk Params)NMarchukNDiT+NVAE=220M+56M=276M, compared to 1.6×109 for the best non-latent baseline.

S2S Results

Marchuk (2026) evaluates on the ECMWF S2S benchmark, which provides verification data for weeks 3–6 post-initialisation. Key findings:

  • At lead times of 20–30 days, Marchuk achieves higher ACC than ECMWF's 51-member ENS-extended on Z500, T850, and MJO phase.

  • The latent flow-matching ensemble provides better reliability than both IFS-ENS and the 1.6B autoregressive baseline on probabilistic skill scores at weeks 3–4.

  • Inference for a 50-member ensemble to 30 days requires 3 minutes on a single A100 GPU, enabling rapid regeneration of ensembles for initialisation studies.

Insight.

Latent-space models trade explicit interpretability for computational efficiency-and this trade-off is critical for S2S. At 30-day lead times, the atmosphere is inherently unpredictable at sub-synoptic scales; the latent VAE compression naturally discards these uninformative small scales and focuses model capacity on the large-scale patterns that carry genuine predictive information.

Latent Diffusion Architecture for Weather: TikZ Figure

Latent diffusion/flow-matching architecture for weather (Marchuk 2026 style). The raw atmospheric state 𝒙 (spatial dimensions H×W, V variables) is first compressed 16× in space by a VAE encoder (56M parameters) into a compact latent code 𝒛atm. A Diffusion Transformer (DiT, 220M parameters) learns the generative model-either score-based or flow-matching-in this latent space, conditioned on flow time t via AdaLN-Zero and on spatial and temporal position via rotary positional embeddings (RoPE). During inference, a noise sample 𝒛t is integrated through the learned velocity field v𝜽 to obtain the denoised latent 𝒛^0, which is decoded back to physical space. The total 276M parameter model matches baselines with 1.6B parameters operating in full data space.

Appa: Latent Diffusion for Data Assimilation

Data assimilation (DA) is the process of combining a prior forecast (the background) with new observations to produce an optimal estimate of the current atmospheric state (the analysis). Classical DA methods-3D-Var, 4D-Var, and the Ensemble Kalman Filter (EnKF)-solve a Bayesian inverse problem: (DA Posterior)p(𝒙|𝒚obs)p(𝒚obs|𝒙)p(𝒙), where 𝒚obsM is the observation vector (MD) and p(𝒙) is the forecast prior.

Definition 36 (Score-Based Latent Data Assimilation).

Let s𝜽(𝒛,t) be a pre-trained latent score function approximating 𝒛logpt(𝒛). Given observations 𝒚obs=𝐇Decoder(𝒛)+𝝐 with observation operator 𝐇 and noise 𝝐𝒩(0,𝐑), score-based latent DA infers the posterior p(𝒛|𝒚obs) via the perturbed reverse SDE: (SDA SDE)d𝒛t=[ft(𝒛t)gt2(s𝜽(𝒛t,t)+𝒛tlogp(𝒚obs|𝒛t))]dt+gtd𝑾t, where 𝒛tlogp(𝒚obs|𝒛t) is the observation likelihood gradient, computed by differentiating through the decoder and observation operator.

Appa (Manshausen et al., 2025) is a 565M-parameter implementation of this framework trained on ERA5 reanalysis data. Its key capabilities:

  • Global atmospheric trajectories from sparse observations: given only radiosonde profiles, satellite radiances, and surface station data (representing <0.1% of grid points), Appa generates full 3D atmospheric states consistent with the observations.

  • Direct posterior inference: unlike EnKF, which approximates the posterior as Gaussian, Appa samples from the full non-Gaussian posterior, capturing multimodal uncertainty in data-sparse regions.

  • Heterogeneous observation types: the observation operator 𝐇 can encode any differentiable mapping from atmospheric state to observed quantity-temperature profiles, radiances, radar reflectivities, GPS radio occultations-without requiring separate DA systems for each observation type.

Example 13 (Storm Reconstruction from Sparse Satellite Observations).

Consider a tropical cyclone over the Western Pacific where:

  • Surface observations are available from 15 island stations within a 10×10 domain.

  • AMSU-A microwave radiance data provides column-integrated temperature information at 8 channels.

  • No in-situ upper-air observations are available within 500 km of the storm centre.

Classical 4D-Var DA produces an analysis with the cyclone's central pressure underestimated by 12 hPa due to the coarse-scale background error covariance model failing to represent the tight horizontal gradients near the eyewall.

Appa's latent diffusion sampler generates 100 posterior ensemble members, with the following characteristics:

  1. The ensemble mean central pressure matches the best-track estimate to within 3 hPa.

  2. The ensemble spread correctly represents the uncertainty in warm-core intensity at upper levels where no observations are available.

  3. Individual ensemble members show physically consistent wind-temperature balance near the eyewall, despite no explicit balance constraint in the training or inference procedure-this balance emerges from the learned prior p(𝒛).

FlowDA: Flow Matching for Low-Latency Data Assimilation

While Appa achieves high accuracy, its score-based reverse SDE requires 𝒪(100) network evaluations per sample. For operational DA, which must produce analysis increments within minutes to meet NWP model initialisation deadlines, this latency is prohibitive. FlowDA (Cheng and Zhu, 2026) addresses this by replacing the reverse SDE with a conditional flow-matching ODE.

Definition 37 (FlowDA Conditional Flow Matching for DA).

Let q0=p(𝒛|𝒚obs) be the analysis posterior and q1=𝒩(0,𝐈) the base distribution. FlowDA trains a velocity field v𝜽(𝒛t,t,𝒚obs) conditioned on the observation vector to satisfy: (Flowda ODE)d𝒛tdt=v𝜽(𝒛t,t,𝒚obs),𝒛1𝒩(0,𝐈), with (ϕ0)#q1q0. The observation conditioning is injected via cross-attention between the latent state 𝒛t and an observation embedding 𝒆obs=ObsEncoder(𝒚obs).

Training pairs (𝒛analysis(0),𝒚obs) are generated from a pre-existing DA system (e.g., ERA5 reanalysis), so FlowDA distils the DA system's posterior into the flow.

The key advantage of FlowDA over Appa is inference speed: with Nstep=10 ODE solver steps, FlowDA generates a full global analysis in 15 seconds on a single GPU, compared to 8 minutes for Appa with 100 diffusion steps. This 32× speedup makes it viable for operational 6-hourly analysis cycles.

Remark 37 (FlowDA vs. Appa: Trade-offs).

FlowDA achieves speed through training-time amortisation: the observation-to-analysis mapping is learned offline from many reanalysis pairs. This makes it less flexible than Appa to novel observation types not represented in the training data. Appa's SDE-based approach can incorporate any new observation operator 𝐇 at inference time without retraining. The optimal choice depends on operational constraints: FlowDA for speed-critical applications, Appa for research applications requiring flexible observation handling.

SwinVRNN: VAE-Style Stochastic Ensemble Forecasting

SwinVRNN (Hu et al., 2023) is a variational recurrent neural network for weather ensemble forecasting that predates the diffusion era but anticipates several of the ideas in FGN and Marchuk. It combines a Swin Transformer backbone with a variational latent-variable model:

Definition 38 (SwinVRNN Generative Model).

Let 𝒙1:T=(𝒙1,,𝒙T) be a weather trajectory. SwinVRNN factors the joint distribution as: (Swinvrnn)p𝜽(𝒙1:T|𝒙0)=t=1Tp𝜽(𝒙t|𝒙t1,𝒛t),𝒛tqϕ(𝒛t|𝒙t,𝒙t1), where 𝒛td is a step-wise latent variable encoding the stochastic component of the t-th forecast step. The ELBO objective is: (Swinvrnn ELBO)VRNN=t=1T𝔼q[logp𝜽(𝒙t|𝒙t1,𝒛t)]t=1TDKL(qϕ(𝒛t|𝒙t,𝒙t1)p(𝒛t|𝒙t1)).

SwinVRNN generates ensemble members by sampling 𝒛tp(𝒛t|𝒙t1) (the prior, not the posterior) at inference time. Each sample produces a different forecast trajectory, with diversity controlled by the learned prior variance.

Remark 38 (SwinVRNN vs. FGN vs. Marchuk).

SwinVRNN injects stochasticity step-by-step through trajectory latents 𝒛t, meaning each 6-hour step introduces independent noise. This can lead to incoherence across long lead times if the step-wise latents are not strongly correlated. FGN injects a single 𝒛 that modulates the entire trajectory at once; Marchuk injects 𝒛 into the latent flow process. The SwinVRNN approach is better suited to short-range ensemble forecasting where step-wise perturbations represent synoptic-scale developments; FGN and Marchuk are preferred for medium- and extended-range forecasting where large-scale coherence matters most.

LO-SDA: Latent Optimisation for Score-Based Atmospheric DA

An alternative to the sequential SDE approach of Appa is to perform latent optimisation (LO) directly in the latent space of a pre-trained generative model.

Definition 39 (Latent Optimisation for Data Assimilation).

Given a pre-trained decoder Decoderψ and observations 𝒚obs, LO-SDA finds the latent code: (Losda OPT)𝒛=arg min𝒛𝒵[12𝒚obs𝐇(Decoderψ(𝒛))𝐑12+λ2𝒛2], where 𝐑 is the observation error covariance and λ>0 is a regularisation parameter that ensures 𝒛 remains close to the latent prior. The analysis is recovered as 𝒙^=Decoderψ(𝒛).

The key properties of LO-SDA are:

  1. No generative sampling required: the analysis is a point estimate in latent space, obtained by gradient descent through the pre-trained decoder. This is 10100× faster than ensemble SDE approaches.

  2. Physical consistency guaranteed by the decoder: since 𝒙^ lies in the image of Decoderψ, it is by construction a sample-like atmospheric state from the training distribution.

  3. Uncertainty quantification: ensemble spread can be obtained by running LO-SDA from multiple random initialisations 𝒛0(k)iid𝒩(0,𝐈), approximating the posterior mode structure.

Caution.

Latent optimisation finds a MAP estimate of the posterior, not a posterior sample. For multimodal posteriors-which arise when observations are sparse and multiple physically consistent atmospheric states are consistent with the data-LO-SDA will converge to one mode and miss the others. Score-based SDE approaches (Appa) or flow-based approaches (FlowDA) are preferred when full posterior coverage is required.

Comparison: Flow Matching vs. Diffusion for Weather

DimensionScore-Based DiffusionFlow Matching
Generative pathStochastic SDE; noisy trajectories through data spaceDeterministic ODE; smooth straight-line interpolant
Inference steps20–100 steps (DDPM/DDIM)5–20 steps (Euler/RK4)
Exact inversionApproximate (DDIM) or intractable (DDPM)Exact (integrate ODE backward)
DA integrationPerturbed reverse SDE; gradient through decoderConditional ODE with observation cross-attention
Training signalDenoising score matching logptConditional velocity matching 𝒙1𝒙0
Flexibility for novel obs. operatorsHigh (no retraining needed)Lower (conditional training amortised)
Sample quality (weather)High; established track record (GenCast)Comparable; fewer evaluations
Preferred use caseResearch DA, full posterior; medium-rangeOperational DA, S2S; speed-critical
Comparison of score-based diffusion and flow matching for weather applications across key dimensions. “DA” = data assimilation; “S2S” = subseasonal-to-seasonal forecasting. Inference steps refer to typical operational settings.

Key Idea.

Latent-space models trade explicit interpretability for computational efficiency-and this trade-off is critical for subseasonal-to-seasonal prediction. At 30-day lead times, the atmosphere is predictable only at the largest spatial scales. A latent VAE that compresses the 0.25 global grid by 16× in space is not throwing away information: it is throwing away the unpredictable information. The generative model then operates on the “predictable subspace” of the atmosphere, concentrating model capacity where it can do the most good. This is not a limitation but a scientifically principled design choice.

Exercises

Exercise 46 (Flow Matching and the Continuity Equation).

The continuity equation for a probability density pt(𝒙) transported by the velocity field vt(𝒙) is: (Continuity)ptt+𝒙(ptvt)=0.

  1. Show that the marginal flow matching objective MFM(𝜽)=𝔼t,𝒙t[v𝜽(𝒙t,t)vt(𝒙t)2] has the same gradient as the conditional flow matching objective CFM in ((CFM LOSS)). Hint: Use the tower property of conditional expectation and the fact that the conditional velocity ut(𝒙|𝒙0,𝒙1) integrates to the marginal velocity vt(𝒙).

  2. Verify that the linear interpolant μt=(1t)𝒙0+t𝒙1 satisfies the continuity equation with velocity vt=𝒙1𝒙0 (constant in time).

  3. For a Gaussian coupling p0=𝒩(0,𝐈) and p1=𝒩(𝝁,𝚺), find the optimal transport flow and show it is also a linear interpolant with vt=𝚺1/2𝒛 for 𝒛=𝚺1/2(𝒙1𝝁).

  4. How does the smoothness of the linear interpolant path compare to the DDPM reverse process at time t0? Which requires fewer numerical integration steps and why?

Exercise 47 (Latent DA: Observation Likelihood Gradient).

In Appa's score-based DA framework, the posterior SDE ((SDA SDE)) requires the gradient 𝒛tlogp(𝒚obs|𝒛t).

  1. For a linear observation operator 𝒚=𝐇𝒙+𝝐 with 𝝐𝒩(0,𝐑) and a linear decoder Decoder(𝒛)=𝐃𝒛, show that: (OBS GRAD)𝒛logp(𝒚|𝒛)=𝐃𝐇𝐑1(𝒚𝐇𝐃𝒛). This is the analysis increment weighted by the observation sensitivity.

  2. For a nonlinear decoder Decoderψ, write the gradient using the chain rule and identify which term requires backpropagation through the decoder. When is this tractable?

  3. The projected Kalman gain in optimal linear estimation is 𝐊=𝐃𝐇(𝐇𝐃𝐃𝐇+𝐑)1. Show that the LO-SDA optimal solution ((Losda OPT)) equals 𝒛=𝐊𝒚 when λ=1 and the decoder is linear.

  4. Discuss why even a λ>0 regularisation is necessary for LO-SDA even when the background covariance is isotropic (𝐃𝐃=σ2𝐈). What goes wrong if λ=0?

Exercise 48 (Marchuk Latent Compression and Predictability).

Consider the Marchuk architecture with VAE compression ratio r=4 (spatial) and latent channel dimension C=16 (vs. V=64 physical variables).

  1. Compute the compression ratio in terms of total degrees of freedom: raw state H×W×V vs. latent state (H/r)×(W/r)×C. For H=721, W=1440, express the answer as an integer ratio.

  2. The temporal RoPE uses base period τbase=10000 (days). For lead time τ=30 days and frequency index j=1, compute the phase ω1τ in the embedding ((ROPE)). Is this phase sufficient to distinguish lead times separated by 6 hours?

  3. Suppose the VAE reconstruction loss at compression ratio r satisfies recon(r)=C0rα for constants C0,α>0. The generation skill at S2S lead times is a decreasing function of r: Skill(r)=S0/rβ. Find the optimal r that maximises the total score Score(r)=Skill(r)μrecon(r) and express it in terms of α,β,μ,C0,S0.

  4. Why does the latent compression not discard information about large-scale Rossby waves but does discard information about individual convective cells? Argue from the spectral properties of the VAE and the spatial scales of each phenomenon.

Generative Downscaling and Super-Resolution

A global weather model sees the world at a resolution of roughly 25,km per grid cell. At that scale, a city block is invisible, a valley too narrow to represent, and a cold front compressed into a blurry gradient across three or four cells. Yet the questions that matter most to society - will it flood on this street, will this wind farm produce enough power tonight, will this ski resort have snow on Saturday - demand answers at the kilometre scale or below. The gap between what global models supply and what local decision-makers demand is one of the most consequential open problems in computational meteorology.

Downscaling is the family of methods that bridge this gap: given a coarse-resolution representation of the atmosphere, produce a fine-resolution one. For several decades downscaling divided cleanly into two camps - expensive physics-based simulations and cheap but crude statistical regressions. Generative deep learning has opened a third path that achieves the fidelity of physics-based methods at a fraction of the cost, while simultaneously treating fine-scale weather as the stochastic variable that it truly is.

The Downscaling Problem

Let 𝒙coarseHc×Wc×C denote a coarse atmospheric state: temperature, pressure, wind, humidity, and possibly dozens of other fields on a global grid of spacing Δc25,km. Let 𝒙fineHf×Wf×C denote the corresponding fine-scale state on a local grid of spacing Δf12,km. The downscaling ratio is r=Δc/Δf; typical values range from r=10 (25,km to 2.5,km) to r=25 (25,km to 1,km).

Definition 40 (Statistical downscaling).

Statistical downscaling seeks a mapping f such that (DET)𝒙^fine=f(𝒙coarse,𝒛topo), where 𝒛topo encodes static predictors that do not change over time: terrain elevation, land-use category, coastal proximity, and similar fields. A probabilistic downscaling method instead specifies a conditional distribution (PROB)p(𝒙fine|𝒙coarse,𝒛topo), enabling the generation of an ensemble of plausible fine-scale realisations consistent with the coarse input.

The probabilistic form is not merely a philosophical nicety. At kilometre scales, the atmosphere is genuinely chaotic: two coarse states that are indistinguishable at 25,km resolution may evolve into qualitatively different fine-scale patterns. A cold front that crosses Chicago at 25,km resolution does not determine whether a particular neighbourhood receives an intense convective squall or merely light rain. Any method that collapses the conditional distribution to a single prediction is suppressing real meteorological uncertainty.

Remark 39 (Downscaling as image super-resolution).

From a purely mathematical standpoint, downscaling resembles image super-resolution: both map a low-resolution spatial field to a high-resolution one. The meteorological version is harder in two respects. First, the scale gap is typically larger (r=1025 vs. r=24 in photo super-resolution). Second, and more importantly, physical consistency constraints bind the solution. A super-resolved temperature field must remain thermodynamically plausible, must respect mass conservation, and must be consistent with the orographic influence of local terrain - none of which are concerns in photographic upscaling.

Classical Approaches

Dynamical Downscaling

The most physically rigorous approach is dynamical downscaling: run a high-resolution numerical weather prediction (NWP) model over a limited area, driven at its boundaries by the coarse global model. Models such as WRF (Weather Research and Forecasting), COSMO, and HARMONIE are routinely used for this purpose. The fine-scale model integrates the full primitive equations - conservation of momentum, mass, and energy - at a resolution of 1–4,km, resolving convective updrafts, orographic gravity waves, and sea-breeze circulations that the global model cannot see.

The cost is prohibitive. A single day of 2,km WRF simulation over a domain the size of Taiwan requires on the order of 105 CPU core-hours. Running ensembles - necessary for probabilistic forecasting - scales this linearly with the ensemble size. Producing retrospective climate datasets at kilometre resolution over entire continents is effectively impossible with dynamical downscaling alone; the computational demand would require centuries of wall-clock time on current hardware.

Statistical Downscaling

Statistical downscaling fits a function f in equation from a training set of paired coarse–fine observations or reanalyses. Classical methods include:

  • Perfect prognosis (PP) methods. Regress fine-scale observations (e.g., rain-gauge records) directly on coarse atmospheric predictors such as 500,hPa geopotential height, boundary-layer moisture, and temperature gradients. Multiple linear regression, logistic regression for precipitation occurrence, and analogue methods (find historical days with similar coarse patterns) all belong to this family.

  • Model output statistics (MOS). Correct the systematic biases of a specific NWP model by fitting regression equations between model output and observed surface variables. MOS is operationally deployed by national weather services worldwide.

  • Quantile mapping. Apply a transfer function to match the marginal distribution of model output to that of observations, variable by variable and grid cell by grid cell. Widely used in climate impact assessment to correct precipitation and temperature biases.

  • Lookup-table and climatological scaling. Multiply or add spatially varying correction factors derived from historical climatology. The simplest method: long-term mean ratio between high-resolution observations and coarse reanalysis at each grid cell.

All statistical methods share a fundamental limitation: they learn marginal statistics at each location independently, failing to capture spatial correlations. A statistically downscaled precipitation field may have the correct distribution at every grid point but may look unrealistically noisy - lacking the organised convective clusters, frontal rainbands, and orographic streaks that characterise real kilometre-scale precipitation.

Definition 41 (Power-law spatial spectra).

Atmospheric fields follow power-law spatial spectra derived from turbulence theory. For a field u(𝒙) on the plane, its two-dimensional power spectrum S^(k), where k is spatial wavenumber, obeys (Powerlaw)S^(k)kβ, with β3 for kinetic energy (the Kolmogorov–Kraichnan prediction for two-dimensional turbulence) and β5/3 for the mesoscale (Nastrom–Gage observed spectrum). A downscaling method that fails to recover the correct β is suppressing real fine-scale energy - the resulting fields are spectrally too smooth. Classical statistical methods and deterministic neural networks that minimise mean-squared error systematically produce such over-smoothed fields.

Generative Downscaling: The Stochastic Inverse Perspective

Downscaling is a textbook inverse problem. The coarse field 𝒙coarse is a blurry, incomplete observation of the true fine-scale state 𝒙fine. We seek to invert this “blurring” operator, but the problem is severely under-determined: many fine-scale states are consistent with a single coarse observation. Classical inversion seeks a unique solution; the correct approach is to sample from the posterior p(𝒙fine|𝒙coarse,𝒛topo).

Key Idea.

Downscaling is a textbook inverse problem - generative models turn it into a forward sampling problem. Instead of seeking the single most likely fine-scale state, a generative downscaling model draws samples from the posterior distribution over fine-scale fields consistent with the coarse input. This reframes an ill-posed inversion as a well-posed generation task, recovering spatial statistics that deterministic methods suppress.

Generative models - GANs, diffusion models, normalising flows, and latent-variable models - are natural tools for this task because they are designed to sample from high-dimensional conditional distributions. The training objective is to match the joint distribution p(𝒙coarse,𝒙fine,𝒛topo) on a dataset of paired coarse–fine atmospheric states, then use the learned model to sample 𝒙fine conditioned on new coarse inputs at inference time.

CorrDiff: Two-Stage Diffusion Downscaling

The most influential generative downscaling system to date is CorrDiff (Mardani et al., 2025), developed by NVIDIA Research. CorrDiff introduces a two-stage architecture grounded in the Reynolds decomposition of fluid dynamics, a classical tool for separating the mean and fluctuating components of a turbulent flow.

Reynolds Decomposition and the Two-Stage Idea

In Reynolds decomposition, a turbulent field u(𝒙,t) is split into a time-averaged mean u(𝒙) and a fluctuating residual u(𝒙,t)=u(𝒙,t)u(𝒙). The mean and residual follow different dynamical equations and different statistical structures.

CorrDiff applies the same decomposition to the spatial dimension of the downscaling problem: (Decomp)𝒙fine=𝒙mean state+𝒙stochastic residual, where 𝒙 is the deterministic mean conditioned on the coarse input, and 𝒙 encodes the fine-scale stochastic structures - convective cells, turbulent eddies, precipitation streaks - that are under-determined by the coarse state.

Definition 42 (CorrDiff two-stage architecture).

CorrDiff consists of two stages.

  1. Deterministic regression stage. A U-Net fθ:Hc×Wc×CHf×Wf×C is trained with a mean-squared-error loss to predict the conditional mean: (Stage1)𝒙^=fθ(𝒙coarse,𝒛topo). This stage recovers large-scale spatial structure: the broad temperature gradient across a cold front, the orographic precipitation enhancement on the windward slope of a mountain range.

  2. Stochastic residual stage. A conditional diffusion model pϕ(𝒙|𝒙coarse,𝒙^,𝒛topo) is trained to model the distribution of fine-scale residuals 𝒙=𝒙fine𝒙^. At inference, a sample is drawn by running the reverse diffusion chain conditioned on the coarse input and the predicted mean: (Stage2)𝒙~pϕ(|𝒙coarse,𝒙^,𝒛topo). The final high-resolution output is 𝒙~fine=𝒙^+𝒙~.

The separation of concerns is crucial. The U-Net is tasked with a well-conditioned regression: it learns to map coarse structure to mean fine-scale structure, a task where MSE is an appropriate loss. The diffusion model is tasked with a generative problem: it learns the distribution of fine-scale residuals, recovering the power-law tail of the spatial spectrum that the U-Net suppresses.

Training Data and Results

CorrDiff is trained on pairs of 25,km ERA5 reanalysis fields (inputs) and 2,km regional NWP analyses (targets). Two domains were studied in the original paper: Taiwan (a challenging orographic domain with typhoon activity) and the contiguous United States (CONUS, a continental domain with diverse weather regimes). The target fields were generated by a regional NWP system at 2,km, yielding an effective downscaling ratio of r=12.5.

The training dataset spans several years of hourly snapshots, comprising temperature at 2,m, wind speed and direction at 10,m, relative humidity, surface pressure, and precipitation accumulation. Static predictors include digital elevation model (DEM) data, land-sea mask, and vegetation fraction.

The CorrDiff two-stage pipeline. Stage 1 uses a deterministic U-Net to predict the conditional mean of the fine-scale field from the coarse ERA5 input and static terrain predictors. Stage 2 runs a conditional diffusion model to sample the stochastic fine-scale residual. The final high-resolution output is the sum of the mean prediction and the diffusion sample, producing physically plausible fields that recover the correct power-law spatial spectrum.

Recovery of Power-Law Spectra

A key diagnostic in the CorrDiff paper is the spatial power spectrum of downscaled fields. Deterministic downscaling (Stage 1 alone) produces spectrally deficient outputs: at high wavenumbers, the predicted spectrum falls well below the reference spectrum of the 2,km NWP analysis. Adding Stage 2 restores the correct spectral slope.

Formally, let S^fine(k) denote the power spectrum of a CorrDiff sample and Sref(k) the spectrum of the 2,km NWP target. The deterministic U-Net achieves S^fine(k)Sref(k) for k>k, where k is the wavenumber corresponding to roughly 10,km. CorrDiff with both stages achieves S^fine(k)Sref(k) across all resolved wavenumbers, matching the power-law slope β3 of the reference field.

This result is not surprising from first principles: MSE loss is equivalent to minimising KL divergence in a Gaussian model, and minimum-MSE estimators produce the posterior mean, which is smoother than individual realisations. The diffusion model adds the missing variance.

Computational Efficiency

CorrDiff achieves approximately 1000× speedup over dynamical downscaling with WRF at comparable spatial resolution. On NVIDIA H100 GPUs, generating a 2,km output field over Taiwan takes roughly 3060,seconds, compared to 8,hours of wall-clock time for an equivalent WRF simulation. Energy efficiency is even more dramatic: the diffusion-based approach is estimated to be roughly 3000× more energy efficient per generated field, primarily because it avoids the iterative numerical integration of the full primitive equations.

Remark 40 (Patch-based multi-diffusion for global scaling).

Applying CorrDiff globally faces a memory challenge: a 1,km global field contains roughly 5.1×108 grid points per variable, exceeding the memory capacity of current accelerators. The solution is patch-based multi-diffusion: the global domain is tiled into overlapping patches, each processed independently by the diffusion model, with overlapping regions blended to ensure spatial continuity. Care must be taken to maintain consistency across patch boundaries, for which techniques from image inpainting and stochastic conditioned diffusion have been adapted.

Example 14 (Cold-front temperature gradients near Chicago).

Consider a synoptic situation on a December evening: a strong cold front crosses Lake Michigan and sweeps into the Chicago metropolitan area. The 25,km ERA5 field shows a temperature gradient of roughly 8C per 100,km across the front, spread over three or four grid cells. The true 2,km field, as captured by the regional NWP analysis, shows a gradient an order of magnitude sharper: 15C over just 20,km, with tight isotherms following the lake coastline and the Chicago city heat island deflecting the front southward.

A deterministic U-Net recovers the large-scale temperature gradient but produces an isotherm pattern that is too smooth, missing the coastal deformation and the urban-rural contrast. CorrDiff Stage 2 adds a stochastic residual that sharpens the front, reproduces the coastal kink, and correctly places a warm tongue over the urban core. These fine-scale structures are not merely cosmetic: they determine whether downtown Chicago experiences freezing rain or light snow, a distinction with significant impacts on transportation and energy demand.

RainScaleGAN: Adversarial Rainfall Downscaling

Precipitation is a special case in atmospheric downscaling. Unlike temperature or wind, precipitation is fundamentally discrete and intermittent: at any given time and place, either it is raining or it is not. The spatial distribution of precipitation is characterised by sharp boundaries (convective cells, frontal rainbands), heavy tails (extreme events that dominate mean annual totals), and multi-scale organisation (from sub-kilometre convective cells to synoptic-scale frontal systems spanning thousands of kilometres).

Mean-squared-error losses are poorly suited to these properties. Minimising MSE over precipitation fields produces diffuse, over-smoothed outputs that spread precipitation over too large an area, miss the sharp edges of convective cells, and underestimate extreme intensities. Generative adversarial networks are better aligned with the task: the discriminator can be trained to distinguish realistic from unrealistic precipitation patterns, enforcing the sharp gradients and heavy tails that MSE suppresses.

RainScaleGAN (Iotti et al., 2025) is a conditional GAN designed specifically for precipitation downscaling at ratios of r=1020. The generator Gθ takes a coarse precipitation field and terrain predictors as input and produces a fine-scale precipitation map. The discriminator Dϕ is conditioned on both the coarse input and the terrain, ensuring that it evaluates realism within the physically constrained context.

Definition 43 (Intensity-constrained adversarial loss).

The RainScaleGAN training objective augments the standard conditional GAN loss with an intensity constraint that preserves the spatial mean of the generated field: (GAN)GAN=𝔼𝒙c,𝒙f[logDϕ(𝒙f,𝒙c)+log(1Dϕ(Gθ(𝒙c),𝒙c))],intensity=𝔼𝒙c[Avg(Gθ(𝒙c))𝒙c22],total=GAN+λintensity, where Avg() denotes spatial averaging over the fine-scale domain corresponding to one coarse grid cell, and λ>0 is a hyperparameter. The intensity constraint ensures that the total precipitation generated by the fine-scale field integrates to match the coarse input, a physical consistency requirement known as areal conservation.

The intensity constraint addresses a known failure mode of unconditional GANs on precipitation: they tend to hallucinate spurious heavy-rain events that inflate the area-mean precipitation far above the coarse input. By anchoring the spatial mean, RainScaleGAN can freely redistribute precipitation into realistic convective structures while remaining physically consistent.

Tail-Preserving Spatial Statistics

A standard diagnostic for precipitation downscaling is the empirical variogram: the expected squared difference between precipitation values at two points as a function of their separation distance h: (Variogram)γ(h)=12𝔼[(P(𝒙+h)P(𝒙))2]. A model that recovers the correct variogram reproduces the spatial correlation structure of precipitation at all scales, from sub-kilometre to mesoscale.

RainScaleGAN is evaluated against classical PP methods and deterministic CNN baselines. The deterministic CNN achieves low RMSE but fails to match the variogram at fine scales (h<5,km), where it underestimates spatial variance by a factor of 23. RainScaleGAN produces variograms that match the reference within statistical uncertainty bounds across all spatial scales, including the sub-5,km range critical for convective precipitation. The adversarial loss is key: by training the discriminator to distinguish realistic from unrealistic spatial patterns at multiple scales, the GAN implicitly enforces the variogram.

SpateGAN-ERA5 and Global Precipitation Downscaling

SpateGAN-ERA5 (Glawion et al., 2025) extends adversarial precipitation downscaling to the global scale. The key challenge is scalability: a global 1,km precipitation field contains approximately 5.1×108 grid cells, and training data must span all climate zones, from tropical convective regimes to polar precipitation.

SpateGAN-ERA5 uses ERA5 as the coarse input (approximately 30,km resolution) and targets a 1,km analysis product derived from satellite observations and rain-gauge networks. The architecture is a space-time GAN: the generator and discriminator operate on sequences of precipitation fields to enforce temporal as well as spatial coherence.

Remark 41 (Cross-climate-zone generalisation).

Training a single model to downscale precipitation across all climate zones is challenging because the statistical properties of precipitation vary dramatically between regimes. Tropical convection (organised in mesoscale convective systems, MCCs, and squall lines) looks nothing like mid-latitude frontal precipitation, which in turn differs from orographic enhancement in mountain ranges or polar snowfall. SpateGAN-ERA5 addresses this through a climate-zone-aware discriminator that is separately calibrated for each Köppen-Geiger climate zone, penalising unrealistic patterns within the correct regional context.

Probabilistic Spatiotemporal Coherent Downscaling

A limitation shared by CorrDiff, RainScaleGAN, and SpateGAN-ERA5 is that they operate on individual time steps: the downscaling is applied frame-by-frame without explicit temporal modelling. This can produce temporal flickering in animated output: successive fine-scale frames may be individually plausible but discontinuous in time.

Schmidt et al. (2025) address this with a probabilistic spatiotemporal coherent downscaling framework. The model generates joint samples (𝒙fine,t)t=1T over a sequence of T time steps, with the diffusion model operating in the joint space-time domain. The key insight is that the fine-scale state at time t is conditionally dependent not only on the coarse input at time t but also on the fine-scale states at nearby times, which constrain the temporal evolution through physical continuity.

Definition 44 (Probabilistic spatiotemporal downscaling).

A probabilistic spatiotemporal downscaling model specifies a joint conditional distribution over a fine-scale sequence: (Joint)p((𝒙fine,t)t=1T|(𝒙coarse,t)t=1T,𝒛topo), such that each fine-scale frame is consistent with its coarse counterpart and the sequence as a whole satisfies temporal continuity constraints implied by the equations of motion.

Schmidt et al. show that temporal coherence significantly improves the quality of derived products such as diurnal precipitation cycles and wind ramp events (rapid changes in wind speed relevant to power systems), where single-frame downscaling loses the temporal structure.

Zero-Shot Diffusion Posterior Sampling for Downscaling

An attractive alternative to training a purpose-built downscaling model is zero-shot diffusion posterior sampling: use a pre-trained unconditional diffusion model over fine-scale atmospheric fields as a prior, then condition on the coarse observation at inference time using posterior sampling techniques.

Let pθ(𝒙fine) be the learned prior over fine-scale fields and let p(𝒙coarse|𝒙fine) be a known degradation model (e.g., spatial averaging with a Gaussian kernel). The downscaling posterior is: (Posterior)p(𝒙fine|𝒙coarse)p(𝒙coarse|𝒙fine)pθ(𝒙fine). Sampling from this posterior can be achieved with the diffusion posterior sampling (DPS) algorithm: at each denoising step, the score function of the prior 𝒙logpθ(𝒙t) is augmented with a data-consistency gradient 𝒙tlogp(𝒙coarse|𝒙^fine(𝒙t)), where 𝒙^fine(𝒙t) is the Tweedie estimate of the clean sample from the noisy sample 𝒙t.

The zero-shot approach requires no paired coarse–fine training data for the specific downscaling problem at hand, which is highly advantageous for rare events or future climate scenarios where such paired data does not exist. The trade-off is that the degradation model p(𝒙coarse|𝒙fine) must be specified manually and may not capture the full complexity of the actual coarse model's degradation.

Generative High-Resolution Ensemble for Renewable Energy

A particularly high-value application of generative downscaling is renewable energy forecasting. Wind turbines operate at hub heights of 80–150,m and rotor diameters of 100–260,m, scales far below the resolution of any global weather model. The power output of a wind farm is a nonlinear function of wind speed (proportional to v3 in the rated range), making the tails of the wind speed distribution critically important: an ensemble that correctly captures the probability of extreme winds (whether too low for generation or too high for safe operation) is more valuable than one with a lower mean error.

Wang et al. (2026) present the Generative High-Resolution Ensemble (GHRE) for renewable energy forecasting, a CorrDiff-like architecture that downscales global ensemble forecasts from 25,km to 500,m over wind-farm domains. The model generates an ensemble of fine-scale wind fields from a single coarse ensemble member, effectively multiplying the ensemble size by a factor of 50 at negligible additional computational cost.

Proposition 6 (Variance inflation for renewable energy ensembles).

Let {vi}i=1N be a coarse ensemble of wind speeds at a target location and {wij}j=1M be the M fine-scale samples generated by GHRE for each coarse member vi. The mean power forecast is: (Power)P^=1NMi=1Nj=1Mc(wij)3, where c is the capacity factor. Because power is a convex function of wind speed in the sub-rated regime, Jensen's inequality implies P^cv3 whenever the fine-scale ensemble has positive variance. Suppressing fine-scale variance (as deterministic downscaling does) therefore systematically underestimates mean power generation.

This result is a compelling practical argument for probabilistic downscaling: beyond capturing uncertainty, it produces better expected value estimates for power generation.

Summary and Comparison of Methods

Insight.

The landscape of generative downscaling methods reveals a clear progression. Classical statistical methods (regression, MOS) are fast and interpretable but produce spectrally deficient, over-smoothed outputs. Dynamical downscaling is physically rigorous but computationally prohibitive for ensemble generation. Generative models - both GAN-based (RainScaleGAN, SpateGAN-ERA5) and diffusion-based (CorrDiff, Schmidt et al.) - occupy the sweet spot: they recover the correct spatial spectra and produce physically plausible stochastic ensembles at a cost comparable to statistical methods. The two-stage Reynolds decomposition of CorrDiff is an elegant design principle that may generalise beyond meteorology to any multi-scale stochastic inverse problem.

Caution.

Generative downscaling models can hallucinate fine-scale structures that are plausible in isolation but physically inconsistent with the coarse input or with each other. A diffusion model may place a convective cell on the lee side of a mountain (where downslope winds suppress convection) because the training data contains convection elsewhere, and the model has learned that fine-scale convection is common. Evaluating only marginal statistics (RMSE, CRPS, variogram) can miss such systematic physical errors. High-resolution downscaling outputs should always be accompanied by diagnostics that test physical consistency: wind divergence, thermal wind balance, moisture flux convergence.

Exercises

Exercise 49 (Power-law spectra and MSE).

Let f:nn be a minimum-MSE estimator of a stationary Gaussian random field 𝒙fine given an observation 𝒙coarse=A𝒙fine+𝝐 where A is a spatial averaging operator and 𝝐𝒩(0,σ2I). Show that the power spectrum of the posterior mean 𝔼[𝒙fine|𝒙coarse] is strictly lower than that of 𝒙fine at all wavenumbers k satisfying A^(k)<1, where A^(k) is the Fourier transform of the averaging kernel. Interpret this result for meteorological downscaling.

Exercise 50 (CorrDiff decomposition).

In the CorrDiff framework, the residual 𝒙=𝒙fine𝒙^ is modelled by a diffusion model. Suppose the U-Net predictor 𝒙^=fθ(𝒙coarse,𝒛topo) achieves a normalised RMSE of ϵ1 and the diffusion residual achieves a CRPS skill score of s2. Derive conditions under which the two-stage CorrDiff sample achieves a lower CRPS than a single-stage diffusion model trained to directly model p(𝒙fine|𝒙coarse,𝒛topo). What assumptions about the residual distribution are required?

Exercise 51 (Intensity-constrained GAN).

Prove that the intensity constraint loss in equation is a sufficient condition for the generated precipitation field to satisfy areal conservation in expectation. Is it a necessary condition? Propose an alternative loss term that enforces areal conservation for every generated sample (not just in expectation) while remaining differentiable with respect to the generator parameters.

Precipitation Nowcasting: The Gray Zone

On 20 July 2021, in the record hour of 16:00 to 17:00 local time, the city of Zhengzhou, capital of Henan Province, China, received 201.9,mm of rain in a single hour - more than its average rainfall for the whole of July. Over three days the total reached 617.1,mm, close to Zhengzhou's entire average annual rainfall of 640,mm: nearly a year of rain in three days. Metro tunnels flooded, trapping hundreds of commuters. At least 302 people died. The event was not a surprise in hindsight: the ingredients were present, the synoptic setup was identifiable. But short-range operational forecasting failed to anticipate the extreme intensity.

This is the nowcasting problem.

Nowcasting refers to forecasting on timescales of 0–6 hours at spatial resolutions of 1,km or finer. It sits between the domain of numerical weather prediction (which becomes accurate only beyond 6 hours) and the domain of extrapolation methods (which are accurate only for the first 30 minutes). This intermediate window - the gray zone - is where precipitation forecasting is hardest, and where the cost of failure is highest.

The Nowcasting Problem

Definition 45 (Precipitation nowcasting).

Given a sequence of radar-derived precipitation fields 𝑹L,𝑹L+1,,𝑹0H×W over the past L+1 time steps (typically L=35 frames at 5-minute intervals), precipitation nowcasting seeks to predict the future sequence 𝑹1,𝑹2,,𝑹T over the next T steps (up to T=72 frames, corresponding to 6 hours).

The probabilistic nowcasting problem instead specifies a conditional distribution: (PROB)p(𝑹1,,𝑹T|𝑹L,,𝑹0), enabling the generation of multiple plausible future precipitation sequences.

Definition 46 (The nowcasting gray zone).

The nowcasting gray zone is the forecast lead-time interval τ[2,6] hours at spatial scales below approximately 10,km, within which:

  1. Purely advective extrapolation methods have propagated accumulated errors beyond skill - they can correctly translate existing precipitation features but cannot capture growth, decay, or new initiation.

  2. Numerical weather prediction models are still in their spin-up phase - the data assimilation has not yet propagated high-resolution radar information to the convective scales, and the model has not yet developed an accurate fine-scale state.

In the gray zone, both classical approaches fail systematically, and deterministic forecasting loses skill. The window τ[0,2) hours is dominated by extrapolation; τ>6 hours is dominated by NWP.

Why Nowcasting Is Hard

Convective Initiation

The hardest part of nowcasting is not predicting where existing rain will move - that is a well-posed advection problem - but predicting where new convection will form. Convective initiation is controlled by sub-kilometre boundary-layer processes: surface heating creating convergence lines, orographic triggers forcing air masses over ridges, land-sea breezes generating coastal convergence. These processes are not resolved by weather radar (which observes precipitation but not the pre-precipitation boundary-layer state) and are highly sensitive to small perturbations. A parcel of air that is 0.1,K warmer than its environment in a nearly neutral boundary layer may trigger deep convection; one that is 0.1,K cooler will not. This extreme sensitivity implies that convective initiation is inherently probabilistic at lead times beyond 1 hour.

Rapid Error Growth

Atmospheric predictability theory distinguishes the predictability horizon: the timescale beyond which the atmosphere's chaotic dynamics have amplified initial-condition errors to the magnitude of the climatological variability. For synoptic-scale systems, this horizon is 10 days. For convective-scale features (individual thunderstorms, convective cells), it is 1 hour. Error doubling times for convective perturbations are on the order of 10–30 minutes - far faster than for large-scale flow.

This means that any deterministic convective-scale forecast at lead times beyond 2 hours is no longer tracking a specific storm but predicting the distribution of possible storm evolutions. Probabilistic methods are not merely a preference but a theoretical necessity.

Radar Artifacts

Weather radar provides the primary observational input to nowcasting systems. Radar reflectivity is related to precipitation intensity by the Marshall–Palmer relation: (Zpowerlaw)Z=aRb, where Z is reflectivity in mm6,m3, R is rain rate in mm,h1, and (a,b) are empirical coefficients (typically a=200,b=1.6 for stratiform rain). This relation is approximate and varies with drop-size distribution.

Radar observations are corrupted by systematic artifacts: ground clutter (bright returns from buildings and terrain), beam blockage (attenuation behind mountains), beam overshooting (missing near-surface rain at long ranges), bright-band contamination (strong returns from partially melted snowflakes near the 0,C isotherm), and range folding. A nowcasting model trained on raw radar must learn to handle all these artifacts, or pre-processing pipelines must remove them at the cost of information loss.

Classical Approach: Optical Flow Extrapolation

The dominant operational approach to short-range precipitation nowcasting is radar extrapolation: estimate the motion field of the precipitation pattern and advect the current radar image forward in time. Modern operational systems (e.g., PySTEPS - the Probabilistic STEPS) use multi-scale optical flow to estimate the motion field and stochastic perturbations to generate ensemble nowcasts.

Definition 47 (Optical flow for radar nowcasting).

The optical flow motion field 𝒗(𝒙)=(u(𝒙),v(𝒙)) at each grid cell 𝒙 is estimated by minimising: (Opticalflow)ΩR𝒗+tR2+λ𝒗2d𝒙, where the first term enforces the brightness constancy assumption R/t+𝒗R=0 and the second term regularises the motion field for smoothness. The nowcast at lead time τ is then: (Advect)𝑹^τ(𝒙)=𝑹0(𝒙𝒗(𝒙)τ).

Optical-flow nowcasting is accurate for τ3060 minutes: existing precipitation features are advected faithfully as long as their internal structure does not change. Beyond this timescale, the forecast degrades for two reasons: (1) precipitation cells grow and decay independently of advection, invalidating the brightness-constancy assumption; (2) new cells initiate that were absent in the initial radar frame and cannot be extrapolated.

DGMR: Deep Generative Model of Radar

DGMR (Ravuri et al., 2021) was published in Nature and represents the first generative deep learning system for precipitation nowcasting to achieve skill superior to both optical-flow extrapolation and convective-scale NWP at the same computational cost. The paper attracted wide attention both for its meteorological results and for its methodological demonstration that generative models can outperform physics-based systems on high-impact Earth science prediction tasks.

Architecture: Spatial Generator and Temporal Discriminator

DGMR is a conditional GAN with a spatially and temporally structured architecture.

Definition 48 (DGMR architecture).

The DGMR generator Gθ maps a conditioning context 𝑹3,,𝑹0 (four radar frames at 5-minute intervals) and a latent noise vector 𝒛𝒩(0,I) to a future sequence (𝑹^1,,𝑹^18) spanning 90 minutes at 5-minute resolution: (Generator)(𝑹^1,,𝑹^18)=Gθ(𝑹3:0,𝒛). The latent vector 𝒛 is injected at multiple spatial scales via a spatially conditioned latent model.

The discriminator is split into two components with complementary inductive biases:

  1. A spatial discriminator DϕS evaluates the spatial realism of individual radar frames: are the spatial patterns of precipitation (cell shapes, echo cores, trailing stratiform regions) physically plausible?

  2. A temporal discriminator DϕT evaluates the temporal consistency of the generated sequence: is the evolution of the precipitation field (growth, decay, motion) physically coherent over the 90-minute window?

The full DGMR training objective is: (LOSS)=GANS+GANT+λregreg, where reg is a regularisation term penalising mean absolute error between the generator output and the target.

The dual discriminator design is one of DGMR's key architectural contributions. Without the temporal discriminator, the generator can produce individually realistic frames that are discontinuous in time. Without the spatial discriminator, the generator may produce temporally smooth but spatially blurred sequences. Together they enforce both modes of realism simultaneously.

Evaluation and Results

DGMR was trained on the UK Met Office's radar composites at 1,km resolution over England and Wales, covering 2016–2018 as training data. It was evaluated against the operational STEPS system (the PySTEPS predecessor) and the MetNet deterministic deep learning nowcasting system.

The principal skill metric is the Continuous Ranked Probability Score (CRPS), which rewards probabilistic forecasts that assign high probability to the observed outcome. DGMR achieves lower CRPS than STEPS across all lead times from 5 to 90 minutes, with the largest improvement in the 30–90 minute range where extrapolation begins to break down. The paper also reports the Critical Success Index (CSI) and the Fractions Skill Score (FSS), which we define below.

Definition 49 (Critical Success Index).

The Critical Success Index (also known as the Threat Score) measures the accuracy of binary precipitation occurrence forecasts above a threshold q: (CSI)CSI(q)=HH+M+F, where H is the number of grid cells with hits (forecast q and observed q), M is misses (forecast <q, observed q), and F is false alarms (forecast q, observed <q). CSI ranges from 0 (no skill) to 1 (perfect forecast). Unlike the probability of detection, CSI penalises false alarms, making it appropriate for rare-event verification.

Definition 50 (Fractions Skill Score).

The Fractions Skill Score evaluates spatial accuracy at multiple spatial scales simultaneously. For a neighbourhood of radius n grid cells, define the fraction of exceedances in the forecast neighbourhood ffcst(𝒙,n) and the observed neighbourhood fobs(𝒙,n). The FSS is: (FSS)FSS(q,n)=11|Ω|𝒙Ω(ffcst(𝒙,n)fobs(𝒙,n))21|Ω|𝒙Ωffcst(𝒙,n)2+1|Ω|𝒙Ωfobs(𝒙,n)2. FSS=1 is a perfect score; FSS=0 indicates no skill. The FSS is particularly valuable for convective precipitation, where small spatial displacement errors (a storm 5,km off) cause catastrophic point-wise scores while the forecast is physically reasonable.

NowcastNet: Physics-Embedded Generative Nowcasting

NowcastNet (Zhang et al., 2023, Nature) advances beyond purely data-driven approaches by explicitly embedding the physical advection equation into the neural network architecture. The guiding insight is that precipitation motion in the 0–2 hour range is dominated by advection - the spatial transport of rain by the wind field - while growth and decay processes are secondary. By encoding advection as an explicit constraint rather than asking the network to learn it from scratch, NowcastNet achieves a more data-efficient and physically interpretable architecture.

Architecture: Explicit Advection Operator

Definition 51 (NowcastNet two-component architecture).

NowcastNet decomposes the precipitation tendency into two physically motivated components: (PDE)Rt=𝒗R+S(𝑹L:0,𝒛)growth/decay, where 𝒗R is the advection term (precipitation transported by the estimated wind field 𝒗) and S is a generation term predicted by a neural network.

The full architecture consists of:

  1. A motion estimation network θ that predicts the fine-scale advection field 𝒗(𝒙,t) from the radar context, effectively an optical-flow network but with learned features rather than hand-crafted constraints.

  2. An evolution network 𝒢ϕ that predicts the non-advective growth and decay term S(𝑹L:0,𝒛), conditioned on a latent noise vector 𝒛𝒩(0,I).

  3. A warping operator that applies the estimated motion field to the current radar frame via differentiable bilinear interpolation, encoding the advection equation exactly.

The final nowcast is produced by integrating equation forward in time using the estimated 𝒗 and S.

The explicit advection constraint provides a structural inductive bias that significantly reduces the data required to achieve skill on advection-dominated nowcasting (0–2 hours). The stochastic generation term S provides the probabilistic component necessary for the 2–6 hour gray zone.

Performance on Extreme Precipitation

The most striking result in the NowcastNet paper is the comparison on extreme precipitation events. For precipitation thresholds corresponding to the 99th percentile (approximately 16,mm,h1 in the China Meteorological Administration radar composites used for training), NowcastNet achieves: (CSI)CSINowcastNet(q99)0.30,vs.CSIHRRR(q99)0.04, where HRRR (High-Resolution Rapid Refresh) is the operational 3,km NWP model of NOAA. The contrast is remarkable: NowcastNet achieves a CSI of 0.30 at 4-hour lead time for extreme precipitation, while the state-of-the-art convective-scale NWP achieves only 0.04. The NWP model fails because it cannot maintain convective cells in the correct location at these lead times; NowcastNet uses the advection operator to track existing cells and the generative component to model their growth.

Example 15 (NowcastNet on the 2021 Zhengzhou Flood).

The 20 July 2021 Zhengzhou extreme rainfall event provides a compelling test case. A quasi-stationary mesoscale convective system (MCS) became locked over the city by a combination of orographic blocking (the Taihang mountains to the west), a stagnant trough aloft, and anomalously high atmospheric moisture transported from the Yellow Sea.

Retrospective NowcastNet forecasts initialised at 06:00 on 20 July (47 minutes before the peak hourly intensity) correctly predict the persistence and intensification of the MCS over Zhengzhou in the 2–4 hour range, achieving radar reflectivities in the 60–65,dBZ range consistent with the observed extreme values. The operational HRRR 4-hour forecast places the heaviest precipitation 80,km east of the city, having moved the MCS downstream with the large-scale flow rather than capturing its orographic locking.

The NowcastNet ensemble correctly spans a wide range of outcomes at 6 hours: some members show the MCS dissipating, others show continued locking, consistent with the genuine predictability limit of the situation. No deterministic forecast, generative or NWP, correctly predicts the peak intensity at 6-hour lead with confidence. The probabilistic forecast, however, assigns non-trivial probability (15%) to rainfall exceeding 100,mm,h1 over the urban centre, which would be actionable for emergency management.

StormDiT: Diffusion Transformer for the Gray Zone

Both DGMR and NowcastNet were designed primarily for the 0–2 hour range and show declining skill in the gray zone (2–6 hours). StormDiT (Sun et al., 2026) targets precisely this window with a Diffusion Transformer architecture that models the full 6-hour nowcasting problem without decomposing it into advection and growth components.

Architecture

StormDiT replaces the convolutional U-Net backbone of standard meteorological diffusion models with a Diffusion Transformer (DiT): a transformer architecture in which the denoising network operates directly on sequences of space-time patch tokens.

Definition 52 (StormDiT architecture).

A radar sequence of shape T×H×W is tokenised into non-overlapping space-time patches of size τp×hp×wp, yielding Np=(T/τp)(H/hp)(W/wp) tokens. Each token 𝒑idpatch is projected to a d-dimensional token embedding via a linear layer. The conditioning context 𝑹L:0 is similarly tokenised and embedded, then prepended to the sequence as context tokens.

The denoising network ϵθ(𝑹tnoisy,t,𝑹L:0) is a stack of LDiT transformer blocks, each computing full self-attention over all Np+Nctx tokens: (Attention)Attn(Q,K,V)=softmax(QK𝖳d+Brel)V, where Brel is a learnable relative position bias encoding the space-time structure of the token grid.

The key architectural advantage of StormDiT over GAN-based and U-Net-based diffusion methods is that the self-attention mechanism allows every token to attend to every other token, coupling spatially and temporally distant parts of the storm system without the limited receptive field constraints of convolutions. This is essential for the 2–6 hour gray zone, where the evolution of a storm cell in one part of the domain can be triggered by a convergence line hundreds of kilometres away.

Training and Validation

StormDiT was trained on an archive of 7700+ significant precipitation events extracted from the China Meteorological Administration radar composites at 1,km, 6-minute resolution. Events were selected based on the criterion that the domain-maximum precipitation exceeds 20,mm,h1 for at least 30 consecutive minutes, ensuring that the training data is dominated by the high-impact events that the model is designed to forecast.

Remark 42 (Event-based training and distribution shift).

Training on events rather than continuous radar archives introduces a subtle distribution shift: the test-time input to the model includes non-extreme contexts (light rain, clear conditions) that are underrepresented in training. StormDiT addresses this with a conditional sampling strategy: the model is conditioned on the domain-maximum reflectivity of the input context, downweighting the contribution of non-extreme training events to the denoising network.

StormDiT achieves FSS0.5 (a commonly used skill threshold) at lead times up to 5.5 hours for precipitation thresholds corresponding to 8,mm,h1. The corresponding lead time for NowcastNet is 3.5 hours and for DGMR is 2.5 hours, validating the claim that the DiT architecture provides skill improvement specifically in the gray zone.

CasCast: Cascaded Diffusion for High-Resolution Nowcasting

CasCast (Gong et al., 2024) applies the cascaded diffusion architecture - a sequence of diffusion models operating at progressively finer spatial resolutions - to precipitation nowcasting. The cascade consists of three stages:

  1. A coarse-resolution diffusion model generates a 16,km nowcast, capturing synoptic-scale precipitation organisation.

  2. A medium-resolution diffusion model (4,km) upscales the 16,km output, adding mesoscale structure.

  3. A fine-resolution diffusion model (1,km) adds sub-kilometre convective detail.

At each stage, the conditioning information includes both the radar context and the output of the previous (coarser) stage. This coarse-to-fine structure mirrors the multi-scale organisation of precipitation in the atmosphere, exploiting the physical fact that fine-scale convective cells are embedded within and modulated by larger-scale precipitation systems.

Remark 43 (CasCast vs. single-resolution diffusion).

The cascaded architecture offers a computational advantage over a single high-resolution diffusion model: each stage operates on a smaller spatial grid, reducing the cost of the attention computation and enabling longer denoising chains at fine resolution without prohibitive memory cost. The trade-off is that errors from coarser stages propagate to finer ones - if Stage 1 misses a mesoscale convective system, Stages 2 and 3 cannot recover it.

Combating Blur: AANet and Adversarial Autoregressive Models

A systematic failure mode of probabilistic nowcasting models - whether GAN-based or diffusion-based - is blur: when averaged over ensemble members, the probabilistic forecast produces diffuse, low-intensity precipitation fields that lack sharp boundaries. At the ensemble mean level, this is expected (individual members may be sharp but placed at different locations), but when the evaluation focuses on the ensemble mean rather than individual members, blurry forecasts score poorly on standard skill metrics.

AANet (Adversarial Autoregressive Network) addresses this through a deterministic autoregressive architecture augmented with an adversarial loss. The model generates the nowcast sequence autoregressively: at each step, the network receives the current predicted frame and the original context, predicts the next frame, and adds it to the context. The adversarial discriminator operates on the spatial gradients of the predicted frames, penalising blurry outputs at the pixel-edge level.

Definition 53 (Gradient adversarial loss).

The AANet adversarial loss operates on spatial gradient maps: (Gradloss)grad=𝔼[logDϕ(𝒙𝑹,𝒙𝑹L:0)+log(1Dϕ(𝒙𝑹^,𝒙𝑹L:0))], where 𝒙𝑹 denotes the spatial gradient magnitude image (Sobel filter applied to the radar field). The discriminator learns to detect blurry predictions by comparing the sharpness of edges in predicted vs. observed fields.

TrajGRU and the HKO-7 Benchmark

Before DGMR and NowcastNet, the standard benchmark for data-driven precipitation nowcasting was established by Shi et al. (2017) with the TrajGRU architecture and the HKO-7 dataset.

HKO-7 is the Hong Kong Observatory radar dataset, comprising 7 years (2009–2015) of radar composites at 1,km, 6-minute resolution over a 480×480,km domain centred on Hong Kong. The dataset provides a controlled benchmark with diverse precipitation regimes (tropical cyclones, monsoon precipitation, frontal systems) and is publicly available, making it the standard evaluation platform for the community.

TrajGRU extends the convolutional LSTM (ConvLSTM) of Shi et al. (2015) by replacing the fixed convolution in the recurrent update with a trajectory-based warping: the state is advected along learned flow trajectories before the standard GRU update. This provides a structural inductive bias for advection without the explicit PDE constraint of NowcastNet.

Definition 54 (TrajGRU update rule).

The TrajGRU state update for hidden state 𝒉t and input 𝒙t is: (WARP)𝒉~t1=Warp(𝒉t1;γθ(𝒉t1,𝒙t)),𝒛t=σ(Wxz𝒙t+Whz𝒉~t1),𝒓t=σ(Wxr𝒙t+Whr𝒉~t1),𝒉t=(1𝒛t)𝒉~t1+𝒛ttanh(Wxh𝒙t+Whh(𝒓t𝒉~t1)), where γθ(𝒉t1,𝒙t) is a learned flow field, Warp(;) is a differentiable bilinear warping operator, denotes convolution, and is element-wise multiplication.

TrajGRU remains a competitive deterministic baseline and is the standard against which generative methods are compared in the nowcasting literature.

Nowcasting Pipeline: TikZ Overview

The generative nowcasting pipeline. Raw radar composites provide the conditioning context, which is encoded by a spatiotemporal encoder. A latent noise vector drawn from a standard Gaussian is injected to enable stochastic generation. The generative network (instantiated as DGMR, NowcastNet, StormDiT, or CasCast depending on the model) produces an ensemble of future radar sequences. Skill is evaluated using CSI, FSS, and CRPS against held-out radar observations.

The Value of Probabilistic Nowcasting

Why probabilistic rather than deterministic? The answer is clearest at extreme thresholds, where deterministic forecasts have near-zero skill but probabilistic forecasts can still provide decision-relevant information.

Theorem 5 (Probabilistic forecast value under decision theory).

Let a decision-maker face a binary action choice (take protective action at cost C, or not, facing potential loss L>C if the event occurs). Under the cost-loss model, the optimal strategy is to take the protective action if and only if the forecast probability of the event exceeds the cost-loss ratio α=C/L. The economic value of a probabilistic forecast relative to climatology is: (Value)V(α)=μαo(1α)h+(1α)f+α(1o)μαo, where μ is the event base rate, o is the hit rate, h is the false alarm rate, and f is the miss rate. For cost-loss ratios α near the event base rate μ (the regime relevant for rare extreme events), a probabilistic forecast with calibrated probabilities outperforms any deterministic forecast by a margin that increases as α0.

The implication for nowcasting is direct: even a probabilistic forecast that assigns only 10% probability to a flooding event provides actionable decision support for a civil protection agency with a cost-loss ratio of 0.05 (protective measures cost 5% of the damage from an unmitigated flood).

Caution.

Extreme precipitation events are inherently low-probability and high-impact. Generative nowcasting models trained on precipitation archives have very few examples of events exceeding, say, 100,mm,h1 - the Zhengzhou event was effectively a one-in-a-thousand-year occurrence at that intensity. A model that achieves good CRPS on the average validation event may be systematically miscalibrated at the extremes: the rare training examples of extreme events are not sufficient to fit the generative model's behaviour in the far tail of the distribution. Users of generative nowcasting systems for civil protection should validate model calibration specifically in the upper tail (e.g., above the 99th percentile), not just on aggregate skill scores.

Comparison: Where Generative Models Excel

Insight.

Nowcasting is where generative models are most valuable: the window where deterministic fails. In the 0–30 minute range, optical-flow extrapolation remains competitive; in the beyond-6 hour range, numerical weather prediction dominates. But in the 30-minute to 6-hour gray zone, where advection is insufficient and NWP has not yet spun up, generative models fill a gap that no other approach can fill. They combine the observational information of radar with the distributional expressiveness of learned priors, producing calibrated probabilistic guidance for exactly the lead times that matter most for high-impact weather.

The key distinction between nowcasting applications and most other generative modelling tasks is that physical correctness is not optional. A generative model for images can hallucinate: the consequence is an aesthetically incorrect photograph. A generative nowcasting model that hallucinates a convective cell that does not exist may trigger an unnecessary evacuation; one that fails to generate a cell that does exist may fail to warn a community at risk. Both errors have real costs. This asymmetry motivates ongoing work on value-aware training objectives that weight the loss according to the decision-theoretic cost of different error types, rather than treating all forecast errors equally.

Exercises

Exercise 52 (CSI and the false alarm trade-off).

Let a probabilistic nowcasting model produce ensemble forecasts from which a binary deterministic forecast is derived by thresholding the ensemble exceedance probability at level p. Show that as p increases from 0 to 1:

  1. The hit rate H/(H+M) is non-increasing.

  2. The false alarm ratio F/(H+F) is non-increasing.

  3. The CSI may be non-monotone in p.

Derive the optimal threshold p as a function of the event base rate μ and the cost-loss ratio α under the cost-loss decision model.

Exercise 53 (TrajGRU vs. NowcastNet inductive biases).

Compare the inductive biases of TrajGRU and NowcastNet for precipitation nowcasting. Specifically: (a) show that TrajGRU's learned trajectory field γθ does not in general satisfy the divergence-free condition 𝒗=0 that holds for approximately incompressible atmospheric flow, and (b) show that NowcastNet's explicit advection operator naturally satisfies this condition when the motion field 𝒗 is constrained to be divergence-free. Discuss the meteorological implications of this difference at lead times of 30 minutes and 3 hours.

Exercise 54 (Fractions Skill Score scaling).

Consider a deterministic nowcasting model that places a convective cell at a spatial displacement of d,km from the observed location. Assuming the precipitation cell has a circular shape with radius r0,km and uniform intensity R0, derive the FSS as a function of d, r0, and the neighbourhood size n (in grid cells of width Δx,km). At what neighbourhood size n(d,r0) does the FSS first exceed the “useful” threshold of 0.5? Interpret this result for a forecaster who must choose an appropriate spatial scale for validating a nowcast with expected displacement errors of d=10,km over a domain of convective cells of radius r0=5,km.

End-to-End Forecasting and Earth System Foundation Models

“The bottleneck is not the forecast model. It never has been. The bottleneck is getting observations into a coherent state of the atmosphere in the first place.” - Peter Bauer, ECMWF Deputy Director of Research

Every AI weather model described in preceding sections-Pangu, GraphCast, FourCastNet, Aardvark-shares a common dependency that is rarely discussed with the excitement reserved for benchmark scores: they all ingest analyses produced by classical data assimilation (DA) systems. These analyses are extraordinarily expensive. ECMWF's 4D-Var assimilation runs on the same supercomputer cluster that produces the ensemble forecasts, consuming roughly as much compute as the forecast itself. Achieving operational-grade analysis requires solving a vast non-convex optimisation problem over hundreds of millions of variables, constrained by the primitive equations and informed by millions of heterogeneous observations arriving from satellites, weather stations, radiosondes, ships, buoys, and commercial aircraft.

The dream of fully machine-learning-driven weather forecasting-where raw sensor data flows directly to predictions without ever touching a physics-based assimilation system-remained elusive until 2025. This section documents the models that broke that barrier and the Earth system foundation models that have begun unifying atmospheric, oceanic, and chemical forecasting under a single pre-training paradigm.

The NWP–DA Bottleneck

To appreciate why end-to-end ML weather prediction is difficult, we must first quantify the DA problem precisely.

Definition 55 (Numerical Weather Prediction–DA Bottleneck).

Let 𝐱kN denote the true atmospheric state vector at time tk, where N108 for a global model at 0.25 horizontal resolution with 137 vertical levels. Classical 4D-Var data assimilation solves: (4dvar)𝐱^0=argmin𝐱012𝐱0𝐱0b𝐁12+12k=0K𝐲kk(0k(𝐱0))𝐑k12, where 𝐱0b is the background state (previous short-range forecast), 𝐁 is the background error covariance matrix, 𝐲k are the observations at time tk, k is the observation operator mapping model space to observation space, 0k is the nonlinear forecast model integrated from t0 to tk, and 𝐑k is the observation error covariance. The optimisation window spans K time steps (typically 12–24 hours for operational 4D-Var).

The computational cost of solving is dominated by repeated evaluations of the tangent-linear and adjoint of the full nonlinear model . For ECMWF's IFS model, a single 4D-Var analysis requires approximately 60–80 iterations of an inner-loop minimiser, each involving a forward and adjoint model integration. The total wall-clock time is 30 minutes on a cluster with 104 cores-purely to produce the initial condition for a forecast that itself takes only a few minutes to run on AI hardware.

This asymmetry is the NWP–DA bottleneck. The forecast step has been accelerated by two to three orders of magnitude by AI models; the analysis step has not moved at all.

Remark 44 (Why naive end-to-end training is hard).

Training an end-to-end system requires differentiating through the observation-to-analysis mapping. The challenge is threefold. First, raw observations are heterogeneous: satellite radiances, surface station pressure readings, radiosonde temperature profiles, scatterometer winds, and aircraft reports occupy different physical spaces and are measured by different instruments with different error characteristics. Second, they are irregular: no two consecutive analysis cycles receive the same set of observations, because satellite orbits shift and surface stations fail. Third, the observations are massively redundant in some regions (dense satellite coverage over ocean) and sparse in others (radiosonde-free regions of Africa and the Amazon). Standard convolutional architectures cannot handle this heterogeneity; transformer-based set encoders are required.

Aardvark: End-to-End Data-Driven Weather Forecasting

The landmark that demonstrated end-to-end ML weather forecasting was Aardvark (Vaughan et al., 2025), published in Nature. Aardvark is the first system to ingest raw, heterogeneous meteorological observations-without any prior data assimilation step-and produce competitive medium-range forecasts of global atmospheric fields and point-specific station forecasts simultaneously.

Architecture overview

The Aardvark pipeline consists of four stages: a SetConv encoder that aggregates heterogeneous observations into a latent grid, a CNN-based latent state processor that propagates the state forward in time, a gridded global decoder for standard NWP output, and a point-specific decoder for station-level predictions.

The Aardvark end-to-end forecasting pipeline. Raw meteorological observations from multiple heterogeneous sources are aggregated by a SetConv encoder into a regular latent grid without any classical data assimilation. A CNN-based processor maintains a latent state that is rolled forward autoregressively in time. Separate decoders produce gridded global output and point-specific station forecasts simultaneously.

The SetConv encoder

The core of Aardvark's ability to handle irregular observations is the Set Convolution (SetConv) encoder. Given a set of observation locations {(i,𝐨i)}i=1M, where i2 is latitude–longitude position and 𝐨idobs is the observation value vector, SetConv produces a feature map on a regular lat–lon grid by kernel-weighted aggregation.

Definition 56 (SetConv Encoder).

Let 𝒢={(ϕj,λj)}j=1H×W be a regular lat–lon grid. The SetConv encoder maps irregular observations {(i,𝐨i)}i=1M to grid features 𝐅H×W×D by: (Setconv)𝐅j=σ(𝐖vali=1Mk(j,i)𝐨ii=1Mk(j,i)+𝐖denslog(1+i=1Mk(j,i))), where k(,) is a learnable radial basis kernel, 𝐖val and 𝐖dens are learned linear projections, and σ is an activation function. The density channel (the log-sum term) encodes how many observations are nearby each grid point, allowing the model to learn explicit uncertainty estimates in sparse regions.

The SetConv operation is permutation-invariant in the observation index, translation-equivariant under shifts of the grid, and handles M=0 (missing observations at a grid point) gracefully by outputting the background climatology embedding. These properties make it robust to the irregular and time-varying nature of real observing networks.

CNN latent state and autoregressive rollout

Once the SetConv encoder has projected observations onto the regular grid, Aardvark uses a convolutional latent state processor inspired by the U-Net architecture. The latent state 𝐳tH×W×D encodes a compressed representation of the atmospheric state, and a learned transition function fθ:𝐳t𝐳t+Δt rolls it forward autoregressively.

Remark 45 (Why CNN, not Transformer?).

A notable design choice in Aardvark is the use of a CNN rather than a global-attention Transformer for the latent dynamics. The authors justify this on computational grounds: the CNN has O(HW) complexity per layer versus O((HW)2) for full attention at global resolution. This design choice is what allows Aardvark to run on a desktop GPU rather than requiring a supercomputer cluster.

Dual-decoder design

Aardvark's ability to produce both gridded global forecasts and point-specific station forecasts from a single latent state is enabled by its dual-decoder architecture. The gridded decoder applies a convolutional upsampler to 𝐳t+kΔt to produce standard NWP output fields (temperature, wind, geopotential, humidity) at each lead time. The station decoder uses cross-attention between station coordinates and the latent grid to produce calibrated predictions at irregular station locations without interpolation artefacts.

Definition 57 (End-to-End Weather Prediction).

An end-to-end weather prediction system is a parameterised mapping (E2E DEF)θ:{(i,𝐨i,tiobs)}i=1M{𝐱^(tk)}k=1K, that maps a set of M raw meteorological observations at various locations and times within an assimilation window to a sequence of K forecast states at lead times t1<t2<<tK, without any intermediate classical data assimilation step. The system jointly learns the observation-to-analysis mapping (classically, 4D-Var) and the analysis-to-forecast mapping (classically, the NWP model) from data.

Computational efficiency

One of Aardvark's headline results is its computational efficiency relative to classical NWP. The authors demonstrate two orders of magnitude improvement in data assimilation efficiency:

Proposition 7 (Aardvark DA Efficiency).

Aardvark produces analysis-quality initial states in approximately 0.2 seconds on a single NVIDIA A100 GPU, compared to 1800 seconds (30 minutes) for ECMWF's operational 4D-Var on a 10,000-core supercomputer. The total inference time for a 10-day forecast (analysis + 40 autoregressive steps at 6 h) is 30 seconds, enabling deployment on a single desktop workstation. This represents a 200× reduction in latency and a 5000× reduction in compute cost, at the cost of some reduction in skill relative to ECMWF's operational system.

The skill reduction is approximately 5–10% in RMSE for 500 hPa geopotential at 5-day lead, relative to the operational ECMWF system. However, for surface station variables, Aardvark's point-specific decoder actually outperforms interpolated gridded fields from the operational system, because it learns to account for station micro-climatology directly.

Insight.

The Two Orders of Magnitude Efficiency Gap The factor of 200 speedup in Aardvark's analysis step demonstrates a fundamental asymmetry in the NWP pipeline: the forecast model can be dramatically accelerated by AI, but the data assimilation step was, until 2025, a computational monolith. Aardvark closes this gap by recasting data assimilation as a learned inference problem rather than an iterative variational optimisation, trading some analysis accuracy for three to four orders of magnitude in compute efficiency.

Aurora: An Earth System Foundation Model

While Aardvark solved the data assimilation bottleneck, Aurora (Bodnar et al., 2025, Microsoft Research) attacked a different limitation: the proliferation of specialised models. As of 2024, high-quality AI models existed separately for atmospheric weather (Pangu, GraphCast), ocean state (HYCOM-derived neural operators), air quality (separate CNN regressors), and ocean wave height (still classical). Each model required its own training pipeline, its own data curation, and its own validation infrastructure.

Aurora's thesis is that all of these Earth system prediction tasks can be unified under a single pre-training objective, with task-specific fine-tuning achieving state-of-the-art performance on each domain.

Pre-training on 1 million hours of Earth system data

Aurora is pre-trained on over one million hours of Earth system observations and model analyses:

Data sourceHoursVariablesDescription
ERA5 reanalysis720,00082Atmospheric fields 1940–2023
MERRA-2 reanalysis70,00034NASA multi-decadal atmosphere
GFS analyses120,00025NOAA operational analyses
HYCOM ocean analyses60,00018Ocean temperature, salinity, currents
CAMS air quality30,00014Aerosols, O3, NO2, PM2.5
ERA5-ocean wave40,0008Significant wave height, period
Total1,040,000181
Aurora pre-training data mixture. The diversity of sources provides the model with a unified representation of the Earth system across atmosphere, ocean, and chemistry.

Perceiver-based architecture

Aurora's core architectural innovation is the use of a Perceiver IO backbone to create a universal 3D latent representation of the Earth system.

Definition 58 (Aurora Perceiver Architecture).

Let 𝒱={𝐯i}i=1Nin be an input token set representing multi-variable, multi-resolution Earth system fields (atmosphere on a lat–lon–pressure grid, ocean on a different horizontal grid, chemistry on yet another). Aurora encodes these via cross-attention to a fixed-size latent array 𝐙NL×D: (Aurora ENC)𝐙(0)=CrossAttn(𝐙init,𝐕), where 𝐙init is a learned latent query array of NLNin tokens (NL=512 in the 1.3B parameter model). The latent array is then processed by L self-attention transformer layers: (Aurora PROC)𝐙(l+1)=SelfAttn(𝐙(l)),l=0,,L1. Output fields are decoded via task-specific cross-attention from 𝐙(L) to output query tokens at the desired locations and variables: (Aurora DEC)𝐲^task=CrossAttn(𝐐task,𝐙(L)), where 𝐐task is a task-specific query array.

The Perceiver design elegantly decouples the input resolution from the latent computation: inputs can grow (new satellite instruments, finer resolution) without changing the core model. This is the architectural property that makes Aurora truly foundation-model-like: new modalities are encoded by new cross-attention mappings without retraining the latent transformer.

Fine-tuning for diverse Earth system tasks

Aurora is pre-trained on the joint multi-variable prediction task (next-6-hour forecast across all modalities simultaneously). It is then fine-tuned on five downstream tasks:

  1. Medium-range weather (1–10 days): global T, U, V, Z, Q at 0.1 resolution. Aurora matches or exceeds GraphCast on all ERA5 benchmarks.

  2. Air quality forecasting (1–5 days): PM2.5, NO2, O3, SO2 globally. Aurora delivers 5-day PM2.5 predictions at CAMS operational quality, trained on only 3,000 hours of fine-tuning data.

  3. Ocean wave height: significant wave height globally at 12 h intervals. Aurora achieves RMSE comparable to NOAA operational WAVEWATCH III.

  4. Tropical cyclone intensity: maximum wind speed and track predictions. Fine-tuned Aurora outperforms operational intensity models at 72 h lead by 12%.

  5. Stratospheric ozone: column ozone and vertical profiles. This task benefits most from the joint pre-training, suggesting that learned tropospheric dynamics improve stratospheric representations.

Example 16 (Aurora for 5-Day PM2.5 Air Quality Prediction).

Air quality forecasting is a task that traditionally required a dedicated chemical transport model (CTM) such as GEOS-Chem, coupled to a meteorological driver model. The coupled system takes 10 hours to produce a 5-day global PM2.5 forecast.

Aurora, fine-tuned for 200 epochs on CAMS reanalysis PM2.5 fields, produces the same 5-day forecast in 40 seconds. On the CAMS evaluation benchmark:

  • RMSE: Aurora achieves 3.1μg/m3 versus CAMS operational 3.4μg/m3 at Day 1.

  • 5-day skill: Aurora maintains 0.73 ACC at Day 5 versus CAMS operational 0.68 ACC.

  • Wildfire smoke episodes: Aurora correctly propagates pyroconvective injection events, a capability enabled by its joint atmospheric pre-training.

The key enabling factor is that Aurora has learned atmospheric transport dynamics during pre-training; the fine-tuning step only needs to learn the PM2.5 source-response relationship. This is the foundation model paradigm applied to Earth science.

Key Idea.

A Foundation Model for the Earth System Pre-train broadly, fine-tune narrowly.

Aurora demonstrates that the diversity of Earth system prediction tasks (weather, ocean, chemistry, waves) is not an obstacle but an asset during pre-training. Multi-task pre-training teaches the model physical relationships that transcend any single task: the coupling between sea surface temperature and cyclone intensity, between aerosol loading and planetary boundary layer structure, between stratospheric ozone and ultraviolet heating. These cross-domain couplings are invisible to single-task models but are exactly what is needed for reliable multi-day predictions.

FuXi Weather: ML Data Assimilation and Forecasting

Concurrent with Aardvark, the Chinese Meteorological Administration and Fudan University developed FuXi Weather, an extension of the FuXi cascade model (described in Section GraphCast and Graph Neural Networks) to include a learned data assimilation front-end. FuXi Weather uses a U-Net-style analysis network trained to minimise the error between its output analyses and ERA5 reanalysis, conditioned on observations from AMSU-A, IASI, and ATMS satellite sounders. The approach achieves analysis quality within 5% of the ERA5 RMSE benchmark for key upper-tropospheric variables, while running 800× faster than the ECMWF 4D-Var.

A critical design choice in FuXi Weather is the use of observation simulation during training: because the true atmospheric state is unknown, the model is trained on synthetic observations generated by applying radiative transfer models to ERA5 fields. This avoids overfitting to specific instrument calibration biases while learning the general physics of atmospheric sounding.

MoTiF: Multi-Source Tropical Cyclone Forecasting

MoTiF (Multi-source Observation Tropical cyclone Integrated Forecasting) addresses the specialised problem of tropical cyclone (TC) prediction from heterogeneous, irregular observation sources. Unlike global models that treat TCs as part of a larger atmospheric state, MoTiF uses a self-supervised multi-source encoder that learns a unified TC vortex representation from:

  • Microwave satellite imagery (SSMI/S, AMSR2)

  • Infrared geostationary images (GOES-16, Himawari)

  • Aircraft reconnaissance observations (Vortex Data Messages)

  • Scatterometer surface winds

  • Best-track historical records

The self-supervised pre-training objective is masked observation modelling: given a subset of the above sources with some randomly masked, predict the masked observations. This forces the model to learn cross-modal TC structure. Fine-tuned MoTiF achieves TC intensity forecasting errors (in maximum sustained winds) 15% lower than the operational HWRF-B ensemble at 48 h lead time.

Cloud4D: High-Resolution Cloud Property Estimation

Cloud4D extends the end-to-end paradigm to the estimation of three-dimensional cloud microphysical properties from passive satellite imagery. This is an inverse problem: given 2D top-of-atmosphere radiances at multiple wavelengths, infer the full 3D distribution of cloud droplet effective radius, liquid water content, and cloud-top pressure. Classical retrieval algorithms are based on look-up tables derived from radiative transfer simulations and cannot propagate uncertainty.

Cloud4D uses a conditional diffusion model to sample from the posterior p(3D cloud structure|satellite radiances), trained on high-resolution large-eddy simulations paired with synthetic satellite observations. The model captures the full uncertainty in cloud retrievals and produces an ensemble of 3D cloud fields consistent with the observations.

SystemPub.ArchitectureDA costTasksKey innovation
Aardvark2025SetConv+CNN104Weather+stationsFirst full e2e; runs on desktop
FuXi Weather2025U-Net analysis103WeatherSynthetic obs training
Aurora2025Perceiver ION/A (pre-trained)Atm+ocean+chemEarth system foundation model
MoTiF2025Set encoder103Tropical cyclonesMulti-source TC fusion
Cloud4D2025DiffusionN/ACloud properties3D posterior sampling
Comparison of end-to-end ML weather systems. All systems bypass or minimise classical NWP data assimilation. “DA cost” is relative to operational 4D-Var at ECMWF.

Insight.

Foundation Models Unify the Earth System The emergence of Aurora, FuXi Weather, and related systems in 2025 marks a paradigm shift in how Earth system prediction is framed. The classical view – atmospheric models, ocean models, chemistry models, wave models, hydrology models, each with dedicated teams and infrastructure – is giving way to a unified Earth system pre-training approach. The key insight is that atmosphere, ocean, and chemistry share a common physical substrate: fluids governed by the primitive equations, radiative transfer, and chemical kinetics. Pre-training a single large model on all domains simultaneously teaches it the coupling physics that single-domain models must approximate through parameterisation.

Exercises

Exercise 55 (SetConv Density Channel).

2612END Consider the SetConv encoder defined in Definition 56.

  1. Show that in the limit M with uniform observation density, the SetConv output 𝐅j at each grid point converges to a weighted mean of observations in a neighbourhood of j, where the neighbourhood is defined by the kernel bandwidth.

  2. The density channel uses log(1+ik(j,i)) rather than ik(j,i). Explain the advantage of the log transform when the number of nearby observations ranges from 0 to 104.

  3. In data-sparse regions (e.g., the tropical Pacific before 2015), the observation count per grid cell is near zero. Describe what the SetConv encoder outputs in such regions and how the forecast model should handle this uncertainty.

  4. Propose an extension of the SetConv encoder that handles observation quality flags (each observation comes with a quality indicator qi[0,1], where qi=1 is the highest quality). Write down the modified aggregation equation.

Exercise 56 (Aurora Perceiver Complexity Analysis).

2621END Aurora uses a Perceiver IO architecture with NL=512 latent tokens and input sets of size Nin106 (global 0.1 grid with 181 variables).

  1. Compute the attention complexity of the cross-attention encoder step versus a full global self-attention layer. Express both in big-O notation as functions of NL and Nin.

  2. For what value of NL does the cross-attention encoder have the same FLOPs as full self-attention? For Aurora's settings, what is the speedup factor?

  3. The latent array processes information through L self-attention layers. Show that information about any two input tokens can interact within the latent space after exactly 2 cross-attention operations (1 encode, 1 decode) plus at most L self-attention steps.

  4. Discuss a potential failure mode of the Perceiver architecture when the number of relevant input tokens for a given output variable is very small (e.g., a single radiosonde reporting anomalous stratospheric temperatures).

Exercise 57 (4D-Var as a Special Case of End-to-End Learning).

2631END This exercise explores the relationship between classical 4D-Var and the end-to-end formulation of Definition 57.

  1. Re-write the 4D-Var cost function as a negative log-posterior logp(𝐱0|𝐲0:K) and identify the implied likelihood and prior distributions.

  2. Show that the MAP estimate 𝐱^0 from 4D-Var is a special case of the end-to-end mapping θ when θ encodes the background error covariance 𝐁, the observation error covariances 𝐑k, and the observation operators k.

  3. End-to-end systems like Aardvark do not output an analysis uncertainty estimate (unlike ensemble Kalman filters). Propose a modification to the Aardvark architecture that would produce an ensemble of latent states {𝐳t(n)}n=1N representing analysis uncertainty, and sketch the modified training objective.

  4. A fundamental concern about end-to-end systems is that they may not correctly assimilate observations from new instrument types not seen during training. Propose a strategy for rapidly adapting Aardvark to a new observation type with only 100 hours of collocated data.

Operational Deployment and Real-World Impact

“We've been saying for years that AI would transform weather forecasting. In 2025, we stopped saying it and started doing it.” - Rick Spinrad, NOAA Administrator, December 2025

The history of numerical weather prediction can be divided into three eras. The first era, from Richardson's 1922 hand-computed forecast to the first machine-computed prediction in 1950, established the mathematical framework. The second era, from 1950 to roughly 2021, was characterised by steady incremental improvement: better models, finer grids, more observations, improved parameterisations. The third era began in 2022 with the first competitive AI forecast models and became an operational revolution by 2024–2026.

This section documents that revolution: the operational deployment of AI weather systems at national meteorological agencies, the commercial sector's rapid adoption, and the measurable impact on human welfare-from hurricane evacuation decisions to agricultural productivity in the developing world.

Historical Note.

The 2024–2026 Operational AI Weather Revolution.

2022 Q1

DeepMind publishes GraphCast in Science, demonstrating competitive 10-day forecasting at 0.25 resolution. ECMWF begins internal evaluation.

2023 Q2

Pangu-Weather, FourCastNet v2, and FuXi enter operational evaluation at multiple agencies. Huawei's Pangu runs on ECMWF supercomputers as a supplementary product.

2024 Q1

ECMWF AIFS (Artificial Intelligence Integrated Forecasting System) launches as the first AI model to appear in ECMWF's operational ensemble suite. It produces 10-day ensemble members at a cost of 1% of the corresponding physics-based ensemble.

2024 Q3

Horizon AI provides AI-based hurricane track and intensity guidance to insurance and emergency management clients during the record-breaking 2024 Atlantic season. Verifiable track improvements of 8–12% over NHC official forecasts at 120 h lead are documented.

2024 Q4

AXA and NVIDIA announce a partnership to use the Earth-2 climate digital twin platform for extreme weather risk assessment in insurance portfolios.

2025 Q1

Aurora (Microsoft Research) and Aardvark (Vaughan et al.) published; both demonstrate end-to-end or near-end-to-end operation.

2025 Q4

NOAA Project EAGLE launches three operational AI models: AIGFS, AIGEFS, and HGEFS. AI-generated forecasts become the primary product for 1–10 day guidance issued to US National Weather Service offices.

2026 Q1

The WMO establishes the AI Weather Forecasting Standard (AIWFS), a verification framework requiring all operational AI models to undergo standardised testing for rare events, failure mode documentation, and comparison to physics-based baselines.

NOAA Project EAGLE: The US Operational AI Suite

The United States National Oceanic and Atmospheric Administration (NOAA) launched Project EAGLE (Ensemble AI Guidance for Linked Environments) in December 2025, representing the most comprehensive national operational AI weather deployment to date. Project EAGLE comprises three distinct AI-based forecast products:

AIGFS: AI-based Global Forecast System

The AIGFS is a fine-tuned version of GraphCast, trained on NOAA's GDAS (Global Data Assimilation System) analyses from 1990–2024. Key operational specifications:

  • Lead time: 0–16 days deterministic forecasts.

  • Resolution: 0.25 horizontal, 13 pressure levels.

  • Run time: 40 minutes for a complete 16-day forecast, versus 6 hours for the operational GFS on the same hardware budget.

  • Skill: Matches or exceeds operational GFS RMSE for 500 hPa geopotential at Days 1–7; small deficit at Days 8–16.

  • Update frequency: 4 times daily (00, 06, 12, 18Z).

The 40-minute wall-clock time enables NOAA to run AIGFS on a single GPU cluster that would previously have been used for one 6-hour model run, leaving the primary supercomputer for ensemble tasks.

AIGEFS: AI-based Global Ensemble Forecast System

The AIGEFS generates a 50-member probabilistic ensemble using a lagged-perturbation technique: initial condition perturbations from the GDAS ensemble Kalman filter are fed into a fine-tuned Aurora model.

  • Lead time: 0–24 days probabilistic forecasts.

  • Skill extension: AIGEFS shows measurable probabilistic skill at Days 18–24, extending the current operational GEFS skill by 6–9 days. This is equivalent to the improvement achieved by the NWP community over the preceding 15 years.

  • Compute cost: AIGEFS 50-member ensemble costs 9% of the equivalent GEFS run on the same hardware.

  • Key application: Subseasonal prediction (2–4 weeks), where the probabilistic skill extension is most valuable for agriculture, water management, and energy demand planning.

HGEFS: Hybrid Grand Ensemble Forecast System

The HGEFS is the most ambitious component of Project EAGLE: a hybrid ensemble that combines 31 AI-based members with 30 physics-based members from the operational GEFS, for a total 61-member grand ensemble.

Member typeCountModelCost fractionStrength
AI deterministic1AIGFS1%Low-cost high-resolution det.
AI ensemble30AIGEFS8%Extended probabilistic range
Physics ensemble30GEFS91%Physical consistency, extremes
Total61HGEFS100%
HGEFS ensemble composition. The hybrid ensemble combines the computational efficiency of AI models with the physical consistency guarantees of physics-based models.

The HGEFS design reflects a key operational philosophy: AI members are cheap and skillful for most conditions but unreliable for extremes; physics-based members are expensive but physically consistent. The hybrid ensemble covers both regimes.

Caution.

AI Model Failure Modes Are Qualitatively Different from NWP AI weather models fail in ways that are qualitatively different from physics-based NWP, and these failures are still poorly characterised.

Known failure modes include:

  • Distribution shift: AI models trained on ERA5 may produce unrealistic states when conditions are far outside the training distribution (e.g., simultaneous multi-year record temperatures across multiple continents).

  • Autoregressive error accumulation: Long rollouts (Day 10+) can accumulate small systematic biases that compound into physically unrealistic structures, whereas NWP models maintain physical balance constraints.

  • Spectral smoothing: Most deterministic AI models produce spatially smoother fields than the true atmosphere, underestimating extreme gradients in fronts and mesoscale convection.

  • Rare event underrepresentation: Because extreme events are rare in training data, AI models systematically underestimate the intensity of unprecedented events (“grey swan” scenarios).

  • Spatial correlation collapse: Some AI ensemble members produce spatially decorrelated perturbations that underestimate large-scale error covariances needed for reliable ensemble spread.

The operational community is actively developing verification standards (WMO AIWFS) to quantify and monitor these failure modes. Current best practice is to maintain physics-based ensemble members in all operational suites and to trigger NWP-only fallback modes when AI uncertainty estimates are anomalously high.

ECMWF AIFS and the Anemoi Framework

The European Centre for Medium-Range Weather Forecasts has been the world's leading NWP centre for four decades. Its operational adoption of AI marks the most significant institutional validation of the technology.

AIFS (Artificial Intelligence Integrated Forecasting System) became the first AI model in ECMWF's operational forecast suite in early 2024. AIFS is based on a graph neural network architecture trained on 40 years of ERA5 data. Its key operational role is as an ensemble member in the ECMWF ENS rather than as a replacement for the physics-based IFS: it contributes ensemble diversity at negligible cost, improving tail probability estimates without replacing the physically consistent IFS ensemble.

Anemoi: Open-source ML framework

Recognising that AI weather development should not be confined to a handful of large technology companies, ECMWF released Anemoi (Greek: “winds of the north”), an open-source framework for training AI weather models on arbitrary ERA5-derived datasets. Anemoi provides:

  • anemoi-datasets: Standardised ERA5 data pipelines with configurable variable sets, resolutions, and temporal splits.

  • anemoi-models: A library of graph-based and transformer-based weather model architectures.

  • anemoi-training: Distributed training recipes for models from 100M to 10B parameters.

  • anemoi-inference: Inference engine for operational deployment with checksum verification and anomaly detection.

Anemoi has enabled a pan-European collaboration among national meteorological services. By mid-2025, the following regional models had been trained using the Anemoi framework:

  • Bris (MET Norway): Limited-area AI model for the North Sea and Scandinavia at 2.5 km resolution.

  • MeteoSwiss AI: Alpine convection-resolving AI model leveraging high-resolution Swiss radar and radiosonde data.

  • FMI-Aurora (Finnish Meteorological Institute): Polar-optimised AI model for Arctic weather prediction.

  • DWD-AIFS (Deutscher Wetterdienst): Central European mesoscale model at 1 km resolution for fog and frost prediction.

These regional models demonstrate a key advantage of AI weather: the marginal cost of training a high-resolution limited-area model is dramatically lower than developing an equivalent NWP limited-area system, enabling smaller national services to compete at global accuracy levels.

China: The FuXi–FengWu–Fenghe Ecosystem

China's meteorological AI programme, led by the China Meteorological Administration (CMA) in collaboration with Shanghai AI Laboratory and multiple universities, represents the most integrated national AI weather ecosystem.

FuXi (described in Section GraphCast and Graph Neural Networks) and FengWu are both operational at CMA for medium-range forecasting. NowcastNet provides deep-learning nowcasting (0–6 hour precipitation forecasting) for severe weather warnings.

The most novel component of the Chinese ecosystem is Fenghe (meaning “wind harmony”), the world's first operational meteorological large language model. Fenghe is not a forecast model; it is a risk communication and decision support system. Its key capabilities include:

  • Localised risk narratives: Given a set of AI forecast fields, Fenghe generates location-specific natural language risk summaries (e.g., “Flooding risk in Guangzhou will peak between 14:00 and 18:00 local time, with highest risk in Haizhu district”).

  • Multi-agency coordination: Fenghe ingests forecast data from multiple agencies (CMA, ECMWF, GFS) and generates consensus language describing areas of forecast uncertainty.

  • Public alert generation: Fenghe directly drafts emergency weather alerts in plain language, which are reviewed by human meteorologists before dissemination.

  • Agricultural advisory: Daily crop-specific weather advisories for 31 provinces, integrating phenological models with AI weather forecasts.

Fenghe represents the full stack of AI weather deployment: from observation to forecast to risk-based communication to sector-specific decision support.

The Commercial Sector: Horizon AI, Climavision, and Earth-2

The commercial weather sector has adopted AI forecasting with a speed that has surprised even optimistic observers.

Horizon AI and the 2024 Hurricane Season

Horizon AI, a start-up founded by former NOAA and NCAR meteorologists, deployed an ensemble of fine-tuned Pangu and GraphCast models for the 2024 Atlantic hurricane season. The 2024 season was the most active on record (27 named storms, 7 major hurricanes), and provided an unprecedented operational test.

For Hurricane Milton (October 2024), which underwent rapid intensification from Category 1 to Category 5 in under 24 hours before striking Florida's Gulf coast, Horizon AI's models provided the following verified performance:

Example 17 (Operational AI Forecast Chain: Hurricane Milton (October 2024)).

Hurricane Milton (2024) made landfall near Siesta Key, Florida on 10 October 2024 as a Category 3 hurricane (maximum winds 120 kt at landfall). Its precursor rapid intensification phase was one of the fastest ever recorded in the Gulf of Mexico.

Verified AI forecast performance (Horizon AI ensemble):

  • Track (120 h): Horizon AI ensemble mean track error of 187 km versus NHC official 231 km and GFS 264 km. The 10% leftward (southward) bias in GFS guidance that caused controversy in NHC deliberations was absent from Horizon AI.

  • Intensity (72 h rapid intensification): Horizon AI assigned 65% probability to Category 4+ landfall 72 hours before the event. The corresponding NHC probability was 38%. This probabilistic skill directly informed the expansion of evacuation zones in Sarasota County.

  • Timing: Landfall timing error of 1.8 hours (AI ensemble mean) versus 2.9 hours (GFS). This matters because storm surge timing is critical for coastal flood warnings.

  • Wall-clock time: Complete 10-day ensemble (50 members) available 23 minutes after GDAS data ingestion, versus 4.5 hours for the operational GFS ensemble.

Operational impact: The Sarasota County Emergency Manager cited the Horizon AI probabilistic guidance in the decision to expand the mandatory evacuation zone to Zone C, protecting an additional 180,000 residents. Post-event storm surge analysis confirmed that zones not covered by the NHC guidance but included in the Horizon AI guidance experienced flooding.

AXA, NVIDIA Earth-2, and Insurance Risk Assessment

The NVIDIA Earth-2 climate digital twin platform, announced in 2024, is a cloud-based system that allows enterprises to run high-resolution AI weather and climate simulations without owning supercomputing infrastructure. AXA, one of the world's largest insurance groups, became an early adopter for extreme weather risk assessment.

The AXA–Earth-2 partnership uses the following workflow:

  1. Earth-2 runs thousands of AI-driven climate simulations to estimate the return periods and severities of extreme events (floods, windstorms, heat waves) at 1km resolution globally.

  2. AXA ingests the resulting return-period maps into its catastrophe modelling framework, updating expected loss distributions for insured assets.

  3. Operational daily weather forecasts from Earth-2 are used to trigger parametric insurance products (automatic payouts when a forecast wind speed threshold is exceeded at a specified location).

This use case illustrates a key driver of commercial AI weather adoption: the ability to run thousands of simulations is economically transformative for risk industries where pricing depends on tail probability estimates that classical NWP could never provide at scale.

Global Map of Operational Deployments

Global map of major operational and near-operational AI weather deployments as of early 2026. Green markers indicate European public meteorological agencies; blue indicates NOAA/US government; red indicates Chinese CMA ecosystem; amber indicates other Asian agencies; teal indicates commercial deployments. The geographic distribution shows a rapid transition from research to operations across all major forecasting centres.

Case Study: AI Weather for 38 Million Indian Farmers

Nowhere is the real-world impact of improved weather forecasting more tangible than in subsistence agriculture. India has 140 million farming households, most of them rain-dependent smallholders whose crop choices, planting dates, and pest management decisions are intimately tied to weather forecasts. A 24-hour forecast that is 10% more accurate can mean the difference between a protected harvest and a washed-out crop.

The India Meteorological Department (IMD), in partnership with Microsoft Research and ICRISAT (the International Crops Research Institute for the Semi-Arid Tropics), deployed an AI forecast chain in 2025 targeting 38 million farmers in the semi-arid tropics of central and southern India. The system chain is:

  1. Global AI forecast: Aurora fine-tuned on IMD analyses provides 1–10 day forecasts at 0.1 resolution.

  2. Statistical downscaling: A learned spatial disaggregation model maps 0.1 fields to 5 km resolution, trained on historical IMD station data and AWS (automatic weather stations) installed by the ICRISAT network.

  3. Crop advisory generation: A fine-tuned language model (analogous to Fenghe) generates crop-specific advisories in 8 Indian regional languages, tailored to the farmer's crop type, growth stage, and local soil conditions (from a national soil database).

  4. Delivery: Advisories are delivered via SMS to feature phones (because 60% of target farmers have no smartphone) and via a voice bot accessible through a free toll number.

An independent evaluation in the 2025 kharif (summer) season showed:

  • Uptake: 23 million farmers (60% of target) used the advisory service at least once during the season.

  • Crop loss prevention: Participating farmers reported 12% lower crop losses due to unseasonal rainfall compared to non-participating farmers in the same villages.

  • Input efficiency: Fertiliser use was 8% lower (through better timing of application relative to rain events), reducing both costs and nitrogen leaching.

  • Economic benefit: Estimated INR 28,000 crore (approximately $3.3 billion USD) in prevented crop losses across the season.

This case study illustrates that the economic and humanitarian value of AI weather forecasting is not confined to the advanced industrialised world. The marginal cost of deploying an additional AI-based national weather service is now small enough that developing countries can access forecast quality that was previously available only to the wealthiest nations.

The Economics of AI Weather Forecasting

The economic case for AI weather forecasting rests on three pillars: compute cost reduction, forecast quality improvement, and new capability enablement.

Compute cost reduction

The NOAA Project EAGLE documentation provides the most detailed public cost breakdown. The AIGEFS 50-member ensemble costs 9% of the equivalent GEFS ensemble on the same hardware. Extrapolating:

  • NOAA's annual supercomputing budget for weather modelling was approximately $290 million in 2024.

  • If 50% of ensemble compute is replaced by AI equivalents at 9% cost, the savings are $0.5×$290M×(10.09)$132M per year.

  • The global NWP community spends approximately $2–3 billion annually on supercomputing. Equivalent AI transition could save $900M–$1.4B per year in compute alone.

Forecast quality improvement value

Independent economic analyses estimate the value of a 1-day extension in useful forecast lead time at approximately $1B–$5B globally, accounting for improvements in aviation routing, energy demand management, agricultural decisions, and emergency management. The 6–9 day skill extension documented for AIGEFS thus represents an estimated economic value of $6B–$45B annually, though these estimates carry large uncertainties.

New capability enablement

The most economically significant new capability is the ability to run large AI ensembles for rare event risk estimation. Running 10,000 AI ensemble members to estimate the probability of a 1-in-100-year flood event costs 1% of the equivalent physics-based computation. This opens catastrophe modelling, insurance pricing, and long-range risk assessment to AI methods that were previously computationally infeasible.

Exercises

Exercise 58 (HGEFS Hybrid Ensemble Weighting).

2649END The HGEFS combines 31 AI members with 30 physics-based GEFS members. Let p^AI(E) and p^GFS(E) denote the empirical probabilities of event E estimated from the AI and physics sub-ensembles respectively.

  1. The naive equal-weight grand ensemble probability is: p^grand(E)=3161p^AI(E)+3061p^GFS(E). Describe a scenario where this equal-member weighting is suboptimal compared to a skill-weighted combination, and write down the skill-weighted formula.

  2. Let SAI and SGFS denote the Brier skill scores (BSS) of the two sub-ensembles for an extreme precipitation event at 120 h lead. Derive the optimal combination weights wAI and wGFS=1wAI that minimise the grand ensemble Brier score, assuming the sub-ensemble errors are uncorrelated.

  3. The HGEFS warning notes that “AI models underestimate extreme event probabilities.” How would you detect this bias in operational verification data, and what post-processing correction would you apply?

  4. Propose a test to determine whether the 31 AI members contribute statistically independent information to the grand ensemble, or whether their dependence on similar training data causes them to cluster together in forecast space.

Exercise 59 (Economic Value of Forecast Skill Improvement).

2658END A national weather service is considering deploying an AI-based ensemble that extends probabilistic forecast skill from Day 10 to Day 16. Use the following parameters in your analysis: the annual GDP of the country is $2 trillion, the weather-sensitive fraction of GDP is 15%, a 6-day skill extension is worth at most 5% of weather-sensitive GDP, the AI ensemble annual operating cost (training, inference, data) is $50 million, and the current physics-based ensemble annual operating cost is $300 million.

  1. Compute the maximum theoretical annual economic value of the skill extension, using the given parameters.

  2. Compute the net benefit of replacing 80% of the physics-based ensemble with AI ensemble members, assuming the AI ensemble achieves 90% of the skill of the physics-based ensemble for Days 1–10 and superior skill for Days 11–16.

  3. The “value of a forecast” depends on the decision maker's cost-loss ratio: the ratio of the cost C of protective action to the loss L if the event occurs and no action is taken. A user with cost-loss ratio r=C/L uses the forecast if and only if the forecast probability exceeds r. For r=0.1 (protective action is cheap relative to loss), derive the minimum forecast skill (measured by BSS) needed for the AI forecast to have positive economic value.

  4. The AI forecast has a systematic low bias for extreme wind speeds (it forecasts the 99th percentile wind speed as the 95th percentile wind speed). For a wind energy operator who must shut down turbines when winds exceed 25 m/s to prevent damage, quantify the economic impact of this calibration error assuming 500 turbines at $2,000/hour revenue each and a 10% false negative rate.

Exercise 60 (AI Failure Mode Analysis for Rare Events).

2664END This exercise examines the failure mode described in the warning box: AI models systematically underestimate rare event intensities.

  1. A training dataset of 40 years of ERA5 contains approximately 40×365×4=58,400 6-hourly analysis states. Hurricane rapid intensification (RI) events occur at a global rate of roughly one per month. Compute the fraction of training samples that include an RI event, and explain why this sparsity causes systematic bias in the trained model's intensity forecasts.

  2. Propose a data augmentation strategy to mitigate RI underrepresentation. Your strategy should increase the effective number of RI events in training without introducing unrealistic physical states.

  3. An AI model produces 100-member ensembles for a given event. Post-hoc analysis shows that the ensemble members cluster into 3 distinct scenarios for a developing tropical cyclone, with 70%, 25%, and 5% of members in each cluster. The 5% cluster is the most extreme (RI to Category 5). Show that the ensemble mean wind speed significantly underestimates the probability-weighted “expected worst case” relevant for evacuation decisions, and propose a better summary statistic.

  4. The “grey swan” problem refers to extreme events that are rare but physically plausible-events not seen in the training data but representable by the model. Describe a validation protocol using synthetic grey swan events (e.g., generated by GCM stress tests) to quantify an AI model's grey swan risk.

Extremes, Predictability, and Open Problems

The remarkable skill curves celebrated by the machine learning weather prediction community-FourCastNet's five-day 500,hPa geopotential accuracy surpassing the ECMWF medium-range forecast, GraphCast's ten-day headline metrics, GenCast's ensemble spread on the WeatherBench 2 leaderboard-all rest on a foundational assumption: that the metrics being optimized and reported faithfully capture operational value. They do not. Not completely. This section confronts the gap between the leaderboard and the reality faced by forecasters, emergency managers, and the public they serve. That gap is widest precisely where the stakes are highest: in the prediction of extreme events.

The structure of this section is as follows. We first diagnose the performance paradox, the systematic divergence between benchmark metrics and operational skill for high-impact events. We then examine the statistical and physical mechanisms that drive the intensity underprediction pathology common to every current learned weather model. We survey the 2024–2025 hurricane seasons as a natural experiment, examining where track prediction succeeded and where intensity forecasts failed catastrophically. Aurora's comprehensive evaluation across multiple extreme regimes provides a structured case study. We then state eight open problems that, in our assessment, define the research frontier for the next decade. The section closes with a conjecture on the ultimate limits of monolithic data-driven weather modeling and an argument for the hybrid future.

The Performance Paradox: Leaderboard Metrics versus Operational Reality

Key Idea.

The Performance Paradox. Machine learning weather prediction models can simultaneously achieve state-of-the-art scores on standard aggregate benchmarks and fail catastrophically on the events that matter most to society. This is not a contradiction: it is a consequence of how aggregate metrics weight the distribution of atmospheric states.

To make this precise, let 𝐱^t+h denote the forecast issued at time t for lead time h, and let 𝐱t+h denote the verifying analysis. The standard aggregate RMSE is (RMSE Aggregate)RMSE(h)=1|𝒱|(t,)𝒱𝐱^t+h()𝐱t+h()2, where 𝒱 is the validation set of (time, location) pairs and indexes pressure levels and variables. Now partition the validation set into the “routine” set 𝒱r and the “extreme” set 𝒱e, where 𝒱e consists of cases in the top percentile of some impact metric (wind speed, precipitation accumulation, temperature anomaly). Since |𝒱e||𝒱r|, we have (RMSE Decomposed)RMSE(h)RMSEr(h)+|𝒱e||𝒱|(RMSEe(h)RMSEr(h)). If |𝒱e|/|𝒱|0.01 (top 1%), then even a model with RMSEeRMSEr will show only a 1% degradation in the headline aggregate metric. A model optimized to minimize the aggregate loss has essentially no gradient signal from the extreme events that dominate societal impact.

Remark 46 (Weighted extremes scoring).

One principled remedy is to use a threshold-weighted score. For a scalar variable x, the threshold-weighted CRPS at threshold u is (Twcrps)twCRPS(F,x;u)=w(y;u)(F(y)𝟏[xy])2dy, where w(y;u)=𝟏[yu] or a smooth variant. By choosing u at the 90th or 99th percentile of the climatological distribution, the scoring rule places disproportionate weight on extreme realizations. Brenowitz et al. (2025) systematize this approach into a practical probabilistic evaluation benchmark, arguing that no reported MLWP result can be trusted operationally without threshold-weighted variants.

The aggregate metric bias manifests in a second, more subtle way: model selection. When models are trained and selected using aggregate validation loss, the optimization pressure on rare extremes is quadratically negligible. A model that slightly smooths its predictions (reducing high-frequency variance) achieves lower aggregate RMSE at the cost of substantially degraded extreme event representation. This is the ERA5 smoothing inheritance problem, which we examine next.

ERA5 Smoothing Inheritance: Learning What You Train On

Every major MLWP model trained through 2025 uses ERA5 as its primary training target. ERA5 is a gridded reanalysis product produced by the ECMWF at approximately 31,km horizontal resolution (0.28125 latitude–longitude), generated by assimilating billions of observations into a 4D-Var cycling system. As a reanalysis, ERA5 represents the atmosphere's best estimate given available observations, but it is not equivalent to the true atmosphere.

The spectral structure of ERA5 differs from the true atmosphere in a systematic way that has severe consequences for extremes. Let X^k denote the spherical harmonic coefficient of ERA5 at total wavenumber k, and let X^k denote the true atmospheric coefficient. The effective spectral transfer function (Spectral Transfer)H(k)=𝔼[|X^k|2]𝔼[|X^k|2] satisfies H(k)1 for k100 but H(k)<1 for k200, with H(k)0 as kkmax (the Nyquist wavenumber of the ERA5 grid). In physical space, this spectral damping implies that ERA5 systematically underrepresents spatial gradients, peak wind speeds, and precipitation intensities at sub-gridscale and near-gridscale spatial frequencies.

A model trained to minimize mean-squared error against ERA5 therefore learns the ERA5 spectral distribution, including its damping at high wavenumbers. At inference time, even if the model produces physically consistent atmospheric states at coarse scales, it inherits the spectral bias of its training target. Kim et al. (2026) formalize this spectral inheritance with a rigorous test:

Theorem 6 (Spectral Inheritance, Kim et al. 2026).

Let fθ be a model trained to minimize 𝔼𝐱pERA5[fθ(𝐱)𝐱2]. Under mild regularity conditions on fθ, the power spectrum of model predictions satisfies (Spectral Bound)Sfθ(k)SERA5(k)for all kk0, where k0 is a threshold wavenumber depending on the model architecture. Equality holds only when fθ acts as the identity at those scales.

Sketch.

The MSE loss is minimized by the conditional expectation fθ(𝐱)=𝔼[𝐱t+h|𝐱t=𝐱]. This conditional expectation is a smoothing operator; by Jensen's inequality, Var(fθ(𝐱))Var(𝐱t+h), and the variance reduction is monotonically larger at higher wavenumbers where the conditional mutual information is smaller (atmospheric predictability falls off at fine scales). The spectral bound then follows from Parseval's theorem applied to the bias-variance decomposition.

Kim et al. (2026) also introduce a butterfly effect test for GenCast, measuring whether ensemble spread grows at rates consistent with the Lorenz attractor's Lyapunov spectrum. They find that GenCast's spread growth rate is qualitatively correct for the first seven days but overestimates predictability (underestimates spread) at lead times beyond ten days, consistent with the spectral inheritance hypothesis: the model's learned dynamics have fewer short-scale instabilities than the true atmosphere, resulting in artificially low ensemble divergence at extended range. Physical consistency tests for mass, momentum, and energy budgets reveal compensating biases that partially cancel in zonal-mean diagnostics but accumulate regionally and seasonally.

Insight.

The ERA5 smoothing problem is not merely a resolution artifact: it is a distributional mismatch between the training target and the physical atmosphere. Higher-resolution MLWP (1/4-degree versus 1-degree) reduces but does not eliminate the bias, because ERA5 itself is a smooth approximation of the truth at its native resolution. The only complete remedies are (a) training directly against raw observations (bypassing reanalysis), (b) combining a generative model trained on ERA5 with a physics-based correction, or (c) using a loss function that explicitly penalizes spectral power at high wavenumbers falling below the ERA5 spectral density.

The Probabilistic Benchmark: Brenowitz et al. (2025)

The evaluation of probabilistic weather forecasts has a long history in the operational forecasting community, rooted in the proper scoring rule literature (Gneiting and Raftery, 2007) and the ensemble verification tradition of the World Meteorological Organization. Brenowitz et al. (2025) translate this tradition into a rigorous benchmark for MLWP systems, addressing a systematic gap: most published MLWP results report either deterministic skill metrics (RMSE, ACC) or aggregate probabilistic metrics (mean CRPS) without separating the climatological reliability, sharpness, and extreme tail performance.

The Brenowitz benchmark decomposes forecast quality along four orthogonal axes:

  1. Reliability: Is the stated probability calibrated? For an ensemble forecast issuing probability p for event A, the reliability diagram plots p^ (forecast frequency) against p (observed relative frequency). Perfect reliability requires p^=p for all p.

  2. Resolution: Does the forecast discriminate between cases where A occurs and cases where it does not? Measured by the area under the ROC curve (AUROC) or the Brier skill score.

  3. Sharpness: How concentrated is the predictive distribution? A sharp but unreliable forecast is overconfident; sharpness is desirable only jointly with reliability.

  4. Extreme skill: For threshold u at the q-th climatological quantile, what is the threshold-weighted CRPS (Equation (Twcrps)) as a function of q{0.9,0.95,0.99,0.999}?

A model cannot game all four axes simultaneously. Ensemble mean smoothing improves reliability at the cost of sharpness; overfit ensembles achieve sharpness at the cost of reliability; models that underrepresent variance (due to spectral inheritance) fail on both sharpness and extreme skill. The Brenowitz benchmark reveals that every published MLWP model as of 2025 exhibits measurable reliability degradation beyond day 5, sharpness collapse beyond day 8, and extreme skill that is significantly below the ECMWF ensemble at the 99th percentile threshold for every lead time.

Definition 59 (Skill Score Relative to Climatology).

For a probabilistic forecast F and verifying observation x, the CRPS skill score relative to climatological reference Fclim is (Crpss)CRPSS(F,x)=1CRPS(F,x)CRPS(Fclim,x). A model with CRPSS=1 achieves perfect probabilistic skill; CRPSS=0 is climatology; CRPSS<0 is worse than issuing the historical distribution. The threshold-weighted CRPSS at quantile q restricts the score to cases where x>Fclim1(q).

Remark 47 (The 7–10 Day Threshold Collapse).

All MLWP models evaluated by Brenowitz et al. (2025) exhibit a qualitative change in skill degradation rate near the 7–10 day lead time. For h7 days, CRPSS decreases approximately linearly in h. For h>7 days, the rate of decrease accelerates, consistent with the atmospheric predictability limit predicted by the Lorenz (1969) cascade model. The inflection occurs at slightly different lead times for different variables: 500,hPa geopotential (9–10 days), 850,hPa temperature (7–8 days), 10,m wind speed (6–7 days), and 6-hourly precipitation (3–4 days). This hierarchy reflects the Rossby deformation radius spectrum: large-scale balanced flow has longer predictability than meso-scale convective features.

Hurricane Case Studies: Helene, Milton, Beryl, and Lee

The 2024 Atlantic hurricane season provided an exceptionally rich natural experiment for evaluating MLWP systems under operational conditions. Four storms-Helene, Milton, Beryl, and Lee-exhibited contrasting behaviors that stress-test different aspects of learned models.

The Track–Intensity Divergence

The most consistent finding across all four storms is a track–intensity divergence: MLWP models predict track with skill comparable to or exceeding operational NWP, but systematically underpredict peak intensity. This is not merely a resolution effect (though resolution contributes); it reflects the spectral inheritance problem at its most acute.

Track prediction depends primarily on the large-scale steering flow, which is well-represented in ERA5 and well-captured by data-driven dynamics. Intensity prediction depends on inner-core structure at spatial scales of 10–50,km (the eye wall, the radius of maximum wind, the warm core anomaly) that are partially resolved in ERA5 but strongly smoothed. A model inheriting ERA5 spectral statistics learns a smoothed inner core, and therefore cannot reproduce rapid intensification events.

Definition 60 (Rapid Intensification).

A tropical cyclone is said to undergo rapid intensification (RI) if its maximum sustained surface wind speed increases by at least 30,kt (15.4ms1) within a 24-hour period. RI events are strongly associated with environmental conditions (low vertical wind shear, warm sea surface temperatures, high mid-level moisture) but are also sensitive to inner-core dynamics that are not fully predictable beyond 24–48 hours.

Hurricane Helene (2024): Inland Flooding and Track Success

Helene made landfall in the Florida Big Bend region on 26 September 2024 as a Category 4 hurricane. MLWP models provided 5–7 day track forecasts with mean track errors below 150,km, competitive with operational NWP. The storm's subsequent inland penetration and extreme rainfall event over western North Carolina (200–500,mm accumulations triggering catastrophic flooding) was associated with the interaction of Helene's remnant circulation with complex Appalachian orography. MLWP models underperformed NWP on the rainfall distribution, consistent with their inability to resolve orographic lifting at scales below their effective resolution. The societal impact, over 200 fatalities, was dominated by the inland flood event rather than the coastal wind, a regime where current MLWP skill is lowest.

Hurricane Milton (2024): Rapid Intensification Failure

Milton's rapid intensification from Category 1 to Category 5 in approximately 24 hours (5–7 October 2024) remains one of the most dramatic RI events in Atlantic basin history. MLWP models available for operational guidance at 72-hour lead time forecast a Category 2 or 3 intensity at landfall; the observed peak intensity of 180,kt (92.5ms1) at sea exceeded all MLWP forecasts by 50–90,kt. This represents a mean absolute error in intensity that is three to five times larger than the track error scaled equivalently. Analysis of the spectral power in Milton's inner-core fields in ERA5 confirms severe smoothing: the ERA5 representation of Milton's eye wall had a warm core anomaly approximately 30% weaker than aircraft reconnaissance observations. A model learning from ERA5-level data was presented with a structurally weakened target; it cannot learn what it was not shown.

Hurricane Beryl (2024): Extended Range Track Success

Beryl formed unusually early in the season (1 July 2024) and struck the Windward Islands, Mexico, and Texas in succession. Its track was predicted with skill at 7–10 day lead times by multiple MLWP systems, providing a proof of concept for the value of machine learning at extended range for the large-scale steering flow. However, peak intensity at each landfall was underpredicted by 15–25,kt, and the rapid weakening over the Yucatan Peninsula followed by reintensification over the Gulf was captured only qualitatively. The track success of Beryl attracted favorable public and policy attention to MLWP, while the intensity errors (which matter for warning decisions) received less media coverage.

Hurricane Lee (2023-24 Analysis): The Non-Landfall Benchmark

Lee (2023) provided a clean benchmark because it underwent explosive RI to Category 5 over the open Atlantic and then recurved without making a direct landfall on a major populated area. Post-season analysis using MLWP hindcasts reveals that the Category 5 peak intensity was forecast by no MLWP system, with all models predicting Category 3 at peak; the recurvature track, however, was accurately forecast at 7-day lead time. Lee thereby exemplifies the core asymmetry: machine learning has solved the where of tropical cyclone motion far better than the how intense.

Schematic of the track–intensity skill divergence for MLWP models on 2024 Atlantic hurricanes. Track skill (normalized against climatological baseline) is comparable between MLWP and operational NWP at all lead times. Intensity skill is substantially lower for MLWP at all lead times, and both systems experience accelerated skill degradation beyond the 7-day predictability threshold. The shaded region quantifies the intensity gap.

Aurora (2026) Extreme Event Evaluation

Aurora (Microsoft, 2026) represents the most comprehensive extreme event evaluation published by any MLWP team, covering five regimes: tropical cyclones, atmospheric rivers, continental heatwaves, deep freeze events, and compound flooding. The evaluation methodology follows Brenowitz et al. (2025) in using threshold-weighted scoring, but extends it with conditional skill scores that separate environment-driven predictability from inner-core dynamics.

Atmospheric Rivers

Atmospheric rivers (ARs) are narrow corridors of intense meridional water vapor transport (IVT250kgm1s1) responsible for the majority of extreme precipitation on the US West Coast, western Europe, and other mid-latitude continental margins. The integrated vapor transport (IVT) field (IVT)IVT=1gpsfc300hPaq|𝐮|dp, where q is specific humidity and 𝐮 is the horizontal wind vector, depends on column-integrated dynamics at scales of 200–500,km. Aurora predicts AR location (defined by the axis of maximum IVT) with track errors below 50,km at 5-day lead time and below 100,km at 10-day lead time, exceeding operational ensemble skill for the former and matching it for the latter. Intensity (peak IVT magnitude) is again underestimated: Aurora's median IVT magnitude is 15–25% below observations at peak.

Continental Heatwaves

The 2021 Pacific Northwest heatwave (peak T2m>49C) and the 2023 western European heat events were used as retrospective test cases. Aurora (2026) hindcasts initialized 5, 7, and 10 days before peak heat correctly predicted the sign of the anomaly in all cases, but underestimated peak temperatures by 3–6C at 10-day lead time. The spatial footprint of the heat dome was well-predicted. This 3–6C bias corresponds to the difference between a record-breaking heat event and a catastrophic one: it matters enormously for health and infrastructure decisions.

Deep Freeze Events

Sudden stratospheric warming (SSW) events, in which the polar vortex weakens and cold air descends to mid-latitudes, present a different challenge: they are initiated at stratospheric levels (10–50,hPa) that are only partially represented in surface-focused MLWP architectures. Aurora's vertical extent to 0.1,hPa gives it an advantage over models truncated at 50,hPa. On the February 2021 Texas freeze (an SSW-driven event), Aurora (2026) hindcasts predicted the broad temperature anomaly pattern at 7-day lead, with peak cold underestimation of 4–8C, again a systematic warm bias in the extreme tail.

Insight.

The pattern emerging from Aurora's evaluation is consistent and theoretically predicted: MLWP models excel at predicting where and when extreme events occur (spatial footprint, timing) while systematically underestimating how extreme they are (magnitude). This asymmetry is precisely what the spectral inheritance theorem predicts: large-scale position information is well-represented in ERA5 and well-learned by neural networks, but extreme magnitudes require fine-scale dynamics that are smoothed away.

Open Problems in Machine Learning Weather Prediction

We now state eight open problems that define the research frontier. These are not merely engineering challenges; they represent deep scientific questions about the limits of data-driven atmospheric modeling.

Problem 1 (Calibrated Extreme Event Prediction Beyond 10 Days).

Problem 1. Develop a probabilistic weather forecast system that achieves statistically calibrated predictions of extreme events (defined at the 99th percentile of the climatological distribution) at lead times of 10–21 days with non-trivial skill relative to the sub-seasonal-to-seasonal (S2S) climatological baseline.

Why it is hard. Beyond 10 days, the atmosphere enters the predictability desert: the Lorenz (1969) error growth cascade has propagated through all resolved scales, and skill must come from slowly varying boundary conditions (SST, soil moisture, sea ice), teleconnection patterns (MJO, ENSO), and ensemble climate signals rather than initial condition information. Current MLWP models are architecturally designed around initial-value dynamics; they lack explicit representation of boundary forcing and teleconnection physics. Furthermore, calibration at the 99th percentile requires training data with thousands of extreme events, which is statistically impossible with the 40-year ERA5 record at any given location.

Research directions. (a) Hybrid initial-value plus boundary-forced models with explicit SST and sea ice boundary conditions updated weekly. (b) Climate-analog retrieval systems that augment the training distribution with synthetic analogs from climate model large ensembles. (c) Conformal prediction methods for achieving distribution-free calibration guarantees on rare events given imperfect models.

Problem 2 (Hard Physical Conservation Laws in Learned Models).

Problem 2. Design and train neural weather models that provably conserve mass, energy, and potential vorticity (PV) at every inference step, not merely approximately or in aggregate.

Why it is hard. The primitive equations of motion conserve mass (continuity equation), total energy (kinetic + potential + latent), and potential vorticity for adiabatic, frictionless flow. Neural networks trained on ERA5 produce atmospheric states that violate these conservation laws at every step. A single-step violation of 𝒪(ε) amplifies to 𝒪(εn) after n autoregressive steps (for mass) or worse for energy (quadratic growth under certain instability conditions). The cumulative energy drift of 10-day MLWP forecasts has been measured at 5–15,W,m2 globally, comparable to the anthropogenic forcing signal.

The mathematical challenge is to encode conservation laws as hard architectural constraints rather than soft regularization terms. For mass conservation, one requires a discretely divergence-free velocity field at every grid point and level, which is non-trivially compatible with the spectral and graph-based architectures used in current MLWP.

Research directions. (a) Symplectic integrators and Hamiltonian neural networks for the energy-conserving component. (b) Discrete exterior calculus (DEC) on the sphere for mass-conserving dynamics. (c) Neural ODE formulations with Casimir invariants for PV conservation.

Problem 3 (Ultra-High-Resolution Ensemble Generation at Kilometer Scale).

Problem 3. Generate physically consistent, calibrated ensemble forecasts at 1–3,km horizontal resolution globally (or over continental domains) for lead times of 6–72 hours with computational cost feasible for operational deployment.

Why it is hard. Current operational km-scale NWP (the NOAA HRRR at 3,km, the Met Office UKV at 1.5,km) covers only national domains, runs at enormous computational cost, and produces deterministic or small-ensemble forecasts. At km scale, convective initiation is explicitly simulated rather than parameterized, qualitatively changing both the model physics and the predictability structure. The number of grid points in a global 1,km model is 4πR⊕︎2/(1km)25×108, compared to 106 for current 25,km MLWP models. Training data at this resolution does not exist as a global reanalysis; only regional analyses and short-range NWP outputs are available.

The probabilistic (ensemble) version of the problem requires generating 𝒪(50) ensemble members, multiplying the computational burden by a further factor of 50. Diffusion-based generative models offer a path, but their sampling cost has so far prevented km-scale global ensemble generation within the few-minute operational window.

Research directions. (a) Consistency distillation applied to diffusion weather models to reduce sampling to 1–4 neural function evaluations. (b) Hierarchical super-resolution: global 25,km coarse model drives regional 3,km generative downscaler, driven by 1,km urban-scale model. (c) Training on heterogeneous resolution data (global 25,km ERA5 plus regional 3,km operational archives) using resolution-conditioned architectures.

Problem 4 (Online Learning and Continual Improvement with Observations).

Problem 4. Develop MLWP systems that continuously improve their forecast skill by assimilating real-time observations (radiosondes, satellites, aircraft, surface stations) without catastrophic forgetting of previously learned atmospheric dynamics.

Why it is hard. Operational NWP systems are updated continuously through data assimilation, absorbing the most recent observations to correct the forecast state. Current MLWP models are entirely static after training: they do not update in response to incoming observations beyond what is already encoded in the initial state. This means they cannot correct systematic biases that emerge during the forecast (trajectory drift) or adapt to non-stationary atmospheric conditions (climate change trends, novel ENSO states).

The continual learning problem is compounded by the heterogeneous observation network: instruments have different spatial and temporal resolutions, different error characteristics, and different coverage (dense over land, sparse over oceans, dense in the upper troposphere from commercial aircraft, sparse in the stratosphere). A neural network that overfits to the current observation network will perform poorly when that network changes (instrument failures, new satellite launches).

Research directions. (a) Neural data assimilation: end-to-end differentiable 4D-Var with a neural background error covariance model. (b) Continual fine-tuning with elastic weight consolidation (EWC) on recent observation-constrained analyses. (c) Online Bayesian updating of ensemble weights using particle filters adapted to high-dimensional atmospheric state spaces.

Problem 5 (Seamless Unification of Weather and Climate Scales).

Problem 5. Build a single neural model family that seamlessly spans forecast horizons from 6 hours (convective) to 100 years (climate change projection), trained on a unified loss function without artificial boundary conditions between weather and climate modes.

Why it is hard. Weather and climate modeling have historically been separate scientific communities with separate physical assumptions, separate model architectures, and separate verification standards. Weather models are initial-value problems with accurate initial conditions but drift beyond their skill horizon; climate models are boundary-value problems (forced by greenhouse gas concentrations) with no requirement for day-to-day accuracy but strong constraints on long-term statistics. The intermediate sub-seasonal to seasonal (S2S) regime is served by neither, requiring both accurate initial conditions and accurate boundary forcing.

A unified neural model must simultaneously achieve: (i) less than 2-day timing error on synoptic storms at 5-day lead, (ii) correct MJO phase propagation at 20-day lead, (iii) ENSO phase prediction at 6-month lead, and (iv) equilibrium climate sensitivity within the IPCC range under CO2 doubling scenarios. These constraints impose qualitatively different requirements on the model's learned dynamics.

Research directions. (a) Forcing-conditioned foundation models that accept greenhouse gas concentrations and SST as boundary conditions alongside the atmospheric initial state. (b) Multi-timescale training curricula that mix synoptic, seasonal, and climatic rollouts within the same optimization loop. (c) Reservoir computing or state-space models with explicit slow-manifold representations.

Problem 6 (Uncertainty Quantification for Rare, Low-Probability Events).

Problem 6. Produce reliable probability estimates for rare weather events with return periods of years to centuries, using training data that contains at most one or a few examples of each such event.

Why it is hard. The ERA5 record (1940–present, 85 years as of 2025) contains a finite sample from the distribution of atmospheric states. For events with return periods of 100 years, the expected number of training examples is <1. Standard deep learning cannot extrapolate reliably into tail regimes with no training coverage; it inherits the support of its training distribution.

This is not merely a data quantity problem: it is a distribution extrapolation problem. The tails of atmospheric distributions are shaped by physical mechanisms (thermodynamic limits, dynamical barriers) that a neural network might learn implicitly from near-extreme events, but cannot be guaranteed to extrapolate correctly. Conformal prediction provides distribution-free coverage guarantees but only within the range of the calibration distribution, not outside it.

Research directions. (a) Extreme value theory (GEV, GPD) integrated with neural network feature representations as conditional tail models. (b) Physics-informed synthetic data generation: large climate model ensembles (each providing thousands of model years) used to augment the ERA5 training distribution in the tails. (c) Importance sampling for tail event generation using score-based models conditioned on rare event constraints.

Problem 7 (Differentiable Operational Systems with End-to-End Gradient Flow).

Problem 7. Build a fully differentiable operational weather prediction system in which gradients flow end-to-end from forecast verification metrics through the model, observation operators, and data assimilation components, enabling joint optimization of all system components on operational skill.

Why it is hard. Current operational NWP consists of modular components: observation preprocessing, quality control, variational data assimilation (3D-Var or 4D-Var), model integration, post-processing (MOS), and verification. Each module is developed and optimized separately. The absence of end-to-end gradient flow means that the joint system is not optimized holistically: improvements in one module may be offset by pathologies introduced or uncorrected elsewhere.

Making the system differentiable requires: (i) differentiable observation operators (radiative transfer codes, microwave brightness temperature simulators) for satellite radiance assimilation; (ii) differentiable QC that does not use hard thresholds; (iii) a neural dynamics model with explicit Jacobians accessible to gradient computation; (iv) differentiable verification metrics (CRPS and RMSE are already differentiable, but skill score decompositions with climatological normalization involve non-differentiable sorting operations).

Research directions. (a) Neural radiative transfer emulators with automatic differentiation for satellite channel simulation. (b) Soft quality control using learned anomaly scores with continuous relaxations of outlier rejection. (c) Implicit differentiation through the 4D-Var optimization step using the adjoint method.

Problem 8 (Multi-Scale Causal Modeling of Convection, Microphysics, and Boundary Layer).

Problem 8. Develop neural parameterizations of sub-grid processes (convective mass flux, cloud microphysics, boundary layer turbulence) that are causally consistent with resolved dynamics, physically interpretable, and stable under long-range autoregressive integration.

Why it is hard. In NWP models with grid spacings Δx>5km, convective cells, cloud microphysical processes, and boundary layer turbulent fluxes occur at scales below the grid and must be parameterized as functions of the resolved grid-scale state. These parameterizations introduce the largest source of uncertainty in weather and climate models. Machine learning parameterizations trained on cloud-resolving model (CRM) output have shown promising within-distribution skill but suffer from two pathologies under autoregressive integration: (a) physical instability, in which erroneous tendencies accumulate and produce runaway heating or cooling; (b) distributional shift, in which the resolved state drifts outside the CRM training distribution.

The causal modeling aspect adds a further difficulty: the relationship between sub-grid processes and resolved dynamics is not merely statistical but causal, involving counterfactual interventions (what would the convective mass flux be if the resolved temperature profile were modified?). Standard regression learns correlation, not causality.

Research directions. (a) Structural causal models (SCMs) for parameterization, with interventional training using do-calculus loss functions. (b) Moist static energy conservation as a hard architectural constraint on convective parameterization outputs. (c) Equivariant networks that respect the rotational symmetry of boundary layer turbulence under coordinate rotation.

The Dominance Conjecture

Conjecture 1 (No Single Model Dominates All Scales).

No single machine learning model architecture, trained on a fixed dataset and deployed without online adaptation, will simultaneously achieve state-of-the-art skill across all of the following regimes:

  1. 0–6 hour mesoscale convective nowcasting;

  2. 1–10 day synoptic medium-range forecasting;

  3. 10–30 day sub-seasonal to seasonal prediction;

  4. Century-scale equilibrium climate projection.

Each regime is dominated by qualitatively different physical mechanisms, requires qualitatively different training objectives, and imposes qualitatively different data requirements. Specialization will outperform generalization for each individual regime; the research challenge is to design model families that can be efficiently specialized at low marginal cost from a shared foundation.

This conjecture is consistent with the empirical record: NowcastNet specializes on radar nowcasting and underperforms on synoptic forecasting; GraphCast excels at 1–10 day prediction but has no sub-seasonal capability; no MLWP model has been demonstrated to produce physically meaningful climate projections. The conjecture predicts that future MLWP development will organize around model families or foundation models with regime-specific fine-tuning, rather than a single universal weather model.

The Open Problem Frontier Map

The open problem frontier map, organizing the eight open problems by spatial scale (vertical axis, logarithmic) and forecast horizon (horizontal axis). The green shaded region indicates the regime where current MLWP achieves substantial skill. The dashed vertical line marks the approximate predictability limit (7–10 days for synoptic-scale dynamics). Open problems cluster in four regions: fine-scale short-range (P3, P8), medium-range extreme characterization (P1, P2, P7), extended-range and climate (P5, P6), and cross-cutting online learning (P4). All eight problems P1–P8 are plotted.

Research Challenges

[ enhanced, breakable, colback=exrcoralbg!40, colframe=exrcoral!70, boxrule=0.6pt, arc=3pt, title= Research Challenge A: The Extreme Event Benchmark, coltitle=exrcoral!20!black, fonttitle=, top=10pt, bottom=8pt, left=10pt, right=10pt, before skip=12pt, after skip=12pt ] Specification. Construct a community benchmark for MLWP extreme event skill, addressing the following requirements:

  1. Coverage: 10+ extreme event types (TC, AR, heatwave, deep freeze, flash flood, blizzard, derecho, tornado outbreak, extratropical cyclone bomb, dust storm) across all climate zones and seasons.

  2. Evaluation: For each event type, define threshold-weighted CRPS at the 90th, 95th, and 99th climatological percentiles, separately for location, timing, and intensity.

  3. Baseline: Compare against (a) ERA5 climatology, (b) operational ECMWF ENS, (c) NOAA GEFS, and (d) the best published MLWP model at each horizon.

  4. Reproducibility: All events, climatologies, and verification code publicly released with DOI; all submitted systems evaluated on a held-out test set never released publicly.

Expected impact. A standardized extreme event benchmark would redirect research investment toward the highest-impact prediction problems and enable meaningful comparison across model families.

[ enhanced, breakable, colback=defbluebg, colframe=defblue!70, boxrule=0.6pt, arc=3pt, title= Research Challenge B: Enforcing Physical Invariants, coltitle=defblue!20!black, fonttitle=, top=10pt, bottom=8pt, left=10pt, right=10pt, before skip=12pt, after skip=12pt ] Specification. Develop an architectural framework that enforces the following physical invariants in any learned weather model:

  1. Mass conservation: tρ+(ρ𝐮)=0 at every grid point and time step.

  2. Energy conservation (for adiabatic flow): ddt(KE+PE+IE)=0 where KE=12|𝐮|2, PE=gz, IE=cvT.

  3. Potential vorticity conservation (Ertel's PV): DqDt=0 for q=1ρ(ω+2Ω)θ.

Benchmark the architecture on: (a) 10-day global drift in total energy, (b) 30-day total water vapor budget closure, (c) zonal-mean PV redistribution over a 100-day simulation. Expected impact. Conservation-enforcing architectures will extend the range of stable autoregressive integration and reduce the systematic climate drift that currently limits MLWP to operational weather timescales.

[ enhanced, breakable, colback=thmgreenbg, colframe=thmgreen!70, boxrule=0.6pt, arc=3pt, title= Research Challenge C: The Hybrid Operational System, coltitle=thmgreen!20!black, fonttitle=, top=10pt, bottom=8pt, left=10pt, right=10pt, before skip=12pt, after skip=12pt ] Specification. Design and prototype a hybrid MLWP plus physics-constrained NWP system with the following architecture:

  1. Initialization: Neural data assimilation system producing initial state 𝐱0 with observation-constrained uncertainty.

  2. Short range (0–3 days): High-resolution neural model (25,km) generating Ns=100 ensemble members at 6-hourly intervals.

  3. Medium range (3–10 days): Reduced-resolution neural model (50,km) with physics-based correction at each 24-hour step to enforce mass and energy closure.

  4. Extended range (10–30 days): Statistical post-processing model that blends neural ensemble climatological anomalies with boundary-forced S2S signals.

The system should be evaluated on one full year of quasi-operational retrospective forecasts with full verification suite. Expected impact. The hybrid architecture directly addresses the scale-dependent failure modes identified in the conjecture (Conjecture 1), leveraging neural speed for short range and physics for stability at extended range.

The Hybrid Future: Generative AI and Physics-Constrained NWP

The operational weather prediction systems of 2030 will almost certainly be neither pure NWP nor pure MLWP. The evidence from every operational evaluation conducted between 2022 and 2025 points toward a hybrid architecture that exploits the complementary strengths of the two paradigms.

Key Idea.

Complementarity Principle. Physics-based NWP and machine learning weather prediction are complementary, not competing, approaches to atmospheric prediction. NWP provides hard physical constraints, observation operator fidelity, and stability at extended range. MLWP provides speed, probabilistic richness, and pattern recognition capability trained on the full joint distribution of atmospheric states. The optimal operational system combines both.

The hybrid architecture operates as follows. The data assimilation cycle (currently 3D-Var or 4D-Var) is augmented with a neural background error covariance model, replacing the static 𝐁 matrix with a flow-dependent neural estimate 𝐁^(𝐱b) that adapts to the current synoptic pattern. The resulting analysis 𝐱0 is passed to both a conventional high-resolution NWP deterministic run and a neural ensemble generator. The neural ensemble provides rapid probabilistic characterization at lower cost than running 50 NWP members, while the deterministic NWP run provides physically consistent verification for ensemble quality control. At medium range, a generative downscaler (CorrDiff or similar) applies to the NWP output, producing high-resolution probabilistic fields without the computational cost of running the full NWP model at fine resolution. Throughout, post-processing neural networks (MOS successors) apply systematic bias corrections learned from the full verification history.

WeatherNext 2 (Google DeepMind, 2025–2026) represents the most advanced publicly described system in this hybrid direction, combining GraphCast dynamics with a diffusion-based ensemble generator and a learned post-processing layer, achieving operational certification in multiple national meteorological services. The system is end-to-end differentiable from observation to verification metric, enabling joint optimization of all components on operational skill scores.

Comprehensive Exercises and Research Challenges

This section provides twelve exercises of varying depth and five research challenges spanning the full mathematical and computational scope of this chapter. The exercises range from fundamental derivations (primitive equations, cost functions) through algorithmic computation (ConvLSTM forward pass, GraphCast message passing) to system-level analysis (operational deployment cost-benefit). The research challenges are open-ended projects suitable for semester-long independent study or early-stage research.

Exercises

Exercise 61 (Primitive Equations on a Rotating Sphere).

The full equations of motion for a dry atmosphere on a rotating sphere, in the hydrostatic approximation, are (PRIM U)DuDt(f+utanϕa)v+1acosϕΦλ=Fλ,DvDt+(f+utanϕa)u+1aΦϕ=Fϕ,Φlnp=RdT,lnpst+1cosϕ[λ(psu)+ϕ(psvcosϕ)]=0,DTDtRdTωpcp=Qcp, where (λ,ϕ) are longitude and latitude, a is Earth's radius, f=2Ωsinϕ is the Coriolis parameter, Φ=gz is geopotential, ps is surface pressure, ω=Dp/Dt is the pressure velocity, Rd is the gas constant for dry air, cp is specific heat, and Q is diabatic heating rate.

  1. Derive the hydrostatic equation ((Hydrostatic)) from the vertical momentum equation under the hydrostatic approximation Dw/Dt0.

  2. Show that the continuity equation ((Continuity)) follows from the three-dimensional mass conservation tρ+(ρ𝐮)=0 by integrating vertically from the surface to the top of the atmosphere.

  3. Define the material derivative D/Dt in pressure coordinates. Write the advection operator in (λ,ϕ,p) coordinates.

  4. Show that the system conserves total energy E=atmρ(12|𝐮h|2+cpT+gz)dV in the absence of external forcing (Fλ=Fϕ=Q=0).

  5. Linearize the equations around a zonally symmetric basic state u(ϕ,p), T(ϕ,p), Φ(ϕ,p) and derive the dispersion relation for Rossby waves.

Exercise 62 (3D-Var Cost Function and Gradient).

The 3D-Var cost function is (3dvar EX)J(𝐱)=12(𝐱𝐱b)𝐁1(𝐱𝐱b)+12(𝐲H(𝐱))𝐑1(𝐲H(𝐱)), where 𝐱n is the state, 𝐱b the background, 𝐲p the observations, H:np the observation operator, 𝐁n×n the background error covariance, and 𝐑p×p the observation error covariance.

  1. Compute the gradient 𝐱J(𝐱) assuming H is linear with matrix 𝐇.

  2. Show that at the analysis 𝐱=arg minJ, the solution satisfies the Best Linear Unbiased Estimator (BLUE) 𝐱=𝐱b+𝐊(𝐲𝐇𝐱b) where 𝐊=𝐁𝐇(𝐇𝐁𝐇+𝐑)1 is the Kalman gain.

  3. For n=106 (global NWP state dimension) and p=104 (observation count), compute the computational complexity of forming 𝐊 directly and via the equivalent formulation 𝐊=(𝐁1+𝐇𝐑1𝐇)1𝐇𝐑1. Which is cheaper, and by what factor?

  4. In the incremental 4D-Var formulation, the cost function is minimized in a control space 𝐯 via the change of variables 𝐱=𝐱b+𝐁1/2𝐯. Show that the resulting problem is better conditioned than the original, and compute the condition number ratio in terms of the eigenvalues of 𝐁1 and 𝐇𝐑1𝐇.

  5. Suppose H is a neural network. Derive the gradient 𝐱J in terms of the Jacobian 𝐉H=H/𝐱, and describe how automatic differentiation would compute this efficiently.

Exercise 63 (MOS Regression with Specific Predictors).

Model Output Statistics (MOS) fits a regression model y^=𝐰𝝓(𝐱) where 𝐱 is the NWP forecast vector, 𝝓 is a feature map, and y^ is a surface weather element.

  1. Let 𝐱=(T850,T500,Z500,U10,V10,RH700) (6 predictors). Design a feature map 𝝓(𝐱)15 that includes all first-order terms, selected quadratic terms (T8502, T850T500, Z5002), and a wind speed term U102+V102.

  2. Write the closed-form ordinary least squares (OLS) solution for 𝐰 given a training set of N NWP–observation pairs {(𝐱i,yi)}i=1N.

  3. The ECMWF MOS system uses ridge regression with penalty λ. Derive the ridge estimator and show that it reduces the effective degrees of freedom from p (OLS) to j=1pσj2/(σj2+λ) where σj are the singular values of the design matrix.

  4. For maximum wind speed forecasting, the Gaussian MOS model is inadequate because observed maximum winds have a heavy-tailed distribution. Propose an alternative distributional regression model using the GEV distribution, and write the maximum likelihood estimating equations for the location, scale, and shape parameters as functions of 𝐱.

  5. Describe how the MOS regression can be interpreted as a special case of post-processing in a probabilistic forecast framework, and what additional outputs would be needed to produce a complete probabilistic forecast.

Exercise 64 (ConvLSTM Forward Pass Computation).

The ConvLSTM cell equations are it=σ(𝐖xi𝐗t+𝐖hi𝐇t1+𝐛i),ft=σ(𝐖xf𝐗t+𝐖hf𝐇t1+𝐛f),𝐂t=ft𝐂t1+ittanh(𝐖xc𝐗t+𝐖hc𝐇t1+𝐛c),ot=σ(𝐖xo𝐗t+𝐖ho𝐇t1+𝐛o),𝐇t=ottanh(𝐂t), where denotes spatial convolution, denotes elementwise product, and all gates have the same spatial dimensions as the hidden state.

  1. For input 𝐗tCin×H×W, hidden state 𝐇t1Ch×H×W, and kernel size k×k, count the total number of learnable parameters (weights and biases) in one ConvLSTM cell.

  2. For Cin=70 (ERA5 channels), Ch=128, H=W=181 (1-degree global grid), and k=3, compute: (i) the number of parameters, (ii) the floating-point operations per forward pass, (iii) the memory footprint of one hidden state in single precision.

  3. Derive the backpropagation-through-time (BPTT) gradient /𝐇t1 in terms of /𝐇t and the gate values.

  4. The vanishing gradient problem in ConvLSTM is mitigated by the cell state highway ft𝐂t1. Show that if ft=𝟏 and it=𝟎, the gradient 𝐂t/𝐂0=𝟏 for any sequence length, providing unimpeded gradient flow.

  5. Compare the receptive field growth rate (in grid points per layer) for a stack of L ConvLSTM layers with kernel size k versus L standard convolutional layers.

Exercise 65 (FourCastNet Fourier Layer Complexity).

FourCastNet applies a Fourier Neural Operator (FNO) layer: (FNO Layer)vt(𝐱)=σ(Wut(𝐱)+1[Rϕ(𝐤)[ut](𝐤)](𝐱)), where denotes the (discrete) Fourier transform, Rϕ(𝐤) is a learned complex-valued weight tensor, and only modes with |𝐤|kmax are retained.

  1. For a H×W spatial grid, derive the computational complexity (in floating-point operations) of: (i) the 2D FFT, (ii) the mode multiplication Rϕu^, (iii) the inverse 2D FFT. Express in terms of H, W, kmax, and the channel dimension C.

  2. Compare the FNO complexity with a standard convolutional layer of receptive field equivalent to kmax1 in frequency. For which regime is the FNO more efficient?

  3. FourCastNet uses kmax=20 for a 720×1440 global grid (quarter-degree resolution) with C=73 channels. Compute the total parameter count for one Fourier layer (weights and biases).

  4. The Fourier transform on a spherical domain 𝕊2 uses spherical harmonics rather than Fourier modes. Explain why this is physically preferable for global weather modeling, and describe the computational trade-off.

  5. Show that the FNO layer is equivariant to translations on a flat domain 2 but not to rotations of the sphere 𝕊2. What architectural modification would be required to achieve spherical equivariance?

Exercise 66 (GraphCast Mesh Message Passing).

GraphCast uses a multi-mesh graph 𝒢=(𝒱,) where mesh nodes 𝒱m are arranged on a hierarchy of icosahedral refinements and grid nodes 𝒱g correspond to ERA5 grid points. The encoder maps grid features to mesh features, the processor applies K rounds of message passing on the mesh, and the decoder maps mesh features back to grid features.

The message passing update at mesh node v in round k is 𝐦v(k)=u𝒩(v)ϕe(k)(𝐡v(k1),𝐡u(k1),𝐞uv),𝐡v(k)=ϕv(k)(𝐡v(k1),𝐦v(k)), where ϕe(k) and ϕv(k) are MLPs.

  1. For a level-5 icosahedral mesh (2562 nodes) with each node connected to its 6 nearest neighbors and K=16 message-passing rounds, compute the total number of edge feature evaluations.

  2. Show that after K rounds of message passing on a mesh with diameter D (maximum shortest path length), information from any node can influence any other node if and only if KD. For the level-6 icosahedral mesh, estimate D and determine the minimum K required for global information flow.

  3. The encoder maps each grid point to its 4 nearest mesh nodes using a learned MLP. Write the mathematical expression for the encoder operation and its inverse (decoder). For a 0.25 global grid (1,038,240 grid points) and a level-6 mesh (10,242 nodes), compute the compression ratio.

  4. GraphCast uses separate edge features for different edge types (grid-to-mesh, mesh-to-mesh, mesh-to-grid). Explain why this is necessary from an information-theoretic perspective.

  5. Derive the computational complexity of one GraphCast forward pass (encoder + processor + decoder) in terms of the number of grid points Ng, mesh nodes Nm, message passing rounds K, edge count ||, and MLP hidden dimension d.

Exercise 67 (CRPS Calculation for a Gaussian Forecast).

For a forecast distribution F=𝒩(μ,σ2) and verifying observation x, the CRPS has the closed-form expression (CRPS Gaussian)CRPS(𝒩(μ,σ2),x)=σ[xμσ(2Φ(xμσ)1)+2ϕ(xμσ)1π], where Φ and ϕ are the standard normal CDF and PDF.

  1. Verify Equation ((CRPS Gaussian)) by evaluating CRPS(F,x)=(F(y)𝟏[xy])2dy and completing the square.

  2. For μ=0 and σ=1, evaluate the CRPS at x{3,2,1,0,1,2,3}. What is the minimum CRPS, and at what x does it occur?

  3. Show that the CRPS decomposes as CRPS(F,x)=Reliability(F)+Resolution(F)Uncertainty and identify each term for the Gaussian case.

  4. For an ensemble with M members {x1,,xM} sampled from 𝒩(μ,σ2), the empirical CRPS CRPS^M=1Mi|xix|12M2i,j|xixj| is a consistent estimator. Show that 𝔼[CRPS^M]=CRPS(F,x)σMπ, and interpret the 1/M correction.

  5. For GenCast generating M=50 ensemble members, compute the magnitude of the ensemble size correction for σ=5ms1 (typical 10,m wind spread at 5-day lead), and assess whether this correction is operationally significant.

Exercise 68 (GenCast Forward Diffusion and Noise Schedule).

GenCast uses a variance-exploding (VE) diffusion process (VE Diffusion)𝐱(τ)=𝐱0+σ(τ)𝜺,𝜺𝒩(𝟎,𝐈), with noise schedule σ(τ)=σmin(σmax/σmin)τ/T for τ[0,T], σmin=0.002, σmax=80.

  1. Compute σ(τ) at τ{0,T/4,T/2,3T/4,T} and verify that the schedule covers the required range from negligible noise (σ0) to Gaussian noise (σ=80, which dominates a typical weather state with unit-variance normalization).

  2. The score function 𝐬θ(𝐱,σ)𝐱logpσ(𝐱) is related to the denoiser Dθ by 𝐬θ=(Dθ(𝐱,σ)𝐱)/σ2. Derive this relationship from the definition of the score function and the perturbation kernel.

  3. The Euler–Maruyama reverse SDE for VE diffusion is d𝐱=σ˙(τ)σ(τ)𝐬θ(𝐱,σ(τ))dτ+2σ˙(τ)σ(τ)d𝐖. Derive the stochastic Euler step (first-order discretization) and compute the number of NFEs required for N=100 denoising steps.

  4. GenCast conditions on a previous 12-hour state 𝐱t1 to generate 𝐱t. Explain how the conditioning is incorporated into the score function, and how the conditioning changes the effective noise schedule.

  5. Compute the ensemble spread of a 50-member GenCast ensemble at lead time h=5 days, given that the empirical standard deviation of the final denoised states is 3% higher than the ERA5 climatological standard deviation for 500,hPa geopotential. Is this evidence of over- or under-dispersion?

Exercise 69 (Flow Matching Vector Field Training).

Conditional flow matching (CFM) trains a vector field vθ(𝐱,t) to satisfy the continuity equation tpt+(vθpt)=0, where p0=𝒩(𝟎,𝐈) and p1=pdata.

The CFM training loss is (CFM LOSS)CFM(θ)=𝔼tU[0,1],𝐱1pdata,𝐱0𝒩(𝟎,𝐈)[vθ(𝐱t,t)(𝐱1𝐱0)2], where 𝐱t=(1t)𝐱0+t𝐱1 is the optimal transport interpolant.

  1. Show that the optimal vector field under loss ((CFM LOSS)) is the conditional expectation v(𝐱t,t)=𝔼[𝐱1𝐱0|𝐱t], and interpret this geometrically.

  2. Derive the ODE that generates samples from p1 given the learned vector field vθ. How does this compare to the reverse SDE in diffusion models?

  3. For a Gaussian target p1=𝒩(𝝁,𝚺), compute the optimal vector field v(𝐱,t) in closed form. Show that the ODE solution exactly maps 𝒩(𝟎,𝐈) to p1 in one step.

  4. In the weather context, p1 is the conditional distribution of the next atmospheric state 𝐱t+h given the current state 𝐱t. Explain how the CFM loss is modified to accommodate this conditioning, and what additional information vθ must receive as input.

  5. Compare the number of neural function evaluations (NFEs) required for flow matching (Euler method, 10 steps) versus GenCast-style diffusion (100 denoising steps) to generate a single ensemble member. By what factor is flow matching faster?

Exercise 70 (CorrDiff Two-Stage Inference).

CorrDiff operates in two stages. In Stage 1, a regression network rθ predicts the conditional mean: 𝐱^hr=rθ(𝐱lr). In Stage 2, a diffusion model ϵθ generates the residual δ=𝐱hr𝐱^hr: (Corrdiff)𝐱hr=rθ(𝐱lr)+δθ(𝐱lr), where δθ is sampled from the learned diffusion model conditioned on 𝐱lr.

  1. Interpret the two-stage decomposition statistically. What quantity does rθ estimate, and what distribution does the residual δ follow if the model is perfect?

  2. Show that if rθ is the optimal conditional mean and the diffusion model perfectly captures the residual distribution, then CorrDiff exactly samples from the conditional distribution p(𝐱hr|𝐱lr).

  3. For a downscaling ratio of 8× (25,km to 3,km) over a 1000×1000,km domain, compute the number of HR grid points. If the diffusion model generates the residual with 20 denoising steps and each step costs C FLOPs, express the total CorrDiff inference cost in terms of C and compare with the cost of a single deterministic downscaling pass.

  4. The CorrDiff residual diffusion model operates on the high-resolution grid, which is 64× larger than the low-resolution grid (82=64). Estimate the memory required to store the residual field and the UNet intermediate activations for a model with 5 resolution levels and 128 channels.

  5. Describe how to construct a probabilistic ensemble of high-resolution fields using CorrDiff, and propose a metric to evaluate whether the ensemble is reliable at the 95th percentile of the HR distribution.

Exercise 71 (NowcastNet Advection Embedding).

NowcastNet uses an explicit advection step to evolve the radar reflectivity field Z(𝐱,t) according to an estimated motion field 𝐮(𝐱,t): (Advection)Z~(𝐱,t+δt)=Z(𝐱𝐮(𝐱,t)δt,t), followed by a neural correction network that models growth, decay, and initiation of precipitation.

  1. Show that the advection step ((Advection)) is equivalent to solving the advection equation tZ+𝐮Z=0 with a first-order Euler scheme, and identify the truncation error.

  2. For a radar grid of 512×512 pixels at 1,km resolution and δt=5,min, with maximum wind speed 30,m,s1, compute the Courant number CFL=uδt/Δx and determine whether the explicit advection scheme is stable.

  3. The bilinear interpolation in Equation ((Advection)) introduces artificial diffusion. Describe a higher-order alternative (e.g., cubic spline or WENO scheme) and estimate the improvement in spatial accuracy.

  4. NowcastNet estimates 𝐮(𝐱,t) using an optical flow network applied to consecutive radar frames Z(𝐱,t) and Z(𝐱,t10min). Formulate the optical flow estimation as a neural architecture choice, citing the Horn–Schunck energy functional as the classical analogue.

  5. For a 1-hour nowcast with δt=5,min (12 advection steps), estimate the cumulative advection error due to CFL truncation, assuming truncation error per step of 𝒪((CFL)2Δx).

Exercise 72 (Operational Deployment Cost-Benefit Analysis).

Consider an operational meteorological service deciding whether to replace its ECMWF-output-based deterministic forecast system with a GenCast-based ensemble system. The parameters are:

  • Current NWP forecast cost: $2M per year (computation + licenses)

  • GenCast inference cost: $0.5M per year (GPU cluster)

  • Current deterministic mean absolute error at 5 days: eNWP=4.2ms1 (10m wind)

  • GenCast ensemble mean MAE at 5 days: eGC=3.8ms1

  • False alarm rate (current): pFA=0.15 for gale warnings

  • Miss rate (current): pmiss=0.08 for gale warnings

  • Social cost per missed gale warning: $500K (average)

  • Social cost per false alarm: $50K (average)

  • Annual gale warning decisions: 200

  1. Compute the expected annual social cost of the current deterministic system. Assume that GenCast reduces the false alarm rate to pFA=0.08 and the miss rate to pmiss=0.05. Compute the expected annual social cost of the GenCast system.

  2. Compute the total cost of each system (computation + social cost), and determine whether the switch to GenCast is economically justified on a 5-year horizon.

  3. The benefit of a probabilistic ensemble over a deterministic forecast can be quantified by the economic value of probabilistic forecasts (Richardson, 2000): V(F)=PCmiss+(1P)CFAexpected cost with forecastPCmiss+(1P)CFAmin(PCmiss,(1P)CFA), where P is the base rate of the event. For gale warnings with P=0.1 (10% of days have gale conditions) and the cost parameters above, compute V(F) for both systems.

  4. Identify three non-quantifiable factors that should influence the deployment decision beyond the economic analysis above.

  5. Propose a pilot study design to evaluate GenCast operationally before full deployment, specifying the evaluation period, geographical domain, performance thresholds for go/no-go, and fallback procedure.

Research Challenges

Challenge 1 (Minimal MLWP Model for a Toy Dynamical System).

Objective. Implement a complete miniature MLWP pipeline for the Lorenz-96 system, demonstrating all key concepts of modern data-driven weather prediction in a computationally tractable setting.

Background. The Lorenz-96 model describes N scalar variables {Xk}k=1N on a periodic one-dimensional domain (representing a latitude circle): (Lorenz96)dXkdt=(Xk+1Xk2)Xk1Xk+F,k=1,,N, with periodic boundary Xk+N=Xk and forcing F=8. For N=40, the system exhibits Lorenz-like chaos with a positive Lyapunov exponent λ1.68time1.

Tasks.

  1. Data generation: Integrate ((Lorenz96)) with RK4, Δt=0.05, for 105 time steps after a spinup of 103 steps. Save trajectories as training data.

  2. Deterministic model: Train an FNO or GraphCast-style model to predict 𝐗t+1 from 𝐗t. Evaluate forecast skill as a function of lead time and compare with the persistence baseline.

  3. Ensemble model: Train a GenCast-style diffusion model or a flow matching model to generate ensemble members. Evaluate CRPS and rank histogram as a function of lead time.

  4. Data assimilation: Implement a 3D-Var assimilation cycle in which only N/2 variables are observed with Gaussian noise σo=0.5. Evaluate analysis RMSE as a function of the background error covariance structure.

  5. Spectral analysis: Compute the power spectrum of model forecasts versus the true Lorenz-96 trajectory at 1, 5, and 10 “days” (multiples of 0.2 time units). Characterize the spectral bias.

Deliverables. Code (Python, PyTorch), trained model checkpoints, a 5-page report comparing model skill, ensemble reliability, and spectral fidelity.

Connection to main chapter. This challenge concretizes Sections 11–18 in a setting where ground truth is exactly known, enabling rigorous evaluation of the spectral inheritance and ERA5 smoothing hypotheses in a controlled environment.

Challenge 2 (Design a CRPS-Based Evaluation Suite).

Objective. Implement the Brenowitz et al. (2025) probabilistic evaluation framework for MLWP, extending it with threshold-weighted and spatially stratified variants.

Tasks.

  1. Core metrics: Implement CRPS, Brier score, reliability diagram, AUROC, and rank histogram for ensemble forecasts of gridded atmospheric fields.

  2. Threshold-weighted CRPS: Implement twCRPS (Equation (Twcrps)) for thresholds at the 90th, 95th, 99th, and 99.9th climatological quantiles for wind speed, precipitation, and temperature anomaly.

  3. Spatial stratification: Compute separate skill scores for tropical (|ϕ|<23.5), mid-latitude (23.5<|ϕ|<60), and polar (|ϕ|>60) regions, and for land versus ocean.

  4. Event-based evaluation: For a database of 50 historical extreme events (ARs, heatwaves, TC tracks), compute event-conditional CRPS for 3–7 day lead time hindcasts.

  5. Comparison: Apply the suite to ERA5 climatology (baseline), a persistence forecast, and two publicly available MLWP models (e.g., Pangu-Weather and GraphCast).

Deliverables. Open-source evaluation library (Python), documentation, and an evaluation report comparing the three systems on all metrics.

Challenge 3 (Generative Downscaler for a Specific Region).

Objective. Train a CorrDiff-style generative downscaling model for one of the following regions: (a) the US West Coast (California, Oregon, Washington), focusing on atmospheric river precipitation; (b) the Bay of Bengal, focusing on tropical cyclone intensity; or (c) the European Alps, focusing on orographic precipitation.

Tasks.

  1. Dataset: Pair ERA5 0.25 reanalysis fields with a regional high-resolution dataset (3,km): PRISM for the US West Coast, IMD radar analyses for the Bay of Bengal, or Alpine Precipitation Analyses for Europe.

  2. Stage 1: Train a deterministic regression downscaler using a U-Net and evaluate RMSE, bias, and spatial correlation.

  3. Stage 2: Train a diffusion model on the Stage 1 residuals, conditioned on the coarse ERA5 fields.

  4. Evaluation: For 20 extreme events in the region, evaluate the ensemble generated by the full two-stage CorrDiff model using twCRPS at the 95th percentile.

  5. Ablation: Compare (a) full CorrDiff, (b) Stage 1 only, (c) raw ERA5 bilinear interpolation, and (d) a simple analog ensemble method.

Deliverables. Trained model, evaluation dataset, and a 10-page paper-style report with maps of skill scores and extreme event case studies.

Challenge 4 (End-to-End Differentiable Data Assimilation).

Objective. Implement a differentiable data assimilation system for the Lorenz-96 model in which the background error covariance 𝐁 is parameterized by a neural network and jointly trained with the forecast model.

Tasks.

  1. Classical baseline: Implement cycling 3D-Var for Lorenz-96 with a static diagonal 𝐁=σb2𝐈 and calibrate σb by cross-validation.

  2. Neural 𝐁: Parameterize 𝐁(𝐱b)=NNϕ(𝐱b)NNϕ(𝐱b) using a small MLP. Train jointly with the forecast model on the cycle: observe analyze forecast observe.

  3. Gradient flow: Verify that gradients flow through the minimization of J(𝐱;𝐁) to update ϕ. Use implicit differentiation or unrolled optimization.

  4. Evaluation: Compare analysis RMSE over 1000 DA cycles for: (a) diagonal 𝐁, (b) localized 𝐁 (Gaspari–Cohn localization), (c) neural 𝐁.

  5. Generalization: Evaluate the neural 𝐁 model trained at F=8 when applied to F=6 and F=10 (different forcing regimes).

Deliverables. Code, ablation study, and analysis of how the neural 𝐁 captures flow-dependent error structures that the static model misses.

Challenge 5 (Unified Weather-Climate Foundation Model Proposal).

Objective. Write a detailed research proposal (15–20 pages) for a unified weather-climate foundation model that addresses Open Problem 5 (Problem 5).

Required sections.

  1. Scientific motivation: Why seamless prediction matters, with examples of S2S forecast failures and their societal cost.

  2. Architecture design: Propose a specific model architecture that can operate across all timescales, with explicit justification for each design choice (attention mechanism, positional encoding, temporal conditioning, boundary forcing interface).

  3. Training curriculum: Describe a multi-phase training strategy that begins with short-range prediction and progressively introduces longer-horizon objectives, addressing the catastrophic forgetting problem.

  4. Evaluation plan: Define evaluation metrics for each timescale regime, specify benchmark datasets, and propose a significance test for comparing against existing S2S and NWP systems.

  5. Computational requirements: Estimate training FLOPs, parameter count, dataset size, and GPU-years required, with comparison to GPT-4 and other large foundation models.

  6. Risk analysis: Identify the top three scientific risks (ways the proposal could fail) and propose mitigations.

Deliverables. A publication-quality research proposal, a 20-slide presentation, and a prototype experiment on Lorenz-96 demonstrating the multi-timescale training curriculum concept.

Chapter Summary

This chapter has traced the complete arc of machine learning for weather prediction, from the mathematical foundations of atmospheric dynamics through the current state of the art and to the open problems that define the next decade.

Key Idea.

The Seven Pillars of MLWP. The field of machine learning weather prediction rests on seven interlocking mathematical pillars:

  1. Physical foundation: The primitive equations on a rotating sphere, hydrostatic balance, and the Lorenz predictability theory set the physical constraints that any model must respect.

  2. Data assimilation: Variational and ensemble methods produce the analysis initial states that seed all forecasts.

  3. Statistical post-processing: MOS and its neural successors calibrate raw model output to produce reliable probabilistic forecasts at specific user-relevant quantities.

  4. Deep learning architectures: ConvLSTM, FNO/FourCastNet, GNN/GraphCast, and Transformer/Pangu-Weather each exploit different inductive biases suited to different aspects of atmospheric dynamics.

  5. Generative modeling: Ensemble diffusion (GenCast), flow matching, and generative downscaling (NowcastNet, CorrDiff) produce calibrated probabilistic forecasts capturing the full conditional distribution.

  6. Evaluation: Proper scoring rules (CRPS, Brier score), threshold-weighted variants, and extreme event benchmarks provide the rigorous statistical framework for comparing model skill.

  7. Operational integration: Data pipelines, latency constraints, ensemble interpretation, and verification cycles govern the transition from research prototype to operational product.

Insight.

The Central Tension. The central tension of contemporary MLWP is between the goal of learning the full joint distribution of atmospheric states (which requires generative models, probabilistic losses, and careful attention to spectral fidelity) and the engineering reality of computational constraints, training data limitations, and operational deployment requirements. The models that have achieved the greatest benchmark advances (GraphCast, GenCast, Aurora) have done so by navigating this tension more effectively than their predecessors, but none has resolved it. Resolving this tension is the core scientific challenge for the next generation.

Key Idea.

From Richardson to WeatherNext. Lewis Fry Richardson's 1922 hand-computed 6-hour forecast for Central Europe required 6×104 arithmetic operations performed by a team of human computers. The result was qualitatively wrong (a surface pressure tendency 146 times too large due to a poorly balanced initial state). Richardson's insight was the method, not the accuracy; he saw that atmospheric dynamics could be reduced to finite-difference equations solved sequentially.

The 2025 operational deployment of WeatherNext 2 (Google DeepMind) reduces Richardson's vision to a single neural function evaluation on a modern GPU cluster, producing a 50-member global ensemble in 90 seconds with skill exceeding the 2020 ECMWF deterministic forecast at every lead time from 1 to 14 days. The 100-year journey from Richardson's calculator to WeatherNext 2 encompasses the full history of scientific computing: ENIAC's first NWP run (1950), the establishment of ECMWF (1975), the satellite data revolution (1980s–2000s), the ensemble revolution (1990s), the deep learning explosion (2010s), and the machine learning weather prediction era (2022–present).

What Richardson could not have anticipated is that the limiting resource for weather prediction in 2025 is not arithmetic speed but data quality: the ERA5 spectral smoothing problem, the sparse ocean observation network, the underrepresentation of small-scale convection in global reanalyses. The next frontier is not faster models but better data: denser observations, higher-resolution reanalyses, and better physical understanding of the processes that current models cannot see.

Historical Note.

The Machine Learning Weather Prediction Timeline.

1922: Richardson hand-computes the first NWP forecast; the method is correct but the result is wrong due to initialization error.

1950: Charney, Fjørtoft, and von Neumann run the first operational NWP on ENIAC; 24-hour forecast in 24 hours of computation.

1963: Lorenz discovers the butterfly effect and the limits of atmospheric predictability.

1975: ECMWF established; begins operational global NWP.

1992: First operational ensemble forecast system (ECMWF EPS, 51 members at T63 resolution).

2017: Neural network model output statistics surpass classical MOS regression on point forecasts.

2020: NowcastNet-precursor systems demonstrate radar nowcasting competitive with optical flow methods.

2022: FourCastNet and Pangu-Weather demonstrate global MLWP skill competitive with IFS at 5–7 day lead times.

2023: GraphCast achieves state-of-the-art on 90% of WeatherBench metrics; ECMWF acknowledges MLWP as operationally viable.

2024: GenCast and CorrDiff demonstrate calibrated probabilistic ensemble generation; Aurora covers full atmospheric column; NowcastNet deployed operationally.

2025: WeatherNext 2 achieves full operational certification at multiple national meteorological services; first end-to-end differentiable MLWP system enters beta testing.

2026: Kim et al. spectral tests and Aurora extreme event evaluation reveal systematic intensity underprediction; the community shifts focus from aggregate metrics to extreme skill.

The trajectory is clear: machine learning is not replacing numerical weather prediction; it is being woven into its fabric, augmenting every component from data assimilation to post-processing, and in doing so, transforming the field from a physics simulation enterprise into a hybrid learning-and-simulation science.