Introduction
Creating interactive narratives, such as Choose Your Own Adventure games, traditionally requires significant manual labor. Developers must hand-code "domain models"—exhaustive definitions of characters, objects, and the rules governing their interactions. This "authorial bottleneck" limits AI storytelling to narrow, pre-defined worlds. SCHEHERAZADE-IF addresses this by automating the creation of interactive narratives through crowdsourcing "common sense" plot points from human contributors, bypassing the need for expert-engineered domain models.
System Architecture and Methods
The SCHEHERAZADE-IF pipeline transforms raw human input into a formal mathematical structure known as a plot graph. This process involves several key stages, from initial data collection to the final interactive execution.
- Crowdsourced Solicitation: The system queries workers via Amazon Mechanical Turk to write short, linear stories about a specific topic. To facilitate AI processing, workers follow strict constraints: one verb per sentence, no pronouns, and no complex logic.
- Plot Event Clustering: The system clusters similar sentences (e.g., "John walks into the bank" and "The robber enters the building") into single "plot events" based on semantic similarity.
- Learning Constraints: The system constructs a graph $G = \langle E, P, M \rangle$, where $E$ represents events, $P$ represents precedence (temporal ordering), and $M$ represents mutual exclusion (branching paths identified by measuring which events never co-occur).
- Interactive Execution: During gameplay, the system identifies "executable" events based on the player's state in the graph and presents them as choices.
Key Results: The Plot Graph
The primary output of the system is a complex plot graph that captures the logical flow and branching possibilities of a scenario. Figure 3 demonstrates a generated graph for a bank robbery, illustrating logical sequences such as "John sees Sally" $\rightarrow$ "Sally greets John" $\rightarrow$ "John pulls out gun."
The system successfully identifies branching paths without being explicitly told they exist. For instance, if some narratives end in an escape and others in an arrest, the system infers these as mutually exclusive outcomes. This allows for dynamic gameplay where NPCs can also take independent actions, adding realism to the text-based interface.
Insights and Future Work
SCHEHERAZADE-IF demonstrates that language simplification—forcing "one verb per sentence"—significantly improves the accuracy of downstream logic extraction. By relying on the "wisdom of the average," the system filters out noise from individual stories to reveal fundamental scenario logic.
While the system currently relies on linear inputs and a text-only interface, future work aims to handle more complex "looping" logic and deeper state-based interactions. The authors suggest this model could eventually populate 3D simulations or complex virtual worlds with "common sense" behaviors without manual scripting.
Summary updated