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

统一视觉与语言即时学习

Unified Vision and Language Prompt Learning

Nanyang Technological University(南洋理工大学);Apple Inc.(苹果公司)

Yuhang Zang, Wei Li, Kaiyang Zhou, Chen Huang, Chen Change Loy

摘要:

提示微调是一种参数和数据高效的迁移学习范式,它只调优模型输入空间中的少量参数,自从CLIP等大型视觉语言模型出现以来,它已经成为视觉社区的一种趋势。本文系统地研究了两种有代表性的提示微调方法,即文本提示微调和视觉提示微调。一个主要的发现是,没有一个单峰的提示微调方法表现一贯良好:文本提示微调失败的数据与高类内视觉差异,而视觉提示微调不能处理低类间的差异。为了结合这两个世界的最佳效果,我们提出了一种称为统一提示微调(UPT)的简单方法,它本质上是学习一个微小的神经网络来联合优化不同模式的提示。在超过11个视觉数据集上进行的大量实验表明,UPT在少样本学习基准和领域泛化基准上比单峰对应物实现了更好的权衡。将发布代码和模型,以促进未来的研究。

英文摘要:

Prompt tuning, a parameter- and data-efficient transfer learning paradigm that tunes only a small number of parameters in a model's input space, has become a trend in the vision community since the emergence of large vision-language models like CLIP. We present a systematic study on two representative prompt tuning methods, namely text prompt tuning and visual prompt tuning. A major finding is that none of the unimodal prompt tuning methods performs consistently well: text prompt tuning fails on data with high intra-class visual variances while visual prompt tuning cannot handle low inter-class variances. To combine the best from both worlds, we propose a simple approach called Unified Prompt Tuning (UPT), which essentially learns a tiny neural network to jointly optimize prompts across different modalities. Extensive experiments on over 11 vision datasets show that UPT achieves a better trade-off than the unimodal counterparts on few-shot learning benchmarks, as well as on domain generalization benchmarks. Code and models will be released to facilitate future research.

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

↑