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

面向任务的视觉语言模型多模态互学

Task-Oriented Multi-Modal Mutual Leaning for Vision-Language Models

Jilin University(吉林大学);Baidu VIS(百度视觉技术部);University of Sydney(悉尼大学);Zhejiang University(浙江大学)

Sifan Long, Zhen Zhao, Junkun Yuan, Zichang Tan, Jiangjiang Liu, Luping Zhou, Shengsheng Wang, Jingdong Wang

摘要:

快速学习已经成为使大型预训练视觉语言模型适应下游任务的最有效范例之一。当前最先进的方法,如CoOp和ProDA,倾向于采用软提示来学习每个特定任务的适当提示。最近的CoCoOp通过图像条件提示进一步提高了基础到新的泛化性能。然而,它直接融合相同的图像语义,以提示不同的标签,并显着削弱了不同类别之间的区别,如我们的实验中所示。出于这种观察,我们首先提出了一个类感知的文本提示(CTP),以丰富生成的提示与标签相关的图像信息。与CoCoOp不同,CTP可以有效地涉及图像语义,避免在不同的提示中引入额外的歧义。另一方面,而不是保留完整的图像表示,我们提出了文本引导的特征调整(TFT),使图像分支参加类相关的表示。采用对比损失来在下游任务上对齐这样的增强文本和图像表示。以这种方式,图像到文本CTP和文本到图像TFT可以相互促进,以增强VLM对下游任务的适应性。大量的实验表明,我们的方法优于现有的方法的显着保证金。特别是,与CoCoOp相比,我们在新类上实现了4.03%的平均改进,在11个分类基准上实现了3.19%的谐波平均值。

英文摘要:

Prompt learning has become one of the most efficient paradigms for adapting large pre-trained vision-language models to downstream tasks. Current state-of-the-art methods, like CoOp and ProDA, tend to adopt soft prompts to learn an appropriate prompt for each specific task. Recent CoCoOp further boosts the base-to-new generalization performance via an image-conditional prompt. However, it directly fuses identical image semantics to prompts of different labels and significantly weakens the discrimination among different classes as shown in our experiments. Motivated by this observation, we first propose a class-aware text prompt (CTP) to enrich generated prompts with label-related image information. Unlike CoCoOp, CTP can effectively involve image semantics and avoid introducing extra ambiguities into different prompts. On the other hand, instead of reserving the complete image representations, we propose text-guided feature tuning (TFT) to make the image branch attend to class-related representation. A contrastive loss is employed to align such augmented text and image representations on downstream tasks. In this way, the image-to-text CTP and text-to-image TFT can be mutually promoted to enhance the adaptation of VLMs for downstream tasks. Extensive experiments demonstrate that our method outperforms the existing methods by a significant margin. Especially, compared to CoCoOp, we achieve an average improvement of 4.03% on new classes and 3.19% on harmonic-mean over eleven classification benchmarks.

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

↑