arXiv · 2405.18805
Semiring Activation in Neural Networks
Abstract
We introduce a class of trainable nonlinear operators based on semirings that are suitable for use in neural networks. These operators generalize the traditional alternation of linear operators with activation functions in neural networks. Semirings are algebraic structures that describe a generalised notation of linearity, greatly expanding the range of trainable operators that can be included in neural networks. In fact, max- or min-pooling operations are convolutions in the tropical semiring with a fixed kernel. We perform experiments where we replace the activation functions for trainable semiring-based operators to show that these are viable operations to include in fully connected as well as convolutional neural networks (ConvNeXt). We discuss some of the challenges of replacing traditional activation functions with trainable semiring activations and the trade-offs of doing so.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Bart M. N. Smets, Peter D. Donker, Jim W. Portegies. 2024-05-29. Semiring Activation in Neural Networks. https://arxiv.org/abs/2405.18805
Cite the original work for its findings. Save a collection to share your selection of sources.