arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.00910cs.CVcs.AI
收藏

CoPL:面向视觉-语言理解的上下文提示学习

CoPL: Contextual Prompt Learning for Vision-Language Understanding

Adobe Research(奥多比研究院)

Koustava Goswami, Srikrishna Karanam, Prateksha Udhayanan, K J Joseph, Balaji Vasan Srinivasan

AI总结:

针对视觉-语言提示学习依赖全局特征且等权加权的问题,本文提出CoPL框架,利用局部图像特征生成并动态加权提示,在标准、少样本及分布外场景中显著提升性能。

摘要:

多模态学习的最新进展催生了强大的视觉-语言模型,其表征能够泛化到各种下游任务。近来,通过借鉴自然语言处理文献并引入可训练提示,这些模型的泛化能力得到了进一步拓展。尽管此类提示学习技术已取得令人瞩目的成果,但我们发现这些提示是基于全局图像特征进行训练的,这在两个方面限制了其自身:首先,通过使用全局特征,这些提示可能较少关注具有判别性的前景图像,从而导致在各种分布外测试案例上的泛化能力较差。其次,现有工作对所有提示赋予相同权重,而直观上,提示应当根据图像语义重新加权。我们在提出的上下文提示学习(Contextual Prompt Learning,CoPL)框架中解决了这些问题,该框架能够将提示与图像的局部特征对齐。相较于早期工作,我们的关键创新包括:在提示学习过程中使用局部图像特征;更关键的是,学习基于适合当前任务的局部特征对这些提示进行加权。这使我们获得了既与局部图像特征对齐、又能感知局部上下文关系的动态提示。我们在多种标准数据集和少样本数据集上进行的大量实验表明,与当前最先进方法相比,我们的方法带来了显著提升的性能。我们还展示了少样本性能和分布外性能,以证明学习与局部图像特征对齐的动态提示的实用价值。

英文摘要:

Recent advances in multimodal learning has resulted in powerful vision-language models, whose representations are generalizable across a variety of downstream tasks. Recently, their generalization ability has been further extended by incorporating trainable prompts, borrowed from the natural language processing literature. While such prompt learning techniques have shown impressive results, we identify that these prompts are trained based on global image features which limits itself in two aspects: First, by using global features, these prompts could be focusing less on the discriminative foreground image, resulting in poor generalization to various out-of-distribution test cases. Second, existing work weights all prompts equally whereas intuitively, prompts should be reweighed according to the semantics of the image. We address these as part of our proposed Contextual Prompt Learning (CoPL) framework, capable of aligning the prompts to the localized features of the image. Our key innovations over earlier works include using local image features as part of the prompt learning process, and more crucially, learning to weight these prompts based on local features that are appropriate for the task at hand. This gives us dynamic prompts that are both aligned to local image features as well as aware of local contextual relationships. Our extensive set of experiments on a variety of standard and few-shot datasets show that our method produces substantially improved performance when compared to the current state of the art methods. We also demonstrate both few-shot and out-of-distribution performance to establish the utility of learning dynamic prompts that are aligned to local image features.

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

↑