Abstract
Traditional artificial neural networks (ANNs) often rely on static, handcrafted architectures that lack the inherent resilience and developmental plasticity of biological systems. This paper explores the integration of Neural Cellular Automata (NCA) with Reinforcement Learning to create a self-organizing controller for a cart-pole agent. By framing the controller as a spatially distributed system governed by local update rules, the researchers demonstrate emergent biological properties such as regeneration, homeostasis, and robustness to sensory loss.
Introduction
Artificial intelligence has long sought to emulate the flexibility of biological brains. Unlike standard ANNs, biological systems are not pre-wired; they emerge through morphogenesis and maintain function despite damage or sensory changes. This research addresses the gap between growth and computation by asking if a controller can be a "digital organism" where global behavior emerges from local interactions.
Methodology
The core of the system is a Neural Cellular Automata (NCA). The "brain" consists of a 32x32 grid of cells, each possessing six channels: Information, Input Identifier, Output Identifier, and three Hidden channels.
The Grid and Cell Types
Each cell in the grid is a vector of six channels. This structure allows cells to specialize as input, intermediate, or output units based on their channel values. Input cells receive environmental observations, while output cells provide the Q-value estimates used for decision-making.
The Update Rule
Global behavior is driven by a tiny local neural network (1,854 parameters) applied to every cell. This rule processes a 3x3 neighborhood to determine the next state of a cell. To avoid reliance on a global clock, updates are stochastic, occurring with a 50% probability per cell per step.
Training via Deep Q-Learning
The NCA is trained using Deep Q-Learning (DQN). To stabilize training, a curriculum approach was used, initially training the NCA on a simple mean-computation task before transitioning to the cart-pole environment. An "overflow penalty" was also added to the loss function to keep cell states within a stable numerical range.
Experimental Setup
The system was tested in the OpenAI Gym Cart-Pole environment, modified to reward centering the cart. To test redundancy and resilience, the four physical observations (pole angle, pole angular velocity, cart position, cart velocity) were mapped to eight input cells (two per observation).
Key Insights
Emergent Developmental Phases
The NCA naturally exhibits two distinct phases: a developmental phase where the grid organizes from a random state into a functional pattern, and a computing phase where it actively balances the pole.
The Genomic Bottleneck
The entire complex behavior of the 1,024-cell grid is encoded in a minimal 1,854-parameter rule. This mirrors the biological "genomic bottleneck," where limited genetic information encodes vast neural complexity.
Regeneration and Resilience
Because the NCA is trained for homeostasis to maximize reward, it inherently learns to "heal." If parts of the grid are randomized (damaged), the local rules restore the functional pattern. Furthermore, the system showed remarkable robustness to sensory deprivation; when cart position inputs were removed, the NCA reorganized its internal activity to maintain balance using redundant information.
Results
- Stability: The controller maintained balance for over 10,000 steps.
- Robustness: Under continuous damage, the agent still achieved ~2,598 steps compared to ~13,273 in ideal conditions.
- Adaptability: Complete deletion of cart position inputs resulted in a score of ~3,926 steps, demonstrating zero-shot adaptation to sensor failure.
Conclusion and Future Work
This work demonstrates that NCAs can serve as robust, self-organizing controllers. While currently limited to low-dimensional tasks, future research into online plasticity (metaplasticity) and scaling to higher-resolution inputs could pave the way for more resilient autonomous systems.
Summary updated