Crowdsourcing interactive fiction games

Boyang Li, Stephen Lee-Urban, Mark O. Riedl

Abstract

The Scheherazade system automates the creation of Interactive Fiction (IF) by crowdsourcing "common sense" narratives from Amazon Mechanical Turk. By clustering simple stories into a structured "plot graph," the system learns the logical dependencies and mutual exclusions of a scenario (such as a bank robbery) to generate a playable, branching text adventure without manual authoring.

Introduction

Creating compelling Interactive Fiction is a labor-intensive process that requires deep domain knowledge. While procedural generation has made strides in creating game mechanics or levels, generating coherent narratives remains a significant challenge. The primary bottleneck is the "knowledge acquisition" problem: teaching a computer the sociocultural nuances of a specific situation. For example, in a bank robbery, a player should not be able to open the vault before they have the key. Traditionally, these rules—temporal precedence and mutual exclusion—must be hard-coded by a human designer. The authors aim to bypass this manual labor by mining the collective "human memory" of crowd workers.

The Scheherazade Pipeline

The authors present a pipeline called Scheherazade that follows five main steps to transform raw crowd input into a playable game structure:

  1. Crowdsourced Input: Workers on Amazon Mechanical Turk write short, linear stories about a specific topic. To simplify processing, workers are restricted to "one sentence per event" with a single verb and no complex structures.
  2. Event Clustering: Sentences from different workers describing the same action (e.g., "The robber enters the bank" vs. "A man walks into the bank") are clustered into "plot events."
  3. Learning Precedence: The system uses statistical analysis to determine if event A consistently happens before event B. If confidence is high, a temporal constraint is added to the plot graph.
  4. Mutual Exclusion: The system identifies "either/or" scenarios. If two events rarely occur in the same story but are both common in the dataset, they are marked as mutually exclusive.
  5. Execution Engine: The resulting plot graph is fed into an engine that manages the game state, presenting valid choices based on the graph's logic.
A learned plot graph for a bank robbery scenario, illustrating temporal precedence and mutual exclusion constraints.

Key Insights and Results

The researchers evaluated the system primarily using a bank robbery scenario. By forcing crowd workers to use simple language, the authors sidestep the "AI-complete" problem of full natural language understanding, focusing instead on underlying narrative logic. The system models narrative progression as a set of dependencies, mirroring classic adventure game design where certain "keys" (events) must be acquired to unlock "locks" (future scenes).

In the bank robbery domain, the system initially identified plot events with 80.4% purity. By adding a second round of crowdsourcing to refine the results, purity was boosted to 89.8%. The authors successfully demonstrated a functional prototype where the player's choices dynamically navigate the learned plot graph while maintaining narrative coherence.

A command-line interface showing a playable interactive fiction game generated by the Scheherazade system.

Limitations and Future Work

While the system learns the logic of the story, it does not yet generate "flavor text." Currently, a human must still write the dramatized descriptions for each plot event to make the game feel like a real story rather than a list of logic gates. Furthermore, the system is sensitive to the quality of crowd workers; while local thresholding handles some "noisy" narratives, extremely divergent stories can confuse the graph learning. Future work will explore how this scales to more complex, abstract fiction where cause-and-effect is less predictable than in standard sociocultural scripts like visiting a restaurant or catching an airplane.

Summary updated

BibTeX
@inproceedings{li2013crowdsourcing,
  author = {Boyang Li and Stephen Lee-Urban and Mark O. Riedl},
  title = {{Crowdsourcing interactive fiction games}},
  booktitle = {FDG},
  year = {2013},
}
Figure