A Tropical Approach to Neural Networks with Piecewise Linear Activations

Vasileios Charisopoulos,Petros Maragos
DOI: https://doi.org/10.48550/arXiv.1805.08749
2019-01-31
Abstract:We present a new, unifying approach following some recent developments on the complexity of neural networks with piecewise linear activations. We treat neural network layers with piecewise linear activations as tropical polynomials, which generalize polynomials in the so-called $(\max, +)$ or tropical algebra, with possibly real-valued exponents. Motivated by the discussion in (<a class="link-https" data-arxiv-id="1402.1869" href="https://arxiv.org/abs/1402.1869">arXiv:1402.1869</a>), this approach enables us to refine their upper bounds on linear regions of layers with ReLU or leaky ReLU activations to $\min\left\{ 2^m, \sum_{j=0}^n \binom{m}{j} \right\}$, where $n, m$ are the number of inputs and outputs, respectively. Additionally, we recover their upper bounds on maxout layers. Our work follows a novel path, exclusively under the lens of tropical geometry, which is independent of the improvements reported in (<a class="link-https" data-arxiv-id="1611.01491" href="https://arxiv.org/abs/1611.01491">arXiv:1611.01491</a>, <a class="link-https" data-arxiv-id="1711.02114" href="https://arxiv.org/abs/1711.02114">arXiv:1711.02114</a>). Finally, we present a geometric approach for effective counting of linear regions using random sampling in order to avoid the computational overhead of exact counting approaches
Machine Learning
What problem does this paper attempt to address?