arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.09947cs.CLcs.AIcs.LG
收藏

Future Sight:使用大型预训练语言模型的动态故事生成

Future Sight: Dynamic Story Generation with Large Pretrained Language Models

University of Waterloo(滑铁卢大学)

Brian D. Zimmerman, Gaurav Sahu, Olga Vechtomova

摘要:

深度学习研究的最新进展,如Transformers,增强了自动代理生成类似于人类所写的创造性文本的能力。默认情况下,Transformer解码器只能根据先前生成的文本生成新文本。在任何位置的候选标记的输出分布的条件下,先前选择的标记使用自我注意力机制,以模仿自回归的属性。这在本质上限制了诸如可控故事生成之类的任务,在可控故事生成中,在编写故事时可能需要以未来的情节事件为条件。在这项工作中,我们提出了Future Sight,这是一种在未来条件反射任务上微调预训练生成Transformer的方法。Transformer解码器通常通过自我注意力的方式预先训练完成上下文的任务,一次一个令牌。Future Sight还使解码器能够关注编码的未来情节事件。这促使解码器以逻辑上以所提供的未来结束的方式扩展上下文。在推理过程中,未来的情节事件可以由人类作者编写,以引导叙事在某个方向上生成。我们评估我们的方法的功效与人类评估的故事生成任务。

英文摘要:

Recent advances in deep learning research, such as transformers, have bolstered the ability for automated agents to generate creative texts similar to those that a human would write. By default, transformer decoders can only generate new text with respect to previously generated text. The output distribution of candidate tokens at any position is conditioned on previously selected tokens using a self-attention mechanism to emulate the property of autoregression. This is inherently limiting for tasks such as controllable story generation where it may be necessary to condition on future plot events when writing a story. In this work, we propose Future Sight, a method for finetuning a pretrained generative transformer on the task of future conditioning. Transformer decoders are typically pretrained on the task of completing a context, one token at a time, by means of self-attention. Future Sight additionally enables a decoder to attend to an encoded future plot event. This motivates the decoder to expand on the context in a way that logically concludes with the provided future. During inference, the future plot event can be written by a human author to steer the narrative being generated in a certain direction. We evaluate the efficacy of our approach on a story generation task with human evaluators.

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

↑