GraphCast-Mamba: Learning Non-Markovian Corrections for Weather Forecasting
Organizations: Department of Physics, Princeton University, Princeton, NJ 08544, USA · Department of Electrical and Computer Engineering, Princeton University, Princeton, NJ 08544, USA · École Polytechnique Fédérale de Lausanne (EPFL), 1015 Lausanne, Switzerland · Princeton Quantum Initiative, Princeton University, Princeton, NJ 08544, USA ·
Abstract
Unresolved atmospheric processes can introduce history dependence beyond the short input windows used by many weather forecasting models. We introduce GraphCast--Mamba, which augments a frozen, pretrained GraphCast backbone with a trainable Mamba correction branch combining graph message passing and Mamba layers. The branch retains a temporal memory state across successive six-hour forecast steps, learning corrections informed by temporal context beyond GraphCast's two-frame input. Training is confined to the correction branch, using ERA5 data from 2015--2021. After 2,500 optimizer updates, including warm-up, the selected model achieves substantial improvements relative to the uncorrected GraphCast backbone. It reduces the GraphCast loss (normalized weighted mean-squared error; MSE) by 14.42% when aggregated over the full ten-day forecast and by 21.66% at day 10 (240 h after forecast initialization). At this final forecast lead time, root-mean-square error (RMSE) decreases by 7.09--14.60% across all 11 evaluated variable groups, spanning temperature, wind, pressure, geopotential, specific humidity, and precipitation. These results demonstrate broad improvements in ten-day weather forecasts through a short correction-training schedule while retaining the pretrained backbone.
Figures & tables
| Policy | Temporal memory retained | |
|---|---|---|
| Training/forecasting | Training | Forecasting |
| Carry/carry | ||
| Carry/reset | ||
| Reset/reset | ||
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Mamba LR multiplier | Ten-day aggregate | Day 10 | |
|---|---|---|---|
| 16 | 14.70 | 21.98 | |
| 16 | 15.67 | 22.44 | |
| 16 | 16.34 | 23.68 | |
| 32 | 15.82 | 22.96 | |
| 32 | 16.29 | 23.32 | |
| 32 | 15.73 | 22.75 |
| Day-10 RMSE | RMSE reduction (%) | ||||
| Variable [unit] | GraphCast | GraphCast– Mamba | Day 5 | Day 7 | Day 10 |
| Upper-air variables (13 pressure levels) | |||||
| Geopotential [m 2 s -2 ] | 784.41 | 703.68 | 1.24 | 5.22 | 10.29 |
| Temperature [K] | 3.10 | 2.79 | 2.11 | 5.98 | 10.07 |
| Specific humidity [g kg -1 ] | 1.10 | 0.97 | 4.33 | 7.88 | 11.68 |
| Zonal wind [m s -1 ] | 8.67 | 7.63 | 2.76 | 7.19 | 11.94 |
| Quantity | Selected model |
|---|---|
| Accelerator | 1 NVIDIA A100 80GB PCIe |
| Allocated CPU cores | 8 |
| Elapsed allocation time | 22 h 40 min 45 s |
| GPU allocation cost | 22.68 GPU-hours |
| Peak host memory | 97.1 GiB |
| Sampled peak GPU memory | 23.15 GiB |
Weather Forecasting
Weather forecasting predicts future atmospheric conditions, from local storms to global patterns, using physical models, observations, and machine learning.
See all 176 papers