🤖 AI Summary
This paper addresses the challenge of zero-shot generation of high-quality branching narratives from linear stories for interactive fiction (IF). Given a pre-written linear narrative, the proposed method identifies critical plot points and employs GPT-4—without fine-tuning—to generate logically coherent, stylistically consistent multi-choice branches, thereby constructing a dynamic graph-structured story representation. Its core contributions are: (1) the first plot-aware meta-prompting framework tailored for IF, enabling controllable and interpretable branch generation; and (2) a unified graph-based model for multi-path narrative states, supporting real-time interactivity and cross-branch consistency maintenance. Experimental results demonstrate that the approach preserves the original narrative’s tone while significantly improving branch plausibility, structural integrity, and player agency—achieving end-to-end interactive narrative generation.
📝 Abstract
WHAT-IF -- Writing a Hero's Alternate Timeline through Interactive Fiction -- is a system that uses zero-shot meta-prompting to create branching narratives from a prewritten story. Played as an interactive fiction (IF) game, WHAT-IF lets the player choose between decisions that the large language model (LLM) GPT-4 generates as possible branches in the story. Starting with an existing linear plot as input, a branch is created at each key decision taken by the main character. By meta-prompting the LLM to consider the major plot points from the story, the system produces coherent and well-structured alternate storylines. WHAT-IF stores the branching plot tree in a graph which helps it to both keep track of the story for prompting and maintain the structure for the final IF system. A video demo of our system can be found here: https://youtu.be/8vBqjqtupcc.