A Differentiable Transition Between Additive and Multiplicative Neurons

Wiebke Köpp, Patrick van der Smagt, Sebastian UrbanarXiv 2016

Abstract

Existing approaches to combine both additive and multiplicative neural units either use a fixed assignment of operations or require discrete optimization to determine what function a neuron should perform. However, this leads to an extensive increase in the computational complexity of the training procedure. We present a novel, parameterizable transfer function based on the mathematical concept of non-integer functional iteration that allows the operation each neuron performs to be smoothly and, most importantly, differentiablely adjusted between addition and multiplication. This allows the decision between addition and multiplication to be integrated into the standard backpropagation training procedure.

Introduction

Standard neural networks are primarily built on additive units that compute a weighted sum of inputs followed by a nonlinearity. However, many real-world phenomena, such as physical laws or signal processing interactions, are inherently multiplicative. While "product units" exist, determining the optimal mix of additive and multiplicative neurons typically requires manual architecture design or expensive discrete optimization methods like Genetic Algorithms. These approaches are computationally intensive and incompatible with standard gradient-based optimization. This paper introduces a method to make the structural choice between addition and multiplication continuous and differentiable, allowing the network to learn its own architecture during backpropagation.

Methodology

The core of the proposed approach is a novel transfer function based on the mathematical concept of functional iteration. By leveraging Abel’s Functional Equation, the authors define a way to apply the exponential function a "fractional" number of times.

This leads to a new operator, $\oplus_n$, where $n$ is a continuous parameter:

  • $n = 0$: The operation is standard addition ($x + y$).
  • $n = 1$: The operation becomes multiplication ($x \cdot y$).
  • $0 < n < 1$: The operator smoothly interpolates between addition and multiplication.
The proposed neural architecture where each neuron's operation is controlled by learnable parameters $n_{li}$ and $m_{li}$.

As shown in the architecture diagram, each neuron is assigned learnable parameters ($n_{li}$ and $m_{li}$) that dictate its specific behavior. Since these parameters are continuous, the network can optimize the operation type alongside weights and biases using standard gradient descent.

Experimental Setup

The model was evaluated on a synthetic dataset designed to test multiplicative interactions. The task involved approximating a fourth-degree multi-variate polynomial with two variables ($x_1, x_2$).

To rigorously test generalization, the authors used a non-random split: 600 data points were sampled from $[0, 1]$, but points within a central circle ($r = 0.33$) were reserved for testing. This "hole" in the training data forces the model to learn the underlying mathematical structure rather than just interpolating local data points.

Results and Discussion

The proposed differentiable model (exp(n)) was compared against a purely additive network (tanh) and a fixed multiplicative network (log-exp).

MSE loss comparison between tanh, exp-log, and the proposed exp(n) model across training iterations.

Key findings include:

  • Superior Performance: The exp(n) model achieved the lowest Mean Squared Error (MSE) on both training and test sets, significantly outperforming the tanh baseline.
  • Effective Generalization: By learning the correct multiplicative structure, the model generalized far better to the unseen test region.
  • Optimization Advantages: Interestingly, exp(n) outperformed the fixed log-exp model, which was theoretically perfect for the task. The authors suggest that starting with additive-like interactions provides a smoother error landscape, helping the optimizer avoid local minima before transitioning into a multiplicative regime.

Limitations and Future Work

The current implementation is restricted to the positive real domain ($x > 0$) because the logarithm of negative numbers is undefined. Future work may involve extending the method to the complex domain to handle negative inputs, although this would increase computational complexity. Additionally, while more efficient than discrete search, calculating non-integer iterates is more mathematically demanding than simple addition, which may be a factor for large-scale deployments.

Summary updated

BibTeX
@misc{kopp2016differentiable,
  author = {Wiebke Köpp and Patrick van der Smagt and Sebastian Urban},
  title = {{A Differentiable Transition Between Additive and Multiplicative Neurons}},
  year = {2016},
  eprint = {1604.03736},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1604.03736},
}
Figure