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

Re3:使用递归重新提示和修改生成更长的故事

Re3: Generating Longer Stories With Recursive Reprompting and Revision

UC Berkeley(加州大学伯克利分校);Meta AI;UCLA(加州大学洛杉矶分校)

Kevin Yang, Yuandong Tian, Nanyun Peng, Dan Klein

摘要:

我们考虑自动生成超过两千字的长篇故事的问题。与之前的短篇小说相比,长期情节连贯性和相关性是这里更核心的挑战。我们提出了递归重新提示和修订框架(Re3),以解决这些挑战,(a)促使通用语言模型构建一个结构化的总体计划,(b)通过重复注入上下文信息的计划和当前的故事状态到一个语言模型提示生成的故事段落。然后,我们通过(c)重新排列不同的延续,以实现情节连贯性和前提相关性,最后(d)编辑最好的延续,以实现事实的一致性。与直接从相同的基本模型生成的类似长度的故事相比,人类评估者认为Re3的故事中有更多的故事具有连贯的总体情节(绝对增加14%),并且与给定的初始前提相关(20%)。

英文摘要:

We consider the problem of automatically generating longer stories of over two thousand words. Compared to prior work on shorter stories, long-range plot coherence and relevance are more central challenges here. We propose the Recursive Reprompting and Revision framework (Re3) to address these challenges by (a) prompting a general-purpose language model to construct a structured overarching plan, and (b) generating story passages by repeatedly injecting contextual information from both the plan and current story state into a language model prompt. We then revise by (c) reranking different continuations for plot coherence and premise relevance, and finally (d) editing the best continuation for factual consistency. Compared to similar-length stories generated directly from the same base model, human evaluators judged substantially more of Re3's stories as having a coherent overarching plot (by 14% absolute increase), and relevant to the given initial premise (by 20%).

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

↑