[Paper Review] Toward Automated Quest Generation in Text-Adventure Games
This paper presents a framework for automatically generating coherent and creative cooking quests in text-adventure games using Markov models and neural language models grounded in a knowledge graph. Human evaluations show that both generative models produce quests comparable to human-designed ones in perceived coherence and creativity, with the neural model excelling in coherence and value, while the Markov model scores higher on surprise and novelty.
Interactive fictions, or text-adventures, are games in which a player interacts with a world entirely through textual descriptions and text actions. Text-adventure games are typically structured as puzzles or quests wherein the player must execute certain actions in a certain order to succeed. In this paper, we consider the problem of procedurally generating a quest, defined as a series of actions required to progress towards a goal, in a text-adventure game. Quest generation in text environments is challenging because they must be semantically coherent. We present and evaluate two quest generation techniques: (1) a Markov model, and (2) a neural generative model. We specifically look at generating quests about cooking and train our models on recipe data. We evaluate our techniques with human participant studies looking at perceived creativity and coherence.
Motivation & Objective
- To address the challenge of generating semantically coherent and creatively engaging quests in text-adventure games, particularly within constrained domains like cooking.
- To explore how automated generation techniques can produce quests that match human-designed quality in perceived coherence and creativity.
- To evaluate the impact of semantic grounding via a knowledge graph on quest quality, especially in maintaining coherence across complex, multi-step narratives.
- To investigate the trade-offs between creativity, coherence, and perceived value in procedurally generated interactive fiction.
Proposed method
- The framework uses a knowledge graph to semantically ground quest generation, encoding relationships between ingredients, actions, and locations from recipe data.
- Two generative models are implemented: a Markov chain model for sequence generation and a neural language model (LM) for more flexible, context-aware text generation.
- Quests are generated within the TextWorld framework using a 'home' theme, simulating a domestic environment with rooms, objects, and item locations.
- The models are trained on a large-scale recipe dataset to learn the structure and semantics of cooking tasks, including ingredient dependencies and procedural steps.
- The knowledge graph ensures that generated quests respect world constraints, such as object affordances and logical dependencies (e.g., eggs must be retrieved before being cracked).
- Human evaluation is conducted using a controlled study with players rating generated quests on coherence, originality, surprise, and sense of accomplishment.
Experimental results
Research questions
- RQ1Can Markov and neural language models generate cooking quests in text-adventure games that are perceived as coherent and creative by human players?
- RQ2How does semantic grounding via a knowledge graph affect the perceived coherence and quality of automatically generated quests?
- RQ3Do automatically generated quests perform comparably to human-designed quests in terms of perceived creativity and coherence?
- RQ4What is the relationship between coherence and perceived creativity in procedurally generated quests, and does incoherence lead to higher perceived novelty?
- RQ5How do quest complexity (one-room vs. five-room) and model type influence perceived surprise and sense of accomplishment?
Key findings
- All generative models—Markov chain, neural language model, and human-designed quests—achieved statistically significant coherence scores at p < 0.05, with the neural model outperforming both Markov models.
- The neural language model achieved the highest perceived value and sense of accomplishment, surpassing even human-designed games, likely due to greater action diversity and less constraint from a predefined action graph.
- The Markov chain models were rated as more surprising and original than the neural model, indicating a trade-off between coherence and novelty.
- The knowledge graph significantly improved coherence, ensuring that generated quests remained semantically grounded and logically consistent, even in complex, multi-room environments.
- Five-room games were rated as more surprising and original than one-room games, indicating that complexity enhances perceived novelty.
- Randomly generated quests (RA) were perceived as incoherent and less creative, despite some novelty, confirming that coherence is a prerequisite for perceived creativity.
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.