Skip to main content
QUICK REVIEW

[Paper Review] SAMRS: Scaling-up Remote Sensing Segmentation Dataset with Segment Anything Model

Di Wang, Jing Zhang|arXiv (Cornell University)|May 3, 2023
Remote-Sensing Image ClassificationEngineering48 citations
TL;DR

The paper builds a large-scale remote sensing segmentation dataset (SAMRS) by using SAM with existing RS object detection datasets, and demonstrates segmentation pre-training benefits for RS tasks.

ABSTRACT

The success of the Segment Anything Model (SAM) demonstrates the significance of data-centric machine learning. However, due to the difficulties and high costs associated with annotating Remote Sensing (RS) images, a large amount of valuable RS data remains unlabeled, particularly at the pixel level. In this study, we leverage SAM and existing RS object detection datasets to develop an efficient pipeline for generating a large-scale RS segmentation dataset, dubbed SAMRS. SAMRS totally possesses 105,090 images and 1,668,241 instances, surpassing existing high-resolution RS segmentation datasets in size by several orders of magnitude. It provides object category, location, and instance information that can be used for semantic segmentation, instance segmentation, and object detection, either individually or in combination. We also provide a comprehensive analysis of SAMRS from various aspects. Moreover, preliminary experiments highlight the importance of conducting segmentation pre-training with SAMRS to address task discrepancies and alleviate the limitations posed by limited training data during fine-tuning. The code and dataset will be available at https://github.com/ViTAE-Transformer/SAMRS.

Motivation & Objective

  • Motivate efficient pixel-level annotation in remote sensing by leveraging SAM and existing detection datasets.
  • Create a large-scale, diverse RS segmentation dataset (SAMRS) with semantic, instance, and bounding box information.
  • Analyze the impact of SAM-based prompts and pre-training (SEP) on RS segmentation performance.
  • Evaluate SEP across multiple RS segmentation architectures and backbone types.
  • Demonstrate practical benefits of segmentation pre-training when training data is scarce.

Proposed method

  • Use Segment Anything Model (SAM) with existing RS object detection datasets to generate pixel-level segmentation masks.
  • Transform detection annotations into mask prompts using six prompt variants (CP, H-Box, RH-Box, and their mask counterparts).
  • Crop/resize datasets (DOTA-V2.0, FAIR1M-2.0, DIOR) to suitable sizes for SAM-based annotation.
  • Promote a multi-head pre-training approach to handle multiple datasets with different category counts.
  • Combine SAM-generated masks with various backbone models and training regimes for segmentation pre-training (SEP).
  • Conduct ablations to compare prompt types and assess SEP effectiveness across architectures.

Experimental results

Research questions

  • RQ1Can SAM-derived prompts produce high-quality pixel-level RS segmentations when transforming existing detection annotations?
  • RQ2What is the effect of different prompt types on SAM-based RS segmentation accuracy?
  • RQ3Does segmentation pre-training on SAMRS improve downstream RS segmentation performance, especially with limited labeled data?
  • RQ4How does SEP interact with various backbones and segmentation architectures in RS tasks?
  • RQ5What are the scalability and diversity benefits of SAMRS compared to existing RS segmentation datasets?

Key findings

  • SAMRS comprises 105,090 images and 1,668,241 instances, exceeding prior RS segmentation datasets by orders of magnitude.
  • Among prompts, horizontal-box prompts (H-Box) generally yield the best segmentation performance, with RH-Box also effective when only rotated boxes are available.
  • Segmentation pre-training (SEP) on SAMRS improves downstream RS segmentation performance across multiple backbones and architectures, especially when training data is scarce.
  • SEP combined with SAMRS can outperform baseline pre-training strategies like ImageNet or MAE in several configurations.
  • End-to-end models like Mask2Former showed mixed gains with SEP, suggesting model-specific optimization is needed for RS data.

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.