arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.16682cs.CV
收藏

SAM-CP:将SAM与可组合提示结合用于多用途分割

SAM-CP: Marrying SAM with Composable Prompts for Versatile Segmentation

University of Chinese Academy of Sciences(中国科学院大学);Huawei Inc(华为公司)

Pengfei Chen, Lingxi Xie, Xinyue Huo, Xuehui Yu, Xiaopeng Zhang, Yingfei Sun, Zhenjun Han, Qi Tian

AI总结:

针对SAM在语义感知分割中的不足,提出SAM-CP方法,通过构建两类可组合提示(判断块与文本标签对齐、同标签块是否同实例)及统一亲和力框架,实现多用途分割,在开放词汇分割等任务中取得SOTA性能。

摘要:

Segment Anything模型(SAM)已展现出将图像像素分组为块的泛化能力,但将其应用于语义感知分割仍面临重大挑战。本文提出SAM-CP,这是一种简单方法,它在SAM基础上建立两种可组合提示,并将其组合以实现多用途分割。具体而言,给定一组类别(文本形式)和一组SAM块,I型提示判断SAM块是否与文本标签对齐,II型提示判断具有相同文本标签的两个SAM块是否属于同一实例。为降低处理大量语义类别和块的复杂性,我们建立统一框架,计算(语义和实例)查询与SAM块的亲和力,并合并与查询具有高亲和力的块。实验表明,SAM-CP在开放和封闭域中均实现了语义、实例和全景分割。特别是,它在开放词汇分割中取得了最先进的性能。我们的研究为SAM等视觉基础模型赋予多粒度语义感知能力提供了新颖且通用的方法。

英文摘要:

The Segment Anything model (SAM) has shown a generalized ability to group image pixels into patches, but applying it to semantic-aware segmentation still faces major challenges. This paper presents SAM-CP, a simple approach that establishes two types of composable prompts beyond SAM and composes them for versatile segmentation. Specifically, given a set of classes (in texts) and a set of SAM patches, the Type-I prompt judges whether a SAM patch aligns with a text label, and the Type-II prompt judges whether two SAM patches with the same text label also belong to the same instance. To decrease the complexity in dealing with a large number of semantic classes and patches, we establish a unified framework that calculates the affinity between (semantic and instance) queries and SAM patches and merges patches with high affinity to the query. Experiments show that SAM-CP achieves semantic, instance, and panoptic segmentation in both open and closed domains. In particular, it achieves state-of-the-art performance in open-vocabulary segmentation. Our research offers a novel and generalized methodology for equipping vision foundation models like SAM with multi-grained semantic perception abilities.

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

↑