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

分割与描述任何事物

Segment and Caption Anything

Microsoft(微软);Tsinghua University(清华大学);Advanced Micro Devices(超威半导体);Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院)

Xiaoke Huang, Jianfeng Wang, Yansong Tang, Zheng Zhang, Han Hu, Jiwen Lu, Lijuan Wang, Zicheng Liu

AI总结:

提出基于查询的轻量级特征混合器,赋予SAM生成区域描述的能力,通过弱监督预训练利用公开检测分割数据集解决数据稀缺问题,实现快速且可扩展的区域语义理解。

摘要:

我们提出了一种方法,能高效地赋予 Segment Anything Model (SAM) 生成区域描述的能力。SAM 在分割任何事物方面表现出很强的泛化能力,但缺乏语义理解能力。通过引入轻量级的基于查询的特征混合器,我们将区域特定特征对齐到语言模型的嵌入空间中以生成描述。由于可训练参数数量很少(通常在数百万量级),它消耗更少的计算量、内存和通信带宽,从而实现快速且可扩展。针对区域描述数据稀缺的问题,我们提出首先在目标检测和分割任务上预训练我们的模型。我们将此步骤称为弱监督预训练。预训练数据仅包含类别名称而非完整句子。弱监督预训练使我们能够利用许多公开可用的目标检测和分割数据集。我们进行了大量实验以证明方法的优越性并验证每个设计选择。这项工作为扩展区域描述数据奠定了基础,并启发了探索高效方法以用区域语义增强 SAM。项目页面及相关代码可通过 https://xk-huang.github.io/segment-caption-anything/ 访问。

英文摘要:

We propose a method to efficiently equip the Segment Anything Model (SAM) with the ability to generate regional captions. SAM presents strong generalizability to segment anything while is short for semantic understanding. By introducing a lightweight query-based feature mixer, we align the region-specific features with the embedding space of language models for later caption generation. As the number of trainable parameters is small (typically in the order of tens of millions), it costs less computation, less memory usage, and less communication bandwidth, resulting in both fast and scalable training. To address the scarcity problem of regional caption data, we propose to first pre-train our model on objection detection and segmentation tasks. We call this step weak supervision pretraining since the pre-training data only contains category names instead of full-sentence descriptions. The weak supervision pretraining allows us to leverage many publicly available object detection and segmentation datasets. We conduct extensive experiments to demonstrate the superiority of our method and validate each design choice. This work serves as a stepping stone towards scaling up regional captioning data and sheds light on exploring efficient ways to augment SAM with regional semantics. The project page, along with the associated code, can be accessed via https://xk-huang.github.io/segment-caption-anything/.

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

↑