The Geometric Structure of Fully-Connected ReLU Layers

Jonatan Vallin, Karl Larsson, Mats G. Larson
10/5/2023
cs.LG

No confident code implementation found for this paper.

Abstract

We formalize and interpret the geometric structure of $d$-dimensional fully connected ReLU layers in neural networks. The parameters of a ReLU layer induce a natural partition of the input domain, such that the ReLU layer can be significantly simplified in each sector of the partition. This leads to a geometric interpretation of a ReLU layer as a projection onto a polyhedral cone followed by an affine transformation, in line with the description in [doi:10.48550/arXiv.1905.08922] for convolutional networks with ReLU activations. Further, this structure facilitates simplified expressions for preimages of the intersection between partition sectors and hyperplanes, which is useful when describing decision boundaries in a classification setting. We investigate this in detail for a feed-forward network with one hidden ReLU-layer, where we provide results on the geometric complexity of the decision boundary generated by such networks, as well as proving that modulo an affine transformation, such a network can only generate $d$ different decision boundaries. Finally, the effect of adding more layers to the network is discussed.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{vallin2023geometric,
  title  = {The Geometric Structure of Fully-Connected ReLU Layers},
  author = {Jonatan Vallin and Karl Larsson and Mats G. Larson},
  year   = {2023},
  eprint = {2310.03482},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.03482v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.03482.svg)](https://codeofpaper.com/paper/2310.03482)

Discussion