All models

Prithvi

IBM and NASA's 300M-parameter masked autoencoder for four-frame, six-band HLS satellite image stacks.

Image classification · 946 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (18 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
330.4M
Operations
946
Framework
PyTorch
Recurrent
No
Published
2024
Authors
Daniela Szwarcman, Sujit Roy, Paolo Fraccaro
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m2274
Graph hash
9f84e5dbd42b2bd49b8a6c460586b045a4a50c461bbff3b1eab1e143948e805c
Skeleton hash
208fc1c7e5ebd571ad67605426ba60472dcc5ebee8ef588fdddd02fff13a3fce
Architecture hash
731db9dcef1ee26ca777a63fde5b9e70c25ec3c69d16b5d72b55c8e8587bac3e
Diagram SHA-256
3e2e469a447ba33232fcca207827c797a3eb1e4007e44d747caf9eba416569c1
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Prithvi-EO-2.0 is a geospatial foundation model for Earth observation, the second generation of the Prithvi line jointly developed by IBM, NASA and Jülich Supercomputing Centre. It is trained on 4.2 million global time series samples from NASA's Harmonized Landsat and Sentinel-2 data archive at 30-m resolution. The captured member is Prithvi-EO-2.0-300M, one of the versions trained without the temporal and location information that the TL variants carry. The name is a footnote in the paper: Prithvi means Earth in Sanskrit.

The model is a ViT pretrained with the masked autoencoder approach, with two major modifications. First, the 2D patch and positional embeddings become 3D: a 3D convolutional layer divides the input into non-overlapping cubes of size (t, h, w) for time, height and width. Because satellite data arrives at irregular and relatively low frequency in time, the models set t = 1, so each cube covers a single timestamp. Second, the TL versions treat geolocation and acquisition date as metadata, encoding them with sin/cos and adding them to the tokens via a weighted sum with learned weights. A drop mechanism randomly removes the geolocation and/or temporal data during pretraining so the model learns to handle their absence. The two sizes, 300M and 600M, are based on ViT-L and ViT-H respectively. Pretraining uses six HLS bands in the order Blue, Green, Red, Narrow NIR, SWIR, SWIR 2. Each sample is a sequence of four HLS images with intervals of one to six months between consecutive timestamps, spanning 2014 to 2023. The reconstruction loss is the mean squared error between masked and predicted tokens in pixel space.

On GEO-Bench, Prithvi-EO-2.0-600M-TL outperforms the previous Prithvi-EO model by 8% across a range of tasks. All versions of Prithvi-EO-2.0 performed better than their predecessor Prithvi-EO-1.0. The companion NASA-IMPACT repository contains code and examples based on the TerraTorch library for fine-tuning the model. A third-party prithvi-pytorch repository instead wraps the earlier Prithvi MAE, from the paper Foundation Models for Generalist Geospatial Artificial Intelligence, as a ViT classifier and a U-Net segmentation model. Training ran for 400 epochs on A100 40GB GPUs, with the 300M models using 80 GPUs and about 21,000 GPU-hours. The models were pretrained on the Booster partition of the JUWELS supercomputer hosted at JSC.

Key idea. A multi-temporal geospatial masked autoencoder that swaps the 2D patch and positional embeddings for 3D versions over sequences of satellite images, with optional time and location metadata added as learned biases.

  • prithvi
  • Prithvi-EO-2.0
  • Prithvi-EO-2.0-300M
  • geospatial foundation model
  • earth observation
  • remote sensing
  • masked autoencoder
  • mae
  • HLS
  • harmonized landsat sentinel-2
  • IBM NASA
  • terratorch
  • satellite imagery

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{szwarcman2026prithvieo20versatilemultitemporalfoundation,
      title={Prithvi-EO-2.0: A Versatile Multi-Temporal Foundation Model for Earth Observation Applications}, 
      author={Daniela Szwarcman and Sujit Roy and Paolo Fraccaro and Þorsteinn Elí Gíslason and Benedikt Blumenstiel and Rinki Ghosal and Pedro Henrique de Oliveira and Joao Lucas de Sousa Almeida and Rocco Sedona and Yanghui Kang and Srija Chakraborty and Sizhe Wang and Carlos Gomes and Ankur Kumar and Myscon Truong and Denys Godwin and Hyunho Lee and Chia-Yu Hsu and Rohit Lal and Ata Akbari Asanjan and Besart Mujeci and Disha Shidham and Trevor Keenan and Paulo Arevalo and Wenwen Li and Hamed Alemohammad and Pontus Olofsson and Christopher Hain and Robert Kennedy and Bianca Zadrozny and David Bell and Gabriele Cavallaro and Campbell Watson and Manil Maskey and Rahul Ramachandran and Juan Bernabe Moreno},
      year={2026},
      eprint={2412.02732},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2412.02732}, 
}