Recent advances in vision-language foundation models have enabled open-vocabulary semantic segmentation (OVSS) without task-specific training, offering new opportunities for Earth Observation (EO) applications. However, their capabilities for cloud detection remain insufficiently explored. In this work, we evaluate twelve OVSS approaches across six publicly available EO datasets in a zero-shot setting, i.e., without fine-tuning or adaptation to the target data. We investigate both binary cloud detection and multiclass segmentation, distinguishing between thick clouds, thin clouds, cloud shadows, and background. Our results show differences in performance across models and datasets, with SegEarth-OV3 achieving the highest binary cloud detection performance on four of the six datasets. While several approaches demonstrate promising performance in binary cloud detection, multiclass segmentation remains more challenging, particularly when distinguishing between fine-grained cloud categories. Furthermore, our controlled prompt sensitivity analysis reveals model-dependent responses to alternative textual descriptions, with appearance-oriented prompts benefiting certain approaches while degrading the performance of others. Overall, our findings demonstrate both the potential and current limitations of zero-shot OVSS for cloud detection, establishing a comparative benchmark for future research on generalisable cloud segmentation. Code will be available at: https://github.com/josesosajs/zero-shot-cloudovss.
Figures & tables
Fig. 1: Overview of the proposed zero-shot OVSS evaluation pipeline for cloud detection in EO imagery. Input satellite images from six different datasets are processed together with natural-language prompts to perform binary or multiclass (when ground-truth annotations are available) segmentation. 12 different OVSS models, including SAM3, SegEarth-OV, and SegEarth-OV3, generate segmentation masks that distinguish between clouds and background in the binary segmentation setting, and among thick clouds, thin clouds, cloud shadows, and background in the multiclass setting. The predicted masks are subsequently evaluated against ground-truth annotations to quantitatively assess performance.
Dataset
Source
Main region
Cloud annotations
Number of images
Thick cloud
Thin cloud
Cloud shadow
CloudSEN12 [ 2 ]
S2
Global
✓
✓
✓
2450
FG-OVSSRS [ 5 ]
S2
Global
✓
✓
✓
1954
SPARCS [ 12 ]
L8
Global
∘
∘
✓
80
RICE [ 27 ]
L8
Global
∘
∘
×
450
HRC_WHU [ 26 ]
Google Earth
Global
∘
∘
×
150
TABLE I: Summary of the cloud detection datasets used in our evaluation. ✓ indicates an explicitly annotated category, ∘ indicates general cloud annotations without thickness differentiation, and × indicates that the category is not separately annotated. Image counts correspond to the samples used for evaluation.
Model
CloudSEN12
RICE
HRC_WHU
95-Cloud
SPARCS
FG-OVSSRS
Average
gIoU
cIoU
gIoU
cIoU
gIoU
cIoU
gIoU
cIoU
gIoU
cIoU
gIoU
cIoU
gIoU
cIoU
Without RS-specific training
SegCLIP ICML’23 [ 32 ]
15.81
22.67
8.46
15.22
42.60
47.48
19.91
25.14
5.24
10.22
30.96
42.24
20.50
27.16
GEM CVPR’24 [ 3 ]
46.26
47.00
20.00
20.02
36.86
36.68
33.18
35.54
20.78
25.86
47.43
55.31
34.08
36.74
SAM3 ICLR’26 [ 4 ]
20.14
14.62
10.05
13.03
67.85
69.82
39.56
36.66
28.77
28.81
38.61
45.42
34.16
34.73
OpenSeg ECCV’22 [ 10 ]
44.14
52.12
15.84
20.59
50.15
48.12
31.49
39.59
17.93
27.27
63.10
71.08
37.11
43.13
TABLE II: Quantitative evaluation of binary cloud segmentation. gIoU and cIoU scores for the cloud class across six cloud segmentation datasets. The best results are highlighted in bold , while the second-best results are underlined .
CloudSEN12
FG-OVSSRS
SPARCS
Model
Thick C.
Thin C.
C. Shadow
Back.
Avg.
Thick C.
Thin C.
C. Shadow
Back.
Avg.
Cloud
C. Shadow
Back.
Avg.
CLIP + SAM2 [ 40 ]
39.53
3.45
11.63
38.52
23.28
42.15
0.63
0.36
35.26
19.60
30.98
4.14
64.50
33.21
SAM3 [ 4 ]
8.50
0.01
0.13
45.16
13.45
45.96
1.89
0.00
35.90
20.94
28.77
0.00
76.89
35.22
SegEarth-OV [ 21 ]
44.85
2.27
6.64
51.84
26.40
46.52
6.34
0.11
31.65
21.16
45.06
1.70
78.52
41.76
SegEarth-OV3 [ 23 ]
15.90
0.33
5.19
53.33
18.69
44.66
4.75
0.00
34.18
20.90
61.00
2.06
82.07
48.38
TABLE III: Quantitative evaluation of multiclass cloud segmentation. gIoU scores for each semantic class across the CloudSEN12, FG-OVSSRS, and SPARCS datasets. The Avg. columns report the average scores across four classes for CloudSEN12 and FG-OVSSRS, and three classes for SPARCS, including background. The best results are highlighted in bold , while the second-best results are underlined .
Fig. 2: Row-normalised confusion matrices for multiclass cloud segmentation on CloudSEN12 (first row) and SPARCS (second row) datasets. Rows represent ground-truth classes and columns represent predicted classes. Values indicate the percentage of pixels assigned to each predicted class, with each row normalised independently. The matrices highlight model-specific misclassification patterns.
Prompt Category
Textual Prompts
Binary segmentation
Baseline
clouds
Semantic
cloud cover
Appearance
white clouds
Descriptive
white atmospheric clouds
Visual Proxy
white areas
TABLE IV: Textual prompt configurations used in the sensitivity analysis. The background prompt remains unchanged across all configurations.
Fig. 3: Qualitative comparison of zero-shot OVSS methods for binary cloud detection across four datasets: RICE, 95-Cloud, SPARCS, and HRC_WHU with one representative example per dataset (row). The first column shows the original images overlaid with their corresponding ground-truth annotations, while the remaining columns show the cloud masks predicted by the evaluated OVSS methods. Cloud regions are highlighted in blue , while background regions are left uncoloured for clearer visualisation.
Fig. 4: Qualitative comparison of multiclass cloud segmentation across four open-source OVSS models and two closed-source models. The first three rows show examples from the CloudSEN12 dataset, while the fourth row presents an example from the FG-OVSSRS dataset. Columns display the original RGB images with ground-truth (GT) annotations, and segmentation predictions from four open-source OVSS models (CLIP+SAM2, SegEarth-OV, SegEarth-OV3, and SAM3) and two closed-source models (ChatGPT and Gemini). Ground-truth and predicted segmentation masks are overlaid on the original RGB images. The semantic classes are thick clouds ( blue ), thin clouds ( grey ), and cloud shadows ( purple ). Note that the open-source OVSS methods produce segmentation predictions, whereas ChatGPT and Gemini generate segmentation-style overlays from image-based instructions.
Model
Prompt
Binary
Multiclass
SAM3 [ 4 ]
Baseline
34.16
17.19
Semantic
15.66 (-18.51)
16.21 (-0.98)
Appearance
30.35 (-3.82)
11.67 (-5.53)
Descriptive
33.37 (-0.79)
18.08 (+0.89)
Visual Proxy
37.14 (+2.97)
24.34 (+7.14)
SegEarth-OV3 [ 23 ]
Baseline
55.55
19.79
TABLE V: Quantitative prompt sensitivity analysis for binary and multiclass open-vocabulary cloud segmentation. Results are averaged across all evaluated datasets (gIoU): Binary reports mean cloud-class gIoU (%) across six datasets and Multiclass reports mean 4-class gIoU (%) across CloudSEN12 and FG-OVSSRS datasets. Differences relative to the baseline prompt configuration are shown in parentheses, with negative and positive changes highlighted in red and green, respectively. Values are rounded to two decimal places; differences are computed before rounding.
Open-vocabulary segmentation (OVS) extends the zero-shot recognition capabilities of vision-language models (VLMs) to pixel-level prediction, enabling segmentation of arbitrary categories specified by text prompts. Despite recent progress, OVS lags behind fully supervised approaches due to two challenges: the coarse image-level supervision used to train VLMs and the semantic ambiguity of natural language. We address these limitations by introducing a few-shot setting that augments textual prompts with a support set of pixel-annotated images. Building on this, we propose a retrieval-augmented test-time adapter that learns a lightweight, per-image classifier by fusing textual and visual support features. Unlike prior methods relying on late, hand-crafted fusion, our approach performs learned, per-query fusion, achieving stronger synergy between modalities. The method supports continually expanding support sets, and applies to fine-grained tasks such as personalized segmentation. Experiments show that we significantly narrow the gap between zero-shot and supervised segmentation while preserving open-vocabulary ability.
Tilemachos Aravanis, Vladan Stojnić, Bill Psomas +2
VRG, FEE, Czech Technical University in Prague · University of Crete · Archimedes, Athena RC +1
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.
Benedikt Blumenstiel, Hugues Devimeux, Johannes Jakubik +1
Recent advances in Vision Language Models (VLMs) and Vision Foundation Models (VFMs) have opened new opportunities for zero-shot text-guided segmentation of remote sensing imagery. However, most existing approaches still rely on additional trainable components, limiting their generalisation and practical applicability. In this work, we investigate to what extent text-based remote sensing segmentation can be achieved without additional training, by relying solely on existing foundation models. We propose a simple yet effective approach that integrates contrastive and generative VLMs with the Segment Anything Model (SAM), enabling a fully training-free or lightweight LoRA-tuned pipeline. Our contrastive approach employs CLIP as mask selector for SAM's grid-based proposals, achieving state-of-the-art open-vocabulary semantic segmentation (OVSS) in a completely zero-shot setting. In parallel, our generative approach enables reasoning and referring segmentation by generating click prompts for SAM using GPT-5 in a zero-shot setting and a LoRA-tuned Qwen-VL model, with the latter yielding the best results. Extensive experiments across 19 remote sensing benchmarks, including open-vocabulary, referring, and reasoning-based tasks, demonstrate the strong capabilities of our approach. Code will be released at https://github.com/josesosajs/trainfree-rs-segmentation.