arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.14831math.ATcs.LGmath.DS
收藏

神经网络作为局部到全局计算

Neural Networks as Local-to-Global Computations

Department of Mathematics, University of Pennsylvania(宾夕法尼亚大学数学系)

Vicente Bosca, Robert Ghrist

AI总结:

本文通过构造细胞sheaf,将神经网络的前向传递过程转化为局部到全局的计算,证明了其收敛性和独特性质,展示了sheaf训练方法在小规模任务中的有效性。

摘要:

我们通过将任何前馈ReLU神经网络的中间量分配为顶点,并将每个计算步骤(仿射变换、激活、输出)编码为边上的限制映射,构造出一个细胞sheaf。受限的余边界算子在自由坐标上是单位上三角的,因此其行列式为1,且对于每个激活模式,受限拉普拉斯算子都是正定的。由此得出相对上同调消失,前向传递输出是边界数据的唯一调和扩展。尽管由分段线性激活引入的状态依赖切换,sheaf热方程仍能指数收敛到该输出。与前向传递不同,热方程能够双向传播信息,使固定神经元在双向施加约束,通过局部不一致最小化进行训练,无需反向传递,并通过每条边的诊断分解网络行为。我们在小规模合成任务中验证了该框架,确认了收敛定理,并展示了sheaf训练方法虽然尚未超越随机梯度下降,但符合理论预测的定量缩放规律。

英文摘要:

We construct a cellular sheaf from any feedforward ReLU neural network by placing one vertex for each intermediate quantity in the forward pass and encoding each computational step - affine transformation, activation, output - as a restriction map on an edge. The restricted coboundary operator on the free coordinates is unitriangular, so its determinant is $1$ and the restricted Laplacian is positive definite for every activation pattern. It follows that the relative cohomology vanishes and the forward pass output is the unique harmonic extension of the boundary data. The sheaf heat equation converges exponentially to this output despite the state-dependent switching introduced by piecewise linear activations. Unlike the forward pass, the heat equation propagates information bidirectionally across layers, enabling pinned neurons that impose constraints in both directions, training through local discrepancy minimization without a backward pass, and per-edge diagnostics that decompose network behavior by layer and operation type. We validate the framework experimentally on small synthetic tasks, confirming the convergence theorems and demonstrating that sheaf-based training, while not yet competitive with stochastic gradient descent, obeys quantitative scaling laws predicted by the theory.

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

↑