Abstract
Machine learning (ML)-based weather models have recently undergone rapid improvements. These models are typically trained on gridded reanalysis data from numerical data assimilation systems. However, reanalysis data comes with limitations, such as assumptions about physical laws and low spatiotemporal resolution. The gap between reanalysis and reality has sparked growing interest in training ML models directly on observations such as weather stations. Modelling scattered and sparse environmental observations requires scalable and flexible ML architectures, one of which is the convolutional conditional neural process (ConvCNP). ConvCNPs can learn to condition on both gridded and off-the-grid context data to make uncertainty-aware predictions at target locations. However, the sparsity of real observations presents a challenge for data-hungry deep learning models like the ConvCNP. One potential solution is 'Sim2Real': pre-training on reanalysis and fine-tuning on observational data. We analyse Sim2Real with a ConvCNP trained to interpolate surface air temperature over Germany, using varying numbers of weather stations for fine-tuning. On held-out weather stations, Sim2Real training substantially outperforms the same model architecture trained only with reanalysis data or only with station data, showing that reanalysis data can serve as a stepping stone for learning from real observations. Sim2Real could thus enable more accurate models for weather prediction and climate monitoring.
Introduction
In weather forecasting, a significant gap exists between the clean, regular grids of computer simulations (reanalysis data) and the messy, scattered reality of physical weather stations. While deep learning has made massive strides in weather prediction, most models are trained on reanalysis data like ERA5. This "Sim2Real gap" occurs because reanalysis data is often spatially coarse (~25km), relies on simplified physical laws, and ignores the inherent noise of real-world sensors. Conversely, training models directly on sparse, irregularly scattered weather stations is difficult for data-hungry deep learning architectures. This research explores bridging this divide by pre-training on simulators and fine-tuning on reality.
Methodology
The study utilizes Convolutional Conditional Neural Processes (ConvCNPs), which are uniquely suited for environmental modeling because they can handle "off-the-grid" data. Unlike standard neural networks requiring fixed-size grid inputs, ConvCNPs can ingest an arbitrary number of context observations—such as a handful of weather stations—and produce probabilistic predictions (mean and uncertainty) for any target location.
The core "Sim2Real" strategy involves two stages:
- Simulator Distillation: Pre-training the ConvCNP on abundant ERA5 reanalysis data to learn general physical correlations.
- Real-World Fine-tuning: Updating the model using real hourly 2m air temperature readings from the German Weather Service (DWD).
Experimental Results
The researchers compared three training strategies: Sim Only, Real Only, and Sim2Real. The results demonstrate that the Sim2Real approach consistently outperforms models trained on either data source alone.
Key findings include:
- Superior Accuracy: In the densest station setting ($N_{stations} = 500$), the Sim2Real model achieved substantially lower Negative Log-Likelihood (NLL) and Mean Absolute Error (MAE) than both baselines.
- Data Efficiency: The Sim2Real model outperformed the Sim Only baseline even with a tiny temporal window of real data (as few as 16 time slices).
- Resolution and Uncertainty: Reanalysis data is limited by its grid spacing. Real station data contains higher-frequency information that the Sim2Real model successfully captured through global fine-tuning. Furthermore, the Sim2Real model learned to provide more realistic uncertainty estimates, correctly inflating uncertainty when nearby stations provided conflicting data.
Discussion and Conclusion
The success of Sim2Real in this context suggests that reanalysis data provides a vital "stepping stone" for learning from real observations. While the model occasionally produced short-range visual artefacts near context observations—likely due to a lack of training signals for distances shorter than the minimum station separation—the overall improvement in sharpness and accuracy is significant.
Future work may involve applying this methodology to data-sparse regions like the Himalayas or Antarctica, where the benefits of Sim2Real could be even more transformative for climate monitoring. By leveraging the vast history of global weather simulations to prime models for real-world complexity, we can move toward more accurate and reliable environmental monitoring systems.
Summary updated