[Paper Review] Bringing Stories Alive: Generating Interactive Fiction Worlds
This paper presents AskBERT, a neural method that generates interactive fiction worlds by extracting and completing a knowledge graph from story plots using thematic and commonsense knowledge, then guiding text generation to produce coherent, engaging, and thematically consistent virtual worlds. Human evaluations show the neural model outperforms rule-based and random baselines in coherence and interestingness, especially in fantasy genres where thematic knowledge diverges from everyday commonsense.
World building forms the foundation of any task that requires narrative intelligence. In this work, we focus on procedurally generating interactive fiction worlds---text-based worlds that players "see" and "talk to" using natural language. Generating these worlds requires referencing everyday and thematic commonsense priors in addition to being semantically consistent, interesting, and coherent throughout. Using existing story plots as inspiration, we present a method that first extracts a partial knowledge graph encoding basic information regarding world structure such as locations and objects. This knowledge graph is then automatically completed utilizing thematic knowledge and used to guide a neural language generation model that fleshes out the rest of the world. We perform human participant-based evaluations, testing our neural model's ability to extract and fill-in a knowledge graph and to generate language conditioned on it against rule-based and human-made baselines. Our code is available at https://github.com/rajammanabrolu/WorldGeneration.
Motivation & Objective
- To address the challenge of procedurally generating semantically consistent, coherent, and thematically appropriate interactive fiction worlds using natural language.
- To integrate thematic and everyday commonsense knowledge into world generation to enhance player immersion and narrative plausibility.
- To develop a neural model that outperforms rule-based and random baselines in generating engaging, coherent, and genre-consistent interactive fiction games.
- To evaluate the impact of thematic commonsense on perceived coherence and interestingness in interactive fiction through human participant studies.
Proposed method
- Extract a partial knowledge graph from story plots using Open Information Extraction (OpenIE5), capturing entities and relations as <entity, relation, entity> triples.
- Complete the knowledge graph using AskBERT, a fine-tuned BERT model trained on genre-specific stories to infer missing relations and affordances based on thematic commonsense.
- Use the completed knowledge graph as a structural scaffold to condition a neural text generation model for describing locations, characters, and objects.
- Assemble the final interactive fiction game by integrating the generated descriptions with game mechanics, including movement and action systems.
- Train and evaluate the neural model against rule-based and random baselines using human evaluations on coherence, interestingness, and genre adherence.
- Conduct two human subject studies: one on knowledge graph completion and another on full game evaluation, using pairwise ranking and statistical testing (Mann-Whitney U) to assess significance.
Experimental results
Research questions
- RQ1Can a neural model effectively extract and complete a knowledge graph from story plots to support interactive fiction world generation?
- RQ2How does the integration of thematic commonsense knowledge affect the coherence and interestingness of generated interactive fiction worlds?
- RQ3To what extent does the neural model outperform rule-based and random baselines in human evaluations of world quality?
- RQ4Does the performance of the neural model vary across genres, particularly when thematic commonsense diverges from everyday commonsense?
- RQ5Is there a significant difference in perceived coherence, interestingness, and genre adherence between neural-generated, rule-based, and human-made interactive fiction games?
Key findings
- In the mystery genre, the neural model was preferred over the rule-based model by 72% of participants for interestingness and 69% for genre resemblance, with statistically significant differences (p < 0.05).
- The rule-based model outperformed the neural model in perceived coherence in the mystery genre (45% vs. 36%), suggesting rule-based systems may better handle mundane, realistic settings.
- In the fairy-tale genre, the neural model significantly outperformed both the rule-based and random models in interestingness (42% vs. 37% and 42% vs. 42%) and coherence (25% vs. 25% and 25% vs. 25%), with statistical significance.
- The human-made game was ranked highest overall in both genres, particularly in genre resemblance (75% in mystery, 69% in fairy-tale), indicating a high bar for quality.
- The neural model achieved comparable coherence to the human-made game in the fairy-tale genre (45% vs. 45%), suggesting strong performance in thematically divergent settings.
- The results indicate that thematic commonsense knowledge is critical for generating engaging and coherent worlds, especially when it diverges from everyday commonsense, as seen in the stronger performance of the neural model in fantasy genres.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.