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

用于可泛化视觉-语言模型的梯度规制元提示学习

Gradient-Regulated Meta-Prompt Learning for Generalizable Vision-Language Models

Zhejiang University(浙江大学);Huawei Cloud(华为云);University of Science and Technology of China(中国科学技术大学);National University of Singapore(新加坡国立大学)

Juncheng Li, Minghe Gao, Longhui Wei, Siliang Tang, Wenqiao Zhang, Mengze Li, Wei Ji, Qi Tian, Tat-Seng Chua, Yueting Zhuang

AI总结:

针对少样本提示调优初始化敏感且易过拟合的问题,提出模型无关的 GRAM 框架,利用未标注图文数据联合元学习软提示初始化与梯度规制函数,提升跨域泛化。

摘要:

提示调优是近期出现的一种范式,它通过学习“软提示”来调节冻结的预训练模型,使强大的视觉-语言预训练模型能够以参数高效和数据高效的方式适应下游任务。尽管有效,但它在少样本场景中尤其存在问题:提示调优性能对初始化很敏感,并且需要耗时的过程来寻找良好的初始化,从而限制了预训练模型的快速适应能力。此外,提示调优可能会削弱预训练模型的泛化能力,因为可学习的提示词元容易过拟合有限的训练样本。为解决这些问题,我们提出了一种新颖的梯度规制元提示学习(GRAM)框架,该框架仅使用未标注的图像-文本预训练数据,在元学习范式中联合元学习用于更好适应的高效软提示初始化和用于强跨域泛化的轻量级梯度规制函数。我们的 GRAM 并非设计一种特定的提示调优方法,而是能够以模型无关的方式轻松融入各种提示调优方法;综合实验表明,在11个数据集上的多种设置(即少样本学习、跨域泛化、跨数据集泛化等)中,GRAM 为这些方法带来了一致提升。此外,实验表明,GRAM 使文本和视觉提示调优这些正交方法能够以相互增强的方式工作,从而提供超越单模态提示调优方法的更好泛化能力。

英文摘要:

Prompt tuning, a recently emerging paradigm, enables the powerful vision-language pre-training models to adapt to downstream tasks in a parameter -- and data -- efficient way, by learning the ``soft prompts'' to condition frozen pre-training models. Though effective, it is particularly problematic in the few-shot scenario, where prompt tuning performance is sensitive to the initialization and requires a time-consuming process to find a good initialization, thus restricting the fast adaptation ability of the pre-training models. In addition, prompt tuning could undermine the generalizability of the pre-training models, because the learnable prompt tokens are easy to overfit to the limited training samples. To address these issues, we introduce a novel Gradient-RegulAted Meta-prompt learning (GRAM) framework that jointly meta-learns an efficient soft prompt initialization for better adaptation and a lightweight gradient regulating function for strong cross-domain generalizability in a meta-learning paradigm using only the unlabeled image-text pre-training data. Rather than designing a specific prompt tuning method, our GRAM can be easily incorporated into various prompt tuning methods in a model-agnostic way, and comprehensive experiments show that GRAM brings about consistent improvement for them in several settings (i.e., few-shot learning, cross-domain generalization, cross-dataset generalization, etc.) over 11 datasets. Further, experiments show that GRAM enables the orthogonal methods of textual and visual prompt tuning to work in a mutually-enhanced way, offering better generalizability beyond the uni-modal prompt tuning methods.

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

↑