Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Learning the weather from the past
A physics-based weather model solves equations; a learned weather model studies forty years of past weather and learns how one state turns into the next six hours later. To forecast ten days ahead it applies that step forty times, feeding each prediction back in. Because the training data are reanalyses that blend models with observations, the network can pick up behaviour that the equations in a physics model represent poorly.
GraphCast (Google DeepMind, 2023) produced 10-day forecasts at 0.25° in under a minute and beat the ECMWF high-resolution forecast on about 90% of its verification targets.
- 1. Learned weather models are trained on…
- 2. A 10-day forecast is made by…
- 3. Their main practical advantage is…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.By hand
- Data: ERA5 reanalysis (ECMWF), 1979 to today, hourly at 0.25°, with about 6 surface and 6 upper-air variables on 13 to 37 pressure levels.
- Task: map the state at t (often also t − 6 h) to the state at t + 6 h; forecasts are autoregressive rollouts.
- Architectures: FourCastNet (NVIDIA, 2022) uses adaptive Fourier neural operators; Pangu-Weather (Huawei, 2023) a 3D Earth-specific transformer; GraphCast (DeepMind, 2023) message passing on a multi-scale icosahedral mesh; AIFS (ECMWF, 2024) a graph transformer.
- Training: latitude-weighted MSE, then fine-tuning on multi-step rollouts to reduce error growth.
- Blurring: MSE training predicts the conditional mean, so forecasts become smooth at long leads; generative models (GenCast) sample sharp ensemble members instead.
- Limits: dependence on analyses for initial conditions, weaker extremes, physical consistency, and no guarantee outside the training climate.
- 1. GraphCast operates on…
- 2. MSE-trained forecasts at long leads are…
- 3. ERA5 is…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.A stencil emulator with shared weights
Exercise 1.
- The ‘real atmosphere’: Lorenz-96 with 40 points plus a local term 1 − 0.04x² that the physics model leaves out, sampled every 0.05 time units (‘6 hours’).
- Features at each point: the 5-point stencil and all its products of degree 2 and 3 (56 features), with weights shared by all points: a convolution.
- The emulator predicts the 6-hour increment, fitted by least squares on 2000 training steps.
Practice.
- Predict increments, not states, and normalise each variable.
- Weight errors by area on a latitude–longitude grid.
- Fine-tune on rollouts to reduce compounding errors, and check long free runs for stability.
- Compare with strong baselines on standard benchmarks such as WeatherBench 2.
- Tools: ECMWF’s anemoi and ai-models, NVIDIA Earth2Studio and Modulus, graphcast and neuralgcm from Google, WeatherBench 2 for evaluation.
import numpy as np
def features(X): # X: (samples, 40)
S = [np.roll(X, -j, -1) for j in range(-2, 3)]
quad = [S[a] * S[b] for a in range(5) for b in range(a, 5)]
cub = [S[a] * S[b] * S[c] for a in range(5) for b in range(a, 5) for c in range(b, 5)]
return np.stack([np.ones_like(X)] + S + quad + cub, -1)
F = features(train[:-1]).reshape(-1, 56)
w = np.linalg.lstsq(F, (train[1:] - train[:-1]).reshape(-1), rcond=None)[0]
step = lambda X: X + features(X) @ w # one learned 6-hour step- 1. Learned models usually predict…
- 2. A standard benchmark for ML weather models:
- 3. Rollout fine-tuning reduces…
Level 3: Advanced
★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.Theory
Shared weights are a convolution. The same 56 coefficients act at every grid point, as a convolutional filter does, which respects the translation symmetry of the system and lets every point contribute training data. Graph networks generalise this to irregular meshes on the sphere.
One step is not the whole story. In Exercise 1 the emulator’s one-step error (0.076) was larger than the physics model’s (0.046): the physics model is exact apart from the missing term, while the emulator approximates a complicated step map with a cubic polynomial. Over longer leads the physics model’s systematic error accumulates; the emulator, which learned the real system including the missing term, kept the true climate in a 4000-step free run.
Why direct forecasts blur. Fitting x(t + L) directly with MSE gives the conditional mean of possible futures. Once the system is unpredictable at lead L, that mean is close to climatology, so the forecast’s anomalies shrink. A rollout instead stays on the attractor, with realistic variability, but its errors are larger than those of the mean at long leads.
- 1. Shared stencil weights are equivalent to…
- 2. Direct MSE forecasts at long leads…
- 3. One-step error of the emulator in Exercise 1 was…
Level 4: Expert
★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.Can a model learned from data of the real system beat an imperfect physics model at medium range, and what happens to direct forecasts and to a changed climate?
History.
- P. Dueben and P. Bauer (2018) and S. Rasp et al. (2020, WeatherBench) set up learned weather prediction as a benchmark task.
- J. Pathak et al. (2022) introduced FourCastNet; K. Bi et al. (2023) Pangu-Weather; R. Lam et al. (2023) GraphCast.
- S. Lang et al. (2024) introduced ECMWF’s AIFS; I. Price et al. (2025) GenCast; D. Kochkov et al. (2024) NeuralGCM, a hybrid model.
Exercise 2. Forecasts from the exact true state (no initial error), 200 start dates in a test period; RMSE. Activity is the standard deviation of forecast anomalies over that of the truth. Seed 0:
| lead | persistence | climatology | physics | emulator | direct | activity, direct |
|---|---|---|---|---|---|---|
| 1 day | 3.0 | 3.4 | 0.18 | 0.28 | 0.97 | 0.96 |
| 5 days | 5.3 | 3.4 | 1.7 | 1.5 | 3.1 | 0.45 |
| 10 days | 4.9 | 3.4 | 3.7 | 3.0 | 3.4 | 0.25 |
- The physics model wins at 1 day, the emulator at 5 and 10 days: the missing term’s systematic error outgrows the emulator’s approximation error.
- Direct MSE models blur: their activity fell to 0.45 at 5 days and 0.25 at 10, and their RMSE approached climatology; the emulator’s rollouts kept activity 1.0.
- A warmer climate (F = 9) raised the emulator’s one-step error from 0.077 to 0.11: it learned the training climate, not the equations.
- Seeds 1 and 2 at 10 days: physics 3.9 and 3.6, emulator 3.2 and 3.2; direct-model activity 0.23 and 0.15.
ML weather models in practice
- Operations: ECMWF runs AIFS operationally alongside the IFS since 2025; national services evaluate GraphCast, Pangu-Weather and FourCastNet daily.
- Ensembles: generative models (GenCast, AIFS-CRPS) produce calibrated ensembles at a fraction of the cost.
- Hybrids: NeuralGCM combines a differentiable dynamical core with learned physics.
- Open questions: extremes, physical consistency, data assimilation without physics models, and climate-change extrapolation.
References
- J. Pathak et al. (2022). “FourCastNet: a global data-driven high-resolution weather model using adaptive Fourier neural operators.” arXiv:2202.11214.
- K. Bi et al. (2023). “Accurate medium-range global weather forecasting with 3D neural networks.” Nature.
- R. Lam et al. (2023). “Learning skillful medium-range global weather forecasting.” Science.
- S. Rasp et al. (2024). “WeatherBench 2: a benchmark for the next generation of data-driven global weather models.” Journal of Advances in Modeling Earth Systems.
- I. Price et al. (2025). “Probabilistic weather forecasting with machine learning.” Nature.