NCPU: Towards Cell-Inspired Spatial Computing
Abstract
Simple cellular automata (CAs) can be computationally universal, but their rules are designed by hand. We train Neural Cellular Automata (NCAs), which learn a local update rule by gradient descent, to compute exact digital logic. Bits are encoded as clusters of cells on a 2D grid, and a result reaches the output only by propagating through intermediate cells. One model is trained per task: logic gates, 4- and 8-bit ripple-carry adders, and a preliminary 8-bit arithmetic logic unit (ALU). All gate and adder models reach 100% bit correctness in 10 of 10 seeds, and exhaustive tests over all input pairs find at most 1 error in 256 (4-bit) and 7 in 65,536 (8-bit). Adders trained on operands of up to 3 bits generalize to 8 bits. The adders propagate the carry as a wave, with a delay of about 3.5 steps per bit of the carry chain. Outputs are correct only within the trained rollout length.
Create a lesson
Metadata
- Categories
- cs.NE, cs.LG, nlin.CG
- Comments
- Accepted at IEEE SSCI 2027 (ALIFE-CIS). 7 pages, 8 figures, 1 table. Code: https://github.com/ichko/ncpu, demo: https://ncpu.pages.dev
Related papers
HyVox: Rethinking Low-Power Voice Intelligence towards Neuromorphic-von Neumann Edge Computing
Shared title terminologycs.NESnehasis Addy, Eduardo Calle Ortiz, Prashant Shenoy et al.
naspaclust: A hybridisation of spatial fuzzy clustering with nature-inspired optimisation
Shared title terminologycs.NEBahrul Ilmi Nasution, Rezzy Eko Caraka, Robert Kurniawan
Model Predictive Control with Spatial Semantic Pointers
Shared title terminologycs.NEJens Egholm Pedersen, Graeme Damberger, Chris Eliasmith et al.
FLASCHE: A Feedforward Location Activated Spike-based Computational-CAM Hardening Edge-processor Using Hierarchical Feature Extraction for Rapid On-Chip Learning and Inference
Shared title terminologycs.NEDongwhi Kim, Hyunki Rhim, Huiseong Choi et al.
Quantum-Inspired Evolutionary Algorithm with Graph-Based Qudit Representation and Heuristic Initialization
Shared title terminologycs.NEUmut Çalıkyılmaz, Nitin Nayak, Sven Groppe
Decoupling the clocks of learning and computing in spiking neural networks
Shared title terminologycs.NEMichalis Pagkalos, Panayiota Poirazi