Neural Networks as Local-to-Global Computations
Vicente Bosca, Robert Ghrist

TL;DR
This paper introduces a sheaf-theoretic framework for neural networks that models forward passes as harmonic extensions and enables bidirectional information flow, providing new insights into network behavior and training.
Contribution
It constructs a cellular sheaf model for neural networks, analyzes the heat equation dynamics, and demonstrates local training and diagnostics without backpropagation.
Findings
Heat equation converges exponentially to network output.
Sheaf-based training obeys predicted scaling laws.
Framework validated on synthetic tasks.
Abstract
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 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsModel Reduction and Neural Networks · Stochastic Gradient Optimization Techniques · Quantum many-body systems
