Papers › Illuminating Diverse Neural Cellular Automata for Level Generation

Illuminating Diverse Neural Cellular Automata for Level Generation

12 Sep 2021arXiv:2109.05489archive 2025-07-28

Sam Earle, Justin Snider, Matthew C. Fontaine, Stefanos Nikolaidis, Julian Togelius

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. 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.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2109.05489")

Code

Syntology Ran 9 of 13 code samples harvested from 2 repositories linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 7 ran with no contract checked.

By repository: official repository: 2 samples from 1 repository, 2 ran; community (archive-listed): 11 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

smearle/control-pcgrl officialmentioned in papermentioned on GitHubtf report
smearle/gym-pcgrl mentioned on GitHubtfMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 9 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
1ran · fixture could not drive it
7ran
4unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_stats smearle/control-pcgrl/control_pcgrl/evo/evolve.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 405a9f1e9dd6a316 · report
tran_action smearle/control-pcgrl/control_pcgrl/evo/evolve.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 2fd33ffbc4e17e54 · report
gauss smearle/gym-pcgrl/control_pcgrl/evo/models.py community (archive-listed) ran fingerprinted MIT (permissive) · 7e891b936316c34e · report
get_action smearle/gym-pcgrl/control_pcgrl/wrappers.py community (archive-listed) ran MIT (permissive) · 493c58a0c3e0d196 · report
get_coord_grid smearle/gym-pcgrl/control_pcgrl/evo/models.py community (archive-listed) ran MIT (permissive) · 22c00a083fdac639 · report
get_floor_dist smearle/gym-pcgrl/control_pcgrl/envs/helper_3D.py community (archive-listed) ran MIT (permissive) · 0d016df5592dba74 · report
get_tile_locations smearle/gym-pcgrl/control_pcgrl/envs/helper.py community (archive-listed) ran MIT (permissive) · 538a6377cf71941d · report
get_tile_locations smearle/gym-pcgrl/control_pcgrl/envs/helper_3D.py community (archive-listed) ran MIT (permissive) · fa862d703efa2f8d · report
get_type_grouping smearle/gym-pcgrl/control_pcgrl/envs/helper_3D.py community (archive-listed) ran MIT (permissive) · 675f95579f098b3f · report
disable_passive_env_checker smearle/gym-pcgrl/control_pcgrl/wrappers.py community (archive-listed) unverified MIT (permissive) · 2510fc4c8f91869b · report
get_floor_dist smearle/gym-pcgrl/control_pcgrl/envs/helper.py community (archive-listed) unverified MIT (permissive) · 1a209a0529574115 · report
get_type_grouping smearle/gym-pcgrl/control_pcgrl/envs/helper.py community (archive-listed) unverified MIT (permissive) · 1f551c6ddc6c9656 · report
train_reward_model smearle/gym-pcgrl/control_pcgrl/reward_model_wrappers.py community (archive-listed) unverified MIT (permissive) · 21c67716d20862c2 · report

Tasks

DiversitySokoban

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections