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

面向分布偏移的大语言模型鲁棒提示优化

Robust Prompt Optimization for Large Language Models Against Distribution Shifts

National University of Singapore(新加坡国立大学);University of Science and Technology of China(中国科学技术大学);Singapore Management University(新加坡管理大学)

Moxin Li, Wenjie Wang, Fuli Feng, Yixin Cao, Jizhi Zhang, Tat-Seng Chua

AI总结:

针对大语言模型提示优化易受分布偏移影响的问题,提出广义提示优化框架,利用目标群体未标注数据,实现源群体优化提示对目标群体的泛化,实验验证了其有效性。

摘要:

大语言模型(LLM)在各种自然语言处理任务中展现了显著的能力。然而,其有效性高度依赖于任务提示的措辞,这促使了利用有标注任务数据进行自动提示优化的研究。我们揭示了这些提示优化技术容易受到子群体偏移等分布偏移的影响,而这类偏移在现实场景(如客户评论分析)中对于大语言模型而言十分常见。鉴于此,我们提出了一个新的问题:面向分布偏移的大语言模型鲁棒提示优化,该问题要求在有标注的源群体上优化的提示能够同时泛化到未标注的目标群体。为解决这一问题,我们提出了广义提示优化框架,该框架将来自目标群体的未标注数据纳入提示优化过程。大量实验结果表明,所提出的框架是有效的,在目标群体上取得了显著的性能提升,同时在源群体上保持了可比的性能。

英文摘要:

Large Language Model (LLM) has demonstrated significant ability in various Natural Language Processing tasks. However, their effectiveness is highly dependent on the phrasing of the task prompt, leading to research on automatic prompt optimization using labeled task data. We reveal that these prompt optimization techniques are vulnerable to distribution shifts such as subpopulation shifts, which are common for LLMs in real-world scenarios such as customer reviews analysis. In this light, we propose a new problem of robust prompt optimization for LLMs against distribution shifts, which requires the prompt optimized over the labeled source group can simultaneously generalize to an unlabeled target group. To solve this problem, we propose Generalized Prompt Optimization framework, which incorporates the unlabeled data from the target group into prompt optimization. Extensive experimental results demonstrate the effectiveness of the proposed framework with significant performance improvement on the target group and comparable performance on the source group.

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

↑