E(n)-equivariant Graph Neural Cellular Automata

Gennaro Gala, Daniele Grattarola, Erik Quaeghebeur
1/25/2023
cs.LG

No official code found. Best implementation: gengala/egnca (37 stars, MIT, last commit 2025-10-03).

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.

View on arXivView PDF

Code Implementations(1)

gengala/egncaCommunity100%
MIT

Official implementation of E(n)-equivariant Graph Neural Cellular Automata

376Python, Jupyter NotebookNov 5, 20221 years agoMIT
collective-intelligenceequivariant-networksgeometric-deep-learninggeometric-graphsgraph-neural-networks+1 more

Similar Papers

Cite this paper

@article{gala2023enequivariant,
  title  = {E(n)-equivariant Graph Neural Cellular Automata},
  author = {Gennaro Gala and Daniele Grattarola and Erik Quaeghebeur},
  year   = {2023},
  eprint = {2301.10497},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.10497v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.10497.svg)](https://codeofpaper.com/paper/2301.10497)

Discussion