TL;DR
This paper explores how to generate game levels that cater to different player "personas" (e.g., speedrunners, collectors) by using specialized AI agents to evaluate level quality. They demonstrate that using the same evaluation metrics but different AI agents can indeed lead to levels that better engage specific player types, suggesting a simpler approach to personalized content generation.
What Problem Does This Paper Address?
Procedural Content Generation (PCG) aims to create game content algorithmically. A growing area within PCG is "experience-driven" generation, where the goal is to create levels that players will find engaging. To achieve this, researchers have developed evaluation metrics that predict player experience. However, a key question remains: can a single set of evaluation metrics effectively capture the diverse preferences of different player types (personas)? If not, designing unique metrics for each persona would be incredibly complex. This paper investigates whether using the same evaluation metrics but with AI agents that embody different player personas can lead to the generation of levels that are tailored to those specific personas.
Methods
The authors propose a framework for experience-driven procedural level generation, built upon the MarioGan [15] architecture. Their core innovation lies in integrating multiple AI agents, each designed to mimic a specific player persona, into the evaluation process.
- Persona Agents: They define three distinct AI agents based on Bartle's Taxonomy of player types:
- Runner: Prioritizes speed, with a heuristic that penalizes longer completion times.
- Killer: Focuses on defeating enemies, rewarded for high kill rates.
-
Collector: Aims to gather in-game items, rewarded for collecting coins. These agents are variations of a strong A* agent from the Mario AI Competition, with their personas implemented through tailored heuristic functions.
-
Evaluation Metrics: They utilize five metrics, all designed to be minimized:
- Jump: Number of jumps (to ensure playability and encourage movement).
- Event: Number of various in-game events (e.g., stomping monsters, collecting coins).
- Fail Rate: The proportion of A* search nodes that lead to failure, used to increase difficulty.
- Ability: Measures how well a "blind" agent (with limited search capability) can complete a level compared to a "perfect" agent, aiming to create levels requiring more planning.
- Variance: The coefficient of variance of event positions, intended to capture level diversity.
- Framework: The system uses a search-based approach (CMA-ES) to evolve latent vectors that control a GAN generator. The generated levels are then simulated by the persona agents, and the evaluation metrics are applied to the gameplay data to guide the evolutionary search.
Datasets
The experiments were conducted using the Super Mario Bros. (SMB) game. The authors used the 15 original SMB levels for initial agent validation and then generated new levels using their framework. No new datasets were introduced; rather, the framework was applied to an existing, well-established game environment for procedural content generation.
Key Insights and Ideas
- Persona-Driven Evaluation is Key: The most significant finding is that using the same evaluation metrics but different persona agents can lead to demonstrably different level designs. This suggests that the agent's "behavioral preference" is the primary driver of the generated level's characteristics, not necessarily the metric itself being inherently persona-specific.
- Metrics Evolve Content in Different Ways: Different metrics encourage distinct types of level evolution. For example, "Jump" and "Event" metrics tend to increase the number of collectible items, while "Fail Rate" and "Ability" metrics focus on increasing difficulty and complexity (e.g., larger gaps).
- Action Ambiguity: The paper highlights that simple actions like "jump" can be ambiguous. A jump can be for killing, dodging, or crossing. This suggests that understanding the purpose behind an action, as captured by a persona agent, is crucial for effective level generation.
- Potential for Simplicity: For simpler games, the authors propose that a single game-playing agent embodying a specific player archetype might be sufficient to generate levels with diverse behavioral engagement. This simplifies the design process compared to creating unique metrics for every persona.
Key Results
- Distinct Level Characteristics: Experiments showed that levels generated using the same metric but different agents (Runner, Killer, Collector) exhibited significant differences in content (e.g., number of coins, monsters, gaps) and gameplay features. For instance, levels generated with the "Jump" metric and the "Collector" agent had substantially more coins than those generated with other agents.
- Agent Engagement: When testing the generated levels, agents generally showed higher engagement (e.g., more kills for Killer, more coins for Collector) when playing levels generated using an evaluation agent with a similar persona. This validates the idea that persona-specific generation leads to better engagement.
- Difficulty Tuning: Metrics like "Fail Rate" and "Ability" were effective in creating levels that were harder for specific personas, demonstrating their utility in tuning difficulty.
- Runner as a General Difficulty Metric: Levels generated with the "Runner" agent as the evaluator, particularly using "Fail Rate" and "Ability" metrics, proved challenging for all tested agents, indicating its potential for creating universally difficult levels.
Limitations and Future Work
- Human Evaluation Missing: The authors acknowledge that their findings are based on AI agent evaluations. A crucial next step is to conduct human user studies to confirm whether these generated levels truly lead to increased engagement for human players.
- Simplistic Engagement Assumption: The paper assumes that higher numbers of triggered events equate to greater engagement. The authors suggest a more nuanced approach where engagement might lie within an optimal range of event frequency and diversity, neither too boring nor too overwhelming.
- Agent Complexity: While they used three distinct personas, future work could explore more complex agents, such as combinations of personas (e.g., a player who is both a Killer and a Collector) or agents learned through machine learning to better imitate human players.
- Game Genre Generalization: The current study focuses on platformer games (Super Mario Bros.). Extending this framework to other game genres is a natural and important future direction.
- Meaningless Events: The "Variance" metric showed less clear patterns, possibly due to the inclusion of "meaningless" events. Future work could focus on filtering or better defining events for more robust evaluation.
Summary updated