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

先深思后生成:面向文本生成的增强提示框架

Deliberate then Generate: Enhanced Prompting Framework for Text Generation

Northeastern University(东北大学);Microsoft Research Asia(微软亚洲研究院);Microsoft Azure Translation(微软Azure翻译部门);NiuTrans Research(小牛翻译研究院)

Bei Li, Rui Wang, Junliang Guo, Kaitao Song, Xu Tan, Hany Hassan, Arul Menezes, Tong Xiao, Jiang Bian, JingBo Zhu

AI总结:

本文提出“先深思后生成”(DTG)提示框架,通过错误检测指令和含错候选项促使大语言模型先审视再生成,在20多个数据集和7类文本生成任务上一致超越现有方法并达到最先进性能。

摘要:

大型语言模型(LLMs)在广泛的自然语言生成任务中取得了显著成功,其中恰当的提示设计产生了重要影响。现有提示方法通常仅限于提供正确信息,而在本文中,我们通过提出一种新颖的“先深思后生成”(Deliberate then Generate,DTG)提示框架来鼓励模型进行深思,该框架由错误检测指令和可能包含错误的候选项组成。DTG是一种简单而有效的技术,只需极少修改即可应用于各种文本生成任务。我们在涵盖摘要生成、翻译、对话等7类文本生成任务的20多个数据集上进行了广泛实验。我们表明,DTG一致地优于现有提示方法,并在多个文本生成任务上取得了最先进的性能。我们还提供了深入分析,以揭示DTG的底层机制,这可能启发未来关于LLMs提示的研究。

英文摘要:

Large language models (LLMs) have shown remarkable success across a wide range of natural language generation tasks, where proper prompt designs make great impacts. While existing prompting methods are normally restricted to providing correct information, in this paper, we encourage the model to deliberate by proposing a novel Deliberate then Generate (DTG) prompting framework, which consists of error detection instructions and candidates that may contain errors. DTG is a simple yet effective technique that can be applied to various text generation tasks with minimal modifications. We conduct extensive experiments on 20+ datasets across 7 text generation tasks, including summarization, translation, dialogue, and more. We show that DTG consistently outperforms existing prompting methods and achieves state-of-the-art performance on multiple text generation tasks. We also provide in-depth analyses to reveal the underlying mechanisms of DTG, which may inspire future research on prompting for LLMs.

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

↑