NCPU: Towards Cell-Inspired Spatial Computing

Iliya Zhechev, Piotr Walas
11/24/2026
cs.NEcs.LGnlin.CG

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhechev2026ncpu,
  title  = {NCPU: Towards Cell-Inspired Spatial Computing},
  author = {Iliya Zhechev and Piotr Walas},
  year   = {2026},
  eprint = {2611.32750},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.32750v1}
}

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/2611.32750.svg)](https://codeofpaper.com/paper/2611.32750)

Discussion