arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.16093cs.CV
收藏

SAMTok: 用两个词表示任意掩码

SAMTok: Representing Any Mask with Two Words

Wuhan University(武汉大学);ByteDance(字节跳动);NUS(新加坡国立大学)
Yikang Zhou, Tao Zhang, Dengxian Gong, Yuanzheng Wu, Ye Tian, Haochen Wang, Haobo Yuan, Jiacong Wang, Lu Qi, Hao Fei, Anran Wang, Zhuochen Wang, Yujing Wang, Ch… 展开作者

Yikang Zhou, Tao Zhang, Dengxian Gong, Yuanzheng Wu, Ye Tian, Haochen Wang, Haobo Yuan, Jiacong Wang, Lu Qi, Hao Fei, Anran Wang, Zhuochen Wang, Yujing Wang, Cheng Chen, Shunping Ji, Xiangtai Li

AI总结:

提出离散掩码分词器SAMTok,将区域掩码转化为两个特殊标记,通过标准下一标记预测和简单强化学习使基础多模态大模型获得像素级能力,在多项任务上达到最先进水平。

摘要:

像素级能力对于构建交互式智能系统至关重要。然而,由于复杂的区域级编码器、专门的分割解码器以及不兼容的训练目标,像素级多模态大模型(MLLMs)仍然难以扩展。为了解决这些挑战,我们提出了SAMTok,一种离散掩码分词器,它将任何区域掩码转换为两个特殊标记,并使用这些标记以高保真度重建掩码。通过将掩码视为新的语言标记,SAMTok使基础MLLMs(如QwenVL系列)能够通过标准的下一标记预测和简单的强化学习来学习像素级能力,无需架构修改和专门的损失设计。SAMTok基于SAM2构建,并在2.09亿个多样化掩码上使用掩码编码器和残差向量量化器进行训练,以产生离散、紧凑且信息丰富的标记。利用500万个SAMTok格式的掩码理解和生成数据样本,QwenVL-SAMTok在区域描述、区域VQA、接地对话、指代分割、场景图解析和多轮交互分割上取得了最先进或可比的结果。我们进一步引入了一种文本答案匹配奖励,使得掩码生成的高效强化学习成为可能,在GRES和GCG基准测试上带来了显著改进。我们的结果展示了一种可扩展且直接的范式,用于赋予MLLMs强大的像素级能力。我们的代码和模型已公开。

英文摘要:

Pixel-wise capabilities are essential for building interactive intelligent systems. However, pixel-wise multi-modal LLMs (MLLMs) remain difficult to scale due to complex region-level encoders, specialized segmentation decoders, and incompatible training objectives. To address these challenges, we present SAMTok, a discrete mask tokenizer that converts any region mask into two special tokens and reconstructs the mask using these tokens with high fidelity. By treating masks as new language tokens, SAMTok enables base MLLMs (such as the QwenVL series) to learn pixel-wise capabilities through standard next-token prediction and simple reinforcement learning, without architectural modifications and specialized loss design. SAMTok builds on SAM2 and is trained on 209M diverse masks using a mask encoder and residual vector quantizer to produce discrete, compact, and information-rich tokens. With 5M SAMTok-formatted mask understanding and generation data samples, QwenVL-SAMTok attains state-of-the-art or comparable results on region captioning, region VQA, grounded conversation, referring segmentation, scene graph parsing, and multi-round interactive segmentation. We further introduce a textual answer-matching reward that enables efficient reinforcement learning for mask generation, delivering substantial improvements on GRES and GCG benchmarks. Our results demonstrate a scalable and straightforward paradigm for equipping MLLMs with strong pixel-wise capabilities. Our code and models are available.

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

↑