测绘学报 ›› 2026, Vol. 55 ›› Issue (8): 1452-1464.doi: 10.11947/j.AGCS.2026.20260063

• 摄影测量学与遥感 • 上一篇    

SCA-SAM:基于尺度上下文注意力与SAM高效迁移的遥感影像语义分割方法

赵翔宇1(), 张春菊1(), 裴一帆1, 李晨曦1, 张俊2, 徐薇3,4, 兰春5, 吕临峰1, 梁宏博1   

  1. 1.合肥工业大学土木与水利工程学院,安徽 合肥 230009
    2.国家基础地理信息中心,北京 100830
    3.日喀则市气象局,西藏 日喀则 857000
    4.日喀则国家气候观象台,西藏 日喀则 857000
    5.安徽省国土空间规划研究院,安徽 合肥 230601
  • 收稿日期:2025-11-24 修回日期:2026-07-23 发布日期:2026-09-09
  • 通讯作者: 张春菊 E-mail:2023110780@mail.hfut.edu.cn;zcjtwz@sina.com
  • 作者简介:赵翔宇(2002—),男,硕士,主要从事遥感影像智能解译研究。E-mail:2023110780@mail.hfut.edu.cn
  • 基金资助:
    国家自然科学基金(42171453);西藏自治区自然科学基金(XZ202401ZR0085);中央高校基本科研业务费专项(JZ2024HGTG0288)

SCA-SAM: semantic segmentation for remote sensing images based on scale context attention and efficient SAM transfer

Xiangyu Zhao1(), Chunju Zhang1(), Yifan Pei1, Chenxi Li1, Jun Zhang2, Wei Xu3,4, Chun Lan5, Linfeng Lü1, Hongbo Liang1   

  1. 1.School of Civil Engineering, Hefei University of Technology, Hefei 230009, China
    2.National Geomatics Center of China, Beijing 100830, China
    3.Xigazê Meteorological Bureau, Xigazê 857000, China
    4.Xigazê National Climate Observatory, Xigazê 857000, China
    5.Anhui Institute of Territorial Space Planning, Hefei 230601, China
  • Received:2025-11-24 Revised:2026-07-23 Published:2026-09-09
  • Contact: Chunju Zhang E-mail:2023110780@mail.hfut.edu.cn;zcjtwz@sina.com
  • About author:Zhao Xiangyu (2002—), male, master, majors in intelligent interpretation of remote sensing images. E-mail: 2023110780@mail.hfut.edu.cn
  • Supported by:
    The National Natural Science Foundation of China(42171453);The Natural Science Foundation of Xizang Autonomous Region(XZ202401ZR0085);The Fundamental Research Funds for the Central Universities of China(JZ2024HGTG0288)

摘要:

针对高分辨率遥感语义分割中尺度变化显著、密集小目标与细边界易受纹理干扰、长尾分布导致稀有类别学习不足等问题,本文提出了一种基于分割一切模型(SAM)的端到端框架(SCA-SAM)。该方法在编码器多阶段嵌入尺度上下文注意力(SCA)模块,通过逐层累积多尺度特征信息,强化小目标与复杂边界的特征表达;同时引入低秩适配(LoRA)在注意力映射层面开展参数高效微调,仅更新少量参数即可实现对遥感影像纹理与空间结构差异的高效迁移。设计面向类别不平衡与易混淆的复合损失,进一步提升稀有类别与边界区域的判别能力。在UAVid数据集、ISPRS Vaihingen数据集与ISPRS Potsdam数据集上的试验证明,SCA-SAM在各类别量化指标与整体视觉效果上均取得稳定提升,并在较低参数增量下表现出更优的分割精度与更强泛化稳定性。

关键词: 遥感影像语义分割, 分割一切模型, LoRA参数高效微调, 尺度上下文增强

Abstract:

To address the challenges in semantic segmentation for high-resolution remote sensing images, including significant scale variations, dense small objects and thin boundaries that are easily disturbed by complex textures, as well as long-tailed class distributions that hinder rare-class learning, this paper proposed an end-to-end framework, scale context attention segment anything model (SCA-SAM), built upon segment anything model (SAM). The proposed method inserted scale context attention (SCA) modules at multiple stages of the encoder to progressively aggregate multi-scale information, thereby enhancing representations for small objects and complex boundaries. In addition, low-rank adaptation (LoRA) was adopted for parameter-efficient fine-tuning on attention-related projections, where only a small set of task-specific parameters was updated to achieve efficient transfer to remote sensing texture statistics and spatial organization. A composite loss tailored to class imbalance and hard regions was further incorporated to improve discrimination of rare classes and boundary areas. Experiments on the UAVid, ISPRS Vaihingen, and ISPRS Potsdam datasets demonstrated that SCA-SAM achieved consistent improvements in both overall and per-class metrics, while delivering better accuracy and stronger generalization stability with a low parameter overhead.

Key words: remote sensing image semantic segmentation, segment anything model, low-rank adaptation, scale context enhancement

中图分类号: