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.
Do Massively Pretrained Language Models Make Better Storytellers?
Stanford University(斯坦福大学)
在大量文本上训练的大型神经语言模型已经成为自然语言理解任务的强大策略。然而,这些模型作为自然语言生成器的优势还不太清楚。虽然有证据表明这些模型生成的文本质量更好,但还没有详细的研究来描述它们的生成能力。在这项工作中,我们比较了一个广泛预训练的模型OpenAI GPT 2 -117(Radford et al.,2019),到最先进的神经故事生成模型(Fan et al.,2018年)。通过在各种自动度量中评估生成的文本,我们描述了预训练模型如何更好地讲述故事。我们发现,虽然GPT 2 -117的条件更强的上下文,是更敏感的事件的顺序,并使用更多的不寻常的话,它是一样可能产生重复和多样性不足的文本时,使用可能性最大化解码算法。
Autoregressive Models Rival Diffusion Models at ANY-ORDER Generation
National Key Lab of General Artificial Intelligence, School of Intelligence Science and Technology, Peking University(国家关键人工智能实验室,智能科学与技术学院,北京大学);School of Mathematical Sciences, Peking University(数学科学学院,北京大学);Amazon AGI SF Lab(亚马逊人工智能SF实验室);Institute for Artificial Intelligence, Peking University(人工智能研究院,北京大学)