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

dc.contributor.authorAlabdulkarim, Amal
dc.contributor.authorLi, Winston
dc.contributor.authorMartin, Lara J.
dc.contributor.authorRiedl, Mark O.
dc.date.accessioned2025-03-11T14:42:28Z
dc.date.available2025-03-11T14:42:28Z
dc.date.issued2021-12-16
dc.description.abstractThe 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.
dc.description.urihttp://arxiv.org/abs/2112.08593
dc.format.extent15 pages
dc.genrejournal articles
dc.genrepreprints
dc.identifierdoi:10.13016/m2pglt-uc1t
dc.identifier.urihttps://doi.org/10.48550/arXiv.2112.08593
dc.identifier.urihttp://hdl.handle.net/11603/37736
dc.language.isoen_US
dc.relation.isAvailableAtThe University of Maryland, Baltimore County (UMBC)
dc.relation.ispartofUMBC Computer Science and Electrical Engineering Department
dc.rightsThis item is likely protected under Title 17 of the U.S. Copyright Law. Unless on a Creative Commons license, for uses protected by Copyright Law, contact the copyright holder or the author.
dc.subjectComputer Science - Artificial Intelligence
dc.subjectComputer Science - Computation and Language
dc.titleGoal-Directed Story Generation: Augmenting Generative Language Models with Reinforcement Learning
dc.typeText
dcterms.creatorhttps://orcid.org/0000-0002-0623-599X

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
2112.08593v1.pdf
Size:
544.83 KB
Format:
Adobe Portable Document Format