Illuminating Diverse Neural Cellular Automata for Level Generation

Sam Earle, Justin Snider, Matthew C. Fontaine, Stefanos Nikolaidis, Julian Togelius
9/12/2021
53 citations
cs.NEcs.AI

Official code: smearle/control-pcgrl (48 stars, Python, MIT, last commit 2024-03-02).

Abstract

We present a method of generating diverse collections of neural cellular automata (NCA) to design video game levels. While NCAs have so far only been trained via supervised learning, we present a quality diversity (QD) approach to generating a collection of NCA level generators.

Show full abstract

By framing the problem as a QD problem, our approach can train diverse level generators, whose output levels vary based on aesthetic or functional criteria. To efficiently generate NCAs, we train generators via Covariance Matrix Adaptation MAP-Elites (CMA-ME), a quality diversity algorithm which specializes in continuous search spaces. We apply our new method to generate level generators for several 2D tile-based games: a maze game, Sokoban, and Zelda. Our results show that CMA-ME can generate small NCAs that are diverse yet capable, often satisfying complex solvability criteria for deterministic agents. We compare against a Compositional Pattern-Producing Network (CPPN) baseline trained to produce diverse collections of generators and show that the NCA representation yields a better exploration of level-space.

View on arXivView PDF

Code Implementations(1)

MIT

Train or evolve controllable and diverse level-generators.

4814Python, ShellDec 11, 20192 years agoMIT
deep-learningevolutionary-algorithmsneural-cellular-automataquality-diversityreinforcement-learning

Similar Papers

Cite this paper

@article{earle2021illuminating,
  title  = {Illuminating Diverse Neural Cellular Automata for Level Generation},
  author = {Sam Earle and Justin Snider and Matthew C. Fontaine and Stefanos Nikolaidis and Julian Togelius},
  year   = {2021},
  eprint = {2109.05489},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.05489}
}

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/2109.05489.svg)](https://codeofpaper.com/paper/2109.05489)

Discussion