arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.18729cs.CV
收藏

注视处分割:注意力作为语言模型与分割器之间的接口

Segment Where You Look: Attention as the Interface Between Language Models and Segmenters

King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学(KAUST));Adobe Research(奥多比研究院)

Eslam Abdelrahman, Hamza Omar Alkaf, Yuheng Li, Siddharth Srinivasan Iyer, Nanxuan Zhao, Eli Shechtman, Krishna Kumar Singh, Mohamed Elhoseiny

AI总结:

该研究提出AttnSeg,以[SEG]标记对图像标记的注意力作为解码器提示,在Sa2VA上显著提升ReasonSeg、GS-Eval等任务的性能,尤其在需明确指代对象的场景增益显著

摘要:

从语言进行分割的视觉-语言模型(VLMs)必须将指代对象的位置传递给像素解码器。主流接口将其压缩为单个[SEG]标记的隐藏状态,这是一个无空间索引的d维向量,而解码器从未看到该表达式,需自行恢复指代对象的范围。我们表明,VLM已计算出更好的信号:[SEG]标记对图像标记的注意力,该注意力按构造在补丁网格上定义。探测冻结的分割VLM时,我们发现,当由相同探测器读取时,该注意力比[SEG]隐藏状态的广义交并比(gIoU)高18至22,它从隐藏状态所依赖的图像中未获得额外增益,且集中在后期层。基于这些发现,我们引入AttnSeg,它将[SEG]嵌入替换为该注意力作为解码器的提示。注意力头的可学习带符号组合形成密集空间提示,注意力引导目标直接对其进行监督。两阶段方案首先训练VLM在无解码器的情况下进行定位,然后训练解码器在标准微调预算内进行细化。应用于Sa2VA时,AttnSeg在4B规模下将ReasonSeg提升6.4 gIoU、GS-Eval提升10.2(在相同数据上微调的相同模型分别提升4.2和9.6),在14B规模下分别提升8.8和11.3。在对象部件、多个对象及需单独挑出指代对象的单个对象上,增益达13至18 gIoU;在解码器已可自行恢复的“stuff”区域上,增益可忽略不计。代码和模型可在this https URL获取

英文摘要:

Vision-language models (VLMs) that segment from language must pass the location of the referent to a pixel decoder. The dominant interface compresses it into the hidden state of a single [SEG] token, a d-dimensional vector with no spatial index, and leaves the decoder, which never sees the expression, to recover the referent's extent. We show that the VLM already computes a better signal: the [SEG] token's attention over the image tokens, which is defined on the patch grid by construction. Probing a frozen segmentation VLM, we find that this attention yields 18 to 22 more gIoU than the [SEG] hidden state when read by the same probe, that it gains nothing from the image where the hidden state does, and that it is concentrated in the late layers. Building on these findings, we introduce AttnSeg, which replaces the [SEG] embedding with this attention as the decoder's prompt. A learned, signed combination of the attention heads forms a dense spatial prompt, and an attention-guidance objective supervises it directly. A two-stage recipe first trains the VLM to localize without the decoder, then trains the decoder to refine, within the budget of standard fine-tuning. Applied to Sa2VA, AttnSeg improves ReasonSeg by 6.4 gIoU and GS-Eval by 10.2 at 4B (4.2 and 9.6 over the same model fine-tuned on the same data), and by 8.8 and 11.3 at 14B. The gains reach 13 to 18 gIoU on object parts, multiple objects, and single objects, where the referent must be singled out, and are negligible on stuff regions, which the decoder already recovers unaided. Code and models are available at https://eslambakr.github.io/attseg_project_page/

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑