SAM2Former: Segment Anything Model 2 Assisting UNet-Like Transformer for Remote Sensing Image Semantic Segmentation

Remote sensing semantic segmentation plays a crucial role in the fields of land cover classification, disaster monitoring, and urban planning. However, due to the high complexity and category imbalance of remote sensing data sets, traditional image segmentation network tend to be slow to train and difficult to capture deep semantic information, which leads to the accuracy failing to meet the requirements of practical applications. Inspired by the powerful transfer learning capability of visual foundation models, we introduce a semantic segmentation network for remote sensing images called SAM2Former, which utilizes the Segment Anything Model 2 (SAM2) to assist a UNet-like Transformer. The SAM2Former is a dual-encoder and single-decoder structure composed of the efficient ResNet18 and SAM2’s Image Encoder as dual encoders, with Transformer as the decoder. Firstly, we incorporate the lightweight Adapter to perform parameter-efficient fine-tuning on SAM2 and design a multi-scale information aggregation module (MIAM) to connect the dual-encoder, which weighted multi-scale features layer by layer of SAM2 Block and CNN, preserving key information in the image. Secondly, we devise a decoder based on global-local transformer module (GLTM) to effectively extract global context information and local detail information, improving the segmentation ability of edge texture. Finally, we construct the feature enhancement module (FEM) to improve the recognition accuracy of similar categories by combining channel and spatial attention features. Moreover, our SAM2Former performed com-prehensive comparative and ablation experiments on the ISPRS Vaihingen and Potsdam datasets, showing notable improvements in segmentation performance.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3583458
Citations
1
Primary Topic
Image Retrieval and Classification Techniques
Type
article
Field-Weighted Citation Impact
1.28
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SAM2Former: Segment Anything Model 2 Assisting UNet-Like Transformer for Remote Sensing Image Semantic Segmentation

Zihong Wang, Na Yang, Chuanzhao Tian, Yanting Zhang et al.
1 citations
IEEE Access
Image Retrieval and Classification Techniques
1.28
article

SAM2Former: Segment Anything Model 2 Assisting UNet-Like Transformer for Remote Sensing Image Semantic Segmentation

Zihong Wang, Na Yang, Chuanzhao Tian, Yanting Zhang, Feng Zhang, Xiaomin Tian, Xuewen Li
article en
1 citations

Abstract

Remote sensing semantic segmentation plays a crucial role in the fields of land cover classification, disaster monitoring, and urban planning. However, due to the high complexity and category imbalance of remote sensing data sets, traditional image segmentation network tend to be slow to train and difficult to capture deep semantic information, which leads to the accuracy failing to meet the requirements of practical applications. Inspired by the powerful transfer learning capability of visual foundation models, we introduce a semantic segmentation network for remote sensing images called SAM2Former, which utilizes the Segment Anything Model 2 (SAM2) to assist a UNet-like Transformer. The SAM2Former is a dual-encoder and single-decoder structure composed of the efficient ResNet18 and SAM2’s Image Encoder as dual encoders, with Transformer as the decoder. Firstly, we incorporate the lightweight Adapter to perform parameter-efficient fine-tuning on SAM2 and design a multi-scale information aggregation module (MIAM) to connect the dual-encoder, which weighted multi-scale features layer by layer of SAM2 Block and CNN, preserving key information in the image. Secondly, we devise a decoder based on global-local transformer module (GLTM) to effectively extract global context information and local detail information, improving the segmentation ability of edge texture. Finally, we construct the feature enhancement module (FEM) to improve the recognition accuracy of similar categories by combining channel and spatial attention features. Moreover, our SAM2Former performed com-prehensive comparative and ablation experiments on the ISPRS Vaihingen and Potsdam datasets, showing notable improvements in segmentation performance.

IEEE AccessVol. 13
North China Institute of Aerospace Engineering (CN)
Openalex Percentile: Top 19%
Image Retrieval and Classification Techniques
1.28
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.