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

基于子空间学习的黑盒提示调优

Black-box Prompt Tuning with Subspace Learning

Tsinghua University(清华大学);Zhongguancun Laboratory(中关村实验室);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院(AIR));Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)

Yuanhang Zheng, Zhixing Tan, Peng Li, Yang Liu

AI总结:

针对黑盒提示调优因子空间选择次优而跨任务、跨 LLM 通用性不足的问题,本文提出 BSL,通过相似源任务元学习共同提示子空间,并在目标任务中于该子空间内无导数优化提示。

摘要:

黑盒提示调优采用无导数优化算法,在低维子空间内学习提示,而不是通过 Large Language Models(LLM,大语言模型)的网络进行反向传播。近期研究表明,黑盒提示调优在不同任务和 LLM 之间缺乏通用性,我们认为这与子空间的次优选择有关。本文提出 Black-box prompt tuning with Subspace Learning(BSL,基于子空间学习的黑盒提示调优),以提升黑盒提示调优的通用性。基于相似任务的近似最优提示位于一个共同子空间中的假设,我们提出通过在一组相似源任务上进行元学习来识别此类子空间。因此,对于与源任务具有相似性的目标任务,我们期望在所识别的子空间内进行优化,能够产生在目标任务上表现良好的提示。实验结果证实,我们的 BSL 框架在各类下游任务和 LLM 上均持续取得具有竞争力的性能。

英文摘要:

Black-box prompt tuning employs derivative-free optimization algorithms to learn prompts within low-dimensional subspaces rather than back-propagating through the network of Large Language Models (LLMs). Recent studies reveal that black-box prompt tuning lacks versatility across tasks and LLMs, which we believe is related to the suboptimal choice of subspaces. In this paper, we introduce Black-box prompt tuning with Subspace Learning (BSL) to enhance the versatility of black-box prompt tuning. Based on the assumption that nearly optimal prompts for similar tasks reside in a common subspace, we propose identifying such subspaces through meta-learning on a collection of similar source tasks. Consequently, for a target task that shares similarities with the source tasks, we expect that optimizing within the identified subspace can yield a prompt that performs well on the target task. Experimental results confirm that our BSL framework consistently achieves competitive performance across various downstream tasks and LLMs.

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

↑