X-SAM: From Segment Anything to Any Segmentation

Authors

  • Hao Wang Sun Yat-sen University Peng Cheng Laboratory
  • Limeng Qiao Meituan Inc.
  • Zequn Jie Meituan Inc.
  • Zhijian Huang Sun Yat-sen University
  • Chengjian Feng Meituan Inc.
  • Qingfang Zheng Peng Cheng Laboratory
  • Lin Ma Meituan Inc.
  • Xiangyuan Lan Peng Cheng Laboratory
  • Xiaodan Liang Sun Yat-sen University

DOI:

https://doi.org/10.1609/aaai.v40i31.39822

Abstract

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 segment anything to 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.

Downloads

Published

2026-03-14

How to Cite

Wang, H., Qiao, L., Jie, Z., Huang, Z., Feng, C., Zheng, Q., … Liang, X. (2026). X-SAM: From Segment Anything to Any Segmentation. Proceedings of the AAAI Conference on Artificial Intelligence, 40(31), 26187–26196. https://doi.org/10.1609/aaai.v40i31.39822

Issue

Section

AAAI Technical Track on Machine Learning VIII