arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2212.10539cs.CL
收藏

走向人类可读的提示微调:库布里克的闪灵是一部好电影,也是一部好的提示?

Toward Human Readable Prompt Tuning: Kubrick's The Shining is a good movie, and a good prompt too?

University of Washington(华盛顿大学)

Weijia Shi, Xiaochuang Han, Hila Gonen, Ari Holtzman, Yulia Tsvetkov, Luke Zettlemoyer

摘要:

大语言模型可以在指定所需行为的自然语言提示下以zero-shot方式执行新任务。这种提示通常是手工设计的,但也可以通过基于梯度的方法从标记的数据中学习。然而,是什么因素使提示有效,特别是当提示是自然语言时,还没有充分探索。在本文中,我们调查的共同属性共享有效的提示。首先,我们提出了一个人可读的提示微调方法(F LUENT P ROMPT)的基础上朗之万动力学,结合了流畅性约束,找到一个有效的和流畅的提示的多样性分布。我们的分析表明,有效的提示主题相关的任务域和校准的先验概率的标签词。基于这些发现,我们还提出了一种仅使用未标记数据生成提示的方法,在三个任务中的平均准确率超过强基线7.0%。

英文摘要:

Large language models can perform new tasks in a zero-shot fashion, given natural language prompts that specify the desired behavior. Such prompts are typically hand engineered, but can also be learned with gradient-based methods from labeled data. However, it is underexplored what factors make the prompts effective, especially when the prompts are natural language. In this paper, we investigate common attributes shared by effective prompts. We first propose a human readable prompt tuning method (F LUENT P ROMPT) based on Langevin dynamics that incorporates a fluency constraint to find a diverse distribution of effective and fluent prompts. Our analysis reveals that effective prompts are topically related to the task domain and calibrate the prior probability of label words. Based on these findings, we also propose a method for generating prompts using only unlabeled data, outperforming strong baselines by an average of 7.0% accuracy across three tasks.

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

↑