ARGenSeg: Image Segmentation with Autoregressive Image Generation Model
Xiaolong Wang, Lixiang Ru, Ziyuan Huang, Kaixiang Ji, Dandan Zheng, Jingdong Chen, Jun Zhou
TL;DR
ARGenSeg tackles the challenge of integrating dense image segmentation into multimodal large language models by reframing segmentation as autoregressive image generation. It uses a frozen VQ-VAE visual tokenizer and a unified MLLM that directly predicts image tokens, augmented with a next-scale generation strategy to enable coarse-to-fine, parallel token generation for efficiency. The approach achieves state-of-the-art results on referring segmentation and generalized RES benchmarks, while maintaining multimodal understanding and offering extensions to interactive segmentation and image generation with substantial speedups over sequential methods. This work demonstrates a viable path toward unified, pixel-accurate visual understanding within a single, generation-capable model, reducing reliance on task-specific segmentation heads and enabling broader applications in AGI-like vision-language systems.
Abstract
We propose a novel AutoRegressive Generation-based paradigm for image Segmentation (ARGenSeg), achieving multimodal understanding and pixel-level perception within a unified framework. Prior works integrating image segmentation into multimodal large language models (MLLMs) typically employ either boundary points representation or dedicated segmentation heads. These methods rely on discrete representations or semantic prompts fed into task-specific decoders, which limits the ability of the MLLM to capture fine-grained visual details. To address these challenges, we introduce a segmentation framework for MLLM based on image generation, which naturally produces dense masks for target objects. We leverage MLLM to output visual tokens and detokenize them into images using an universal VQ-VAE, making the segmentation fully dependent on the pixel-level understanding of the MLLM. To reduce inference latency, we employ a next-scale-prediction strategy to generate required visual tokens in parallel. Extensive experiments demonstrate that our method surpasses prior state-of-the-art approaches on multiple segmentation datasets with a remarkable boost in inference speed, while maintaining strong understanding capabilities.
