Organizations: School of Information Science and Technology, Yunnan Normal University, Kunming, China · School of Computer Science and Technology, Anhui University, Hefei, China · College of Computer Science, Beijing University of Technology, Beijing, China · School of Information Science and Technology, Southwest Jiaotong University, Chengdu 611756, China
In open-vocabulary semantic segmentation (OVSS) of remote-sensing imagery, class-name prompts can miss objects with varied appearances, while richer descriptions can activate competing classes. We propose Response-Oriented Prompt Selection for SAM 3 (ROSE-SAM3), a training-free framework that selects descriptions using frozen SAM 3 responses on unlabeled target-domain images. We screen candidate descriptions for coverage beyond the native prompts while protecting reliable native class responses, retaining candidates that pass these checks on at least four of five image folds. An offline directed acyclic graph (DAG) search then evaluates candidate combinations and builds a compact PromptBank for each class. Each bank retains the native prompts and adds selected descriptions, which we call residual prompts. At inference, the bank is fixed, and Semantic-Instance Cooperative Head (SICH) uses instance evidence to refine semantic responses before assigning pixel labels. We also introduce RS-OVSS-C to evaluate robustness under six image corruption families across eight remote-sensing datasets, preserving their class vocabularies and reference labels. ROSE-SAM3 achieves 57.3% mean mIoU across eight clean benchmarks and 54.7% on RS-OVSS-C, achieving state-of-the-art performance among training-free methods. The code is publicly available at https://github.com/YanghuiSong/ROSE-SAM3.
Figures & tables
Fig. 1: Motivation for ROSE-SAM3. Prompt descriptions can be assessed through their spatial responses, while controlled corruptions expose errors that clean-image evaluation misses.
Fig. 2: ROSE-SAM3 pipeline. Native anchors and candidate descriptions are evaluated using frozen SAM 3 responses on unlabeled image folds. Offline DAG selection constructs a class-specific PromptBank, which SICH uses for online segmentation.
Fig. 3: Candidate screening and bounded DAG selection. The response checks identify useful descriptions while protecting native class responses. The DAG then evaluates their combinations and retains a compact PromptBank.
Fig. 4: Examples of native anchors and residual prompts retained after DAG selection. The added descriptions express alternative appearances or names for each dataset class.
Fig. 5: Semantic–Instance Cooperative Head (SICH). Instance evidence reinforces or suppresses semantic responses. A fixed class weight combines the two refinement branches.
Fig. 6: RS-OVSS-C examples under the reported corruption settings. The corruptions change image appearance while preserving image dimensions and segmentation labels.
Method
Backbone
LoveDA
Potsdam
Vaihingen
iSAID
OEM
UDD5
VDD
UAVid
Avg.
Trained on remote-sensing segmentation data
SCAN [ 30 ]
CLIP-L/14@336
23.2
27.5
15.2
44.3
–
34.1
29.2
20.3
27.7
SAN [ 24 ]
CLIP-L/14@336
25.3
37.3
39.2
49.6
–
37.2
35.8
23.5
35.4
SED [ 69 ]
CLIP ConvNeXt-L
24.6
29.4
39.0
51.2
–
35.7
32.5
21.3
33.4
CAT-Seg [ 25 ]
CLIP-L/14@336
28.6
35.8
42.3
53.3
–
40.2
39.1
25.7
37.9
OVRS [ 38 ]
CLIP-L/14@336
31.5
36.4
43.5
52.7
–
40.8
37.2
24.1
38.0
TABLE I: Clean-image open-vocabulary segmentation comparison (mIoU, %). ∗ marks results reproduced from public implementations. Other values are from the cited studies.
Fig. 7: Qualitative comparison on clean remote-sensing images spanning aerial objects, land-cover regions, and UAV scenes.
DAG selection
SICH
OEM
Potsdam
Vaihingen
UAVid
Mean
−
−
47.9
57.1
60.7
56.8
55.6
✓
−
49.2
58.6
65.2
59.6
58.2
✓
✓
49.3
58.9
65.3
59.9
58.4
TABLE II: Component ablation (mIoU, %).
Fig. 8: SAM 3 responses from native anchors and the selected PromptBank. Difference maps highlight regions activated by the additional descriptions.
Variant
OEM
UDD5
Vaihingen
Mean
FPS
Independent ranking
49.1
72.6
62.8
61.5
2.38
w/o native anchor protection
35.3
29.7
64.7
43.2
3.2
w/o cross-class protection
49.3
72.7
65.0
62.3
2.59
w/o fold consistency
47.9
71.6
60.7
60.1
3.44
Full DAG selection
49.3
73.7
65.3
62.8
2.52
TABLE III: DAG selection criterion ablation on OEM, UDD5, and Vaihingen (mIoU, %). SICH is disabled, and FPS is macro-averaged.
Variant
Anchor
Protection
Residual set
mIoU
Δ
Full
Fixed
✓
Selective
35.1
0.0
Unrestricted
Updatable
−
Unrestricted
20.6
−14.5
All accepted
Fixed
✓
All accepted
34.2
−0.9
TABLE IV: Native-anchor protection and residual-prompt inclusion on the full iSAID split (mIoU, %).
Fusion strategy
OEM
Potsdam
Vaihingen
UAVid
Mean
Semantic only
48.0
58.5
65.1
59.6
57.8
Instance only
28.4
47.5
57.0
56.5
47.4
Mean fusion
45.9
57.4
63.4
58.6
56.3
Max fusion
49.3
58.6
65.2
59.6
58.2
SICH (Ours)
49.3
58.9
65.3
59.9
58.4
TABLE V: Response fusion comparison using the same PromptBank (mIoU, %).
Corruption / metric
VIP
CorrCLIP
RSCLIP
SegEarth-OV
ActiveSAM
SegEarth-OV3
ROSE-SAM3
Gaussian noise
31.9
22.2
34.0
33.8
48.1
48.4
52.4
Motion blur
32.4
24.3
36.0
36.2
50.2
51.7
54.4
Downsampling
32.6
24.6
36.9
37.2
50.8
52.7
55.5
Fog
33.8
23.7
36.7
37.0
50.9
52.5
55.7
Shadow
33.6
24.1
34.8
34.9
49.8
53.4
55.8
Stripe artifacts
32.9
23.8
36.0
36.3
50.4
52.1
54.2
TABLE VI: Performance under six corruptions, averaged over eight datasets (mIoU and mAcc, %).
Corruption-averaged mIoU (%)
Gain
Dataset
Native anchors
PromptBank
OEM
46.7
48.1
1.4
LoveDA
40.7
43.4
2.7
Vaihingen
56.5
61.7
5.2
VDD
64.1
67.0
2.9
Mean
52.0
55.1
+3.1
TABLE VII: Corruption-averaged mIoU (%) for native anchors and the frozen PromptBank on four datasets.
Fig. 9: Effect of the residual-prompt budget on mean mIoU and inference throughput across OEM, UDD5, Vaihingen, and VDD. Larger budgets increase inference cost with little gain beyond K=2 .
Fig. 10: Dataset-level mIoU across six RS-OVSS-C corruptions. Each panel compares methods on the same eight datasets. Axis bounds are fixed across panels for each dataset.
Fig. 11: Qualitative comparison under RS-OVSS-C corruptions. The examples contrast preservation of broad regions with errors around small objects and fine boundaries.
School of Information Science and Technology, Yunnan Normal University, Kunming, China · School of Computer Science and Engineering, Beihang University, Beijing, China · College of Computer Science, Beijing University of Technology, Beijing, China
Faculty of Data Science, City University of Macau, 999078, SAR Macao, China · Chair of Data Science in Earth Observation, Technical University of Munich (TUM), Germany · Munich Center for Machine Learning, Munich, Germany