Paper Reading AI Learner

LlamaSeg: Image Segmentation via Autoregressive Mask Generation

2025-05-26 02:22:41
Jiru Deng, Tengjin Weng, Tianyu Yang, Wenhan Luo, Zhiheng Li, Wenhao Jiang

Abstract

We present LlamaSeg, a visual autoregressive framework that unifies multiple image segmentation tasks via natural language instructions. We reformulate image segmentation as a visual generation problem, representing masks as "visual" tokens and employing a LLaMA-style Transformer to predict them directly from image inputs. By adhering to the next-token prediction paradigm, our approach naturally integrates segmentation tasks into autoregressive architectures. To support large-scale training, we introduce a data annotation pipeline and construct the SA-OVRS dataset, which contains 2M segmentation masks annotated with over 5,800 open-vocabulary labels or diverse textual descriptions, covering a wide spectrum of real-world scenarios. This enables our model to localize objects in images based on text prompts and to generate fine-grained masks. To more accurately evaluate the quality of masks produced by visual generative models, we further propose a composite metric that combines Intersection over Union (IoU) with Average Hausdorff Distance (AHD), offering a more precise assessment of contour fidelity. Experimental results demonstrate that our method surpasses existing generative models across multiple datasets and yields more detailed segmentation masks.

Abstract (translated)

我们介绍了LlamaSeg,这是一种视觉自回归框架,通过自然语言指令统一了多种图像分割任务。我们将图像分割重新表述为一个视觉生成问题,将掩码表示为“视觉”令牌,并采用LLaMA风格的Transformer模型直接从图像输入预测它们。通过遵循下一个标记预测范式,我们的方法自然地将分割任务整合到自回归架构中。 为了支持大规模训练,我们引入了一个数据标注流水线并构建了SA-OVRS数据集,该数据集中包含200万张带有超过5800个开放词汇标签或多样化文本描述的分割掩码,涵盖了广泛的现实世界场景。这使得我们的模型能够在基于文本提示的情况下在图像中定位对象,并生成精细的掩码。 为了更准确地评估视觉生成模型产生的掩码质量,我们进一步提出了一种复合度量标准,该标准结合了交并比(IoU)和平均豪斯多夫距离(AHD),为轮廓保真度提供了更为精确的评价。实验结果表明,我们的方法在多个数据集上超越了现有的生成模型,并产生了更详细的分割掩码。

URL

https://arxiv.org/abs/2505.19422

PDF

https://arxiv.org/pdf/2505.19422.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot