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

EIPE-text:面向长篇叙事文本生成的评估引导式迭代计划提取

EIPE-text: Evaluation-Guided Iterative Plan Extraction for Long-Form Narrative Text Generation

Microsoft Research Asia(微软亚洲研究院)

Wang You, Wenshan Wu, Yaobo Liang, Shaoguang Mao, Chenfei Wu, Maosong Cao, Yuzhe Cai, Yiduo Guo, Yan Xia, Furu Wei, Nan Duan

AI总结:

针对长篇叙事生成中规划质量不佳的问题,提出EIPE-text框架,通过问答评估引导的迭代计划提取构建更好规划器,经微调或上下文学习提升生成连贯性与相关性。

摘要:

Plan-and-Write是长篇叙事文本生成中一种常见的分层方法,它首先创建计划以指导叙事写作。遵循这一方法,多项研究依赖于简单地提示大型语言模型进行规划,这往往会产生次优结果。在本文中,我们提出了一种名为评估引导式迭代计划提取(EIPE-text)的新框架,用于长篇叙事文本生成,该框架从叙事语料库中提取计划,并利用提取的计划构建更好的规划器。EIPE-text包含三个阶段:计划提取、学习和推理。在计划提取阶段,它从叙事语料库中迭代提取并改进计划,构建计划语料库。我们提出了一种基于问答(QA)的评估机制,以自动评估计划并生成详细的计划改进指令,引导迭代改进。在学习阶段,我们通过使用计划语料库进行微调或利用计划语料库中的示例进行上下文学习,构建更好的规划器。最后,我们利用分层方法生成长篇叙事。我们在小说和讲故事领域评估了EIPE-text的有效性。基于GPT-4的评估和人工评估均表明,我们的方法能够生成更连贯且更相关的长篇叙事。我们的代码将在未来发布。

英文摘要:

Plan-and-Write is a common hierarchical approach in long-form narrative text generation, which first creates a plan to guide the narrative writing. Following this approach, several studies rely on simply prompting large language models for planning, which often yields suboptimal results. In this paper, we propose a new framework called Evaluation-guided Iterative Plan Extraction for long-form narrative text generation (EIPE-text), which extracts plans from the corpus of narratives and utilizes the extracted plans to construct a better planner. EIPE-text has three stages: plan extraction, learning, and inference. In the plan extraction stage, it iteratively extracts and improves plans from the narrative corpus and constructs a plan corpus. We propose a question answer (QA) based evaluation mechanism to automatically evaluate the plans and generate detailed plan refinement instructions to guide the iterative improvement. In the learning stage, we build a better planner by fine-tuning with the plan corpus or in-context learning with examples in the plan corpus. Finally, we leverage a hierarchical approach to generate long-form narratives. We evaluate the effectiveness of EIPE-text in the domains of novels and storytelling. Both GPT-4-based evaluations and human evaluations demonstrate that our method can generate more coherent and relevant long-form narratives. Our code will be released in the future.

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

↑