Topological Signatures of ReLU Neural Network Activation Patterns
Vicente Bosca, Tatum Rask, Sunia Tanweer, Andrew R. Tawfeek, Branden Stone
TL;DR
This work investigates topological signatures of ReLU-based feedforward networks by analyzing the polyhedral input-space decomposition and its dual graph. It demonstrates that a vertex-weighted Fiedler partition of the dual graph aligns with binary decision boundaries during grokking, and that Betti-number dynamics from a random filtration of the activation-cell complex correlate with training loss in a regression setting using a Duffing PINN. Through two 2D classification experiments (Two Circles and Two Moons), the authors show that weighting by training-point counts yields near-perfect alignment with labels, while Betti-curve and heat-map analyses reveal how the network’s geometric decomposition reorganizes during learning. The study also discusses scalability limitations and outlines future directions, including boundary-aware filtrations and higher-dimensional topology, to provide topology-based diagnostics for learning dynamics and generalization.
Abstract
This paper explores the topological signatures of ReLU neural network activation patterns. We consider feedforward neural networks with ReLU activation functions and analyze the polytope decomposition of the feature space induced by the network. Mainly, we investigate how the Fiedler partition of the dual graph and show that it appears to correlate with the decision boundary -- in the case of binary classification. Additionally, we compute the homology of the cellular decomposition -- in a regression task -- to draw similar patterns in behavior between the training loss and polyhedral cell-count, as the model is trained.
