Mutation Models: Learning to Generate Levels by Imitating Evolution

06/11/2022
by   Ahmed Khalifa, et al.
6

Search-based procedural content generation (PCG) is a well-known method for level generation in games. Its key advantage is that it is generic and able to satisfy functional constraints. However, due to the heavy computational costs to run these algorithms online, search-based PCG is rarely utilized for real-time generation. In this paper, we introduce mutation models, a new type of iterative level generator based on machine learning. We train a model to imitate the evolutionary process and use the trained model to generate levels. This trained model is able to modify noisy levels sequentially to create better levels without the need for a fitness function during inference. We evaluate our trained models on a 2D maze generation task. We compare several different versions of the method: training the models either at the end of evolution (normal evolution) or every 100 generations (assisted evolution) and using the model as a mutation function during evolution. Using the assisted evolution process, the final trained models are able to generate mazes with a success rate of 99 than the evolutionary process it was trained on. This work opens the door to a new way of learning level generators guided by an evolutionary process, meaning automatic creation of generators with specifiable constraints and objectives that are fast enough for runtime deployment in games.

READ FULL TEXT

page 3

page 5

page 6

page 7

research
04/23/2015

First Steps Towards a Runtime Comparison of Natural and Artificial Evolution

Evolutionary algorithms (EAs) form a popular optimisation paradigm inspi...
research
04/24/2019

Tile Pattern KL-Divergence for Analysing and Evolving Game Levels

This paper provides a detailed investigation of using the Kullback-Leibl...
research
03/31/2017

On Self-Adaptive Mutation Restarts for Evolutionary Robotics with Real Rotorcraft

Self-adaptive parameters are increasingly used in the field of Evolution...
research
02/21/2022

Path of Destruction: Learning an Iterative Level Generator Using a Small Dataset

We propose a new procedural content generation method which learns itera...
research
04/13/2023

Learning by Viewing: Generating Test Inputs for Games by Integrating Human Gameplay Traces in Neuroevolution

Although automated test generation is common in many programming domains...
research
02/03/2023

Hierarchically Composing Level Generators for the Creation of Complex Structures

Procedural content generation (PCG) is a growing field, with numerous ap...
research
05/24/2023

Prompt Evolution for Generative AI: A Classifier-Guided Approach

Synthesis of digital artifacts conditioned on user prompts has become an...

Please sign up or login with your details

Forgot password? Click here to reset