Foundation Models for Generalist Geospatial Artificial Intelligence

Johannes Jakubik, Sujit Roy, C. E. Phillips, Paolo Fraccaro, Denys Godwin, Bianca Zadrozny, Daniela Szwarcman, Carlos Gomes, Gabby Nyirjesy, Blair Edwards, Daiki Kimura, Naomi Simumba, Linsong Chu, S. Karthik Mukkavilli, Devyani Lambhate, Kamal Das, Ranjini Bangalore, Dário A. B. Oliveira, Michal Muszynski, Kumar Ankur, Muthukumaran Ramasubramanian, Iksha Gurung, Sam Khallaghi, Hanxi Li, Michael Cecil, Maryam Ahmadi, Fatemeh Kordi, Hamed Alemohammad, Manil Maskey, Raghu K. Ganti, Kommy Weldemariam, Rahul RamachandranarXiv 2023 · DOI

Introduction

In Earth science, the volume of satellite data is vast, yet the availability of high-quality labels remains a significant bottleneck. Traditional geospatial AI models are typically "specialists," trained for specific tasks in specific regions, making them expensive to scale and prone to failure across different temporal or geographic contexts. To address this, researchers from IBM and NASA introduced Prithvi, a 100-million parameter geospatial foundation model. Prithvi is pre-trained on over 1TB of multispectral imagery using a self-supervised approach, allowing it to learn the fundamental "language" of Earth's surface dynamics.

Architecture: 3D Masked Autoencoder

The core innovation of Prithvi lies in its adaptation of the Vision Transformer (ViT) into a 3D Masked Autoencoder (MAE). Unlike standard image models, Prithvi treats satellite data as spatiotemporal "tubelets," incorporating height, width, and time dimensions simultaneously.

The 3D Masked Autoencoder (MAE) architecture: the model reconstructs original pixels from masked multispectral image sequences.

During pre-training, the model masks 75% of these patches and attempts to reconstruct the missing information. This process forces the encoder to capture complex relationships between spectral bands and seasonal changes. By using 3D positional encoding, the model maintains a precise understanding of where and when a specific observation occurs, which is critical for tracking land-use transitions and environmental shifts.

The Prithvi Framework

The researchers developed a comprehensive framework that spans from initial data sampling to final inference. This pipeline ensures that the foundation model can be efficiently fine-tuned for a variety of downstream Earth observation tasks.

The Prithvi framework encompasses sampling, filtering, self-supervised pre-training, and fine-tuning for downstream tasks.

The framework utilizes NASA’s Harmonized Landsat-Sentinel 2 (HLS) dataset. To ensure the model generalizes well across diverse environments, the team employed stratified sampling based on climate statistics (temperature and precipitation) across the contiguous United States. Furthermore, the adoption of the Zarr data format significantly optimized training throughput, doubling data loading speeds compared to traditional GeoTIFFs.

Key Results and Data Efficiency

Prithvi demonstrates remarkable versatility and efficiency across several critical geospatial tasks:

  • Flood Mapping: Achieved an Intersection-over-Union (IoU) of 82.99%, outperforming standard Swin and ViT architectures while reaching peak accuracy twice as fast.
  • Wildfire Scar Detection: Successfully identified burned areas despite high class imbalance, surpassing U-Net baselines.
  • Cloud Imputation: Outperformed specialized GAN-based models by 5.7% in structural similarity (SSIM) when reconstructing pixels obscured by clouds.

Perhaps most importantly, Prithvi exhibits extreme data efficiency. The model can achieve an IoU of over 80% in flood mapping tasks even when labeled training data is reduced by 90%. This capability makes high-performance AI viable for regions where ground-truth data is scarce or difficult to obtain.

Limitations and Future Directions

While Prithvi represents a major milestone, its current iteration is focused on the United States at a 30m resolution. Future work aims to scale the model's parameters, expand pre-training to a global dataset, and incorporate higher-resolution imagery (sub-10m). By open-sourcing the model weights and code on Hugging Face, IBM and NASA have provided a foundation for the global community to advance the state of generalist geospatial AI.

Summary updated

BibTeX
@misc{jakubik2023foundation,
  author = {Johannes Jakubik and Sujit Roy and C. E. Phillips and Paolo Fraccaro and Denys Godwin and Bianca Zadrozny and Daniela Szwarcman and Carlos Gomes and Gabby Nyirjesy and Blair Edwards and Daiki Kimura and Naomi Simumba and Linsong Chu and S. Karthik Mukkavilli and Devyani Lambhate and Kamal Das and Ranjini Bangalore and Dário A. B. Oliveira and Michal Muszynski and Kumar Ankur and Muthukumaran Ramasubramanian and Iksha Gurung and Sam Khallaghi and Hanxi Li and Michael Cecil and Maryam Ahmadi and Fatemeh Kordi and Hamed Alemohammad and Manil Maskey and Raghu K. Ganti and Kommy Weldemariam and Rahul Ramachandran},
  title = {{Foundation Models for Generalist Geospatial Artificial Intelligence}},
  year = {2023},
  eprint = {2310.18660},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.18660},
}
Figure