LLMSeg:无需训练的基于文本提示的B样条图像分割方法
LLMSeg: Training-Free Text-Prompted Image Segmentation with B-Splines
AI总结:
本文提出无需训练的LLMSeg流水线,将具备视觉能力的LLM转化为文本提示图像分割器,通过三阶段分割在多数据集上与SAM 3性能相当或更优,无需额外分割训练。
摘要:
可提示分割模型如SAM 3已实现出色的开放词汇性能,但需要专用架构、大规模标注引擎和特定任务训练。本文提出不同问题:通用多模态大语言模型(MLLM)能否直接对图像进行分割,无需额外分割头、掩码解码器或训练?我们提出LLMSeg,一种无需训练的流水线,将具备视觉能力的LLM转化为基于文本提示的图像分割器。LLMSeg将分割分解为三个由LLM驱动的阶段:首先,检测(detect)定位所有与自由格式文本查询匹配的实例并描述其粗略形态;其次,分割(segment)使用封闭周期B样条追踪每个实例,这些样条限定于检测到的边界框内,定义外边界和可选的孔洞环;最后,细化(refine)围绕残留误差提出聚焦边界框并重新追踪受限样条,过程在掩码稳定或遍历预算耗尽时终止,输出带有可检查中间几何结构的二值掩码。我们在10个指代表达和推理分割拆分(ReasonSeg和RefCOCO/+/g)上评估LLMSeg,还评估开放词汇实例分割(LVIS、COCO和SA-Co)、语义分割及零样本检测(ODinW13和RF-100VL)。采用现成的Gemini-3.7-Flash后端,LLMSeg在相同项目上与专用SAM 3模型性能相当且常超越,在ReasonSeg验证集上达到71.5的cIoU,无需额外分割特定训练,后端模型更新可提升精度而无需重新训练流水线,代码可在指定URL获取。
英文摘要:
Promptable segmentation models such as SAM 3 achieve remarkable open-vocabulary performance but require dedicated architectures, large-scale annotation engines, and task-specific training. We ask a different question: can a general-purpose multimodal large language model (MLLM) segment images directly, without an added segmentation head, mask decoder, or training? We present LLMSeg, a training-free pipeline that turns a vision-capable LLM into a text-prompted image segmenter. LLMSeg decomposes segmentation into three LLM-driven stages. First, detect localizes all instances matching a free-form text query and describes their coarse morphology. Next, segment traces each instance using closed periodic B-splines confined to its detected box. These splines define an outer boundary and optional hole loops. Finally, refine iteratively proposes focus boxes around residual errors and retraces confined splines. The process ends when the mask stabilizes or the pass budget is exhausted. The output is a binary mask with inspectable intermediate geometry. We evaluate LLMSeg across ten referring and reasoning segmentation splits (ReasonSeg and RefCOCO/+/g). We also evaluate open-vocabulary instance segmentation (LVIS, COCO, and SA-Co), semantic segmentation, and zero-shot detection (ODinW13 and RF-100VL). With an off-the-shelf Gemini-3.7-Flash backend, LLMSeg is competitive with and often surpasses the specialist SAM 3 model on identical items. It reaches 71.5 cIoU on ReasonSeg val without additional segmentation-specific training. Backend model updates can improve accuracy without retraining the pipeline. The code is available at https://abdullahamdi.com/llmseg .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。