arXiv:2501.13667cs.CV2025-01ICCV被引 8

用提示和全局上下文改进SAM2,提升视频目标分割准确率

MPG-SAM 2: Adapting SAM 2 with Mask Priors and Global Context for Referring Video Object Segmentation

  • 统一编码视频与文本,生成语义对齐的特征和类别标记
  • 通过伪掩码和层级历史聚合,提升目标表示与时间一致性
  • 适合需要高精度视频分割的科研与工业应用

指代式视频目标分割(RVOS)旨在根据文本描述分割视频中的对象,需融合多模态信息并感知时序动态。虽然分割一切模型2(SAM 2)在多种视频分割任务中表现优异,但其在离线RVOS场景下面临文本转提示效率低及缺乏全局上下文感知的问题。本文提出新框架MPG-SAM 2以解决上述挑战:采用统一多模态编码器联合编码视频与文本特征,生成语义对齐的嵌入及多模态类别标记;设计掩码先验生成器,利用视频嵌入与类别标记生成目标伪掩码和全局上下文;将这些伪掩码作为密集提示,类别标记作为稀疏提示输入提示编码器,生成精准提示供SAM 2使用;引入层级全局-历史聚合模块,在像素与对象层面聚合目标的全局与历史信息,增强目标表征与时间一致性。在多个RVOS基准上的实验表明,MPG-SAM 2显著优于基线方法,所提模块有效。代码已开源。

原文摘要 · Abstract (English)

Referring video object segmentation (RVOS) aims to segment objects in a video according to textual descriptions, which requires the integration of multimodal information and temporal dynamics perception. The Segment Anything Model 2 (SAM 2) has shown great effectiveness across various video segmentation tasks. However, its application to offline RVOS is challenged by the translation of the text into effective prompts and a lack of global context awareness. In this paper, we propose a novel RVOS framework, termed MPG-SAM 2, to address these challenges. Specifically, MPG-SAM 2 employs a unified multimodal encoder to jointly encode video and textual features, generating semantically aligned video and text embeddings, along with multimodal class tokens. A mask prior generator utilizes the video embeddings and class tokens to create pseudo masks of target objects and global context. These masks are fed into the prompt encoder as dense prompts along with multimodal class tokens as sparse prompts to generate accurate prompts for SAM 2. To provide the online SAM 2 with a global view, we introduce a hierarchical global-historical aggregator, which allows SAM 2 to aggregate global and historical information of target objects at both pixel and object levels, enhancing the target representation and temporal consistency. Extensive experiments on several RVOS benchmarks demonstrate the superiority of MPG-SAM 2 and the effectiveness of our proposed modules. The code is available at https://github.com/rongfu-dsb/MPG-SAM2.

视频分割多模态SAM2提示学习

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