In this paper, we propose ReSeg-CLIP, a new training-free Open-Vocabulary Semantic Segmentation method for remote sensing data. To compensate for the problems of vision language models, such as CLIP in semantic segmentation caused by inappropriate interactions within the self-attention layers, we introduce a hierarchical scheme utilizing masks generated by SAM to constrain the interactions at multiple scales. We also present a model composition approach that averages the parameters of multiple RS-specific CLIP variants, taking advantage of a new weighting scheme that evaluates representational quality using varying text prompts. Our method achieves state-of-the-art results across three RS benchmarks without additional training.
Figures & tables
Figure 1: Example of distorted inter-patch attention for a selected patch (white squares). Left to right: input image, attention map obtained by the original CLIP vision encoder [ 30 ] , and the attention map obtained by our method. Blue corresponds to low attention, red to high attention in relation to the selected patch. CLIP often assigns high attention to arbitrary patches without any relevance for the selected patch. Applying our method results in high attention concentrated on patches associated with the same object as the selected patch.
Figure 2: ReSeg-CLIP consists of CLIP-based vision and text encoders and SAM. The input image X is processed by both the vision encoder and SAM, resulting in features F . SAM produces hierarchical masks M , converted into attention masks A for the final vision encoder layers (red blocks). Text prompts for each class are encoded into embeddings T , which are compared with the features F via cosine similarity. The results are upsampled to score map Sim , and the segmentation Y^ assigns to each pixel the class with highest similarity.
Figure 3: Results on the UDD5 dataset. SegEarth-OV yields more homogeneous masks, our method offers better class distinction in adjacent regions (red circles). Despite some interpolation-induced noise, our model effectively detects mislabeled areas (orange square).
Method
Potsdam
UDD5
OEM
Training
Cao et al. [ 2 ]
30.3
-
-
✓
Ye et al. [ 42 ]
45.7
-
-
✓
SegEarth-OV
47.1
50.6
40.3
✠
ReSeg-CLIP
38.3
43.2
32.4
✗
Table 1: Comparison of mIoU [%] across OVSS RS methods. Last column: ✓ : full-network training; ✠: training of the upsampling module; × : no training.
Dataset
CLIP
MaskCLIP
SCLIP
GEM
ClearCLIP
C+P
Ours
Potsdam
14.5
31.7
36.6
36.5
\textcolor red40.9
18.8
\textcolor blue38.3
UDD5
9.5
32.4
38.7
41.2
\textcolor blue41.8
15.0
\textcolor red43.2
OEM
12.0
25.1
29.3
\textcolor red33.9
31.0
15.3
\textcolor blue32.4
Table 2: Comparison of mIoU [%] (best in red, second best in blue) across training-free general-purpose methods. C+P refers to ReSeg-CLIP without using any SAM-based attention masks in the vision encoder, i.e., ∣Θ∣=0 .
Parametrization
Weighting
0
1
2
3
4
5
mIoU
CLIP [ 30 ]
-
25.9
44.4
34.6
41.5
6.1
3.4
24.5
GeoRSCLIP [ 50 ]
-
34.8
54.4
\textcolor blue50.1
51.0
\textcolor red14.7
\textcolor red5.6
33.0
RemoteCLIP [ 25 ]
-
36.5
\textcolor blue61.4
39.1
48.1
2.8
2.5
30.4
[ 50 ] + [ 25 ]
PVSM
\textcolor red41.7
60.2
\textcolor red53.3
\textcolor red59.3
11.3
3.7
\textcolor red38.3
[ 50 ] + [ 25 ]
equal
\textcolor blue39.1
56.5
49.9
\textcolor blue55.6
10.6
3.5
\textcolor blue35.9
[ 50 ] + [ 25 ] + [ 30 ]
PVSM
29.0
48.9
34.9
44.1
8.1
2.8
28.9
Table 3: Per-class IoU [%] and mean IoU (mIoU) [%] (best in red, second best in blue) on the Potsdam dataset. All variants with ∣Θ∣=6 layers with SAM-based attention masks in the vision encoder (cf. Sec. 3.1 ). Classes: 0: Artificial Surface, 1: Building, 2: Natural Surface, 3: Vegetation, 4: Vehicle, 5: Background.
∣Θ∣
0
1
3
6
12
18
mIoU [%]
18.8
25.5
\textcolor blue33.7
\textcolor red38.3
32.1
19.4
Table 4: Effect of number of layers in ReSeg-CLIP’s vision encoder with SAM-based attention masks ∣Θ∣ on Potsdam dataset (best in red, second best in blue).
Open-vocabulary semantic segmentation (OVS) of remote sensing imagery is a challenging pixel-level task requiring strong generalization and adaptation to the spatial characteristics of remote sensing data. Although existing vision-language foundation models perform well in general domains, their image-level classification design weakens the spatial priors needed for high-resolution remote sensing segmentation: structural spatial relations are degraded during deep feature transformation, and fine-grained spatial details are lost during downsampling. To address these complementary deficiencies, we propose SatOV, a training-free framework for open-vocabulary remote sensing segmentation that restores spatial priors at two stages of the representation pipeline. Specifically, Residual QQ Attention (ResQQ) extracts Query-Key self-attention from an intermediate CLIP layer and fuses it with final-layer Query-Query attention via a residual combination, restoring structural spatial priors suppressed by the final-layer representation. Spatially Modulated Upsampling (SatUp) uses the original high-resolution RGB image as spatial guidance, combining spatial feature modulation with guided cross-attention to reconstruct pixel-level textures and boundaries. Extensive experiments on DOTA, UDD, LoveDA, and Vaihingen show that SatOV consistently improves training-free OVS and achieves competitive quantitative and qualitative results against state-of-the-art methods. These results validate the effectiveness of restoring spatial priors at both the representation and spatial-resolution stages for remote sensing open-vocabulary segmentation.
Changhao Zhao, Linglin Zeng, Hai Liu
College of Resources and Environment, Huazhong Agricultural University, Wuhan 430070, China
Open-vocabulary semantic segmentation in the remote sensing (RS) field requires both language-aligned recognition and fine-grained spatial delineation. Although CLIP offers robust semantic generalization, its global-aligned visual representations inherently struggle to capture structural details. Recent methods attempt to compensate for this by introducing RS-pretrained DINO features. However, these methods treat CLIP representations as a monolithic semantic space and cannot localize where structural enhancement is required, failing to effectively delineate boundaries while risking the disruption of CLIP's semantic integrity. To address this limitation, we propose DR-Seg, a novel decouple-and-rectify framework in this paper. Our method is motivated by the key observation that CLIP feature channels exhibit distinct functional heterogeneity rather than forming a uniform semantic space. Building on this insight, DR-Seg decouples CLIP features into semantics-dominated and structure-dominated subspaces, enabling targeted structural enhancement by DINO without distorting language-aligned semantics. Subsequently, a prior-driven graph rectification module injects high-fidelity structural priors under DINO guidance to form a refined branch, while an uncertainty-guided adaptive fusion module dynamically integrates this refined branch with the original CLIP branch for final prediction. Comprehensive experiments across eight benchmarks demonstrate that DR-Seg establishes a new state-of-the-art.
Jie Feng, Fengze Li, Junpeng Zhang +4
Xidian University China · Jimei University China · South China University of Technology China
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.