Combinatorial Regularity for Relatively Perfect Discrete Morse Gradient Vector Fields of ReLU Neural Networks
Robyn Brooks, Marissa Masden
TL;DR
This work addresses the problem of extracting topological information from ReLU neural networks by leveraging PL Morse theory on the canonical polyhedral complex $\\mathcal{C}(F)$ and translating it into discrete Morse theory.It introduces a constructive scheme that yields a relatively perfect discrete gradient vector field on $\\mathcal{C}(F)$, preserving the sublevel set topology of the PL Morse function induced by the network.The main result, a canonical construction of a relatively perfect discrete gradient vector field (Theorem: relativelyperfectDGVF), provides an algorithmic pathway to obtain a discrete Morse function whose critical cells reflect PL Morse critical points.Additionally, the paper presents realizability results for shallow networks and develops computational strategies for local gradient computation and gradient-flow tracking to enable scalable topology-based analyses of neural decision regions.Overall, the work bridges PL Morse and discrete Morse methodologies in the context of ReLU networks, offering a framework with potential practical impact on the topological analysis of neural network decision boundaries.
Abstract
One common function class in machine learning is the class of ReLU neural networks. ReLU neural networks induce a piecewise linear decomposition of their input space called the canonical polyhedral complex. It has previously been established that it is decidable whether a ReLU neural network is piecewise linear Morse. In order to expand computational tools for analyzing the topological properties of ReLU neural networks, and to harness the strengths of discrete Morse theory, we introduce a schematic for translating between a given piecewise linear Morse function (e.g. parameters of a ReLU neural network) on a canonical polyhedral complex and a compatible (``relatively perfect") discrete Morse function on the same complex. Our approach is constructive, producing an algorithm that can be used to determine if a given vertex in a canonical polyhedral complex corresponds to a piecewise linear Morse critical point. Furthermore we provide an algorithm for constructing a consistent discrete Morse pairing on cells in the canonical polyhedral complex which contain this vertex. We additionally provide some new realizability results with respect to sublevel set topology in the case of shallow ReLU neural networks.
