← All blog posts

Can TerraMind generalize across geographic regions?

A matched optical-radar benchmark on 400 PASTIS-R patches, and the limits of a foundation model under spatial shift.

1. Research question

Satellite crop mapping models can perform differently when applied to landscapes outside their training region. This experiment asks how much a pretrained Earth observation foundation model (TerraMind) improves cross-region crop classification compared with compact U-Net baselines across Sentinel-2 optical, Sentinel-1 radar, and optical-radar fusion inputs.

2. Study area and datasets

The experiment uses a 400-patch subset of the French PASTIS-R benchmark dataset, partitioned geographically into 240 training patches, 80 validation patches, and 80 held-out southern test patches. Input modalities comprise three seasonal median composites from Sentinel-2 optical imagery and Sentinel-1 synthetic aperture radar (SAR), paired with pixel-level crop category labels.

3. Methodology

Six matched configurations were evaluated: compact U-Nets (optical, radar, and fusion) and frozen TerraMind encoders with lightweight segmentation heads (optical, radar, and fusion). A fixed regional split with a 12 km candidate centroid exclusion rule was frozen before model training. Checkpoints were selected strictly by validation crop macro-F1. Paired uncertainty between TerraMind fusion and U-Net fusion was estimated using a 10 km spatial-block bootstrap with 1,000 replicates.

4. Scientific figures and maps

Map of geographically separated training, validation and test patches in France
Frozen regional split. Two training clusters are geographically separated from the northeastern validation and southern test regions. Select any figure for full resolution.
Comparison of test crop macro-F1, mean IoU and accuracy for six configurations
Southern holdout metrics across six configurations. Overall accuracy includes background; crop macro-F1 and mIoU exclude background and void.
Three satellite patches with RGB, reference crop labels and predictions from six models
Three held-out southern patches showing original RGB imagery, reference labels, and predictions across all six models. TerraMind loses fine parcel-boundary detail relative to the reference.
Six reference-normalized crop confusion matrices
Reference-normalized confusion matrices exposing per-class misclassifications masked by overall accuracy.

5. Results

Model Southern test macro-F1
U-Net optical 0.1074
U-Net radar 0.0626
U-Net fusion 0.1294
TerraMind optical 0.1791
TerraMind radar 0.1052
TerraMind fusion 0.1859

TerraMind fusion outperformed U-Net fusion by 5.66 percentage points on the southern holdout. Across 1,000 paired 10 km spatial-block bootstrap replicates, 711 replicates retained all reference-supported crop classes, yielding a conditional confidence interval of 2.87–10.41 percentage points. The difference between TerraMind fusion and TerraMind optical had a bootstrap interval spanning zero.

6. Limitations

Although pretrained representations improved relative performance on this spatial holdout, absolute crop macro-F1 remained low (0.186). Rare crop classes were poorly recovered, and the coarse encoder feature grid blurred parcel boundaries. Because the pilot uses a single random seed and a single held-out southern region, it is not a deployment-ready product and cannot separate architectural differences from pretraining effects.

7. Reproducible code and references