E(n)-equivariant Graph Neural Cellular Automata
Gennaro Gala, Daniele Grattarola, Erik Quaeghebeur
TL;DR
This work introduces E(n)-GNCAs, isotropic-by-design Graph Neural Cellular Automata that enforce $E(n)$-equivariance to ensure frame-independence and locality. A single $EGC$ rule operates on state ${\mathbf S}=[{\mathbf X},{\mathbf H}]$ (optionally ${\mathbf V}$), yielding open-ended, globally coherent dynamics from purely local interactions. The approach is trained with a distance-based invariant loss $\mathcal{L}_{INV}$ for pattern formation and with a binary cross-entropy loss for graph autoencoding, demonstrating persistent pattern formation, effective graph autoencoding, and competitive dynamics-based simulation (e.g., Boids) across diverse graphs and dimensions. The results underscore the potential of isotropic, distributed neural automata for scalable self-organization, pattern synthesis, and geometry-aware learning in natural and engineered systems.
Abstract
Cellular automata (CAs) are notable computational models exhibiting rich dynamics emerging from the local interaction of cells arranged in a regular lattice. Graph CAs (GCAs) generalise standard CAs by allowing for arbitrary graphs rather than regular lattices, similar to how Graph Neural Networks (GNNs) generalise Convolutional NNs. Recently, Graph Neural CAs (GNCAs) have been proposed as models built on top of standard GNNs that can be trained to approximate the transition rule of any arbitrary GCA. We note that existing GNCAs can violate the locality principle of CAs by leveraging global information and, furthermore, are anisotropic in the sense that their transition rules are not equivariant to isometries of the nodes' spatial locations. However, it is desirable for instances related by such transformations to be treated identically by the model. By replacing standard graph convolutions with E(n)-equivariant ones, we avoid anisotropy by design and propose a class of isotropic automata that we call E(n)-GNCAs. These models are lightweight, but can nevertheless handle large graphs, capture complex dynamics and exhibit emergent self-organising behaviours. We showcase the broad and successful applicability of E(n)-GNCAs on three different tasks: (i) isotropic pattern formation, (ii) graph auto-encoding, and (iii) simulation of E(n)-equivariant dynamical systems.
