A Computational Tropical Geometry Framework for Neural Networks
Not on the map. Why?
Abstract (arXiv)
We propose a computational tropical geometry framework for the symbolic analysis of neural networks with tropical activations. The number of linear regions of a neural network has been actively studied as a measure of the expressivity of a given architecture. To study these, we work in the setting of tropical geometry---a combinatorial and polyhedral variant of algebraic geometry---where there are known connections between tropical rational maps and feedforward neural networks. We expand this connection by developing concrete computational tools for studying the linear regions of neural networks. We present an algorithm, together with a proof of correctness, which computes the linear regions of a neural network as explicit unions of polyhedra. We further relate the computation of the number of linear regions of a tropical expression to the number of monomials that appear in it, and show how tropical expressions can often be pruned to remove redundant monomials. We introduce the Hoffman constant of a neural network's tropical expression, a geometric quantity that controls the distance from any point in the input space to the farthest linear region. We provide the open source Julia library TropicalNN.jl, which is built on top of the OSCAR computer algebra system and implements the algorithms mentioned above to analyze neural networks symbolically using their tropical representations. We present a set of proof-of-concept computational examples to demonstrate how our tropical geometric theory can be applied to reveal insights on the expressivity of a network architecture.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 24 of its 39 references that are in the map. First posted on arXiv 30 May 2024.
Builds on
24 of 39 references.
References · 24
- 2014On the Number of Linear Regions of Deep Neural Networkscited by 378
- 2016On the Expressive Power of Deep Neural Networkscited by 302
- 2016Understanding Deep Neural Networks with Rectified Linear Unitscited by 253
- 2016Benefits of depth in neural networkscited by 248
- 2017Bounding and Counting Linear Regions of Deep Neural Networkscited by 161
- 2019Deep ReLU Networks Have Surprisingly Few Activation Patternscited by 160
- 2013On the number of response regions of deep feed forward networks with piece-wise linear activationscited by 94
- 2018Tropical Geometry of Deep Neural Networkscited by 92
- 2015Parallelizing the dual revised simplex methodcited by 83
- 2021Model Complexity of Deep Learning: A Surveycited by 64
- 2020On the Number of Linear Regions of Convolutional Neural Networkscited by 49
- 2023When Deep Learning Meets Polyhedral Theory: A Surveycited by 39
12 more
- 2021Sharp bounds for the number of regions of maxout networks and vertices of Minkowski sumscited by 37
- 2020Empirical Studies on the Properties of Linear Regions in Deep Neural Networkscited by 36
- 2023SplineCam: Exact Visualization and Characterization of Deep Network Geometry and Decision Boundariescited by 31
- 2018A Tropical Approach to Neural Networks with Piecewise Linear Activationscited by 26
- 2018Empirical Bounds on Linear Regions of Deep Rectifier Networkscited by 23
- 2024The Real Tropical Geometry of Neural Networkscited by 23
- 2022On the Number of Regions of Piecewise Linear Neural Networkscited by 21
- 2022Algorithmic Determination of the Combinatorial Structure of the Linear Regions of ReLU Neural Networkscited by 21
- 2023Exact Count of Boundary Pieces of ReLU Classifiers: Towards the Proper Complexity Measure for Classificationcited by 11
- 2023ReLU Neural Networks, Polyhedral Decompositions, and Persistent Homologcited by 10
- 2023An easily computable upper bound on the Hoffman constant for homogeneous inequality systemscited by 3
- 2018An algorithm to compute the Hoffman constant of a system of linear constraintscited by 1
Built on by
Citing papers per year: 2025: 1.
1 paper.