Towards Objective Metrics for Procedurally Generated Video Game Levels

Michael Beukman, Steven James, Christopher Cleghorn
1/25/2022
cs.AI

Official code: Michael-Beukman/PCGNN (16 stars, Python, MIT, last commit 2022-10-04).

Abstract

With increasing interest in procedural content generation by academia and game developers alike, it is vital that different approaches can be compared fairly. However, evaluating procedurally generated video game levels is often difficult, due to the lack of standardised, game-independent metrics.

Show full abstract

In this paper, we introduce two simulation-based evaluation metrics that involve analysing the behaviour of an A* agent to measure the diversity and difficulty of generated levels in a general, game-independent manner. Diversity is calculated by comparing action trajectories from different levels using the edit distance, and difficulty is measured as how much exploration and expansion of the A* search tree is necessary before the agent can solve the level. We demonstrate that our diversity metric is more robust to changes in level size and representation than current methods and additionally measures factors that directly affect playability, instead of focusing on visual information. The difficulty metric shows promise, as it correlates with existing estimates of difficulty in one of the tested domains, but it does face some challenges in the other domain. Finally, to promote reproducibility, we publicly release our evaluation framework.

View on arXivView PDF

Code Implementations(1)

MIT

Combining NEAT and novelty search to quickly generate diverse video game levels (GECCO 2022). https://arxiv.org/abs/2204.06934

161Python, TeXOct 17, 20214 years agoMIT
genetic-algorithmprocedural-generation

Similar Papers

Cite this paper

@article{beukman2022towards,
  title  = {Towards Objective Metrics for Procedurally Generated Video Game Levels},
  author = {Michael Beukman and Steven James and Christopher Cleghorn},
  year   = {2022},
  eprint = {2201.10334},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.10334}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.10334.svg)](https://codeofpaper.com/paper/2201.10334)

Discussion