arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.15397cs.LGcs.CLcs.CV
收藏

IPO:面向视觉-语言模型的可解释提示优化

IPO: Interpretable Prompt Optimization for Vision-Language Models

University of Science and Technology of China(中国科学技术大学);AIM Lab, University of Amsterdam(阿姆斯特丹大学AIM实验室)

Yingjun Du, Wenfang Sun, Cees G. M. Snoek

AI总结:

本文提出可解释提示优化器 IPO,利用大型语言模型动态生成提示并结合多模态模型引入视觉描述,在提升视觉-语言模型泛化性能的同时保持提示的人类可理解性。

摘要:

像 CLIP 这样的预训练视觉-语言模型已经显著适应了各种下游任务。然而,它们的性能在很大程度上依赖于输入文本提示的具体性,这需要熟练的提示模板工程。相反,当前的提示优化方法通过梯度下降来学习提示,其中提示被视为可调参数。然而,这些方法往往会导致对训练期间见过的基类过拟合,并产生人类不再能理解的提示。本文介绍了一种简单但可解释的提示优化器(IPO),它利用大型语言模型(LLMs)动态生成文本提示。我们引入了一种提示优化提示(Prompt Optimization Prompt),它不仅引导 LLMs 创建有效的提示,还存储过去的提示及其性能指标,提供丰富的上下文信息。此外,我们结合了一个大型多模态模型(LMM),通过生成图像描述来以视觉内容为条件,从而增强文本模态和视觉模态之间的交互。这使得能够创建特定于数据集的提示,在保持人类可理解性的同时提高泛化性能。在 11 个数据集上的广泛测试表明,IPO 不仅提高了现有基于梯度下降的提示学习方法的准确性,而且显著增强了所生成提示的可解释性。通过利用 LLMs 的优势,我们的方法确保提示保持人类可理解,从而促进视觉-语言模型更好的透明度和监督。

英文摘要:

Pre-trained vision-language models like CLIP have remarkably adapted to various downstream tasks. Nonetheless, their performance heavily depends on the specificity of the input text prompts, which requires skillful prompt template engineering. Instead, current approaches to prompt optimization learn the prompts through gradient descent, where the prompts are treated as adjustable parameters. However, these methods tend to lead to overfitting of the base classes seen during training and produce prompts that are no longer understandable by humans. This paper introduces a simple but interpretable prompt optimizer (IPO), that utilizes large language models (LLMs) to generate textual prompts dynamically. We introduce a Prompt Optimization Prompt that not only guides LLMs in creating effective prompts but also stores past prompts with their performance metrics, providing rich in-context information. Additionally, we incorporate a large multimodal model (LMM) to condition on visual content by generating image descriptions, which enhance the interaction between textual and visual modalities. This allows for thae creation of dataset-specific prompts that improve generalization performance, while maintaining human comprehension. Extensive testing across 11 datasets reveals that IPO not only improves the accuracy of existing gradient-descent-based prompt learning methods but also considerably enhances the interpretability of the generated prompts. By leveraging the strengths of LLMs, our approach ensures that the prompts remain human-understandable, thereby facilitating better transparency and oversight for vision-language models.

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

↑