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

提示词探索与提示词回归

Prompt Exploration with Prompt Regression

Carnegie Mellon University(卡内基梅隆大学);Massachusetts Institute of Technology(麻省理工学院);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);University of Michigan(密歇根大学);IBM Research(IBM研究院)

Michael Feffer, Ronald Xu, Yuekai Sun, Mikhail Yurochkin

AI总结:

提出PEPR框架,通过提示词回归预测提示词组合效果并选择有效提示词,在多任务和不同规模开源LLM上验证了其有效性,以系统化LLM提示词的创建与选择过程。

摘要:

随着大型语言模型(LLMs)的普及,人们越来越希望将LLM提示词的创建和选择过程系统化,而非仅仅依赖反复试错。以往的研究主要集中在搜索提示词空间,而未考虑提示词变体之间的关系。在此,我们提出了一种名为“提示词探索与提示词回归”(PEPR)的框架,该框架可根据单个提示词元素的结果来预测提示词组合的效果,并提供一种简单的方法来为特定用例选择有效的提示词。我们使用不同规模的开源LLM在多个不同任务上评估了该方法。

英文摘要:

In the advent of democratized usage of large language models (LLMs), there is a growing desire to systematize LLM prompt creation and selection processes beyond iterative trial-and-error. Prior works majorly focus on searching the space of prompts without accounting for relations between prompt variations. Here we propose a framework, Prompt Exploration with Prompt Regression (PEPR), to predict the effect of prompt combinations given results for individual prompt elements as well as a simple method to select an effective prompt for a given use-case. We evaluate our approach with open-source LLMs of different sizes on several different tasks.

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

↑