Enabling Training-Free Text-Based Remote Sensing Segmentation

Jose Sosa, Danila Rukhovich, Anis Kacem, Djamila Aouada

Abstract

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.

Introduction

Remote sensing imagery is critical for earth observation tasks like disaster response and environmental monitoring. Traditionally, segmenting these images requires training models on massive datasets with expensive, pixel-perfect human annotations.

Recently, Vision Language Models (VLMs) have enabled "zero-shot" segmentation in natural images—meaning you can just type what you want to segment, and the model finds it without prior task-specific training. However, applying this to remote sensing usually requires bolting on new, trainable components (like adapters or mask decoders) to bridge the gap between text and geospatial visuals. This adds computational overhead and limits how well the models generalize. This paper investigates whether high-quality, text-based remote sensing segmentation can be achieved using only existing foundation models, without training any new components.

Methodology

The proposed approach consists of two complementary pipelines that pair a VLM (for understanding text and images) with the Segment Anything Model (SAM) for generating segmentation masks.

Overview of the proposed contrastive and generative VLM pipelines compared to existing approaches.

1. Contrastive VLMs for Open-Vocabulary Segmentation

This pipeline is entirely zero-shot. SAM is prompted with a grid of points to generate a massive set of category-agnostic mask proposals across the image. Simultaneously, a contrastive VLM (CLIP) processes the image and the text prompt to create a per-pixel probability map. The system then selects and merges the SAM masks that overlap with CLIP's high-probability areas.

2. Generative VLMs for Reasoning and Referring Segmentation

For complex prompts requiring spatial reasoning (e.g., "Which area is best suited for a peaceful day of fishing?"), generative VLMs like GPT-5 or Qwen-VL are utilized. Instead of forcing the VLM to output a visual mask directly, the VLM is prompted to output text coordinates representing positive and negative "clicks." These clicks serve as prompts for SAM to generate the final mask.

The generative pipeline uses a VLM to predict positive and negative clicks, which then prompt SAM to produce a segmentation mask.

To optimize this, the authors apply lightweight LoRA (Low-Rank Adaptation) fine-tuning to Qwen-VL using synthetic click data, automatically generated by comparing SAM's outputs to ground-truth masks.

Experimental Setup and Datasets

The approach was evaluated on a comprehensive suite of 19 remote sensing benchmarks, covering multi-class and single-class Open-Vocabulary Semantic Segmentation (OVSS), as well as Referring and Reasoning Segmentation tasks (e.g., RRSIS-D and EarthReason).

Key Insights and Results

  • Task-Specific VLM Selection: Contrastive models (CLIP) are highly effective for simple, multi-region classes, while generative models excel at complex, single-target reasoning tasks.
  • Text-to-Clicks Bridge: Using click coordinates as an interface between LLMs and SAM avoids the need for complex architectural modifications.
  • State-of-the-Art Performance: The zero-shot contrastive pipeline outperformed previous SOTA methods on 7 out of 8 multi-class datasets. The LoRA-tuned generative pipeline achieved SOTA results on EarthReason (72.7 mIoU) and RRSIS-D (67.6 mIoU).
  • Efficiency: The contrastive pipeline is faster during inference than baseline methods while maintaining higher accuracy.

Conclusion and Limitations

While the proposed training-free approach is highly effective, it faces challenges with extremely fine-grained categories or crowded scenes. However, as foundation models continue to evolve, this modular architecture is poised to benefit from future improvements in geospatial understanding without requiring significant architectural redesigns.

Summary updated

BibTeX
@misc{sosa2026enabling,
  author = {Jose Sosa and Danila Rukhovich and Anis Kacem and Djamila Aouada},
  title = {{Enabling Training-Free Text-Based Remote Sensing Segmentation}},
  year = {2026},
  eprint = {2602.17799},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.17799},
}
Figure