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

HiMTok: Learning Hierarchical Mask Tokens for Image Segmentation with Large Multimodal Model

About

The remarkable performance of large multimodal models (LMMs) has attracted significant interest from the image segmentation community. To align with the next-token-prediction paradigm, current LMM-driven segmentation methods either use object boundary points to represent masks or introduce special segmentation tokens, whose hidden states are decoded by a segmentation model requiring the original image as input. However, these approaches often suffer from inadequate mask representation and complex architectures, limiting the potential of LMMs. In this work, we propose the Hierarchical Mask Tokenizer (HiMTok), which represents segmentation masks with up to 32 tokens and eliminates the need for the original image during mask de-tokenization. HiMTok allows for compact and coarse-to-fine mask representations, aligning well with the LLM next-token-prediction paradigm and facilitating the direct acquisition of segmentation capabilities. We develop a 3-stage training recipe for progressive learning of segmentation and visual capabilities, featuring a hierarchical mask loss for effective coarse-to-fine learning. Additionally, we enable bidirectional information flow, allowing conversion between bounding boxes and mask tokens to fully leverage multi-task training potential. Extensive experiments demonstrate that our method achieves state-of-the-art performance across various segmentation tasks,while also enhancing visual grounding and maintaining overall visual understanding.

Tao Wang, Changxu Cheng, Lingfeng Wang, Senda Chen, Wuyue Zhao• 2025

Related benchmarks

TaskDatasetResultRank
Reasoning SegmentationReasonSeg (val)
gIoU60.7
327
Referring Expression SegmentationRefCOCO (testA)
cIoU85.2
315
Referring Expression SegmentationRefCOCO+ (testA)
cIoU82.7
288
Referring Expression SegmentationRefCOCO+ (val)
cIoU79.7
272
Referring Expression SegmentationRefCOCO (val)
cIoU85
261
Referring Expression SegmentationRefCOCO (testB)
cIoU83.5
259
Referring Expression SegmentationRefCOCO+ (testB)
cIoU76
256
Reasoning SegmentationReasonSeg (test)
gIoU60.8
236
Semantic segmentationADE20K A-150
mIoU25
224
Semantic segmentationPascal Context 59
mIoU43.9
204
Showing 10 of 25 rows

Other info

Follow for update