A Path to Universal Neural Cellular Automata
Gabriel Béna, Maxence Faldor, Dan F. M. Goodman, Antoine Cully
TL;DR
The paper investigates whether neural cellular automata (NCA) trained by gradient descent can realize universal computation in a continuous CA substrate. It introduces a two-tier architecture separating a mutable computational state and an immutable hardware substrate, and defines an end-to-end training regime across diverse matrix-operator tasks. It demonstrates that NCAs can learn fundamental primitives such as matrix translation, multiplication, and transposition, and can emulate a neural network to solve MNIST within the CA state, indicating a path to analog general-purpose computation. The work's graph-based hardware hypernetwork and task-composition ideas point to scalable, hardware-aware automation of universal computation in continuous systems.
Abstract
Cellular automata have long been celebrated for their ability to generate complex behaviors from simple, local rules, with well-known discrete models like Conway's Game of Life proven capable of universal computation. Recent advancements have extended cellular automata into continuous domains, raising the question of whether these systems retain the capacity for universal computation. In parallel, neural cellular automata have emerged as a powerful paradigm where rules are learned via gradient descent rather than manually designed. This work explores the potential of neural cellular automata to develop a continuous Universal Cellular Automaton through training by gradient descent. We introduce a cellular automaton model, objective functions and training strategies to guide neural cellular automata toward universal computation in a continuous setting. Our experiments demonstrate the successful training of fundamental computational primitives - such as matrix multiplication and transposition - culminating in the emulation of a neural network solving the MNIST digit classification task directly within the cellular automata state. These results represent a foundational step toward realizing analog general-purpose computers, with implications for understanding universal computation in continuous dynamics and advancing the automated discovery of complex cellular automata behaviors via machine learning.
