让分割模型懂语义,仅用少量参数就能根据文字精准分割。
CLIP-Guided SAM: Parameter-Efficient Semantic Conditioning for Promptable Segmentation

- 通过轻量级适配器将CLIP的多模态特征注入SAM图像编码器
- 在仅用文本提示时仍保持高精度,优于现有方法
- 适合标注数据少的场景,支持交互与全自动两种模式
可提示的基础模型如分割一切模型(SAM)生成高质量掩码,但缺乏语义理解,依赖外部提示指定类别。现有视觉-语言方法通过外部提示耦合解决此问题,即先由视觉-语言模型生成空间提示,再输入SAM。本文提出CLIP-Guided SAM,一种基于内部语义条件化的参数高效分割框架。不只用语义信号生成提示,而是将CLIP提取的文本、视觉及相似性特征通过轻量级多模态适配器直接注入SAM图像编码器,使语义信息影响其内部特征表示,同时保留原始可提示接口。该框架适用于低标注数据场景,支持通用基准与特定下游任务。包含手动模式(文本+空间提示)和半自动纯文本模式(仅文本输入)。实验表明,鲁棒性取决于训练与推理提示类型的一致性,提示一致性是关键设计原则。在多个基准上,相较于无语义条件化的SAM+PEFT、视觉-语言+SAM流水线、SAM 3以及依赖大量无标签数据的强半监督方法,本方法始终表现优异或具有竞争力,且训练与部署均参数高效。
原文摘要 · Abstract (English)
Promptable foundation models such as the Segment Anything Model (SAM) produce high-quality masks but remain semantically blind, relying on external prompts to specify categories. Existing vision-language approaches address this limitation by using external prompt coupling, where a vision-language model generates spatial prompts for SAM as a separate stage. We propose CLIP-Guided SAM, a parameter-efficient segmentation framework built on internal semantic conditioning. Instead of using semantic signals only to generate prompts, we inject CLIP-derived text, vision, and similarity features directly into SAM's image encoder through lightweight multi-modal semantic adapters. These adapters condition SAM's internal feature representations, allowing semantic information to influence mask prediction while preserving SAM's original promptable interface. Our framework is designed for low labeled-data settings and applies to both general-domain benchmarks and specialized downstream tasks. It supports two operating modes: Manual mode, for interactive segmentation with both text and spatial prompts, and Semi-Automatic text-only mode, for applications that require concept-specific segmentation using only textual input. We show that robustness depends on aligning training with the type of prompts used at inference, making train-test prompt consistency an important design principle. Through extensive experiments and ablations, we evaluate our method against SAM+PEFT baselines without semantic conditioning, vision-language + SAM pipelines, SAM 3, and strong semi-supervised segmentation methods that rely on large amounts of unlabeled data. Across these settings, CLIP-Guided SAM consistently achieves superior or competitive performance while remaining parameter-efficient in both training and deployment.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。