ClimateLLM: Efficient Weather Forecasting via Frequency-Aware Large Language Models

Shixuan Li, Wei Yang, Peiyu Zhang, Xiongye Xiao, Defu Cao, Yuehan Qin, Xiaole Zhang, Yue Zhao, Paul Bogdan · DOI

Abstract

ClimateLLM is a novel foundation model that reframes weather forecasting as a frequency-aware sequence modeling task. By integrating 2D Fourier Transforms with a pre-trained GPT-2 backbone and a Mixture-of-Experts (MoE) architecture, the model addresses the computational and accuracy limitations of traditional Numerical Weather Prediction (NWP) and existing deep learning models. ClimateLLM achieves state-of-the-art accuracy on the ERA5 dataset while reducing total training time by 98.7% compared to previous leading models. Its ability to isolate high-frequency signals allows for better capture of extreme weather events, while its LLM-based architecture enables high data efficiency, outperforming competitors even with limited training data.

1. Introduction

Traditional weather forecasting relies on Numerical Weather Prediction (NWP), which involves solving complex partial differential equations to describe atmospheric dynamics. While accurate, NWP is computationally expensive and slow. Deep learning (DL) has emerged as a faster alternative, but current DL models face three primary challenges: the "Extremes Wall" (difficulty capturing abrupt, high-frequency changes), the "Efficiency Wall" (high resource requirements for training from scratch), and the "Multi-Scale Wall" (failure to distinguish between global atmospheric circulations and localized fluctuations).

2. Methodology

ClimateLLM addresses these challenges by processing weather data in the frequency domain rather than as raw pixels. The model applies a 2D Fast Fourier Transform (FFT) to spatial weather data, converting maps into wavenumbers to separate global signals (low frequency) from local storms (high frequency).

Overview of the ClimateLLM architecture, illustrating the integration of 2D FFT, Mixture-of-Experts, and the LLM backbone for spatio-temporal weather forecasting.

A Frequency Mixture-of-Experts (FMoE) layer employs specialized networks for different frequency bands, allowing the model to adaptively handle both stable trends and volatile extreme events. Contextual understanding is provided by Weather Dynamic Prompting via a Meta-Fusion mechanism that bridges temporal patterns and cross-variable correlations (e.g., the relationship between temperature and pressure). Finally, a pre-trained GPT-2 backbone processes these frequency-domain tokens, leveraging the LLM's inherent sequence modeling capabilities to handle complex atmospheric "syntax."

3. Experimental Setup

The model was evaluated using the ERA5 reanalysis dataset at a 5.625-degree resolution (64x32 grid points). Training was conducted on data from 2006–2015, with testing on 2017–2018. The study focused on four key atmospheric variables across different levels.

Table of atmospheric variables used in the ClimateLLM study, including their abbreviations and ECMWF IDs.

4. Results and Key Insights

ClimateLLM outperformed state-of-the-art models like ClimaX, FourCastNet, and ClimODE across nearly all metrics. In 2-meter temperature (t2m) forecasting, the model maintained an Anomaly Correlation Coefficient (ACC) of 0.98 to 1.00 over a 24-hour horizon.

The most significant result is the model's efficiency: compared to ClimODE, ClimateLLM reduced training time per epoch by 87.5% and slashed total training time from 17.6 hours to just 0.22 hours—a 98.7% improvement. Furthermore, the model demonstrated superior few-shot learning, outperforming competitors even when trained on only 20% of the available dataset.

5. Conclusion and Future Work

ClimateLLM demonstrates that treating the atmosphere's evolution as a sequence-to-sequence problem and utilizing frequency-domain separation can drastically improve forecasting efficiency and accuracy. By leveraging pre-trained LLMs, the researchers avoided the need for training from scratch while maintaining high performance. Future work will focus on incorporating physical constraints via Physics-Informed Neural Networks (PINNs), introducing Tree-of-Thought reasoning, and scaling the approach to high-resolution (0.25-degree) operational data.

Summary updated

BibTeX
@misc{li2025climatellm,
  author = {Shixuan Li and Wei Yang and Peiyu Zhang and Xiongye Xiao and Defu Cao and Yuehan Qin and Xiaole Zhang and Yue Zhao and Paul Bogdan},
  title = {{ClimateLLM: Efficient Weather Forecasting via Frequency-Aware Large Language Models}},
  year = {2025},
  eprint = {2502.11059},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.11059},
}
Figure