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

目标导向的故事生成:用强化学习增强生成语言模型

Goal-Directed Story Generation: Augmenting Generative Language Models with Reinforcement Learning

University of Pennsylvania(宾夕法尼亚大学);Georgia Institute of Technology(佐治亚理工学院)

Amal Alabdulkarim, Winston Li, Lara J. Martin, Mark O. Riedl

摘要:

大型预训练生成语言模型的出现为AI故事生成提供了一个通用框架,通过对模型进行采样来创建继续故事的序列。然而,单靠抽样是不足以产生故事的。特别是,很难指导语言模型创建故事以达到特定的目标事件。我们提出了两种基于深度强化学习和奖励塑造的自动化技术来控制计算机生成故事的情节。第一个利用近端策略优化来微调现有的基于transformer的语言模型,以生成文本延续,但也是目标搜索。第二种方法从展开的故事中提取知识图谱,由具有图关注的策略网络使用该知识图谱来选择由语言模型生成的候选延续。我们报告了与故事实现给定目标事件的频率有关的自动化指标,以及与基线和消融相比的连贯性和整体故事质量的人类参与者排名。

英文摘要:

The advent of large pre-trained generative language models has provided a common framework for AI story generation via sampling the model to create sequences that continue the story. However, sampling alone is insufficient for story generation. In particular, it is hard to direct a language model to create stories to reach a specific goal event. We present two automated techniques grounded in deep reinforcement learning and reward shaping to control the plot of computer-generated stories. The first utilizes proximal policy optimization to fine-tune an existing transformer-based language model to generate text continuations but also be goal-seeking. The second extracts a knowledge graph from the unfolding story, which is used by a policy network with graph attention to select a candidate continuation generated by a language model. We report on automated metrics pertaining to how often stories achieve a given goal event as well as human participant rankings of coherence and overall story quality compared to baselines and ablations.

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

↑