[Paper Review] Agent-Based Adaptive Level Generation for Dynamic Difficulty Adjustment in Angry Birds
This paper proposes an agent-based adaptive level generator for Angry Birds that dynamically adjusts level difficulty using a genetic algorithm guided by agent performance. By evolving generator parameters to match target solve rates or relative difficulty, the method creates personalized, challenging levels for both human players and AI agents, significantly improving training and evaluation efficiency for reinforcement learning agents.
This paper presents an adaptive level generation algorithm for the physics-based puzzle game Angry Birds. The proposed algorithm is based on a pre-existing level generator for this game, but where the difficulty of the generated levels can be adjusted based on the player's performance. This allows for the creation of personalised levels tailored specifically to the player's own abilities. The effectiveness of our proposed method is evaluated using several agents with differing strategies and AI techniques. By using these agents as models / representations of real human player's characteristics, we can optimise level properties efficiently over a large number of generations. As a secondary investigation, we also demonstrate that by combining the performance of several agents together it is possible to generate levels that are especially challenging for certain players but not others.
Motivation & Objective
- To address the challenge of limited, non-personalized levels in training and evaluating AI agents for Angry Birds.
- To improve the effectiveness of procedural level generation by adapting difficulty to individual player or agent performance.
- To enable the creation of levels that are specifically challenging for certain agents while being accessible to others, enhancing benchmarking and training efficiency.
- To explore the potential of adaptive generation in accelerating reinforcement learning agent training by focusing on levels with optimal difficulty for learning.
Proposed method
- The method uses a genetic algorithm to evolve parameters of an existing level generator (Iratus Aves) to produce levels with desired difficulty profiles.
- Fitness functions are defined based on agent performance: one for achieving a target solve rate (Fitness_p), and another for maximizing relative difficulty against other agents (Fitness_m).
- Agent performance across multiple levels is used as a proxy for human player behavior, enabling the generator to adapt to different skill levels or strategies.
- The generator iteratively evolves level parameters over generations, using selection, crossover, and mutation to optimize for desired difficulty metrics.
- The approach supports both personalized difficulty (e.g., 50% solve rate for a specific agent) and comparative difficulty (e.g., hard for agent A but easy for agent B).
- The method is evaluated using a diverse set of AI agents with varying strategies, simulating human player diversity.
Experimental results
Research questions
- RQ1Can agent performance be used as a reliable proxy for human player skill to guide adaptive level generation in Angry Birds?
- RQ2To what extent can a genetic algorithm optimize level generator parameters to achieve a specific target solve rate for a given agent?
- RQ3Can levels be generated that are especially difficult for one agent while remaining easy for others, and how effective is this in identifying agent weaknesses?
- RQ4How does adaptive level generation improve the training efficiency of reinforcement learning agents compared to random or fixed-level generation?
- RQ5Can the proposed method be generalized to other physics-based puzzle games with similar mechanics?
Key findings
- The adaptive level generator successfully produced levels with target solve rates (e.g., 50%) for individual agents, demonstrating effective dynamic difficulty adjustment.
- The method generated levels that were significantly harder for specific agents compared to others, enabling identification of agent-specific weaknesses.
- Levels generated using the Fitness_m function created high-variance performance gaps between agents, making them ideal for benchmarking and comparative evaluation.
- The approach enables efficient training of reinforcement learning agents by focusing on levels where they currently solve occasionally—maximizing learning signal from delayed rewards.
- The method outperforms random or static level generation by tailoring difficulty to agent capabilities, increasing information gain during training.
- The framework is extensible and applicable to other physics-based puzzle games with similar mechanics, suggesting broad potential for reuse.
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.