Multimodal large language models (MLLMs) are widely used for image segmentation. However, existing methods either use a decoder or use patch-based approach which trades boundary precision against the number of decisions as coarse grid cells mix foreground and background pixels, while finer grids require many more predictions, and autoregressive mask generation adds sequential decoding overhead. We propose SPiXSeg, which shifts the output from per-patch to per-superpixel label assignment, using superpixel tokens formed by aggregating patch-level visual features. An off-the-shelf model partitions each image into task-agnostic superpixels, so the partition is computed once and reused across tasks. A Spix-to-Mask (S2M) module scores each superpixel token in a single MLLM forward pass by directly comparing the MLLM's hidden representations, without autoregressive generation or a separate scoring network, and the selected superpixels are mapped directly to pixels without refinement. Without any trainable decoder head or post-hoc refinement, SPiXSeg achieves an average cIoU of 80.5 with LLaVA-1.5-7B and 81.9 with InternVL2.5-8B on RefCOCO, RefCOCO+ and RefCOCOg and, when trained only on COCO-Stuff, extends to open-vocabulary semantic segmentation with mIoU of 29.0, 59.5 and 95.4 on ADE20K, PASCAL Context and PASCAL VOC, outperforming several SoTA MLLM baselines. Our results suggest that a fixed, query-agnostic superpixel partition is enough for accurate language-guided segmentation.
Figures & tables
Figure 1: We propose superpixels as the primary unit of segmentation. Superpixels are computed once per image, independent of the query, and the same superpixels serve different tasks.
Table 2
Figure 3: Qualitative comparison with representative baselines on RefCOCO.
Method
LLM / CLIP
A-150
PC-59
PAS-20
Avg.
CLIP-based specialist models (no LLM)
OVSeg [ 23 ]
ViT-B/16
24.8
53.3
92.6
56.9
OVSeg [ 23 ]
ViT-L/14
29.6
55.7
94.5
59.9
SAN [ 41 ]
ViT-B/16
27.5
53.8
94.0
58.4
SAN [ 41 ]
ViT-L/14
32.1
57.7
94.6
61.5
SED [ 40 ]
ConvNeXt-B
31.6
57.3
94.4
61.1
Table 3: Open-vocabulary semantic segmentation (mIoU). MLLMs are trained on COCO-Stuff and evaluated zero-shot unless marked. Bold / underline: best / second-best MLLM. ∗ Trained with ADE20K and PASCAL Context. † Trained on COCO Panoptic. ‡ LLaVA-1.5.
Figure 4: Open-vocabulary semantic segmentation on ADE-150. Classes covering at least 3% of the ground truth are listed under each column. † UFO†, LaSagnA† and HiMTok use released checkpoints trained with ADE20K, so they are not zero-shot on ADE-150 (unlike Table 3). ‡ With SAM-H refinement.
Superpixels
Method
val
testA
testB
Avg.
SAM 3.1
Ceiling
89.0
89.8
88.3
89.0
SPiXSeg
84.1
86.9
79.7
83.6
Share (%)
94.5
96.8
90.2
93.8
EPOC
Ceiling
81.1
83.4
75.5
80.0
SPiXSeg
75.0
79.7
67.3
74.0
Share (%)
92.4
95.6
89.3
92.4
Table 4: Superpixel extractors. cIoU on RefCOCO with up to 64 superpixels per image. Share: SPiXSeg’s cIoU as a percentage of the ceiling.
Figure 5: Superpixel extractors. The superpixels from EPOC and SAM 3.1, and those selected by SPiXSeg for each expression (RefCOCOg and RefCOCO val). max: the best IoU these superpixels allow.
Figure 6: Efficiency. (a) RES cIoU (mean of the 8 splits) against time per expression on a new image (one GPU, batch 1); up and left is better. (b) Total time for all expressions of 50 random RefCOCO val images, with the ratio to SPiXSeg. † With SAM-H refinement; without it, 67.2 cIoU at 3.9 s.
Figure 7: OOD qualitative comparison of representative baselines and SPiXSeg. Images from Wikimedia Commons; credits in the supplementary material.
val
testA
testB
Method
LLM
gIoU
cIoU
N-acc
gIoU
cIoU
N-acc
gIoU
cIoU
N-acc
Avg. cIoU
Specialist models
LAVT [ 45 ]
–
58.4
57.6
49.3
65.9
65.3
49.3
55.8
55.0
48.5
59.3
ReLA [ 24 ]
–
63.6
62.4
56.4
70.0
69.3
59.0
61.0
59.9
58.4
63.9
Decoder after the MLLM
LISA (gRES ft) [ 21 ]
Vicuna-7B
61.6
61.8
54.7
66.3
68.5
50.0
58.8
60.6
51.9
63.6
Table 5: Generalized referring expression segmentation on gRefCOCO [ 24 ] , grouped by vocabulary as in Table 1 . N-acc: accuracy on expressions with no target (a dash where the paper does not report it). Avg.: mean cIoU over the three splits. gRES ft: fine-tuned on gRefCOCO. Bold: best per column; underline: second best. § Numbers as reported by SAMTok. ‡ LLaVA-1.5. ⋆ InternVL2.5-8B. ⋄ InternVL2-8B.
val
test
short
long
Method
LLM
gIoU
cIoU
gIoU
cIoU
gIoU
gIoU
Decoder after the MLLM
LISA (ft) [ 21 ]
Vicuna-7B
52.9
54.0
47.3
48.4
40.6
49.4
LISA (ft) [ 21 ]
Vicuna-7B ‡
61.3
62.9
55.6
56.9
48.3
57.9
LaSagnA [ 38 ]
Vicuna-7B
–
47.2
–
–
–
–
UFO [ 35 ]
Vicuna-7B ‡
–
–
58.8
–
46.5
62.7
Table 6: Reasoning segmentation on ReasonSeg [ 21 ] , grouped by vocabulary. Short / long: test queries split as in LISA. ft: fine-tuned on the ReasonSeg train split. Bold: best per column; underline: second best. ‡ LLaVA-1.5. ⋆ InternVL2.5-8B.
RefCOCO
RefCOCO+
RefCOCOg
val
testA
testB
val
testA
testB
val
test
Avg.
(a) Where the remaining cIoU goes (adds up to 100)
∙ SPiXSeg cIoU
84.5
87.1
81.3
80.5
85.0
74.2
80.6
81.9
81.9
∙ + wrong or missed object
2.5
0.9
3.4
5.8
2.0
10.8
4.3
3.6
3.9
∙ + right object, wrong pieces
1.1
0.8
2.9
1.9
1.8
2.6
2.7
2.2
2.2
+ other (near the ceiling)
0.9
1.0
0.8
0.9
1.0
0.8
0.6
0.7
0.8
Table 7: Where the errors of SPiXSeg (InternVL2.5-8B) come from; colours match Fig. 10 . (a) The rows add up to 100 on every split. Piece ceiling: cIoU of the training targets, i.e. the superpixels more than half inside the ground truth (the top one if none is); the partition limit is what is lost even with this selection. The model errors are measured by replacing each group of predictions with the training targets, in the order listed. (b) Share of expressions per error type: wrong object, two objects, mix and missed make up “wrong or missed object” in (a); missing and extra pieces make up “right object, wrong pieces”.
Figure 8: Generalized referring segmentation on gRefCOCO with the InternVL2.5-8B backbone. Top five rows: expressions with several targets; then one with a single target; bottom two: expressions with no target in the image, where the correct answer is an empty mask. Columns: ground truth, LISA-7B [ 21 ] , HiMTok [ 37 ] , SAMTok [ 55 ] , PaDT [ 34 ] , and SPiXSeg (ours)
Figure 9: Reasoning segmentation on the ReasonSeg test split with the InternVL2.5-8B backbone (fine-tuned from our RES checkpoint on RES, VQA and ReasonSeg). Columns: ground truth, LISA-7B [ 21 ] , SAMTok [ 55 ] , PaDT [ 34 ] , and SPiXSeg (ours).
Figure 10: One example per error type of Table 7 (InternVL2.5-8B). Left of each pair: our superpixels with the ceiling pieces (blue), the training targets, i.e. the superpixels more than half inside the ground truth; right: our selection (red). Yellow: ground-truth outline. Wrong object, two objects and mix of objects involve a look-alike of the same category; missed: the target is barely covered and the selection is not on a look-alike. The partition limit is the loss no selection can avoid: the thin lamp arms fall inside no superpixel.
Figure 11: Referring expression segmentation on RefCOCO/+/g with the InternVL2.5-8B backbone. Columns: ground truth, Text4Seg [ 22 ] , RAS [ 6 ] , UFO [ 35 ] , PaDT [ 34 ] , and SPiXSeg (ours).
Figure 12: More out-of-domain expressions compared across methods, on images not shown in Fig. 7 : Text4Seg [ 22 ] , RAS [ 6 ] , UFO [ 35 ] , PaDT [ 34 ] and SPiXSeg. Text4Seg, UFO and SPiXSeg use LLaVA-1.5-7B, RAS LLaVA-1.5-13B and PaDT Qwen2.5-VL-7B.
Figure 13: Open-vocabulary semantic segmentation on ADE20K-150, more examples. Columns: ground truth, UFO [ 35 ] , Text4Seg [ 22 ] , LaSagnA [ 38 ] , HiMTok [ 37 ] , and SPiXSeg (ours); the classes covering at least 3% of the ground truth are listed under each row. † Trained with ADE20K, so not zero-shot on it. ‡ LLaVA-1.5.
Figure 14: SPiXSeg (LLaVA-1.5-7B, trained at K=64 ) with K=16,32,48,64 regions at test time. Left: image with the ground truth (yellow); then, per K , the superpixel boundaries (white) and our selection (blue); IoU of the selection, the ceiling (max) and the realised number of regions below. Coarse maps merge the target with its surroundings; from K=48 on the target can be formed and our selection follows it.