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

MPG-SAM 2:利用掩码先验和全局上下文适配SAM 2用于指称视频目标分割

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

National Engineering Research Center for Multimedia Software, School of Computer Science, Wuhan University(国家多媒体软件工程研究中心,计算机学院,武汉大学);Hong Kong University of Science and Technology(香港科学与技术大学);Horizon Robotics

Fu Rong, Meng Lan, Qian Zhang, Lefei Zhang

AI总结:

提出MPG-SAM 2框架,通过统一多模态编码器、掩码先验生成器和全局历史聚合器,解决SAM 2在指称视频目标分割中提示生成和全局上下文缺失问题,在多个基准上表现优越。

摘要:

指称视频目标分割(RVOS)旨在根据文本描述分割视频中的目标,这需要整合多模态信息和时间动态感知。Segment Anything Model 2(SAM 2)在各种视频分割任务中展现出强大的有效性。然而,其在离线RVOS中的应用面临将文本转化为有效提示以及缺乏全局上下文感知的挑战。在本文中,我们提出了一种新颖的RVOS框架,称为MPG-SAM 2,以解决这些挑战。具体而言,MPG-SAM 2采用统一的多模态编码器联合编码视频和文本特征,生成语义对齐的视频和文本嵌入,以及多模态类别令牌。掩码先验生成器利用视频嵌入和类别令牌为目标对象和全局上下文创建伪掩码。这些掩码作为密集提示输入到提示编码器,同时多模态类别令牌作为稀疏提示,为SAM 2生成准确的提示。为了给在线SAM 2提供全局视角,我们引入了一个层次化的全局-历史聚合器,使SAM 2能够在像素和对象级别聚合目标对象的全局和历史信息,增强目标表示和时间一致性。在多个RVOS基准上的大量实验证明了MPG-SAM 2的优越性以及我们提出的模块的有效性。代码可在https://github.com/rongfu-dsb/MPG-SAM2获取。

英文摘要:

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.

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

↑