Neural Networks as Local-to-Global Computations

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bosca, Vicente, Ghrist, Robert
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912981216919552
author Bosca, Vicente
Ghrist, Robert
author_facet Bosca, Vicente
Ghrist, Robert
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2603_14831
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Neural Networks as Local-to-Global Computations
Bosca, Vicente
Ghrist, Robert
Algebraic Topology
Machine Learning
Dynamical Systems
55N30 (Primary) 68T07, 34A60, 05C50 (Secondary)
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.
title Neural Networks as Local-to-Global Computations
topic Algebraic Topology
Machine Learning
Dynamical Systems
55N30 (Primary) 68T07, 34A60, 05C50 (Secondary)
url https://arxiv.org/abs/2603.14831