arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.13601cs.CVcs.AIcs.LG
收藏

视觉上下文提示

Visual In-Context Prompting

HKUST(香港科技大学);Microsoft Research(微软研究院);IDEA(IDEA研究院);SCUT(华南理工大学);Tsinghua(清华大学);UW-Madison(威斯康星大学麦迪逊分校)

Feng Li, Qing Jiang, Hao Zhang, Tianhe Ren, Shilong Liu, Xueyan Zou, Huaizhe Xu, Hongyang Li, Chunyuan Li, Jianwei Yang, Lei Zhang, Jianfeng Gao

AI总结:

本文提出了一种通用的视觉上下文提示框架,基于编码器-解码器架构支持多种提示类型和任意参考图像片段,在开放集分割与检测任务中展现出卓越性能。

摘要:

大型语言模型(LLMs)中的上下文提示已成为提升零样本能力的主流方法,但这一思路在视觉领域探索较少。现有的视觉提示方法侧重于指代分割以分割最相关的对象,无法应对开放集分割和检测等许多通用视觉任务。本文为这两类任务引入了一个通用的视觉上下文提示框架。具体而言,我们基于编码器-解码器架构,开发了一个多功能提示编码器,以支持笔画、框和点等多种提示。我们进一步增强了该框架,使其能够将任意数量的参考图像片段作为上下文。我们的广泛探索表明,所提出的视觉上下文提示引发了出色的指代与通用分割能力,能够进行指代和检测,在闭集的域内数据集上取得了有竞争力的性能,并在许多开放集分割数据集上展现出有前景的结果。通过在 COCO 和 SA-1B 上进行联合训练,我们的模型在 COCO 上实现了 $57.7$ PQ,在 ADE20K 上实现了 $23.2$ PQ。代码将在 https://github.com/UX-Decoder/DINOv 发布。

英文摘要:

In-context prompting in large language models (LLMs) has become a prevalent approach to improve zero-shot capabilities, but this idea is less explored in the vision domain. Existing visual prompting methods focus on referring segmentation to segment the most relevant object, falling short of addressing many generic vision tasks like open-set segmentation and detection. In this paper, we introduce a universal visual in-context prompting framework for both tasks. In particular, we build on top of an encoder-decoder architecture, and develop a versatile prompt encoder to support a variety of prompts like strokes, boxes, and points. We further enhance it to take an arbitrary number of reference image segments as the context. Our extensive explorations show that the proposed visual in-context prompting elicits extraordinary referring and generic segmentation capabilities to refer and detect, yielding competitive performance to close-set in-domain datasets and showing promising results on many open-set segmentation datasets. By joint training on COCO and SA-1B, our model achieves $57.7$ PQ on COCO and $23.2$ PQ on ADE20K. Code will be available at https://github.com/UX-Decoder/DINOv.

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

↑