atlas

Research map / Detection and segmentation / Open-set and few-shot detection

Segment Anyword: Mask Prompt Inversion for Open-Set Grounded Segmentation

ICML 2025 · Detection and segmentation › Open-set and few-shot detection · approach: Open-vocabulary semantic segmentation

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Segment Anyword, a training-free open-set grounded segmentation method that test-time optimizes text embeddings of a frozen diffusion model, extracts cross-attention mask prompts, and refines them with SAM using linguistic dependency and syntax regularization.

Problem

Open-set language-grounded segmentation struggles with diverse text reference expressions and typically requires extensive training or fine-tuning of MLLMs or VLMs, yielding inconsistent masks when wording varies.

Approach

Treat segmentation reference expressions as diffusion conditioning text, optimize only the token embeddings at test time via textual inversion/reconstruction, average token cross-attention maps as mask prompts for SAM, and regularize prompts with adjective positive clustering and negative binding of other entities derived from parsed syntax.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add SAM post-processing to the thresholded cross-attention mask (ablation)Segment Anyword on GranDf Val · GranDf ValmIoU: 13.7 to 32.4Helped
Add test-time textual embedding updates with 550 optimizing steps (ablation)Segment Anyword with SAM on GranDf Val · GranDf ValmIoU: 6.4 mIoU increaseHelped
Increase test-time textual embedding updates to 1100 steps (ablation)Segment Anyword with SAM on GranDf Val · GranDf ValmIoU: further 10.2 mIoU increaseHelped
Add positive adjective prompt clustering (R1) (ablation)Segment Anyword with SAM and 1100-step prompt learning · GranDf ValmIoU: 42.6 -> 62.2Helped
Add negative mutual-exclusive prompt binding (R2) (ablation)Segment Anyword with SAM and 1100-step prompt learning · GranDf ValmIoU: 42.6 -> 63.1Helped
Use both R1 and R2 prompt regularization (ablation)Segment Anyword with SAM and 1100-step prompt learning · GranDf ValmIoU: 63.1 -> 67.4Helped
Use LoRA text-encoder adaptation and 50 prompt-learning steps instead of 1100 (ablation)Segment Anyword with R1 and R2 · GranDf ValmIoU: 67.4 -> 65.9Hurt
Use GPT-4o instead of SpaCy (RoBERTa) for POS tagging (ablation)Segment Anyword on RefCOCO sample · RefCOCO samplemIoU: 46.9 -> 68.2Helped
Replace ground-truth text with GLaMM-generated text (ablation)Segment Anyword_f on GranDf Val · GranDf ValmIoU: 65.9 -> 62.5Hurt
Use Segment Anyword instead of EmerDiffPascal Context 59 · Pascal Context 59mIoU: 45.7 -> 52.5Helped
Use Segment Anyword_f instead of SAM4MLLMgRefCOCO Val · gRefCOCO ValcIoU: 66.33 -> 67.73Helped

Surprising findings

Limitations

Experimental setup

Datasets: GranDf gRefCOCO RefCOCO RefCOCO+ RefCOCOg PASCAL Context

Benchmarks: GranDf gRefCOCO RefCOCO RefCOCO+ RefCOCOg PASCAL Context 59

Metrics: AP50 mIoU Recall cIoU gIoU

Baselines: GLaMM LISA OMG-LLaVA GSVA SAM4MLLM PSALM CLIPasRNN EmerDiff OVDiff

Builds on: multi-concept prompt learning latent diffusion model Segment Anything Model direct inversion

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy