FourCastNet: Accelerating Global High-Resolution Weather Forecasting Using Adaptive Fourier Neural Operators

Thorsten Kurth, Shashank Subramanian, Peter Harrington, Jaideep Pathak, Morteza Mardani, David Hall, Andrea Miele, Karthik Kashinath, Anima Anandkumar

TL;DR

This paper introduces FourCastNet, a deep learning model that can predict global weather with high resolution and accuracy, achieving a speedup of 80,000x compared to traditional numerical weather prediction (NWP) models. This breakthrough has significant implications for improving weather forecasts, enabling larger ensembles, and paving the way for digital twins of Earth.

What Problem Does This Paper Address?

Predicting Earth's weather and climate is a monumental challenge. Traditional physics-based numerical weather prediction (NWP) models, while improving, are computationally extremely expensive. This high cost limits their resolution, the size of ensembles (groups of forecasts to capture uncertainty), and the speed at which forecasts can be generated. These limitations hinder our ability to accurately predict extreme weather events, which are becoming more frequent and intense due to climate change. The paper highlights eight grand challenges in Earth system modeling, including complexity, dimensionality, and the sheer computational demand, all of which contribute to the slow progress in achieving higher resolution and more accurate forecasts.

Methods

The core innovation is the use of an Adaptive Fourier Neural Operator (AFNO) architecture, a type of neural network designed to handle complex spatio-temporal dynamics. AFNOs combine the strengths of neural operators (which learn mappings between infinite-dimensional spaces) and transformers (powerful sequence models). Specifically, FourCastNet utilizes:

  • Fourier Neural Operators (FNOs): These efficiently implement global convolutions using Fast Fourier Transforms (FFTs), allowing them to capture long-range dependencies in weather data.
  • Transformer Architecture: This enables the model to learn complex patterns and relationships within the data without being constrained by predefined physical assumptions.
  • Adaptive Fourier Neural Operator (AFNO): This is a specialized transformer that leverages Fourier transforms for efficient spatial mixing and uses MLPs for channel mixing. It's designed to handle continuous inputs and high resolutions.
  • Data-Driven Approach: Instead of explicitly simulating physics, FourCastNet learns the complex dynamics from vast amounts of historical weather data.
  • Model and Data Parallelism: To achieve high performance on supercomputing systems, the authors employ sophisticated parallelization strategies, splitting computations across multiple GPUs and nodes.

Datasets

The paper uses the ERA5 reanalysis dataset from the European Centre for Medium-Range Weather Forecasts (ECMWF) for training and evaluation. This dataset provides historical weather data at a native resolution of 0.25° latitude/longitude. The authors sub-sample this data to include 20 prognostic variables crucial for near-surface winds and temperatures, and they use 6-hour intervals from the 1-hour ERA5 data. Data from 1979-2017 is used for training and hyperparameter optimization, with 2018 onwards held out for final testing.

Key Insights and Ideas

  • Data-Driven Emulation is Viable: The success of FourCastNet demonstrates that deep learning can effectively emulate complex Earth system dynamics, offering a powerful alternative to traditional physics-based models for certain tasks.
  • AFNO Architecture is Key: The AFNO architecture is crucial for achieving both high resolution and computational efficiency, outperforming previous DL approaches in weather forecasting.
  • Speedup is Transformative: The 80,000x speedup in inference time is not just an incremental improvement; it fundamentally changes what's possible in weather forecasting, enabling massive ensembles and near real-time predictions.
  • Resolution Matters: FourCastNet's ability to predict at 25 km resolution (compared to 200 km for prior DL models) allows it to capture extreme events like tropical cyclones, which were previously poorly represented.
  • Scalability is Essential: The paper highlights the critical role of scaling deep learning models on large supercomputing systems to achieve state-of-the-art performance and tackle complex scientific challenges.

Key Results

  • Speed: FourCastNet achieves a 80,000x speedup in generating a 100-member ensemble forecast compared to traditional NWP models (12.41 node-seconds vs. 984,000 node-seconds).
  • Accuracy: The model approaches state-of-the-art accuracy for instantaneous weather predictions up to a week in advance. Figure 1 shows FourCastNet outperforming a baseline DLWP model and predicting at 8x higher resolution.
  • Resolution: FourCastNet predicts global weather at 25 km resolution, a significant improvement over previous DL models.
  • Energy Efficiency: The model is estimated to be 10,000 times more energy efficient than traditional NWP models.
  • Computational Performance: The system achieved a peak performance of 140.8 petaFLOPS on 3,808 NVIDIA A100 GPUs.
  • Training Time: Training FourCastNet on JUWELS Booster with 3,072 GPUs took 67.4 minutes.

Limitations and Future Work

  • Extrapolation: The paper acknowledges that the Earth system is non-stationary and that DL models need to be able to extrapolate into unprecedented futures, especially as historical data quality degrades further back in time. Future work will focus on incorporating physical laws into DL models to address this challenge.
  • Full Earth System Emulation: While FourCastNet emulates the atmosphere, future work aims to extend this to other components of the Earth system, such as the ocean, sea ice, and land surface, to create a comprehensive Earth system emulator.
  • Model Parallelism Limits: For very large model instance sizes, memory constraints on certain systems (like JUWELS Booster) prevented atomic model instances from running.
  • Hyperparameter Tuning: While excellent convergence was observed at large batch sizes, further tuning at these scales could potentially improve results.

The authors envision FourCastNet as a key step towards building "digital twins" of Earth, enabling interactive exploration of climate scenarios and informed decision-making for climate action.

Summary updated

BibTeX
@inproceedings{kurth2022fourcastnet,
  author = {Thorsten Kurth and Shashank Subramanian and Peter Harrington and Jaideep Pathak and Morteza Mardani and David Hall and Andrea Miele and Karthik Kashinath and Anima Anandkumar},
  title = {{FourCastNet: Accelerating Global High-Resolution Weather Forecasting Using Adaptive Fourier Neural Operators}},
  booktitle = {PASC},
  year = {2022},
  url = {https://openreview.net/forum?id=Hnd0NDzUWL},
}
Figure