Introduction
Long-term weather forecasting is a cornerstone of socioeconomic planning and disaster preparedness. While modern data-driven AI models are rapidly replacing traditional Numerical Weather Prediction (NWP) systems due to their speed, they face a critical bottleneck: stepwise error accumulation. Because these models predict the next state based on their own previous, slightly imperfect predictions, errors snowball over long horizons.
To tackle this, researchers often finetune models on multi-step sequences. However, this introduces new challenges, including catastrophic forgetting (where long-term accuracy degrades short-term performance), massive computational overhead, and difficulties in capturing multi-scale atmospheric patterns.
EMFormer (Efficient Multi-scale Transformer) introduces a highly efficient architecture and a novel "accumulative context" finetuning strategy to overcome these hurdles. By fusing multi-scale convolutions into a single operation and utilizing a smart memory-pruning module, EMFormer achieves state-of-the-art accuracy across weather and vision benchmarks with significantly lower computational overhead than previous models.
The Core Innovations
The authors propose a comprehensive three-stage pipeline—pretraining, finetuning, and forecasting—powered by three primary architectural and methodological breakthroughs:
1. EMFormer & The Multi-Convs Layer
Standard Transformers struggle to efficiently process multi-scale features (e.g., local gusts versus global jet streams). The traditional solution involves multiple parallel convolutional branches with different kernel sizes, which is computationally expensive.
EMFormer introduces a Multi-Convs Layer that mathematically fuses $1\times1$, $3\times3$, and $5\times5$ kernels into a single convolution operation. Unlike standard "re-parameterization" techniques (such as RepVGG) that only accelerate inference, EMFormer utilizes a custom CUDA kernel to maintain independent gradient paths for each scale during training. This innovation yields a massive 5.69x speedup in both forward and backward passes, directly addressing the training bottleneck.
2. Accumulative Context Finetuning
To maintain temporal consistency without overwhelming system memory, EMFormer treats historical weather states as a Key-Value (KV) cache, similar to Long-Context Large Language Models. Instead of merely looking at the immediate previous step, the model "remembers" the trajectory of weather systems.
To keep memory usage strictly in check, the authors implemented a Memory Module that uses attention scores to dynamically prune less important historical tokens, retaining only the most relevant context for future predictions.
3. Sinusoidal Weighted Loss
Different atmospheric variables (like temperature versus geopotential) learn at different rates. To manage this, the paper proposes a composite loss function featuring a sine-wave weighting mechanism. This acts as a built-in curriculum, smoothly transitioning the model’s focus from mastering global spatial accuracy (latitude-weighted) to fine-grained physical dynamics (variable-adaptive) as training progresses.
Datasets and Evaluation
The model was rigorously evaluated across both meteorological and computer vision domains:
- ERA5 Reanalysis: The gold standard for atmospheric data (1979–2021), tracking 70 variables across 13 pressure levels.
- CMA Tropical Cyclone Data Archive: Used for extreme event prediction, specifically evaluating 10 typhoons from the 2024 season.
- ImageNet-1K & ADE20K: Standard computer vision benchmarks used to validate the architecture's general-purpose efficiency and adaptability.
Key Results
EMFormer demonstrates remarkable improvements in both accuracy and efficiency:
- Superior Weather Accuracy: EMFormer consistently outperformed heavyweights like Graphcast and Pangu-Weather on the ERA5 benchmark, showing particular dominance in the critical 7-to-10-day forecast range.
- Extreme Event Prediction: In typhoon track prediction, EMFormer achieved a mean error of 88.49 km, significantly outperforming the next best model (AIFS at 119.17 km).
- Unprecedented Training Efficiency: EMFormer reached a lower error rate in just 210 GPU-days compared to the previous state-of-the-art (VA-MoE), which required 430 GPU-days.
- Vision Generalization: Despite being purpose-built for weather forecasting, the EMFormer-B model achieved 84.4% Top-1 accuracy on ImageNet-1K. It surpassed specialized vision models like Swin-B and MambaVision while utilizing fewer parameters and FLOPs.
Limitations and Future Directions
While EMFormer marks a significant leap forward, challenges remain. Although the memory module effectively prunes tokens, computational costs still scale with the length of the historical context. Discovering a "lossless" method to compress this context further is an ongoing challenge. Additionally, testing the Multi-Convs layer's efficiency limits on even higher-resolution grids (e.g., kilometer-scale) will be crucial.
Looking ahead, the authors suggest exploring ensemble forecasting to predict multiple possible outcomes and applying the EMFormer backbone to other high-dimensional scientific domains, such as fluid dynamics and oceanography.
Summary updated