Skip to main content
archive
Search Submit Donate Log in

Computer Science > Neural and Evolutionary Computing

(cs)
[Submitted on 5 Sep 2026 (v1), last revised 9 Sep 2026 (this version, v2)]

Title:Programmable Cellular Automata

Authors:Ahmed Khalifa, Muhammad Umair Nasir, Matthew Siper, Steve James, Julian Togelius
View a PDF of the paper titled Programmable Cellular Automata, by Ahmed Khalifa and Muhammad Umair Nasir and Matthew Siper and Steve James and Julian Togelius
View PDF HTML (experimental)
Abstract:Cellular automata is a local computation paradigm where complex behavior can arise from local interactions between simple functions. This paradigm has been used to explain many systems such as biological processes, traffic simulation, computer networks, etc. In games, cellular automata have been used in games such as SimCity and for the generation of spatial content such as caves or dungeons. However, creating effective local rules is hard and unintuitive. Cellular automata can be effectively evolved, but may still be hard to interpret. In this work, we introduce the concept of programmable cellular automata, where we represent the system as Python code. We also modularize the cellular automata into local functions and a decision function. Local functions take a local neighborhood and return a value, while the decision function takes the output of the local functions and decides the value of the next state. Separating the cellular automata into modules written in Python helps with understanding how these systems are working. We also explore adding global functions where they take the whole state and compute a function from it. We tested generating levels for three different games from the PCG Benchmark. The results showed that global functions decrease the number of iterations that cellular automata need to solve a problem, and that we cannot find solutions for some problems with purely local functions. Looking into the generated functions, we can see common functions that have been used in different experiments, which not only helps us understand the generator but also helps us understand these games better and what is important for them.
Comments: Submitted to EXAG 2026, 15 pages, 6 figures, 5 tables
Subjects: Neural and Evolutionary Computing (cs.NE); Artificial Intelligence (cs.AI); Formal Languages and Automata Theory (cs.FL); Machine Learning (cs.LG)
Cite as: arXiv:2609.06102 [cs.NE]
  (or arXiv:2609.06102v2 [cs.NE] for this version)
  https://doi.org/10.48550/arXiv.2609.06102
arXiv-issued DOI via DataCite

Submission history

From: Ahmed Khalifa [view email]
[v1] Sat, 5 Sep 2026 13:54:18 UTC (905 KB)
[v2] Wed, 9 Sep 2026 13:38:32 UTC (905 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Programmable Cellular Automata, by Ahmed Khalifa and Muhammad Umair Nasir and Matthew Siper and Steve James and Julian Togelius
  • View PDF
  • HTML (experimental)
  • TeX Source
view license

Current browse context:

cs.NE
< prev   |   next >
new | recent | 2026-09
Change to browse by:
cs
cs.AI
cs.FL
cs.LG

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
Loading...

Bookmark

BibSonomy Reddit

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences