跳到正文
arXiv (AI + Vision + Imaging)· Iliya Zhechev, Piotr Walas·· 1 天前AI 评分18

NCPU:受细胞启发的空间计算,用神经细胞自动机实现数字逻辑

NCPU: Towards Cell-Inspired Spatial Computing

AI 导读

研究训练神经细胞自动机(NCA)通过梯度下降学习局部更新规则,在2D网格上以细胞簇编码比特并计算精确数字逻辑,每个任务单独训练一个模型,涵盖逻辑门、4位与8位行波进位加法器及初步的8位ALU。

正文 · 原文

arXiv:2611.32750v1 Announce Type: cross 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.

来源:arXiv (AI + Vision + Imaging) · arxiv.org