cs.LGMar 25, 2026

Contrastive Learning Boosts Deterministic and Generative Models for Weather Data

Authors: Nathan Bailey

Organizations: Supervised by Dr Sibo Cheng, Faculty of Engineering, Imperial College London and Dr Cesar Quilodran-Casas, The Grantham Institute for Climate Change, Faculty of Natural Sciences, Imperial College London.

Abstract

Weather data, comprising multiple variables, poses significant challenges due to its high dimensionality and multimodal nature. Creating low-dimensional embeddings requires compressing this data into a compact, shared latent space. This compression is required to improve the efficiency and performance of downstream tasks, such as forecasting or extreme-weather detection. Self-supervised learning, particularly contrastive learning, offers a way to generate low-dimensional, robust embeddings from unlabelled data, enabling downstream tasks when labelled data is scarce. Despite initial exploration of contrastive learning in weather data, particularly with the ERA5 dataset, the current literature does not extensively examine its benefits relative to alternative compression methods, notably autoencoders. Moreover, current work on contrastive learning does not investigate how these models can incorporate sparse data, which is more common in real-world data collection. It is critical to explore and understand how contrastive learning contributes to creating more robust embeddings for sparse weather data, thereby improving performance on downstream tasks. Our work extensively explores contrastive learning on the ERA5 dataset, aligning sparse samples with complete ones via a contrastive loss term to create SPARse-data augmented conTRAstive spatiotemporal embeddings (SPARTA). We introduce a temporally aware batch sampling strategy and a cycle-consistency loss to improve the structure of the latent space. Furthermore, we propose a novel graph neural network fusion technique to inject domain-specific physical knowledge. Ultimately, our results demonstrate that contrastive learning is a feasible and advantageous compression method for sparse geoscience data, thereby enhancing performance in downstream tasks.

Figures & tables

Explore similar work

CardsList
  1. Implicit Data Synthesis for Contrastive Unsupervised Data Augmentation

    Jun 5, 2026Patrick Kage, Trevor Hedges, N. Siddharth +1Contrastive LearningSynthetic Data Augmentation

  2. Effective Dataset Distillation for Spatio-Temporal Forecasting with Bi-dimensional Compression

    Mar 11, 2026Taehyung Kwon, Yeonje Choi, Yeongho Kim +1Dataset DistillationSpatiotemporal Forecasting

  3. Can Deep Neural Networks Improve Compression of Very Large Scientific Data?

    Jun 12, 2026Muhannad Alhumaidi, Guozhong Li, Spiros Skiadopoulos +1Predictive Coding