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

一的力量:VLM分割仅需一个示例

The Power of One: A Single Example is All it Takes for Segmentation in VLMs

University of British Columbia(不列颠哥伦比亚大学);Vector Institute for AI(矢量人工智能研究院);Canada CIFAR AI Chair(加拿大CIFAR人工智能主席项目机构)

Mir Rayat Imtiaz Hossain, Mennatullah Siam, Leonid Sigal, James J. Little

AI总结:

本文针对VLM零样本分割依赖提示和人工选层的问题,提出用每类单个视觉示例微调文本到图像注意力层,并以熵机制无标签选层,显著提升开放词汇分割性能。

摘要:

在大规模图文对数据集上训练的大型视觉-语言模型(VLM),通过隐式学习文本描述与图像区域之间的关联,展现出强大的多模态理解能力。这种涌现能力使其能够利用依赖文本-图像注意力图的技术实现零样本目标检测与分割,而无需在大量带标注分割数据集上进行训练。然而,此类方法的性能严重依赖提示工程,以及人工选择注意力层的层或注意力头。在本研究中,我们证明:与其仅依赖文本提示,不如为每个类别提供单个视觉示例,并对文本到图像注意力层和嵌入进行微调,从而显著提升性能。此外,我们提出通过跨多个层和/或提示的少样本微调来学习集成模型。文中还提出一种基于熵的文本到图像注意力层排序与选择机制,可在无需分割标签的情况下识别性能最佳的层。这消除了对文本到图像注意力层进行超参数选择的需要,为开放词汇分割提供了更灵活、可扩展的解决方案。我们表明,该方法可产生强劲的零样本性能,并通过使用单个视觉示例进行微调得到进一步增强。此外,我们证明本方法及发现具有通用性,可应用于多种视觉-语言模型(VLM)。

英文摘要:

Large-scale vision-language models (VLMs), trained on extensive datasets of image-text pairs, exhibit strong multimodal understanding capabilities by implicitly learning associations between textual descriptions and image regions. This emergent ability enables zero-shot object detection and segmentation, using techniques that rely on text-image attention maps, without necessarily training on abundant labeled segmentation datasets. However, performance of such methods depends heavily on prompt engineering and manually selected layers or head choices for the attention layers. In this work, we demonstrate that, rather than relying solely on textual prompts, providing a single visual example for each category and fine-tuning the text-to-image attention layers and embeddings significantly improves the performance. Additionally, we propose learning an ensemble through few-shot fine-tuning across multiple layers and/or prompts. An entropy-based ranking and selection mechanism for text-to-image attention layers is proposed to identify the top-performing layers without the need for segmentation labels. This eliminates the need for hyper-parameter selection of text-to-image attention layers, providing a more flexible and scalable solution for open-vocabulary segmentation. We show that this approach yields strong zero-shot performance, further enhanced through fine-tuning with a single visual example. Moreover, we demonstrate that our method and findings are general and can be applied across various vision-language models (VLMs).

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

↑