arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2508.00213cs.CVcs.LG

SAM-PTx: 采用参数高效并行文本适配器的SAM文本引导微调

SAM-PTx: Text-Guided Fine-Tuning of SAM with Parameter-Efficient, Parallel-Text Adapters

University of Regina(里纳大学)

Shayan Jalilian, Abdul Bais

AI总结:

针对SAM语义文本提示潜力未充分挖掘的问题,提出参数高效的SAM-PTx方法,通过Parallel-Text适配器将冻结CLIP文本嵌入注入SAM图像编码器,在多个数据集上实现优于纯空间提示基线的分割性能。

摘要:

Segment Anything Model(SAM,分割一切模型)已在基于提示的分割任务中展现出出色的泛化能力。然而,与点、框等传统空间提示相比,语义文本提示的潜力仍未得到充分挖掘。本文提出SAM-PTx,这是一种参数高效的SAM适配方法,以冻结的CLIP派生文本嵌入作为类别级语义指导。具体而言,我们提出了一种名为Parallel-Text的轻量适配器设计,将文本嵌入注入SAM的图像编码器,在保留大部分原始架构冻结的同时实现语义引导的分割。该适配器仅修改每个Transformer块的MLP并行分支,保留用于空间推理的注意力通路。通过在COD10K数据集以及COCO和ADE20K的小数据子集上开展的监督实验与消融研究,我们证明,引入固定文本嵌入作为输入,相比纯空间提示基线能提升分割性能。据我们所知,这是首个在COD10K数据集上使用文本提示进行分割的工作。这些结果表明,将语义条件整合到SAM架构中,为以极低计算复杂度实现高效适配提供了一条实用且可扩展的路径。

英文摘要:

The Segment Anything Model (SAM) has demonstrated impressive generalization in prompt-based segmentation. Yet, the potential of semantic text prompts remains underexplored compared to traditional spatial prompts like points and boxes. This paper introduces SAM-PTx, a parameter-efficient approach for adapting SAM using frozen CLIP-derived text embeddings as class-level semantic guidance. Specifically, we propose a lightweight adapter design called Parallel-Text that injects text embeddings into SAM's image encoder, enabling semantics-guided segmentation while keeping most of the original architecture frozen. Our adapter modifies only the MLP-parallel branch of each transformer block, preserving the attention pathway for spatial reasoning. Through supervised experiments and ablations on the COD10K dataset as well as low-data subsets of COCO and ADE20K, we show that incorporating fixed text embeddings as input improves segmentation performance over purely spatial prompt baselines. To our knowledge, this is the first work to use text prompts for segmentation on the COD10K dataset. These results suggest that integrating semantic conditioning into SAM's architecture offers a practical and scalable path for efficient adaptation with minimal computational complexity.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑