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

面向任务组合的提示代数

Prompt Algebra for Task Composition

AWS AI Labs(亚马逊云科技人工智能实验室)

Pramuditha Perera, Matthew Trager, Luca Zancato, Alessandro Achille, Stefano Soatto

AI总结:

本文提出提示代数与约束提示微调,使独立学习的提示可组合,并在目标及属性分类任务上取得接近或超越最佳基础模型的性能。

摘要:

我们研究针对不同任务独立学习的提示是否可以在之后通过提示代数进行组合,从而获得支持任务组合的模型。我们以采用提示微调的视觉语言模型(VLM)作为基础分类器,并形式化定义提示代数的概念。我们提出约束提示微调,以提升复合分类器的性能。在所提出的方案中,提示被约束为出现在由预训练词汇表的基向量张成的低维子空间中。进一步加入正则化,以确保学习到的提示能够正确地对齐到现有的预训练词汇表。我们在目标分类和目标-属性分类数据集上验证了方法的有效性。平均而言,我们的复合模型取得的分类准确率与最佳基础模型相差在2.5%以内。在UTZappos上,它平均比最佳基础模型提高了8.45%的分类准确率。

英文摘要:

We investigate whether prompts learned independently for different tasks can be later combined through prompt algebra to obtain a model that supports composition of tasks. We consider Visual Language Models (VLM) with prompt tuning as our base classifier and formally define the notion of prompt algebra. We propose constrained prompt tuning to improve performance of the composite classifier. In the proposed scheme, prompts are constrained to appear in the lower dimensional subspace spanned by the basis vectors of the pre-trained vocabulary. Further regularization is added to ensure that the learned prompt is grounded correctly to the existing pre-trained vocabulary. We demonstrate the effectiveness of our method on object classification and object-attribute classification datasets. On average, our composite model obtains classification accuracy within 2.5% of the best base model. On UTZappos it improves classification accuracy over the best base model by 8.45% on average.

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

↑