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

面向视觉语言模型的分布感知提示微调

Distribution-Aware Prompt Tuning for Vision-Language Models

Korea University(高丽大学)

Eulrang Cho, Jooyeon Kim, Hyunwoo J. Kim

AI总结:

针对预训练视觉语言模型中模态特征空间对齐问题,提出分布感知提示微调方法(DAPT),通过最大化类间分散度和最小化类内分散度学习提示,在11个基准数据集上显著提升了模型的泛化能力。

摘要:

预训练视觉语言模型(VLMs)通过利用从大规模数据中学到的知识,在各种下游任务中展现出了令人印象深刻的性能。通常,VLMs在目标任务上的性能可以通过提示微调(即为输入图像或文本添加上下文)得到进一步提升。通过利用目标任务的数据,文献中已经研究了各种提示微调方法。提示微调的关键在于,在模型参数固定的情况下,通过可学习向量实现两种模态之间的特征空间对齐。我们观察到,当每种模态的嵌入在潜在空间中被“妥善排列”时,这种对齐会变得更加有效。受此观察启发,我们提出了一种简单而有效的面向视觉语言模型的分布感知提示微调(DAPT)。具体而言,该方法通过最大化类间分散度(即不同类别之间的距离),以及最小化以同一类别嵌入间距离衡量的类内分散度,来学习提示。我们在11个基准数据集上的大量实验表明,我们的方法显著提升了泛化能力。代码可在 https://github.com/mlvlab/DAPT 获取。

英文摘要:

Pre-trained vision-language models (VLMs) have shown impressive performance on various downstream tasks by utilizing knowledge learned from large data. In general, the performance of VLMs on target tasks can be further improved by prompt tuning, which adds context to the input image or text. By leveraging data from target tasks, various prompt-tuning methods have been studied in the literature. A key to prompt tuning is the feature space alignment between two modalities via learnable vectors with model parameters fixed. We observed that the alignment becomes more effective when embeddings of each modality are `well-arranged' in the latent space. Inspired by this observation, we proposed distribution-aware prompt tuning (DAPT) for vision-language models, which is simple yet effective. Specifically, the prompts are learned by maximizing inter-dispersion, the distance between classes, as well as minimizing the intra-dispersion measured by the distance between embeddings from the same class. Our extensive experiments on 11 benchmark datasets demonstrate that our method significantly improves generalizability. The code is available at https://github.com/mlvlab/DAPT.

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

↑