TerraMesh-Masks: Open-Vocabulary Segmentation for Earth Observation
Organizations: ETH Zurich Zurich, Switzerland
Abstract
Open-vocabulary segmentation (OVS) enables models to segment a variety of concepts specified in natural language, removing the need for fixed label sets and fine-tuning. While recent OVS approaches have shown strong performance on natural images, they transfer poorly to Earth observation (EO) data due to differing semantics, scales, sensing modality, and geographic context. To date, large-scale EO-specific datasets and benchmarks for OVS remain scarce. We, therefore, introduce TerraMesh-Masks, a large-scale open-vocabulary segmentation dataset for EO, comprising 16 million binary masks aligned with nine million multimodal TerraMesh samples and annotated using OpenStreetMap and Overture-derived semantics. In addition, we provide an expert-reviewed evaluation set of 523 samples covering over 200 classes to enable robust evaluation. To demonstrate the impact of TerraMesh-Masks, we build an open-vocabulary version of TerraMind. Our results demonstrate significantly improved performance over general-purpose state-of-the-art models reaching 35.18% IoU versus 16.29% for DINOv3.txt and 11.33% for SAM-3. We release the dataset publicly under a permissive license at https://huggingface.co/datasets/ibm-esa-geospatial/TerraMesh-Masks.
Figures & tables
| Dataset | Number of images | Vocabulary size | Modalities | Resolution | Image source | Annotation source | License |
| GeoPixelD [ 3 ] | 18.7k | 53k | RGB | 1m | iSAID | Source labels | CC-BY 4.0 |
| MM-OVSeg [ 17 ] | 25k | unknown | RGB, SAR | 0.5–3 m | SpaceNet6; DFC2023 | unknown | unknown |
| LandDiscover50K [ 15 ] | 51k | 40 | RGB | high-res | 9 datasets | Source labels | MIT |
| RemoteSAM-270K [ 4 ] | 270k | 1000 | RGB | high-res | 10 datasets | Source labels | CC-BY 4.0 |
| EarthMind [ 18 ] | >500k | unknown | Optical, SAR | various | 7+ datasets | Source labels | Apache 2.0 |
| TerraMesh-Masks (ours) | 9M | 44k | S1, S2, RGB, DEM | 10m | TerraMesh | Overture, OpenStreetMap | ODbL |
| Model | Param. | Training | Input | IoU pos | mIoU | F1 | Precision | Recall |
| SAM-3 | 841M | RGB | RGB | 11.33 2.30 | 10.97 1.39 | 13.32 2.54 | 12.86 2.58 | 20.97 3.33 |
| RemoteSAM | 242M | RGB | RGB | 14.79 2.13 | 30.42 1.81 | 19.62 2.48 | 20.60 2.84 | 50.19 3.49 |
| DINOv3.txt | 867M | RGB | RGB | 16.29 1.87 | 41.40 1.42 | 23.14 2.28 | 24.70 2.72 | 51.53 3.50 |
| DINO Soars | 869M | RGB | RGB | 19.49 2.55 | 44.29 1.93 | 24.57 2.83 | 23.65 2.92 | 48.43 3.98 |
| SegEarth-OV | 150M | RGB | RGB | 21.59 2.47 | 48.38 1.53 | 28.01 2.77 | 30.81 3.10 | 45.34 3.51 |
| GeoPixel | 11.3B | RGB | RGB | 15.06 1.99 | 49.25 1.58 | 20.62 2.41 | 40.27 3.69 | 20.15 2.57 |
| Model | CaFFe (OOD) | reBEN-7k (Test split) | reBEN-7k (OOD split) | |||
| mIoU (%) | F1 (%) | mIoU (%) | F1 (%) | mIoU (%) | F1 (%) | |
| DINOv3.txt | 15.32 | 22.64 | 3.52 | 5.20 | 3.07 | 4.60 |
| SAM-3 | 1.00 | 1.24 | 7.30 | 1.00 | 8.76 | 1.03 |
| TerraMind-OVS-S | 14.57 | 22.82 | 10.93 | 18.40 | 11.26 | 17.59 |
| TerraMind-OVS-S (S2) | 14.35 | 22.29 | 11.46 | 19.25 | 14.06 | 21.23 |
| TerraMind-OVS-B | 9.10 | 14.14 | 13.75 | 22.23 | 16.54 | 24.32 |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Id | Group name | Sample | Unique | Examples |
| count | labels | |||
| 1 | Inland water | 63 | 14 | reservoir, river, stream, canal, lake |
| 2 | Coastal water | 45 | 12 | coastal bay, ocean, bay, sea, coral reef |
| 3 | Coastal land | 39 | 16 | islet, coastal island, island, peninsula |
| 4 | Forest & wetland | 30 | 9 | forest, mangrove forest, wetland, mangrove |
| 5 | Grass & shrubland | 12 | 8 | scrubland, meadow, shrubland, hedge |
| Model | Inland water | Coastal water | Coastal land | Forest & wet. | Grass & shrub. | Agriculture | Barren terrain | Airport | Transport | Utilities | Industry | Settlements | Civic & inst. | Recreation | Mean | |
| IoU pos | SAM-3 | 20.49 | 43.58 | 22.77 | 3.48 | 5.84 | 5.26 | 12.91 | 4.66 | 0.00 | 0.14 | 10.90 | 11.97 | 1.08 | 0.77 | 10.28 |
| RemoteSAM | 6.24 | 19.98 | 27.29 | 32.51 | 28.95 | 17.89 | 36.96 | 13.92 | 5.04 | 4.51 | 9.71 | 13.76 | 2.48 | 9.50 | 16.34 | |
| DINOv3.txt | 11.22 | 42.05 | 23.41 | 26.12 | 8.32 | 17.03 | 21.80 | 12.58 | 4.57 | 5.09 | 19.76 | 26.55 | 7.90 | 4.96 | 16.53 | |
| DINO Soars | 11.79 | 58.89 | 21.89 | 39.29 | 16.10 | 13.99 | 42.61 | 16.97 | 1.52 | 5.90 | 20.56 | 26.47 | 3.54 | 2.96 | 20.18 | |
| SegEarth-OV | 16.82 | 57.85 | 23.32 | 39.14 | 18.62 | 18.89 | 46.84 | 10.99 | 3.89 | 5.76 | 18.36 | 33.13 | 7.20 | 5.87 | 21.91 | |
| GeoPixel | 9.60 | 19.65 | 19.51 | 20.01 | 7.26 | 16.59 | 13.76 | 19.13 | 16.56 | 4.47 | 25.32 | 20.26 | 12.46 | 11.26 | 15.42 |
Open-Vocabulary Semantic Segmentation
Open-vocabulary semantic segmentation labels image pixels using text-defined categories beyond a fixed training vocabulary.
See all 88 papers