BERALL: Towards Generating Retrieval-augmented State-based Interactive Fiction Games

dc.contributor.authorChambers, Rachel
dc.contributor.authorTack, Naomi
dc.contributor.authorPearson, Eliot
dc.contributor.authorMartin, Lara J
dc.contributor.authorFerraro, Francis
dc.date.accessioned2024-09-24T08:59:46Z
dc.date.available2024-09-24T08:59:46Z
dc.description.abstractInteractive fiction (IF) games are a genre of games where the player interacts with the fictional world via text-based commands, solving puzzles primarily by exploring the world and using items they collect along the way. Although there has been much work on playing IF using AI, there is relatively less work on the creation of such games using AI. While large language models (LLMs) have made the generation of text far easier in the past several years, they still struggle to generate the highly-structured and consistent story worlds that one might see in IF. We present a threepart system called BERALL, which generates unique text adventure games by 1) maintaining the current state of the story world, 2) using retrieval-augmented generation (RAG) to create relevant location descriptions, and 3) combining these components to create a coherent experience for the player. Our approach is effective at generating room and story descriptions from the setting and knowledge graphs, demonstrating the potential benefits of LLMs in IF generation. We find challenges remain in maintaining the current game state due, in part, to LLMs not understanding the impact of changes to the knowledge graph generated by the player’s command.
dc.description.urihttps://wordplay-workshop.github.io/pdfs/21.pdf
dc.format.extent11 pages
dc.genrejournal articles
dc.genrepreprints
dc.identifierdoi:10.13016/m2s37b-dzd6
dc.identifier.urihttp://hdl.handle.net/11603/36361
dc.language.isoen_US
dc.relation.isAvailableAtThe University of Maryland, Baltimore County (UMBC)
dc.relation.ispartofUMBC Computer Science and Electrical Engineering Department
dc.relation.ispartofUMBC Faculty Collection
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.titleBERALL: Towards Generating Retrieval-augmented State-based Interactive Fiction Games
dc.typeText

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
BERALL.pdf
Size:
314.4 KB
Format:
Adobe Portable Document Format