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

Text4Seg:将图像分割重新构想为文本生成

Text4Seg: Reimagining Image Segmentation as Text Generation

S-Lab, Nanyang Technological University(南洋理工大学S-Lab实验室);CCDS, Nanyang Technological University(南洋理工大学CCDS中心);SenseTime Research(商汤科技研究院)

Mengcheng Lan, Chaofeng Chen, Yue Zhou, Jiaxing Xu, Yiping Ke, Xinjiang Wang, Litong Feng, Wayne Zhang

AI总结:

本文提出 Text4Seg,将图像分割重构为文本生成,通过语义描述符和 R-RLE 压缩实现无额外解码器的高性能、高效率分割。

摘要:

多模态大语言模型(MLLM)在视觉-语言任务中展现出卓越能力;然而,如何有效地将图像分割集成到这些模型中仍是一项重大挑战。本文提出 Text4Seg,这是一种新颖的 text-as-mask(文本即掩码)范式,将图像分割转化为文本生成问题,无需额外解码器,并显著简化了分割流程。我们的关键创新是 semantic descriptors(语义描述符),这是分割掩码的一种新型文本表示,其中每个图像 patch 都被映射到其对应的文本标签。这种统一表示能够无缝集成到 MLLM 的自回归训练流程中,使优化更加容易。我们证明,用 16×16 个语义描述符表示图像可获得具有竞争力的分割性能。为提升效率,我们提出 Row-wise Run-Length Encoding(R-RLE,逐行游程编码),用于压缩冗余文本序列,将语义描述符长度减少 74%,并将推理加速 3 倍,同时不损失性能。在指代表达分割与理解等多种视觉任务上的大量实验表明,通过微调不同的 MLLM 主干,Text4Seg 在多个数据集上达到最先进性能。我们的方法为 MLLM 框架内以视觉为中心的任务提供了高效、可扩展的解决方案。

英文摘要:

Multimodal Large Language Models (MLLMs) have shown exceptional capabilities in vision-language tasks; however, effectively integrating image segmentation into these models remains a significant challenge. In this paper, we introduce Text4Seg, a novel text-as-mask paradigm that casts image segmentation as a text generation problem, eliminating the need for additional decoders and significantly simplifying the segmentation process. Our key innovation is semantic descriptors, a new textual representation of segmentation masks where each image patch is mapped to its corresponding text label. This unified representation allows seamless integration into the auto-regressive training pipeline of MLLMs for easier optimization. We demonstrate that representing an image with $16\times16$ semantic descriptors yields competitive segmentation performance. To enhance efficiency, we introduce the Row-wise Run-Length Encoding (R-RLE), which compresses redundant text sequences, reducing the length of semantic descriptors by 74% and accelerating inference by $3\times$, without compromising performance. Extensive experiments across various vision tasks, such as referring expression segmentation and comprehension, show that Text4Seg achieves state-of-the-art performance on multiple datasets by fine-tuning different MLLM backbones. Our approach provides an efficient, scalable solution for vision-centric tasks within the MLLM framework.

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

↑