Abstract
Multimodal Large Language Models (MLLMs) have traditionally struggled with high-precision, pixel-level tasks like image segmentation, often relying on external tools or simplified boundary representations. We present ARGenSeg, a unified framework that treats image segmentation as an autoregressive generation task. By leveraging a multi-scale "next-scale-prediction" strategy, ARGenSeg enables MLLMs to produce dense, high-quality masks directly. Our approach achieves state-of-the-art performance on referring segmentation benchmarks while operating 4x to 10x faster than traditional sequential generation methods.
Introduction
Current MLLMs face a significant "perception gap." While they excel at high-level reasoning, they often lack the fine-grained visual understanding required for precise segmentation. Existing models typically address this through two suboptimal strategies: representing objects as sequences of boundary coordinates (which struggle with complex shapes) or using dedicated segmentation heads like SAM (which increases architectural complexity).
ARGenSeg proposes that for a model to achieve true Artificial General Intelligence (AGI) in vision, it should perceive and generate pixels within a single, unified framework. By teaching the model to "generate" a mask as if it were an image, ARGenSeg bridges this gap.
Methodology
The core innovation of ARGenSeg is the treatment of a segmentation mask as a specialized image type within an autoregressive paradigm.
Autoregressive Paradigm and VAR Tokenizer
Similar to how an LLM predicts the next word, ARGenSeg predicts the next visual token in a mask. It utilizes a pre-trained Visual Autoregressive (VAR) tokenizer to convert images and masks into discrete tokens compatible with the LLM's vocabulary.
Next-Scale-Prediction
To overcome the latency issues of standard token-by-token generation, ARGenSeg employs a "next-scale-prediction" strategy. The model predicts tokens for an entire resolution scale simultaneously, moving from coarse (e.g., 1x1) to fine (e.g., 16x16) grids. This allows for parallel processing and efficient boundary refinement.
Unified Architecture
Built on the InternVL 2.5 backbone, the system integrates text and image processing. A lightweight generation projector maps visual features into the LLM's space, enabling the production of dense masks without specialized decoders.
Experimental Results
ARGenSeg was evaluated on diverse benchmarks, including RefCOCO, RefCOCO+, RefCOCOg, and LISA++.
Segmentation Performance
The model achieved state-of-the-art accuracy, notably reaching a cIoU of 86.3 on the RefCOCO validation set, surpassing previous leaders like HiMTok. Remarkably, these results were obtained using only 402K segmentation samples, significantly fewer than the millions used by previous state-of-the-art models.
Efficiency and Reasoning
The parallel scale-prediction strategy makes ARGenSeg over 10x faster than sequential models like Emu3. Furthermore, the model demonstrates strong "reasoning segmentation" capabilities, such as identifying and segmenting specific anomalies based on natural language instructions.
Conclusion
ARGenSeg demonstrates that treating segmentation as an autoregressive generation task is both effective and efficient. By unifying perception and generation, the framework achieves superior performance and speed. Future work will explore higher-resolution mask generation and extending the framework to tasks such as depth estimation and image editing.
Summary updated