Skip to main navigation Skip to search Skip to main content

TEXT4SEG: REIMAGINING IMAGE SEGMENTATION AS TEXT GENERATION

  • Mengcheng Lan
  • , Chaofeng Chen
  • , Yue Zhou
  • , Jiaxing Xu
  • , Yiping Ke
  • , Xinjiang Wang
  • , Litong Feng*
  • , Wayne Zhang
  • *Corresponding author for this work
  • Nanyang Technological University
  • SenseTime Group Limited

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

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 × 16 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×, 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. https://github.com/mc-lan/Text4Seg.

Original languageEnglish
Title of host publication13th International Conference on Learning Representations, ICLR 2025
PublisherInternational Conference on Learning Representations, ICLR
Pages89206-89233
Number of pages28
ISBN (Electronic)9798331320850
StatePublished - 2025
Externally publishedYes
Event13th International Conference on Learning Representations, ICLR 2025 - Singapore, Singapore
Duration: 24 Apr 2025 → 28 Apr 2025

Publication series

Name13th International Conference on Learning Representations, ICLR 2025

Conference

Conference13th International Conference on Learning Representations, ICLR 2025
Country/TerritorySingapore
CitySingapore
Period24/04/25 → 28/04/25

Fingerprint

Dive into the research topics of 'TEXT4SEG: REIMAGINING IMAGE SEGMENTATION AS TEXT GENERATION'. Together they form a unique fingerprint.

Cite this