[Paper Review] Multi-Domain Level Generation and Blending with Sketches via Example-Driven BSP and Variational Autoencoders
This paper presents a hybrid PCGML approach that combines variational autoencoders (VAEs) for structural level generation and example-driven binary space partitioning (EDBSP) for domain-blended content filling, enabling the creation of novel levels by recombining structural patterns across seven platforming game domains while preserving domain-specific details. The method successfully generates levels that either replicate target domains or explore new structural and stylistic combinations based on training domain selection.
Procedural content generation via machine learning (PCGML) has demonstrated its usefulness as a content and game creation approach, and has been shown to be able to support human creativity. An important facet of creativity is combinational creativity or the recombination, adaptation, and reuse of ideas and concepts between and across domains. In this paper, we present a PCGML approach for level generation that is able to recombine, adapt, and reuse structural patterns from several domains to approximate unseen domains. We extend prior work involving example-driven Binary Space Partitioning for recombining and reusing patterns in multiple domains, and incorporate Variational Autoencoders (VAEs) for generating unseen structures. We evaluate our approach by blending across $7$ domains and subsets of those domains. We show that our approach is able to blend domains together while retaining structural components. Additionally, by using different groups of training domains our approach is able to generate both 1) levels that reproduce and capture features of a target domain, and 2) levels that have vastly different properties from the input domain.
Motivation & Objective
- To address the challenge of generalizing procedural content generation across multiple game domains with limited training data.
- To enable combinational creativity by recombining structural patterns from diverse domains into novel, coherent levels.
- To develop a hybrid model that separates structural layout generation from domain-specific content filling for greater flexibility and control.
- To evaluate the approach across seven platforming games, including three not previously used in PCGML research.
- To explore how domain selection influences the balance between fidelity to target domains and novelty in generated levels.
Proposed method
- Use variational autoencoders (VAEs) to learn a continuous, latent representation of level structures across multiple domains, enabling generation of unseen structural layouts.
- Apply example-driven binary space partitioning (EDBSP) to fill generated structural layouts with domain-specific elements (e.g., enemies, items, platforms) by blending from multiple source domains.
- Represent levels as binary sketches at a coarse resolution to abstract structural similarities across domains, enabling cross-domain blending.
- Train VAEs independently on each domain’s structural representation to preserve domain-specific characteristics during generation.
- Use a sketch-based interface where users provide input sketches, which are then used as input to the EDBSP module to generate full levels.
- Evaluate the model by comparing generated levels to training data using metrics such as KL divergence and element distribution similarity.
Experimental results
Research questions
- RQ1Can a VAE-based approach generate structurally diverse yet coherent level layouts across multiple game domains?
- RQ2How well can EDBSP blend domain-specific content into VAE-generated structural layouts while preserving structural integrity?
- RQ3To what extent does the choice of training domains influence the balance between replication of target domains and novelty in generated levels?
- RQ4Can the model generate levels that are both faithful to a target domain and significantly different from input domains based on domain selection?
- RQ5How effective is the method in handling unseen sketches and generating plausible, playable levels?
Key findings
- The approach successfully generated levels that retain structural components from input sketches while blending in domain-specific details from multiple source domains.
- Levels generated using training domains similar to the target domain (e.g., MT and SM for KI) achieved element distributions closely matching the target, indicating effective replication.
- When blending diverse domains (e.g., MT, KI, SM with a MM sketch), the generated levels exhibited element distributions vastly different from the input sketch domain, demonstrating novelty and exploratory potential.
- The VAE-generated sketches showed low KL divergence (as low as 0.038) when compared to training data, indicating good reconstruction and generalization of structural patterns.
- The method demonstrated robustness to unseen sketches, with EDBSP effectively filling in generated layouts even when the sketch was not part of the training domains.
- Conditional sketch generation using a combined model failed to approximate individual domain distributions, suggesting architectural limitations, but the results still indicate promise for future refinement.
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.