arXiv:2603.18086cs.CV2026-03被引 3

用语义空间提示增强SAM,让模型更准地根据语言描述分割图像

SSP-SAM: SAM with Semantic-Spatial Prompt for Referring Expression Segmentation

  • 引入语义-空间提示编码器,融合视觉与语言注意力
  • 在RES和GRES任务上达到领先性能,严格阈值下精度超90%
  • 无需修改即可支持零、一或多个对象的灵活指代场景

段落任意模型(SAM)在通用图像分割上表现优异,但对自然语言理解能力有限,难以直接用于指代表达分割(RES)。为此,我们提出SSP-SAM框架,通过集成语义-空间提示(SSP)编码器,充分挖掘SAM的分割潜力。具体地,在SSP编码器中引入视觉与语言注意力适配器,分别突出视觉特征中的显著物体和语言特征中的区分性短语,从而提升提示生成器的指代表征能力,生成高质量的SSP,使SAM能根据语言指令生成精准掩码。尽管未专门针对广义指代表达分割(GRES)设计,但该方法天然支持一个、多个或无对应对象的灵活指代场景,无需额外修改。在主流的RES与GRES基准测试中,实验结果验证了方法的优越性。尤其在严格阈值如[email protected]下仍保持高精度。在PhraseCut数据集上的开放词汇评估也表明,相比现有最优方法,性能进一步提升。代码与模型权重已开源:https://github.com/WayneTomas/SSP-SAM。

原文摘要 · Abstract (English)

The Segment Anything Model (SAM) excels at general image segmentation but has limited ability to understand natural language, which restricts its direct application in Referring Expression Segmentation (RES). Toward this end, we propose SSP-SAM, a framework that fully utilizes SAM's segmentation capabilities by integrating a Semantic-Spatial Prompt (SSP) encoder. Specifically, we incorporate both visual and linguistic attention adapters into the SSP encoder, which highlight salient objects within the visual features and discriminative phrases within the linguistic features. This design enhances the referent representation for the prompt generator, resulting in high-quality SSPs that enable SAM to generate precise masks guided by language. Although not specifically designed for Generalized RES (GRES), where the referent may correspond to zero, one, or multiple objects, SSP-SAM naturally supports this more flexible setting without additional modifications. Extensive experiments on widely used RES and GRES benchmarks confirm the superiority of our method. Notably, our approach generates segmentation masks of high quality, achieving strong precision even at strict thresholds such as [email protected]. Further evaluation on the PhraseCut dataset demonstrates improved performance in open-vocabulary scenarios compared to existing state-of-the-art RES methods. The code and checkpoints are available at: https://github.com/WayneTomas/SSP-SAM.

指代分割视觉语言SAM改进

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。