arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.01651cs.LGcs.AI
收藏

神经网络泛化时空动力学研究

On the Spatiotemporal Dynamics of Generalization in Neural Networks

Saarland University(萨尔兰大学)

Zichao Wei

AI总结:

本文探讨神经网络在数字加法泛化中的失败原因,提出基于物理原理的SEAD架构,通过局部卷积规则迭代实现稳定计算,验证了在奇偶性、加法和Rule 110任务中的有效性。

摘要:

为什么神经网络无法从16位数加法泛化到32位数,而学习规则的孩子可以应用于任意长度序列?我们主张这种失败不是工程问题,而是违反物理公理。受物理学启发,我们识别出任何泛化系统必须满足的三个约束:(1) 局部性——信息以有限速度传播;(2) 对称性——计算定律在空间和时间上不变;(3) 稳定性——系统收敛到离散吸引子,抵抗噪声积累。从这些公理中,我们推导出——而非设计——时空演化与吸引子动力学(SEAD)架构:一种神经细胞自动机,其中局部卷积规则迭代直到收敛。在三个任务上的实验验证了我们的理论:(1) 奇偶性——通过光锥传播实现完美长度泛化;(2) 加法——从L=16到L=100万实现尺度不变推断,准确率100%,展示输入自适应计算;(3) Rule 110——学习图灵完备的细胞自动机而无轨迹发散。我们的结果表明,统计学习与逻辑推理之间的差距——不是通过参数扩展,而是通过尊重计算的物理本质。

英文摘要:

Why do neural networks fail to generalize addition from 16-digit to 32-digit numbers, while a child who learns the rule can apply it to arbitrarily long sequences? We argue that this failure is not an engineering problem but a violation of physical postulates. Drawing inspiration from physics, we identify three constraints that any generalizing system must satisfy: (1) Locality -- information propagates at finite speed; (2) Symmetry -- the laws of computation are invariant across space and time; (3) Stability -- the system converges to discrete attractors that resist noise accumulation. From these postulates, we derive -- rather than design -- the Spatiotemporal Evolution with Attractor Dynamics (SEAD) architecture: a neural cellular automaton where local convolutional rules are iterated until convergence. Experiments on three tasks validate our theory: (1) Parity -- demonstrating perfect length generalization via light-cone propagation; (2) Addition -- achieving scale-invariant inference from L=16 to L=1 million with 100% accuracy, exhibiting input-adaptive computation; (3) Rule 110 -- learning a Turing-complete cellular automaton without trajectory divergence. Our results suggest that the gap between statistical learning and logical reasoning can be bridged -- not by scaling parameters, but by respecting the physics of computation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑