arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.03117cs.CV
收藏

MaPLe:多模态提示学习

MaPLe: Multi-modal Prompt Learning

Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Australian National University(澳大利亚国立大学);Linköping University(林雪平大学)

Muhammad Uzair Khattak, Hanoona Rasheed, Muhammad Maaz, Salman Khan, Fahad Shahbaz Khan

AI总结:

本文提出多模态提示学习方法MaPLe,通过在视觉和语言分支中联合学习强耦合提示以改善表示对齐,在11个图像识别数据集上显著提升了新类别泛化和总体调和均值性能。

摘要:

诸如 CLIP 等预训练视觉-语言(V-L)模型在下游任务中展现出了出色的泛化能力。然而,它们对输入文本提示的选择很敏感,需要仔细选择提示模板才能表现良好。受自然语言处理(NLP)文献启发,最近的 CLIP 适配方法将学习到的提示作为文本输入,以针对下游任务微调 CLIP。我们注意到,在 CLIP 的单一分支(语言或视觉)中使用提示来适配表示是次优的,因为它不允许在下游任务上动态调整两个表示空间的灵活性。在这项工作中,我们提出了用于视觉和语言分支的多模态提示学习(MaPLe),以改善视觉和语言表示之间的对齐。我们的设计促进了视觉-语言提示之间的强耦合,以确保相互协同,并阻止学习独立的单模态解决方案。此外,我们在不同早期阶段学习独立的提示,以逐步建模阶段性的特征关系,从而允许丰富的上下文学习。我们在新类别泛化、新目标数据集和未见域偏移这三个代表性任务上评估了我们方法的有效性。与最先进的方法 Co-CoOp 相比,MaPLe 表现出优越的性能,在 11 个不同的图像识别数据集上平均,在新类别上实现了 3.45% 的绝对增益,在总体调和均值上实现了 2.72% 的绝对增益。我们的代码和预训练模型可在 https://github.com/muzairkhattak/multimodal-prompt-learning 获取。

英文摘要:

Pre-trained vision-language (V-L) models such as CLIP have shown excellent generalization ability to downstream tasks. However, they are sensitive to the choice of input text prompts and require careful selection of prompt templates to perform well. Inspired by the Natural Language Processing (NLP) literature, recent CLIP adaptation approaches learn prompts as the textual inputs to fine-tune CLIP for downstream tasks. We note that using prompting to adapt representations in a single branch of CLIP (language or vision) is sub-optimal since it does not allow the flexibility to dynamically adjust both representation spaces on a downstream task. In this work, we propose Multi-modal Prompt Learning (MaPLe) for both vision and language branches to improve alignment between the vision and language representations. Our design promotes strong coupling between the vision-language prompts to ensure mutual synergy and discourages learning independent uni-modal solutions. Further, we learn separate prompts across different early stages to progressively model the stage-wise feature relationships to allow rich context learning. We evaluate the effectiveness of our approach on three representative tasks of generalization to novel classes, new target datasets and unseen domain shifts. Compared with the state-of-the-art method Co-CoOp, MaPLe exhibits favorable performance and achieves an absolute gain of 3.45% on novel classes and 2.72% on overall harmonic-mean, averaged over 11 diverse image recognition datasets. Our code and pre-trained models are available at https://github.com/muzairkhattak/multimodal-prompt-learning.

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

↑