Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

X-SAM: From Segment Anything to Any Segmentation

About

Large Language Models (LLMs) demonstrate strong capabilities in broad knowledge representation, yet they are inherently deficient in pixel-level perceptual understanding. Although the Segment Anything Model (SAM) represents a significant advancement in visual-prompt-driven image segmentation, it exhibits notable limitations in multi-mask prediction and category-specific segmentation tasks, and it cannot integrate all segmentation tasks within a unified model architecture. To address these limitations, we present X-SAM, a streamlined Multimodal Large Language Model (MLLM) framework that extends the segmentation paradigm from \textit{segment anything} to \textit{any segmentation}. Specifically, we introduce a novel unified framework that enables more advanced pixel-level perceptual comprehension for MLLMs. Furthermore, we propose a new segmentation task, termed Visual GrounDed (VGD) segmentation, which segments all instance objects with interactive visual prompts and empowers MLLMs with visual grounded, pixel-wise interpretative capabilities. To enable effective training on diverse data sources, we present a unified training strategy that supports co-training across multiple datasets. Experimental results demonstrate that X-SAM achieves state-of-the-art performance on a wide range of image segmentation benchmarks, highlighting its efficiency for multimodal, pixel-level visual understanding. Code is available at https://github.com/wanghao9610/X-SAM.

Hao Wang, Limeng Qiao, Zequn Jie, Zhijian Huang, Chengjian Feng, Qingfang Zheng, Lin Ma, Xiangyuan Lan, Xiaodan Liang• 2025

Related benchmarks

TaskDatasetResultRank
Reasoning SegmentationReasonSeg (val)
gIoU56.6
382
Referring Expression SegmentationRefCOCO (testA)
cIoU87.1
332
Referring Expression SegmentationRefCOCO+ (testA)
cIoU81
305
Reasoning SegmentationReasonSeg (test)
gIoU57.8
287
Referring Expression SegmentationRefCOCO+ (val)
cIoU78
284
Referring Expression SegmentationRefCOCO (val)
cIoU85.1
273
Referring Expression SegmentationRefCOCO (testB)
cIoU83.4
259
Referring Expression SegmentationRefCOCO+ (testB)
cIoU74.4
256
Referring Expression SegmentationRefCOCOg (val)
cIoU83.8
185
Referring Expression SegmentationRefCOCOg (test)
cIoU83.9
183
Showing 10 of 31 rows

Other info

Follow for update