再思考:通过候选发现与比较推理进行分割
Reason Twice: Segmentation via Candidate Discovery and Comparative Reasoning
AI总结:
提出两阶段框架Rea2Seg,先基于注意力图生成候选掩码,再用多模态大语言模型推理评分,将分割转化为候选发现与判别选择,并引入新基准ReasonSeg-SGDR全面评估感知、定位与推理能力。
摘要:
预训练基础模型的快速发展使得更通用的图像分割成为可能。多模态大语言模型(MLLMs)已被广泛探索用于需要高级推理的复杂查询的图像分割。尽管取得了有希望的进展,现有方法通常受限于有限的训练数据以及MLLMs与掩码生成模块之间的差距。为了更好地将MLLMs的感知和推理能力迁移到复杂的基于推理的分割任务,我们提出了一个两阶段框架Rea2Seg用于掩码生成和选择。具体来说,该框架首先基于分割MLLM的注意力图识别潜在区域作为候选掩码。然后,它利用MLLM对问题和候选掩码进行推理,并为每个掩码分配分数。最终的分割结果通过对候选掩码重新排序并选择最高分的掩码获得,将图像分割重新表述为候选发现后跟判别性掩码选择。\n我们还注意到,现有基准中的大部分问题集中在常识推理上,这些问题通常不需要完全的联合视觉观察和推理。为了解决这个问题,我们引入了一个名为ReasonSeg-SGDR的新基准,该基准在多个维度上全面评估模型的感知、定位和推理能力,包括判别性识别、空间推理、几何推理和多步推理,并带有细粒度的掩码生成。\n此外,我们收集训练数据以增强MLLMs联合理解多模态查询和候选掩码的能力,并通过推理分配分数。在提出的基准和ReasonSeg上的实验结果表明了统一掩码生成和选择框架的有效性。
英文摘要:
The rapid development of pretrained foundation models has enabled more general image segmentation. Multimodal large language models (MLLMs) have been widely explored for image segmentation with complex queries that require high-level reasoning. Despite promising progress, existing methods are often constrained by limited training data and the gap between MLLMs and mask generation modules. To better transfer MLLMs' perception and reasoning ability to complex reasoning-based segmentation tasks, we propose a two-stage framework Rea2Seg for mask generation and selection. Specifically, the framework first identifies potential regions as candidate masks based on the attention maps of a segmentation MLLM. It then employs an MLLM to reason over the question and candidate masks and assign scores to each mask. The final segmentation result is obtained by reranking the candidates and selecting the highest-scoring mask, reformulating image segmentation as candidate discovery followed by discriminative mask selection. We also notice that a large portion of questions in existing benchmarks focus on commonsense reasoning, and these questions usually do not fully require joint visual observation and reasoning. To address this issue, we introduce a new benchmark called ReasonSeg-SGDR that comprehensively evaluates a model's perception, grounding, and reasoning abilities across multiple dimensions, including discriminative recognition, spatial reasoning, geometric reasoning, and multi-step reasoning, with fine-grained mask generation. In addition, we collect training data to enhance MLLMs' ability to jointly understand multimodal queries and candidate masks, and to assign scores through reasoning. Experimental results on the proposed benchmark and ReasonSeg demonstrate the effectiveness of the unified mask generation and selection framework.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。