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

面向可泛化视觉-语言模型的知识感知提示调优

Knowledge-Aware Prompt Tuning for Generalizable Vision-Language Models

United Imaging Healthcare(联影医疗);Qilu University of Technology (Shandong Academy of Sciences)(齐鲁工业大学(山东省科学院));Southern University of Science and Technology(南方科技大学);The University of Hong Kong(香港大学)

Baoshuo Kan, Teng Wang, Wenpeng Lu, Xiantong Zhen, Weili Guan, Feng Zheng

AI总结:

针对可学习提示易过拟合已见类别、难以泛化未见类的问题,提出知识感知提示调优框架KAPT,结合两类知识提示与视觉适配头,在11个基准的少样本分类任务上优于CoCoOp。

摘要:

预训练视觉-语言模型(例如CLIP)结合人工设计的提示已展现出强大的迁移学习能力。近期,可学习提示取得了当前最优性能,但这类提示容易过拟合于已见类别,无法泛化到未见类别。本文提出了一种面向视觉-语言模型的知识感知提示调优(Knowledge-Aware Prompt Tuning,KAPT)框架。我们的方法受人类智能启发:人类在识别新物体类别时通常会引入外部知识。具体而言,我们为文本编码器设计了两种互补的知识感知提示,以利用类别相关外部知识的独特特征:离散提示从物体类别的描述中提取关键信息,学习得到的连续提示则捕捉整体语境。我们还为视觉编码器设计了一个适配头,用于聚合显著的注意力视觉线索,从而构建具有判别性且感知任务的视觉表示。我们在11个广泛使用的基准数据集上开展了大量实验,结果验证了该方法在少样本图像分类任务中的有效性,尤其是在泛化到未见类别方面。与当前最优的CoCoOp方法相比,KAPT表现出优异性能,在新类别上取得了3.22%的绝对提升,调和均值方面提升了2.57%。

英文摘要:

Pre-trained vision-language models, e.g., CLIP, working with manually designed prompts have demonstrated great capacity of transfer learning. Recently, learnable prompts achieve state-of-the-art performance, which however are prone to overfit to seen classes, failing to generalize to unseen classes. In this paper, we propose a Knowledge-Aware Prompt Tuning (KAPT) framework for vision-language models. Our approach takes inspiration from human intelligence in which external knowledge is usually incorporated into recognizing novel categories of objects. Specifically, we design two complementary types of knowledge-aware prompts for the text encoder to leverage the distinctive characteristics of category-related external knowledge. The discrete prompt extracts the key information from descriptions of an object category, and the learned continuous prompt captures overall contexts. We further design an adaptation head for the visual encoder to aggregate salient attentive visual cues, which establishes discriminative and task-aware visual representations. We conduct extensive experiments on 11 widely-used benchmark datasets and the results verify the effectiveness in few-shot image classification, especially in generalizing to unseen categories. Compared with the state-of-the-art CoCoOp method, KAPT exhibits favorable performance and achieves an absolute gain of 3.22% on new classes and 2.57% in terms of harmonic mean.

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

↑