[Paper Review] Controllable Level Blending between Games using Variational Autoencoders
This paper proposes using Variational Autoencoders (VAEs) to enable fine-grained, controllable blending of level segments from different games—specifically Super Mario Bros. and Kid Icarus—by learning a shared latent space that captures structural and aesthetic properties of both. The approach supports interpolation, property optimization via evolutionary search, and proportional blending, outperforming GANs and LSTMs in co-creative level design due to its ability to accept both latent vectors and raw level inputs.
Previous work explored blending levels from existing games to create levels for a new game that mixes properties of the original games. In this paper, we use Variational Autoencoders (VAEs) for improving upon such techniques. VAEs are artificial neural networks that learn and use latent representations of datasets to generate novel outputs. We train a VAE on level data from Super Mario Bros. and Kid Icarus, enabling it to capture the latent space spanning both games. We then use this space to generate level segments that combine properties of levels from both games. Moreover, by applying evolutionary search in the latent space, we evolve level segments satisfying specific constraints. We argue that these affordances make the VAE-based approach especially suitable for co-creative level design and compare its performance with similar generative models like the GAN and the VAE-GAN.
Motivation & Objective
- To develop a controllable, co-creative level generation system that blends properties from multiple games using machine learning.
- To overcome limitations of prior LSTM-based blending, which could only alternate between game segments and lacked fine-grained control over level properties.
- To enable designers to generate level segments that satisfy specific constraints (e.g., difficulty, density) and desired proportions of game elements.
- To compare VAEs with GANs and VAE-GANs in blending levels across games, focusing on usability and design control.
- To explore the feasibility of using VAEs as a foundation for interactive, designer-in-the-loop level design tools.
Proposed method
- Train a VAE on one level each from Super Mario Bros. and Kid Icarus to learn a shared, disentangled latent space representing both games.
- Use the VAE's encoder to map level segments into latent vectors, enabling interpolation between segments from different games.
- Apply evolutionary search in the latent space to evolve vectors that generate segments satisfying user-defined constraints like difficulty, density, and non-linearity.
- Allow direct input of level segments (not just latent vectors) to the VAE decoder, enabling more intuitive control than GANs.
- Optimize for desired proportions of game-specific elements by evolving latent vectors that balance contributions from each game’s latent representation.
- Use vector arithmetic in the latent space to explore feature transfer and alternative connections between level segments.
Experimental results
Research questions
- RQ1Can VAEs effectively learn a shared latent space that captures structural and aesthetic properties from two distinct games, such as Super Mario Bros. and Kid Icarus?
- RQ2How does the VAE-based approach compare to GANs and LSTMs in enabling controllable blending of level segments across games?
- RQ3To what extent can evolutionary search in the VAE’s latent space generate level segments that satisfy specific design constraints like difficulty or density?
- RQ4Can the VAE support both interpolation between game segments and the generation of novel segments with desired proportions of each game’s elements?
- RQ5How does the ability to input raw level segments (not just latent vectors) improve designer control in co-creative level design?
Key findings
- The VAE successfully learned a shared latent space spanning levels from Super Mario Bros. and Kid Icarus, enabling meaningful interpolation between segments from both games.
- Evolutionary search in the latent space generated level segments that satisfied user-specified constraints, such as target difficulty, density, and non-linearity, demonstrating effective optimization.
- The VAE outperformed GANs in co-creative design due to its ability to accept raw level segments as input, offering greater control than GANs, which require only latent vectors.
- The method enabled proportional blending of game elements by evolving latent vectors that balanced contributions from each game’s representation in the latent space.
- Interpolation between segments from different games produced coherent, blended level segments that retained structural and aesthetic features of both source games.
- The VAE approach supports advanced affordances like generating alternate connections between level segments and enabling vector arithmetic for feature transfer, which are not natively supported by GANs.
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.