GENEVA: GENErating and Visualizing branching narratives using LLMs
Jorge Leandro, Sudha Rao, Michael Xu, Weijia Xu, Nebosja Jojic, Chris Brockett, Bill Dolan
TL;DR
GENEVA addresses the challenge of crafting branching narratives for dialogue-based RPGs by leveraging GPT-4 to generate a narrative graph aligned with high-level designer constraints. The method uses a two-step prompt process: first to produce branching beats, then to encode them into a graph for visualization (D3JS). A case study across four classic tales grounded in multiple settings demonstrates that the approach can produce plausible, testable narrative graphs, though grounding quality varies by setting. The work suggests a practical, AI-assisted workflow to accelerate early-stage narrative design and iteration.
Abstract
Dialogue-based Role Playing Games (RPGs) require powerful storytelling. The narratives of these may take years to write and typically involve a large creative team. In this work, we demonstrate the potential of large generative text models to assist this process. \textbf{GENEVA}, a prototype tool, generates a rich narrative graph with branching and reconverging storylines that match a high-level narrative description and constraints provided by the designer. A large language model (LLM), GPT-4, is used to generate the branching narrative and to render it in a graph format in a two-step process. We illustrate the use of GENEVA in generating new branching narratives for four well-known stories under different contextual constraints. This tool has the potential to assist in game development, simulations, and other applications with game-like properties.
