Skip to main content
QUICK REVIEW

[Paper Review] RSPrompter: Learning to Prompt for Remote Sensing Instance Segmentation based on Visual Foundation Model

Keyan Chen, Chenyang Liu|arXiv (Cornell University)|Jun 28, 2023
Remote-Sensing Image ClassificationEngineering18 citations
TL;DR

The paper proposes RSPrompter, a learnable prompt generator that adapts the SAM foundation model for semantically aware instance segmentation in remote sensing images, validated on multiple RS datasets.

ABSTRACT

Leveraging the extensive training data from SA-1B, the Segment Anything Model (SAM) demonstrates remarkable generalization and zero-shot capabilities. However, as a category-agnostic instance segmentation method, SAM heavily relies on prior manual guidance, including points, boxes, and coarse-grained masks. Furthermore, its performance in remote sensing image segmentation tasks remains largely unexplored and unproven. In this paper, we aim to develop an automated instance segmentation approach for remote sensing images, based on the foundational SAM model and incorporating semantic category information. Drawing inspiration from prompt learning, we propose a method to learn the generation of appropriate prompts for SAM. This enables SAM to produce semantically discernible segmentation results for remote sensing images, a concept we have termed RSPrompter. We also propose several ongoing derivatives for instance segmentation tasks, drawing on recent advancements within the SAM community, and compare their performance with RSPrompter. Extensive experimental results, derived from the WHU building, NWPU VHR-10, and SSDD datasets, validate the effectiveness of our proposed method. The code for our method is publicly available at kychen.me/RSPrompter.

Motivation & Objective

  • Investigate the applicability of the SAM foundation model to remote sensing instance segmentation.
  • Develop a learn-to-prompt module that generates category-related prompts for SAM.
  • Improve RS instance segmentation by incorporating semantic category information into prompts for SAM.

Proposed method

  • Introduce RSPrompter, a lightweight feature enhancer and prompt generator that outputs category-related prompt embeddings for SAM.
  • Implement two prompter variants (anchor-based and query-based) to generate instance-level prompts and semantic labels.
  • Use a multi-scale feature enhancer to fuse SAM backbone features and provide rich semantic cues to the prompter.
  • Train with a composite loss that includes RPN/objectness, semantic/classification, box regression, and SAM-based segmentation terms (and an optimal transport-based matching for the query-based prompter).
  • Extend SAM with three alternative RS-oriented setups (SAM-seg, SAM-cls, SAM-det) for comparative analysis.

Experimental results

Research questions

  • RQ1Can SAM be adapted for automatic, semantically aware instance segmentation in remote sensing via learned prompting?
  • RQ2What prompt representations (anchor-based or query-based) best enable category-specific masks in RS imagery?
  • RQ3How do RS-enhanced SAM variants (RSPrompter, SAM-seg, SAM-cls, SAM-det) perform across RS datasets with varying sizes and modalities?

Key findings

  • RSPrompter enables category-aware, instance-level segmentation results on RS imagery by learning prompts tailored to semantic categories.
  • The approach is validated on three RS datasets (WHU building, NWPU VHR-10, SSDD), demonstrating effectiveness of the learned prompts with SAM.
  • The paper provides extensive ablations and comparisons against alternative SAM-based adaptations (SAM-seg, SAM-cls, SAM-det).
  • Two prompt-generation paradigms (anchor-based and query-based) are proposed and evaluated, with objective functions aligned to Faster R-CNN style losses and Hungarian matching in the query-based variant.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.