arXiv · 2208.00809
Neural network layers as parametric spans
Abstract
Properties such as composability and automatic differentiation made artificial neural networks a pervasive tool in applications. Tackling more challenging problems caused neural networks to progressively become more complex and thus difficult to define from a mathematical perspective. We present a general definition of linear layer arising from a categorical framework based on the notions of integration theory and parametric spans. This definition generalizes and encompasses classical layers (e.g., dense, convolutional), while guaranteeing existence and computability of the layer's derivatives for backpropagation.
Explore related subjects
Keep this discovery
Mattia G. Bergomi, Pietro Vertechi. 2022-08-01. Neural network layers as parametric spans. https://arxiv.org/abs/2208.00809
Cite the original work for its findings. Save a collection to share your selection of sources.