Improving Quaternion Neural Networks with Quaternionic Activation Functions
<|reference_start|>Improving Quaternion Neural Networks with Quaternionic Activation Functions: In this paper, we propose novel quaternion activation functions where we modify either the quaternion magnitude or the phase, as an alternative to the commonly used split activation functions. We define criteria that are relevant for quaternion activation functions, and subsequently we propose our novel activation functions based on this analysis. Instead of applying a known activation function like the ReLU or Tanh on the quaternion elements separately, these activation functions consider the quaternion properties and respect the quaternion space $\mathbb{H}$. In particular, all quaternion components are utilized to calculate all output components, carrying out the benefit of the Hamilton product in e.g. the quaternion convolution to the activation functions. The proposed activation functions can be incorporated in arbitrary quaternion valued neural networks trained with gradient descent techniques. We further discuss the derivatives of the proposed activation functions where we observe beneficial properties for the activation functions affecting the phase. Specifically, they prove to be sensitive on basically the whole input range, thus improved gradient flow can be expected. We provide an elaborate experimental evaluation of our proposed quaternion activation functions including comparison with the split ReLU and split Tanh on two image classification tasks using the CIFAR-10 and SVHN dataset. There, especially the quaternion activation functions affecting the phase consistently prove to provide better performance.<|reference_end|>
@article{pöppelbaum2024improving,
    title={Improving Quaternion Neural Networks with Quaternionic Activation
  Functions},
    author={Johannes P"oppelbaum, Andreas Schwung},
    journal={arXiv preprint arXiv:2406.16481},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.16481},
    primaryClass={cs.LG cs.CV cs.NE}
}