Embedding Earth: Self-supervised contrastive pre-training for dense land cover classification

Michail Tarasiou, Stefanos ZafeiriouarXiv 2022 · DOI

Introduction

While satellite missions like Sentinel-1 and Sentinel-2 provide petabytes of imagery daily, the availability of high-quality "ground truth" labels—identifying specific crop types or land use at a pixel level—remains a significant bottleneck. Obtaining these labels typically requires expensive field missions or labor-intensive crowdsourcing.

Standard deep learning approaches often rely on supervised pre-training (e.g., using ImageNet). However, satellite imagery differs fundamentally from natural photographs due to its multi-spectral bands, temporal sequences (seasonal changes), and nadir perspective. This paper introduces Embedding Earth, a self-supervised contrastive pre-training method designed to learn dense pixel-level representations directly from unlabeled satellite time-series data.

Methodology

The core of the proposed approach is a dense instance discrimination pretext task. Unlike standard contrastive methods that learn a single vector per image, this method produces a unique embedding for every pixel, which is critical for semantic segmentation tasks where precise boundaries are required.

Architecture and Framework

The authors utilize a UNet3Df, a 3D U-Net variant optimized for spatio-temporal satellite data. The training follows a momentum contrast (MoCo) framework, featuring a "query" encoder updated via backpropagation and a "key" encoder updated via a moving average. To provide a challenging contrastive signal, the system maintains a large queue of "negative" samples—pixels from geographically distinct locations.

Overview of the Embedding Earth self-supervised pre-training framework.

Contrastive Learning Strategy

Positive pairs are defined as features extracted from the same geographic location but under different conditions. These views are generated through:

  • Temporal Sampling: Selecting different dates from within the same year to capture seasonal variance.
  • Spatial Augmentation: Applying random cropping and flipping to ensure spatial invariance.

The model is optimized using the InfoNCE loss, which encourages embeddings of positive pairs to cluster together in vector space while pushing them away from thousands of negative samples in the queue.

Experimental Setup

The study evaluates the method across four diverse geographic regions: Germany (DEU), France (FRA), Ghana (GHA), and South Sudan (SSU). Using Sentinel-1 and Sentinel-2 data, the authors tested several pre-training variants:

  • Base: Data from a single year and specific region.
  • Space: Expanding the Area of Interest (AOI) to neighboring regions.
  • Time: Expanding the Period of Interest (POI) to include multiple years.

Key Results and Insights

Massive Performance Gains and Label Efficiency

Embedding Earth consistently outperformed random initialization across all test cases, with absolute improvements in mean Intersection over Union (mIoU) reaching up to 25%. The method acts as a significant force multiplier when labeled data is scarce. Notably, in low-label regimes, Embedding Earth outperformed CSCL (a state-of-the-art supervised pre-training method), demonstrating that self-supervision on vast unlabeled datasets can be more effective than supervision on limited labeled sets.

Downstream performance (mIoU) across different training set sizes, comparing various pre-training strategies against random initialization and supervised baselines.

Universal Earth Features

A striking finding is the cross-border generalizability of the learned features. A model pre-trained on German landscapes performed exceptionally well when fine-tuned on French data, suggesting the model learns fundamental biophysical characteristics of vegetation rather than local geographic memorization.

Scaling: Time Over Space

When scaling pre-training data, increasing the temporal range (more years of data) generally yielded superior downstream results compared to simply increasing the spatial area. This highlights the importance of capturing long-term seasonal dynamics for robust land cover classification.

Conclusion and Future Work

Embedding Earth demonstrates that self-supervised pre-training can effectively bridge the "label gap" in remote sensing. While the results are promising, the authors noted that performance had not yet reached a ceiling after 100 epochs, suggesting that further scaling could yield even greater gains. Future work may involve more robust noise-reduction techniques for regions with high cloud cover (such as the African datasets) and extending these dense embeddings to other tasks like biomass estimation or change detection.

Summary updated

BibTeX
@misc{tarasiou2022embedding,
  author = {Michail Tarasiou and Stefanos Zafeiriou},
  title = {{Embedding Earth: Self-supervised contrastive pre-training for dense land cover classification}},
  year = {2022},
  eprint = {2203.06041},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.06041},
}
Figure