arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.09660cs.CVeess.IV
收藏

面向图像与视频中的细粒度交互式分割

Towards Fine-grained Interactive Segmentation in Images and Videos

Institute for Intelligent Computing, Alibaba Group(阿里巴巴集团智能计算研究所)

Yuan Yao, Qiushi Yang, Miaomiao Cui, Liefeng Bo

AI总结:

针对 SAM2 在高精度交互分割中细节感知与提示稳定性难以兼顾的问题,本文提出 SAM2Refiner,通过定位增强、提示重定向和多尺度级联掩码细化,在图像与视频上取得优于现有方法的精细掩码。

摘要:

近期的 Segment Anything Models(SAM)已成为通用交互式分割的基础视觉模型。尽管它们展现出强大的泛化能力,但在需要精确掩码的场景中仍会出现性能下降。现有的高精度交互式分割方法在感知复杂局部细节的能力与保持稳定提示能力之间面临权衡,这阻碍了基础分割模型的适用性和有效性。为此,我们提出了一个构建于 SAM2 主干之上的 SAM2Refiner 框架。该架构使 SAM2 能够在保留其固有优势的同时,为图像和视频生成细粒度分割掩码。具体而言,我们设计了一个定位增强模块,该模块结合局部上下文线索,通过交叉注意力机制增强全局特征,从而挖掘潜在的细节模式并保持语义信息。此外,为增强针对增强后对象嵌入的提示能力,我们引入了提示重定向模块,利用空间对齐的提示特征来更新该嵌入。另外,为获得准确的高分辨率分割掩码,我们通过采用多尺度级联结构设计了掩码细化模块,以融合掩码特征与来自编码器的层次化表示。大量实验证明了我们方法的有效性,表明所提出的方法能够为图像和视频生成高度精确的掩码,超越了最先进的方法。

英文摘要:

The recent Segment Anything Models (SAMs) have emerged as foundational visual models for general interactive segmentation. Despite demonstrating robust generalization abilities, they still suffer performance degradations in scenarios demanding accurate masks. Existing methods for high-precision interactive segmentation face a trade-off between the ability to perceive intricate local details and maintaining stable prompting capability, which hinders the applicability and effectiveness of foundational segmentation models. To this end, we present an SAM2Refiner framework built upon the SAM2 backbone. This architecture allows SAM2 to generate fine-grained segmentation masks for both images and videos while preserving its inherent strengths. Specifically, we design a localization augment module, which incorporates local contextual cues to enhance global features via a cross-attention mechanism, thereby exploiting potential detailed patterns and maintaining semantic information. Moreover, to strengthen the prompting ability toward the enhanced object embedding, we introduce a prompt retargeting module to renew the embedding with spatially aligned prompt features. In addition, to obtain accurate high resolution segmentation masks, a mask refinement module is devised by employing a multi-scale cascaded structure to fuse mask features with hierarchical representations from the encoder. Extensive experiments demonstrate the effectiveness of our approach, revealing that the proposed method can produce highly precise masks for both images and videos, surpassing state-of-the-art methods.

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

↑