Skip to main navigation Skip to search Skip to main content

Analyzing and Exploring Training Recipes for Large-Scale Transformer-Based Weather Prediction

  • Jared D. Willard
  • , Peter Harrington
  • , Shashank Subramanian
  • , Ankur Mahesh
  • , Travis A. O’Brien
  • , William D. Collins

Research output: Contribution to journal › Article › peer-review

Abstract

The rapid rise of deep learning (DL) in numerical weather prediction (NWP) has led to a proliferation of models which forecast atmospheric variables with comparable or superior skill than traditional physics-based NWP. However, among these leading DL models, there is a wide variance in both the training settings and architecture used. Further, the lack of thorough ablation studies makes it hard to discern which components are most critical to success. In this work, we show that it is possible to attain high forecast skill even with relatively off-the-shelf architectures, simple training procedures, and moderate compute budgets. Specifically, we train a minimally modified Swin Transformer V2 (SwinV2) on ERA5 data and find that it attains superior skill in terms of mean-square errors of deterministic forecasts when compared against the European Centre for Medium-Range Weather Forecasts’ Integrated Forecasting System (IFS). Almost all DL–NWP systems share a core set of hyperparameters and design decisions. To aid and expedite future DL–NWP research, we present an in-depth, systematic exploration of different loss functions, model sizes and depths, patch sizes, and multistep training objectives. We also examine the model performance with metrics beyond the typical accuracy (ACC) and RMSE and investigate how the performance scales with model size. Through our open-source code, scoring pipelines, and models, we share our findings on key aspects of the training pipeline. These ablations reduce the necessity for expensive hyperparameter tuning and lower the barrier to entry for future DL–NWP research.
Original languageEnglish
JournalArtificial Intelligence for the Earth Systems
Volume4
Issue number2
Early online date2 May 2025
DOIs
Publication statusE-pub ahead of print - 2 May 2025

Cite this